[BACK]Return to invoice.tex.tt CVS log [TXT][DIR] Up to [local] / RT / Invoicing

Diff for /RT/Invoicing/invoice.tex.tt between version 1.13 and 1.16

version 1.13, 2011/04/08 18:10:28 version 1.16, 2012/01/31 04:36:28
Line 1 
Line 1 
 [% USE Latex -%]  [% USE Latex -%]
 [% FILTER latex("pdf") -%]  [% FILTER latex("pdf") -%]
 % $AFresh1: invoice.tex.tt,v 1.12 2011/03/22 05:27:12 andrew Exp $  % $AFresh1: invoice.tex.tt,v 1.15 2012/01/27 04:13:45 andrew Exp $
 \documentclass[oneside]{report}  \documentclass[oneside]{report}
 \usepackage{graphicx}  \usepackage{graphicx}
 \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry}  \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry}
Line 39 
Line 39 
 \hline  \hline
 Invoice No.   & \textbf{[% id | format('%06d') | latex_encode %]} \\  Invoice No.   & \textbf{[% id | format('%06d') | latex_encode %]} \\
 %Page          & {\thepage} \\  %Page          & {\thepage} \\
 Invoice Date  & \today \\  [%- IF invdate %]
       Invoice Date  & [% invdate.strftime('%B %d, %Y') | latex_encode %] \\
   [%- END %]
 [%- IF start %]  [%- IF start %]
     From & [% start | latex_encode %] \\      From & [% start.strftime('%B %d, %Y') | latex_encode %] \\
 [%- END %]  [%- END %]
 [%- IF end- %]  [%- IF end- %]
     Through & [% end | latex_encode %] \\      Through & [% end.strftime('%B %d, %Y') | latex_encode %] \\
 [%- END %]  [%- END %]
 Invoice Total & [% total | format('$%.2f') | latex_encode %] \\  [% IF total -%]
     Invoice Total & [% total | format('$%.2f') | latex_encode %] \\
   [%- END %]
 [% IF past_due -%]  [% IF past_due -%]
   Past Due    & [% past_due | format('$%.2f') | latex_encode %] \\    Past Due    & [% past_due | format('$%.2f') | latex_encode %] \\
   [%- END %]
   [% IF unpaid -%]
     Unpaid & [% unpaid | format('$%.2f') | latex_encode %] \\
 [%- END %]  [%- END %]
 [%- IF total_due -%]  [%- IF total_due -%]
   Total Due   & [% total_due | format('$%.2f') | latex_encode %] \\    Total Due   & [% total_due | format('$%.2f') | latex_encode %] \\

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.16

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>