diff options
Diffstat (limited to 'templates/Service-ap_transaction.tex')
-rwxr-xr-x | templates/Service-ap_transaction.tex | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/templates/Service-ap_transaction.tex b/templates/Service-ap_transaction.tex index 066ea1e8..b2737caf 100755 --- a/templates/Service-ap_transaction.tex +++ b/templates/Service-ap_transaction.tex @@ -13,16 +13,16 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ \includegraphics[scale=0.3]{ledger-smb} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -33,94 +33,94 @@ \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +, <?lsmb state ?> +<?lsmb end state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> -<%end contact%> +<?lsmb if contact ?> +<?lsmb contact ?> +<?lsmb end contact ?> \vspace{0.2cm} -<%if vendorphone%> -Tel: <%vendorphone%> -<%end vendorphone%> +<?lsmb if vendorphone ?> +Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> -<%if vendorfax%> -Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if vendorfax ?> +Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> -<%email%> +<?lsmb email ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \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}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} |