summaryrefslogtreecommitdiff
path: root/templates/Service-purchase_order.tex
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:44:51 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:44:51 +0000
commiteedad02e621755aa269a6728364fa2ef07f6bca9 (patch)
treee56cb7ebc28954055603056c514dd3c4c62b02d0 /templates/Service-purchase_order.tex
parent1eb75f0d6e9074d96445c810267aebe415b1b2d7 (diff)
Changed all templates to the new syntax
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@142 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates/Service-purchase_order.tex')
-rwxr-xr-xtemplates/Service-purchase_order.tex74
1 files changed, 37 insertions, 37 deletions
diff --git a/templates/Service-purchase_order.tex b/templates/Service-purchase_order.tex
index 0e6b1064..212ba87b 100755
--- a/templates/Service-purchase_order.tex
+++ b/templates/Service-purchase_order.tex
@@ -25,12 +25,12 @@
\parbox{\textwidth}{
\parbox[b]{12cm}{
- <%company%>
+ <?lsmb company ?>
- <%address%>}\hfill
+ <?lsmb address ?>}\hfill
\begin{tabular}[b]{rr@{}}
- Telephone & <%tel%>\\
- Facsimile & <%fax%>
+ Telephone & <?lsmb tel ?>\\
+ Facsimile & <?lsmb fax ?>
\end{tabular}
\rule[1.5ex]{\textwidth}{0.5pt}
@@ -39,62 +39,62 @@
\fontfamily{cmss}\fontshape{n}\selectfont
-\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{\usebox{\hdr}}
\pagestyle{myheadings}
%\thispagestyle{empty} use this with letterhead paper
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
\end{tabular*}
\rule{\textwidth}{2pt}
\hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markright{<%company%>\hfill <%ordnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
\vspace*{-12pt}
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
\textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
\textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
\vspace*{2cm}
-<%name%>
+<?lsmb name ?>
-<%address1%>
+<?lsmb address1 ?>
-<%if address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
-<%if country%>
-<%country%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
\vspace{3.5cm}
\textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
\hfill
\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Date} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Required by} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Number} & <%ordnumber%>
+ \textbf{Date} & <?lsmb orddate ?> \\
+<?lsmb if reqdate ?>
+ \textbf{Required by} & <?lsmb reqdate ?> \\
+<?lsmb end reqdate ?>
+ \textbf{Number} & <?lsmb ordnumber ?>
\end{tabular}
\vspace{1cm}
@@ -102,10 +102,10 @@
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
\textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
\textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
\end{tabular*}
@@ -116,24 +116,24 @@
\hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
+ \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+ <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
+<?lsmb end tax ?>
\hline
- \textbf{Total} & \textbf{<%ordtotal%>}\\
+ \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\
\end{tabularx}
\vspace{0.3cm}
\hfill
- All prices in \textbf{<%currency%>} funds.
+ All prices in \textbf{<?lsmb currency ?>} funds.
\vspace{12pt}
-<%if notes%>
- <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+ <?lsmb notes ?>
+<?lsmb end if ?>
}