X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=a876f62253908a7a4456a6d03c80a3089e6f7791;hb=b431ece7b4a71aa5771f44393da582692f668817;hp=1c0891b66270669051a7a3568b14de116aaeb00a;hpb=1f50f77801a29ac4a5fd2de930a4530e85a34cdd;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index 1c0891b66..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'} ) { +