summaryrefslogtreecommitdiff
path: root/httemplate/edit/prospect_main.html
diff options
context:
space:
mode:
authorivan <ivan>2011-03-14 03:53:29 +0000
committerivan <ivan>2011-03-14 03:53:29 +0000
commiteddffe5c35507f37ed83c2529626c9be5f81a516 (patch)
treec00ca21c1f9f006b5c6175fd6b0980982cf497bb /httemplate/edit/prospect_main.html
parent781e700c645d6c468d9f2755b81d555477359ff1 (diff)
qualification address handling changes, RT#7111
Diffstat (limited to 'httemplate/edit/prospect_main.html')
-rw-r--r--httemplate/edit/prospect_main.html9
1 files changed, 5 insertions, 4 deletions
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,