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/Italian-ar_transaction.tex | 88 ++++++++++++++++++------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

(limited to 'templates/Italian-ar_transaction.tex')

diff --git a/templates/Italian-ar_transaction.tex b/templates/Italian-ar_transaction.tex
index e1744bfc..f3d88f3d 100755
--- a/templates/Italian-ar_transaction.tex
+++ b/templates/Italian-ar_transaction.tex
@@ -28,16 +28,16 @@
 
 \parbox{\textwidth}{%
   \parbox[b]{.42\textwidth}{%
-    <%company%>
+    <?lsmb company ?>
    
-    <%address%>
+    <?lsmb address ?>
   }
   \parbox[b]{.2\textwidth}{
     \includegraphics[scale=0.3]{ledger-smb}
   }\hfill
   \begin{tabular}[b]{rr@{}}
-  Telephone & <%tel%>\\
-  Facsimile & <%fax%>
+  Telephone & <?lsmb tel ?>\\
+  Facsimile & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5em]{\textwidth}{0.5pt}
@@ -48,84 +48,84 @@
 \vspace*{0.5cm}
 
 \parbox[t]{.5\textwidth}{
-<%name%>
+<?lsmb name ?>
 
-<%address1%>
+<?lsmb address1 ?>
 
-<%address2%>
+<?lsmb address2 ?>
 
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
 
-<%country%>
+<?lsmb country ?>
 
 \vspace{0.3cm}
 
-<%if contact%>
-<%contact%>
-<%end contact%>
+<?lsmb if contact ?>
+<?lsmb contact ?>
+<?lsmb end contact ?>
 
 \vspace{0.2cm}
 
-<%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 ?>
 }
 \hfill
 \begin{tabular}[t]{ll}
-  \textbf{Invoice \#} & <%invnumber%> \\
-  \textbf{Date} & <%invdate%> \\
-  \textbf{Due} & <%duedate%> \\
-  \textbf{Order \#} & <%ordnumber%> \\
-  \textbf{Employee} & <%employee%> \\
+  \textbf{Invoice \#} & <?lsmb invnumber ?> \\
+  \textbf{Date} & <?lsmb invdate ?> \\
+  \textbf{Due} & <?lsmb duedate ?> \\
+  \textbf{Order \#} & <?lsmb ordnumber ?> \\
+  \textbf{Employee} & <?lsmb employee ?> \\
 \end{tabular}
 
 \vspace{1cm}
 
 \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
-<%foreach amount%>
-  <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
-<%end amount%>
+<?lsmb foreach amount ?>
+  <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb projectnumber ?> \\
+<?lsmb end amount ?>
 
-  \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
-<%foreach tax%>
-  \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
+  \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
+<?lsmb foreach tax ?>
+  \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
+<?lsmb end tax ?>
 
-  \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
+  \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
   
 \end{tabularx}
-<%notes%>
+<?lsmb notes ?>
 
 \vspace{0.3cm}
 
-<%text_amount%> ***** <%decimal%>/100 <%currency%>
+<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
 
 \vspace{0.3cm}
 
-<%if paid%>
+<?lsmb if paid ?>
 \begin{tabular}{@{}llllr@{}}
   \multicolumn{5}{c}{\textbf{Payments}} \\
   \hline
   \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
-<%end paid%>
-<%foreach payment%>
-  <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
+<?lsmb end paid ?>
+<?lsmb foreach payment ?>
+  <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\
+<?lsmb end payment ?>
+<?lsmb if paid ?>
 \end{tabular}
-<%end paid%>
+<?lsmb end paid ?>
 
 \vspace{0.5cm}
 
-<%foreach tax%>
-\textbf{\small{<%taxdescription%> Registration <%taxnumber%>}} \\
-<%end tax%>
+<?lsmb foreach tax ?>
+\textbf{\small{<?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>}} \\
+<?lsmb end tax ?>
   
 \end{document}
 
-- 
cgit v1.2.3

