diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-06 20:08:32 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-09 23:31:41 -0500 |
commit | d7d7b020db58c4aa5be2521c38719df2ec0bacb2 (patch) | |
tree | c695b747e855bfc4fa80645c579ccc4b74d35bfe /httemplate/edit/cust_main.cgi | |
parent | 3b713bdad84257fcff1e51457215be67ef3382f6 (diff) |
RT#29406: Per customer option to display service address of package on invoice
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index d7895722a..7343a9d16 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -82,6 +82,19 @@ enable_district => 1, enable_coords => 1, &> +% unless ($conf->exists('invoice-ship_address')) { #it's always on, so hide per-cust config + <TR> + <TD> </TD> + <TD COLSPAN="7"> + <% include('/elements/checkbox.html', + 'field' => 'invoice_ship_address', + 'value' => 'Y', + 'curr_value' => $cust_main->invoice_ship_address, + 'postfix' => emt('included on invoices'), + ) %> + </TD> + </TR> +% } </TABLE> </DIV> </TD> |