diff options
author | ivan <ivan> | 2009-06-22 07:50:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-06-22 07:50:18 +0000 |
commit | 73e382b838f031512684138fedb7d813684ddd28 (patch) | |
tree | abe5fd8f8f14f82dcaa880dfefcab14d0a5df33e /httemplate/view/cust_main | |
parent | 2f62e9125f1eb98db97a6ddff5b47bb258e6fc60 (diff) |
tax exemption by tax name, RT#5127
Diffstat (limited to 'httemplate/view/cust_main')
-rw-r--r-- | httemplate/view/cust_main/billing.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 4b2425b33..e02c04868 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -159,11 +159,18 @@ Billing information </TR> % } - +% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); <TR> - <TD ALIGN="right">Tax exempt</TD> + <TD ALIGN="right">Tax exempt<% @exempt_groups ? ' (all taxes)' : '' %></TD> <TD BGCOLOR="#ffffff"><% $cust_main->tax ? 'yes' : 'no' %></TD> </TR> +% foreach my $exempt_group ( @exempt_groups ) { +<TR> + <TD ALIGN="right">Tax exempt (<% $exempt_group %> taxes)</TD> + <TD BGCOLOR="#ffffff"><% $cust_main->tax_exemption($exempt_group) ? 'yes' : 'no' %></TD> +</TR> +% } + % if ( $conf->exists('enable_taxproducts') ) { <TR> <TD ALIGN="right">Tax location</TD> |