=================================================================== RCS file: /cvs/RT/Invoicing/invoice.tex.tt,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- RT/Invoicing/invoice.tex.tt 2011/04/08 18:10:28 1.13 +++ RT/Invoicing/invoice.tex.tt 2011/12/31 02:14:32 1.14 @@ -1,6 +1,6 @@ [% USE Latex -%] [% FILTER latex("pdf") -%] -% $AFresh1: invoice.tex.tt,v 1.12 2011/03/22 05:27:12 andrew Exp $ +% $AFresh1: invoice.tex.tt,v 1.13 2011/04/08 17:10:28 andrew Exp $ \documentclass[oneside]{report} \usepackage{graphicx} \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry} @@ -39,12 +39,14 @@ \hline Invoice No. & \textbf{[% id | format('%06d') | latex_encode %]} \\ %Page & {\thepage} \\ -Invoice Date & \today \\ +[%- IF invdate %] + Invoice Date & [% invdate.strftime('%B %d, %Y') | latex_encode %] \\ +[%- END %] [%- IF start %] - From & [% start | latex_encode %] \\ + From & [% start.strftime('%B %d, %Y') | latex_encode %] \\ [%- END %] [%- IF end- %] - Through & [% end | latex_encode %] \\ + Through & [% end.strftime('%B %d, %Y') | latex_encode %] \\ [%- END %] Invoice Total & [% total | format('$%.2f') | latex_encode %] \\ [% IF past_due -%]