From eddffe5c35507f37ed83c2529626c9be5f81a516 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 14 Mar 2011 03:53:29 +0000 Subject: qualification address handling changes, RT#7111 --- httemplate/edit/prospect_main.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'httemplate/edit') 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, -- cgit v1.2.1