X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_location.html;h=0ca255b3e6f0de6b77dcde0bb0174819aca42305;hp=da16dfe1cf85b2f3cfc5c03af48a7653c6747032;hb=b429a422185206c645c84ec1c3540494d336b943;hpb=2e889e2946c6afd92457e942defc9ff43fe8e8b4 diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index da16dfe1c..0ca255b3e 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'} ) { +