=================================================================== RCS file: /cvs/RT/Invoicing/invoice.tex.tt,v retrieving revision 1.15 retrieving revision 1.17 diff -u -r1.15 -r1.17 --- RT/Invoicing/invoice.tex.tt 2012/01/27 04:13:45 1.15 +++ RT/Invoicing/invoice.tex.tt 2015/05/08 02:04:08 1.17 @@ -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.16 2012/01/31 04:36:28 andrew Exp $ \documentclass[oneside]{report} \usepackage{graphicx} \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry} @@ -22,9 +22,9 @@ \thispagestyle{empty} \vspace*{-.75in} \begin{multicols}{2} -\parbox[t][1.625in]{\linewidth}{\large [% from | latex_encode(except = "\\{}") %] } +\parbox[t][1.625in]{\linewidth}{\large [% from | latex_encode(except = "\\{}<>") %] } -\parbox[t][1.5in]{\linewidth}{\Large [% to | latex_encode(except = "\\{}") %] } +\parbox[t][1.5in]{\linewidth}{\large [% to | latex_encode(except = "\\{}<>") %] } \columnbreak @@ -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 %]