X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=4ed9cd48e781db3ac2a8d40f4dbd99d0d132272d;hb=430b2c784d2ee9ea5be00b821d2dbd27279ef132;hp=ab043ee7eba39cf04b458a0189a4a67364b13500;hpb=0b94e40c533288be69a4fe60da36a385d31eff7f;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index ab043ee7e..4ed9cd48e 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -4,7 +4,13 @@ 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)', ) @@ -17,19 +23,60 @@ Example: - Service location + <<%$th%> ALIGN="right"><% $opt{'label'} || emt('Service location') %>> - +% if ( $cust_main ) { +