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

Annotation of RT/Invoicing/invoice.tex.tt, Revision 1.1

1.1     ! andrew      1: [% USE Latex -%]
        !             2: [% FILTER latex("pdf") -%]
        !             3: % $AFresh1$
        !             4: \documentclass[oneside]{report}
        !             5: \usepackage[top=1in, bottom=1in, left=.75in, right=.75in]{geometry}
        !             6: \usepackage{multicol}
        !             7: \usepackage{fancyhdr}
        !             8: \usepackage{invoice}
        !             9:
        !            10: \pagestyle{fancy}
        !            11:
        !            12: \lhead{[% from.name %]}
        !            13: \chead{Invoice \#\textbf{[% id | format('%06d') %]}}
        !            14: \rhead{Page {\thepage}}
        !            15:
        !            16: \lfoot{[% info1 %]}
        !            17: \cfoot{}
        !            18: \rfoot{[% info2 %]}
        !            19:
        !            20: \begin{document}
        !            21: \thispagestyle{empty}
        !            22:
        !            23: \begin{multicols}{2}
        !            24:
        !            25: {\large
        !            26: [% from.name %]
        !            27:
        !            28: [% IF from.attn -%]
        !            29:     [% from.attn %]
        !            30:
        !            31: [% END -%]
        !            32: [% from.addr1 %]
        !            33:
        !            34: [% IF from.addr2 -%]
        !            35:     [% from.addr2 %]
        !            36:
        !            37: [% END -%]
        !            38: [% from.city %], [% from.state %] \ [% from.zip %]
        !            39: }
        !            40:
        !            41: \vspace{.75in}
        !            42:
        !            43: {\Large
        !            44: [% to.name %]
        !            45:
        !            46: [% IF to.attn -%]
        !            47:     [% to.attn %]
        !            48:
        !            49: [% END -%]
        !            50: [% to.addr1 %]
        !            51:
        !            52: [% IF to.addr2 -%]
        !            53:     [% to.addr2 %]
        !            54:
        !            55: [% END -%]
        !            56: [% to.city %], [% to.state %] \ [% to.zip %]
        !            57: }
        !            58:
        !            59: \columnbreak
        !            60:
        !            61: \begin{flushright}
        !            62:
        !            63: \begin{tabular}{ | p{3in} | }
        !            64: \hline
        !            65: LOGO \\
        !            66: \hline
        !            67: \end{tabular}
        !            68:
        !            69: \hfill
        !            70: \vfill
        !            71:
        !            72: \begin{tabular}{ | r l | }
        !            73: \hline
        !            74: Invoice No.  & \textbf{[% id | format('%06d') %]} \\
        !            75: Invoice Date & \today \\
        !            76: Page         & {\thepage} \\
        !            77: \hline
        !            78: \multicolumn{2}{|c|}{[% info1 %]} \\
        !            79: \multicolumn{2}{|c|}{[% info2 %]} \\
        !            80: \hline
        !            81: \end{tabular}
        !            82:
        !            83: \end{flushright}
        !            84:
        !            85: \end{multicols}
        !            86:
        !            87: \begin{invoice}{USD}{0}
        !            88:  [%- FOR p IN projects %]
        !            89:  \ProjectTitle{[% p.title %]}
        !            90:   [%- FOR f IN p.fees %]
        !            91:    \Fee{[% f.contents %]}{[% f.rate %]}{[% f.count %]}
        !            92:   [%- END -%]
        !            93:   [%- FOR e IN p.expenses %]
        !            94:    \EBC{[% e.contents %]}{[% e.amount %]}
        !            95:   [%- END -%]
        !            96:   [%- FOR d IN p.discounts %]
        !            97:    \Discount{[% d.contents %]}{[% d.amount %]}
        !            98:   [%- END -%]
        !            99:  [%- END %]
        !           100: \end{invoice}
        !           101:
        !           102: \end{document}
        !           103: [% END -%]

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