diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-06 20:08:32 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-03-06 20:08:32 -0600 |
commit | 67b05564568d10ee3833a87f09b752d0319934ba (patch) | |
tree | 329bbedbc9dfbe70194d258b2f36983f4e39dc28 /httemplate/edit | |
parent | 95b6042f37f00de9dca4b5654522fc4098a82d04 (diff) |
RT#29406: Per customer option to display service address of package on invoice
Diffstat (limited to 'httemplate/edit')
-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 f99cce2de..b6f6b0dea 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -78,6 +78,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> |