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-packing_list.tex | 38 +++++++++++++++++------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

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

diff --git a/templates/Spanish_A4-packing_list.tex b/templates/Spanish_A4-packing_list.tex
index 8a867896..88b74449 100755
--- a/templates/Spanish_A4-packing_list.tex
+++ b/templates/Spanish_A4-packing_list.tex
@@ -31,7 +31,7 @@
 
 \begin{tabular}[t]{p{1.7cm}p{1.7cm}p{2.4cm}p{1.7cm}}\\
 \centering{Número} & \centering{Número} & \centering{Fecha} & C. Cliente\\
-  \centering{<%ordnumber%>} & \centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>}
+  \centering{<?lsmb ordnumber ?>} & \centering{<?lsmb invnumber ?>} & \centering{<?lsmb invdate ?>} & \centering{<?lsmb customer_id ?>}
 \end{tabular}
 \end{minipage}
 
@@ -39,15 +39,15 @@
 \textbf{A L B A R Á N} 
 \vspace{1cm}
 
-<%shiptoname%>
+<?lsmb shiptoname ?>
 
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
 
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
 
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
 
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
 \end{minipage}
 
 }
@@ -59,7 +59,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}
@@ -68,7 +68,7 @@
 %\markboth{\usebox{\hdr}}{\usebox{\hdr}}
 \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
 
@@ -77,28 +77,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%>} \\
-<%foreach tax%>
-  IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\
-<%end tax%>
+  \textbf{Base imponible} & \textbf{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+  IVA (<?lsmb taxrate ?>\%) sobre <?lsmb taxbase ?> & <?lsmb tax ?> \\
+<?lsmb end tax ?>
   \hline
-  \textbf{Total} & \textbf{<%invtotal%>} \\
+  \textbf{Total} & \textbf{<?lsmb invtotal ?>} \\
 \end{tabularx}
 \end{flushright}
 
-- 
cgit v1.2.3

