summaryrefslogtreecommitdiff
path: root/templates/demo/sales_order.tex
diff options
context:
space:
mode:
Diffstat (limited to 'templates/demo/sales_order.tex')
-rw-r--r--templates/demo/sales_order.tex120
1 files changed, 60 insertions, 60 deletions
diff --git a/templates/demo/sales_order.tex b/templates/demo/sales_order.tex
index 60f7bfeb..d3693af8 100644
--- a/templates/demo/sales_order.tex
+++ b/templates/demo/sales_order.tex
@@ -11,29 +11,29 @@
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-<%include letterhead.tex%>
+<?lsmb include letterhead.tex ?>
-<%pagebreak 65 27 48%>
+<?lsmb pagebreak 65 27 48 ?>
\end{tabularx}
\rule{\textwidth}{2pt}
\hfill
\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
- & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
\begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
\textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
\textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
- & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\vspace*{0.5cm}
@@ -42,71 +42,71 @@
\textbf{To}
\vspace{0.3cm}
-<%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 ?>
}
\parbox[t]{.5\textwidth}{
\textbf{Ship To}
\vspace{0.3cm}
-<%shiptoname%>
+<?lsmb shiptoname ?>
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
-<%shiptocity%>
-<%if shiptostate%>
-\hspace{-0.1cm}, <%shiptostate%>
-<%end shiptostate%>
-<%shiptozipcode%>
+<?lsmb shiptocity ?>
+<?lsmb if shiptostate ?>
+\hspace{-0.1cm}, <?lsmb shiptostate ?>
+<?lsmb end shiptostate ?>
+<?lsmb shiptozipcode ?>
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
\vspace{0.3cm}
-<%if shiptocontact%>
-<%shiptocontact%>
+<?lsmb if shiptocontact ?>
+<?lsmb shiptocontact ?>
\vspace{0.2cm}
-<%end shiptocontact%>
+<?lsmb end shiptocontact ?>
-<%if shiptophone%>
-Tel: <%shiptophone%>
-<%end shiptophone%>
+<?lsmb if shiptophone ?>
+Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptofax ?>
+Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
-<%shiptoemail%>
+<?lsmb shiptoemail ?>
}
\hfill
@@ -120,7 +120,7 @@ Fax: <%shiptofax%>
\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
\textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
\hline
- <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
+ <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
\hline
\end{tabularx}
@@ -129,10 +129,10 @@ Fax: <%shiptofax%>
\begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
\textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
\textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
\end{tabularx}
@@ -143,27 +143,27 @@ Fax: <%shiptofax%>
\hfill
\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
- & Subtotal & <%subtotal%> \\
-<%foreach tax%>
- & <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
+ & Subtotal & <?lsmb subtotal ?> \\
+<?lsmb foreach tax ?>
+ & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
+<?lsmb end tax ?>
\hline
- & Total & <%ordtotal%>\\
+ & Total & <?lsmb ordtotal ?>\\
\end{tabularx}
\vspace{0.3cm}
-<%text_amount%> ***** <%decimal%>/100
+<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
\hfill
-All prices in \textbf{<%currency%>}.
+All prices in \textbf{<?lsmb currency ?>}.
-<%if terms%>
-Terms: <%terms%> days
-<%end terms%>
+<?lsmb if terms ?>
+Terms: <?lsmb terms ?> days
+<?lsmb end terms ?>
\vspace{12pt}
-<%notes%>
+<?lsmb notes ?>
}