Skip to content

Commit

Permalink
Fix the template for VAT free invoice lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Sep 9, 2015
1 parent 015a452 commit 81ee3fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tt_lib/invoice.tt
Expand Up @@ -38,9 +38,9 @@ accounts@mag-sol.com</div>
<td class="amt">&pound;[% inv.vat |format('%.2f') %]</td>
</tr>
[% END %]
[% IF inv.vat_lines.count -%]
[% IF inv.has_zerovat_lines -%]
<tr><td colspan="2"><i>Zero VAT Items</i></td></tr>
[% FOREACH line = inv.vat_lines -%]
[% FOREACH line = inv.zerovat_lines -%]
<tr>
<td>[% IF line.week.id %][% THEN %]w/c [% line.week %]<br />[% END %]
[% line.description %]</td>
Expand All @@ -52,7 +52,7 @@ accounts@mag-sol.com</div>
<td class="amt line">&pound;[% inv.zerovat_total |format('%.2f') %]</td>
</tr>
[% END %]
[% IF inv.vatexempt_lines -%]
[% IF inv.has_vatexempt_lines -%]
<tr>
<td colspan="2"><i>VAT Exempt Items</i></td>
</tr>
Expand Down

0 comments on commit 81ee3fb

Please sign in to comment.