% # Row label
<% $row->{label} |h %> |
% # Total sales
<% $money_sprintf->( $row->{sales} ) %>
|
% # Exemptions: customer
<% $money_sprintf->( $row->{exempt_cust} ) %>
|
% # package
<% $money_sprintf->( $row->{exempt_pkg} ) %>
|
% # monthly (note this uses $exemptlink; it's a completely separate report)
<% $money_sprintf->( $row->{exempt_monthly} ) %>
|
% # taxable sales
">
<% $money_sprintf->( $row->{taxable} ) %>
|
× |
<% $row->{rate} %> |
% # estimated tax
= |
% if ( $row->{estimated} ) {
<% $money_sprintf->( $row->{estimated} ) %>
% }
|
% # invoiced tax
<% $money_sprintf->( $row->{tax} ) %>
|
% # credited tax
− |
<% $money_sprintf->( $row->{credit} ) %>
|
% # net tax due
= |
<% $money_sprintf->( $row->{tax} - $row->{credit} ) %> |
% $rownum++;
% $prev_row = $row;
% } # foreach my $row
% # at the end of everything