From 67b05564568d10ee3833a87f09b752d0319934ba Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Fri, 6 Mar 2015 20:08:32 -0600 Subject: RT#29406: Per customer option to display service address of package on invoice --- httemplate/edit/cust_main.cgi | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'httemplate/edit/cust_main.cgi') 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 + +   + + <% include('/elements/checkbox.html', + 'field' => 'invoice_ship_address', + 'value' => 'Y', + 'curr_value' => $cust_main->invoice_ship_address, + 'postfix' => emt('included on invoices'), + ) %> + + +% } -- cgit v1.2.1