From 542c76516135a98fb8ed4b302d7ad7cb7478d637 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 2 Dec 2008 17:04:49 +0100 Subject: Add custom templates. --- templates/spiff-en/statement.tex | 78 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 templates/spiff-en/statement.tex (limited to 'templates/spiff-en/statement.tex') diff --git a/templates/spiff-en/statement.tex b/templates/spiff-en/statement.tex new file mode 100644 index 00000000..0beb6c64 --- /dev/null +++ b/templates/spiff-en/statement.tex @@ -0,0 +1,78 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +<%include letterhead.tex%> + +\parbox[t]{.5\textwidth}{ +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> +} +\parbox[t]{.5\textwidth}{ +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> +} +\hfill + +\vspace{1cm} + +\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} + +\vspace{2cm} + +\begin{tabular*}{\textwidth}{|ll@{\extracolsep\fill}ccrrrr|} + \hline + \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & + \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90} \\ + \hline +<%foreach invnumber%> + <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & + <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ +<%end invnumber%> + \multicolumn{8}{|l|}{\mbox{}} \\ + \hline + \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \hline +\end{tabular*} + +\vspace{0.5cm} + +\hfill +\begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} + & \textbf{Total outstanding} & \textbf{<%total%>} +\end{tabularx} + +\vfill +All amounts in \textbf{<%currency%>} funds. + +Please make check payable to \textbf{<%company%>} + +\end{document} + -- cgit v1.2.3