=================================================================== RCS file: /cvs/RT/Invoicing/invoice.tex.tt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- RT/Invoicing/invoice.tex.tt 2011/03/20 06:20:11 1.3 +++ RT/Invoicing/invoice.tex.tt 2011/03/21 04:19:25 1.4 @@ -1,6 +1,6 @@ [% USE Latex -%] [% FILTER latex("pdf") -%] -% $AFresh1: invoice.tex.tt,v 1.1.1.1 2011/03/19 22:27:16 andrew Exp $ +% $AFresh1: invoice.tex.tt,v 1.3 2011/03/20 05:20:11 andrew Exp $ \documentclass[oneside]{report} \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry} \usepackage{multicol} @@ -13,9 +13,9 @@ \chead{Invoice \#\textbf{[% id | format('%06d') | latex_encode %]}} \rhead{Page {\thepage}} -\lfoot{[% info1 | latex_encode %]} +\lfoot{[% info.0 | latex_encode %]} \cfoot{} -\rfoot{[% info2 | latex_encode %]} +\rfoot{[% info.1 | latex_encode %]} \begin{document} \thispagestyle{empty} @@ -72,7 +72,14 @@ \begin{tabular}{ | r l | } \hline Invoice No. & \textbf{[% id | format('%06d') | latex_encode %]} \\ +%Page & {\thepage} \\ Invoice Date & \today \\ +[%- IF start %] + Start & [% start | latex_encode %] \\ +[%- END %] +[%- IF end- %] + End & [% end | latex_encode %] \\ +[%- END %] Invoice Total & [% total | format('%.2f') | latex_encode %] \\ [% IF past_due -%] Past Due & [% past_due | format('%.2f') | latex_encode %] \\ @@ -80,10 +87,9 @@ [%- IF total_due -%] Total Due & [% total_due | format('%.2f') | latex_encode %] \\ [%- END %] -Page & {\thepage} \\ \hline -\multicolumn{2}{|c|}{[% info1 | latex_encode %]} \\ -\multicolumn{2}{|c|}{[% info2 | latex_encode %]} \\ +\multicolumn{2}{|c|}{[% info.0 | latex_encode %]} \\ +\multicolumn{2}{|c|}{[% info.1 | latex_encode %]} \\ \hline \end{tabular}