X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=a876f62253908a7a4456a6d03c80a3089e6f7791;hb=d0c5ddbd31af8b1747d447f31623e1af05961eb4;hp=b62c65c03d431ec694dfcdd7fd8b16b15307d167;hpb=a661ced3f9f678a645780eaa0b183d2de5f100fa;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index b62c65c03..a876f6225 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'} || emt('Service location') %>> - +% if ( !$prospect_main && !$opt{'disable_empty'} ) { +