X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=8b1895fae40442a1374bf772256377b2b96620a0;hb=69a17ed7c31d23670f715ad639ab16b12392dcc1;hp=da16dfe1cf85b2f3cfc5c03af48a7653c6747032;hpb=2e889e2946c6afd92457e942defc9ff43fe8e8b4;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index da16dfe1c..8b1895fae 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -4,7 +4,14 @@ Example: include('/elements/tr-select-cust_location.html', 'cgi' => $cgi, - 'cust_main' => $cust_main, + + 'cust_main' => $cust_main, + #or + 'prospect_main' => $prospect_main, + + #optional + 'empty_label' => '(default service address)', + 'disable_empty' => 0, #1 to disable ) @@ -17,19 +24,49 @@ Example: - Service location + <<%$th%> ALIGN="right"><% $opt{'label'} || 'Service location' %>> - +% if ( !$prospect_main && !$opt{'disable_empty'} ) { +