=================================================================== RCS file: /cvs/RT/Invoicing/invoice.tex.tt,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- RT/Invoicing/invoice.tex.tt 2012/01/27 04:13:45 1.15 +++ RT/Invoicing/invoice.tex.tt 2012/01/31 04:36:28 1.16 @@ -1,6 +1,6 @@ [% USE Latex -%] [% FILTER latex("pdf") -%] -% $AFresh1: invoice.tex.tt,v 1.14 2011/12/31 02:14:32 andrew Exp $ +% $AFresh1: invoice.tex.tt,v 1.15 2012/01/27 04:13:45 andrew Exp $ \documentclass[oneside]{report} \usepackage{graphicx} \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry} @@ -48,7 +48,9 @@ [%- IF end- %] Through & [% end.strftime('%B %d, %Y') | latex_encode %] \\ [%- END %] -Invoice Total & [% total | format('$%.2f') | latex_encode %] \\ +[% IF total -%] + Invoice Total & [% total | format('$%.2f') | latex_encode %] \\ +[%- END %] [% IF past_due -%] Past Due & [% past_due | format('$%.2f') | latex_encode %] \\ [%- END %]