summaryrefslogtreecommitdiff
path: root/templates/Default-ap_transaction.tex
diff options
context:
space:
mode:
Diffstat (limited to 'templates/Default-ap_transaction.tex')
-rwxr-xr-xtemplates/Default-ap_transaction.tex102
1 files changed, 51 insertions, 51 deletions
diff --git a/templates/Default-ap_transaction.tex b/templates/Default-ap_transaction.tex
index 5cd134cc..31edf3ec 100755
--- a/templates/Default-ap_transaction.tex
+++ b/templates/Default-ap_transaction.tex
@@ -12,100 +12,100 @@
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-<%include letterhead.tex%>
+<?lsmb include letterhead.tex ?>
\centerline{\textbf{A P} \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 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}