=================================================================== RCS file: /cvs/RT/Invoicing/invoice.tex.tt,v retrieving revision 1.15 retrieving revision 1.18 diff -u -r1.15 -r1.18 --- RT/Invoicing/invoice.tex.tt 2012/01/27 04:13:45 1.15 +++ RT/Invoicing/invoice.tex.tt 2020/08/02 02:05:31 1.18 @@ -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.17 2015/05/08 01:04:08 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 %] @@ -59,8 +61,9 @@ Total Due & [% total_due | format('$%.2f') | latex_encode %] \\ [%- END %] \hline -\multicolumn{2}{|c|}{[% info.0 | latex_encode(except = "\\{}") %]} \\ -\multicolumn{2}{|c|}{[% info.1 | latex_encode(except = "\\{}") %]} \\ +[%- FOR line IN info %] +\multicolumn{2}{|c|}{[% line| latex_encode(except = "\\{}") %]} \\ +[% END -%] \hline \end{tabular}