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',
52 { field => 'disabled',
58 'viewall_dir' => 'browse',
65 my $curuser = $FS::CurrentUser::CurrentUser;
67 unless $curuser->access_right('Edit inventory')
68 || $curuser->access_right('Edit global inventory')
69 || $curuser->access_right('Configuration');