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/Spanish_A4-purchase_order.tex | 46 ++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 23 deletions(-)

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

diff --git a/templates/Spanish_A4-purchase_order.tex b/templates/Spanish_A4-purchase_order.tex
index 69129e86..75744263 100755
--- a/templates/Spanish_A4-purchase_order.tex
+++ b/templates/Spanish_A4-purchase_order.tex
@@ -30,7 +30,7 @@
 
 \begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\
 \centering{Número} & \centering{Fecha} & C. Cliente\\
-\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>}
+\centering{<?lsmb ordnumber ?>} & \centering{<?lsmb orddate ?>} & \centering{<?lsmb vendor_id ?>}
 \end{tabular}
 \end{minipage}
 
@@ -38,19 +38,19 @@
 \textbf{P E D I D O} 
 \vspace{1cm}
 
-<%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 ?>
 \end{minipage}
 
 }
@@ -62,7 +62,7 @@
 %\markboth{\usebox{\hdr}}{\usebox{\hdr}}
 %\thispagestyle{empty}     %use this with letterhead paper
 
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
 \end{tabular*}
 \newpage
 \usebox{\hdr}
@@ -71,7 +71,7 @@
 
 \begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
   \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
 
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
@@ -80,28 +80,28 @@
 
 \begin{tabular*}{\textwidth}{rp{\descrwidth}rr}
   \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline
-<%foreach number%>
-  <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+  <?lsmb qty ?> & <?lsmb description ?> & <?lsmb sellprice ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
 \end{tabular*}
 
 \parbox{\textwidth}{
 \vspace{12pt}
-<%if notes%>
-  <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+  <?lsmb notes ?>
+<?lsmb end if ?>
 }
 
 \vfill
 
 \begin{flushright}
 \begin{tabularx}{10cm}{Xr@{}}
-  \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\
-<%foreach tax%>
-  IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\
-<%end tax%>
+  \textbf{Base imponible} & \textbf{<?lsmb subtotal ?>} \EUR \\
+<?lsmb foreach tax ?>
+  IVA (<?lsmb taxrate ?>\%) sobre <?lsmb taxbase ?> & <?lsmb tax ?> \EUR\\
+<?lsmb end tax ?>
   \hline
-  \textbf{Total} & \textbf{<%ordtotal%>} \EUR\\
+  \textbf{Total} & \textbf{<?lsmb ordtotal ?>} \EUR\\
 \end{tabularx}
 \end{flushright}
 
-- 
cgit v1.2.3

