From eedad02e621755aa269a6728364fa2ef07f6bca9 Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Sun, 24 Sep 2006 17:44:51 +0000
Subject: 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
---
 templates/Swedish-purchase_order.tex | 132 +++++++++++++++++------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

(limited to 'templates/Swedish-purchase_order.tex')

diff --git a/templates/Swedish-purchase_order.tex b/templates/Swedish-purchase_order.tex
index 2ae0b64b..981ef029 100755
--- a/templates/Swedish-purchase_order.tex
+++ b/templates/Swedish-purchase_order.tex
@@ -25,12 +25,12 @@
 
   \parbox{\textwidth}{
     \parbox[b]{12cm}{
-      <%company%>
+      <?lsmb company ?>
       
-      <%address%>}\hfill
+      <?lsmb address ?>}\hfill
     \begin{tabular}[b]{rr@{}}
-    Telefon & <%tel%>\\
-    Telefaks & <%fax%>
+    Telefon & <?lsmb tel ?>\\
+    Telefaks & <?lsmb fax ?>
     \end{tabular}
 
     \rule[1.5ex]{\textwidth}{0.5pt}
@@ -39,32 +39,32 @@
     
 \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 48%>
+<?lsmb pagebreak 65 27 48 ?>
 \end{tabular*}
 
   \rule{\textwidth}{2pt}
   
   \hfill
   \begin{tabularx}{7cm}{Xr@{}}
-  \textbf{Pris ex moms} & \textbf{<%sumcarriedforward%>} \\
+  \textbf{Pris ex moms} & \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{Nummer} & \textbf{Beskrivning} & \textbf{Ant.} &
     \textbf{Enhet} & \textbf{Pris} & \textbf{Sum} \\
-  & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+  & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
 
 
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
@@ -76,71 +76,71 @@
 \textbf{Til}
 \vspace{0.5cm}
 
-<%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{0.3cm}
 
-<%if contact%>
-Attn: <%contact%>
+<?lsmb if contact ?>
+Attn: <?lsmb contact ?>
 \vspace{0.3cm}
-<%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 ?>
 }
 \parbox[t]{7.5cm}{
 \textbf{Send til}
 \vspace{0.3cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
+<?lsmb if shiptoaddress2 ?>
+<?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+<?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
 
 \vspace{0.3cm}
 
-<%if shiptocontact%>
-Attn: <%shiptocontact%>
+<?lsmb if shiptocontact ?>
+Attn: <?lsmb shiptocontact ?>
 \vspace{0.3cm}
-<%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
 
@@ -149,11 +149,11 @@ Fax: <%shiptofax%>
 \textbf{I N K Ö P S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
 \hfill
 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
-  \textbf{Datum} & <%orddate%> \\
-<%if reqdate%>
-  \textbf{Leverans innan} & <%reqdate%> \\
-<%end reqdate%>
-  \textbf{Ordrenr.} & <%ordnumber%>
+  \textbf{Datum} & <?lsmb orddate ?> \\
+<?lsmb if reqdate ?>
+  \textbf{Leverans innan} & <?lsmb reqdate ?> \\
+<?lsmb end reqdate ?>
+  \textbf{Ordrenr.} & <?lsmb ordnumber ?>
 \end{tabular}
 
 \vspace{1cm}
@@ -161,10 +161,10 @@ Fax: <%shiptofax%>
 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
   \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Ant.} &
     \textbf{Enhet} & \textbf{Pris} & \textbf{Sum} \\
-<%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*}
 
 
@@ -175,24 +175,24 @@ Fax: <%shiptofax%>
 
 \hfill
 \begin{tabularx}{7cm}{Xr@{}}
-  \textbf{Pris ex moms} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
-  <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
+  \textbf{Pris ex moms} & \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
-  Alle priser i valuta \textbf{<%currency%>}.
+  Alle priser i valuta \textbf{<?lsmb currency ?>}.
 
 \vspace{12pt}
 
-<%if notes%>
-  <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+  <?lsmb notes ?>
+<?lsmb end if ?>
 
 }
 
-- 
cgit v1.2.3

