X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprospect_main.html;h=4495cab29ab24cb56b20cbc1310cc7e9c8f707d9;hb=eddffe5c35507f37ed83c2529626c9be5f81a516;hp=7473cc2093802b48ed71e9b8f2bad42c963fa8e5;hpb=781e700c645d6c468d9f2755b81d555477359ff1;p=freeside.git diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index 7473cc209..4495cab29 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -26,10 +26,11 @@ 'm2_error_callback' => $m2_error_callback, }, - { 'field' => 'locationnum', - 'type' => 'select-cust_location', - 'empty_label' => 'No address', - 'alt_format' => $conf->exists('prospect_main-alt_address_format'), + { 'field' => 'locationnum', + 'type' => 'select-cust_location', + 'empty_label' => 'No address', + 'disable_empty' => $conf->exists('prospect_main-location_required'), + 'alt_format' => $conf->exists('prospect_main-alt_address_format'), }, ], 'new_callback' => $new_callback,