X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=e1fa825c1c3772d4d55a0e0132c492772931ffc1;hb=51a648bdf566a6be176b1d7f98a89a2e400481bf;hp=ab043ee7eba39cf04b458a0189a4a67364b13500;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;p=freeside.git diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index ab043ee7e..e1fa825c1 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,51 @@ Example: - Service location + <<%$th%> ALIGN="right"><% $opt{'label'} || emt('Service location') %>> - +% if ( $cust_main ) { +