X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=abaaa5b42dbeb306ca2812a2f0db2d169eca1751;hb=b0a7df36df52eebbc75edca3480a0b697459a187;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..abaaa5b42 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 ) { +