summaryrefslogtreecommitdiff
path: root/templates/Service-ar_transaction.tex
diff options
context:
space:
mode:
Diffstat (limited to 'templates/Service-ar_transaction.tex')
-rwxr-xr-xtemplates/Service-ar_transaction.tex116
1 files changed, 58 insertions, 58 deletions
diff --git a/templates/Service-ar_transaction.tex b/templates/Service-ar_transaction.tex
index 31e20fdb..ea55c19e 100755
--- a/templates/Service-ar_transaction.tex
+++ b/templates/Service-ar_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,101 +33,101 @@
\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 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}