1 <% include( 'elements/edit.html',
2 'name_singular' => 'Real Estate Location',
3 'table' => 'realestate_location',
6 realestatelocnum => 'Location',
7 location_title => "Location",
13 disabled => "Disabled",
16 { field => 'realestatelocnum', type => 'hidden' },
18 { field => 'location_title',
23 { field => 'address1',
28 { field => 'address2',
49 { field => 'agentnum',
50 type => 'select-agent',
53 { field => 'disabled',
59 'viewall_dir' => 'browse',
66 my $curuser = $FS::CurrentUser::CurrentUser;
68 unless $curuser->access_right('Edit inventory')
69 || $curuser->access_right('Edit global inventory')
70 || $curuser->access_right('Configuration');