diff options
Diffstat (limited to 'templates/Default-ar_transaction.tex')
-rwxr-xr-x | templates/Default-ar_transaction.tex | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/templates/Default-ar_transaction.tex b/templates/Default-ar_transaction.tex index 1c3c44f3..251df3b6 100755 --- a/templates/Default-ar_transaction.tex +++ b/templates/Default-ar_transaction.tex @@ -12,107 +12,107 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> +<?lsmb if customerphone ?> +Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> +<?lsmb if customerfax ?> +Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> -<%email%> +<?lsmb email ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?lsmb projectnumber ?> \\ +<?lsmb end amount ?> - \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\ -<%foreach tax%> - \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\ -<%end tax%> + \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\ +<?lsmb foreach tax ?> + \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\ +<?lsmb end tax ?> - \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\ + \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} |