diff options
Diffstat (limited to 'templates')
568 files changed, 25852 insertions, 25852 deletions
diff --git a/templates/Brazilian_Portuguese-ap_transaction.html b/templates/Brazilian_Portuguese-ap_transaction.html index baaed9d0..9b96dc13 100755 --- a/templates/Brazilian_Portuguese-ap_transaction.html +++ b/templates/Brazilian_Portuguese-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,56 +41,56 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>Fatura#</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap>Date</th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap>Vencimento</th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
<tr>
<th align=left>Pedido #</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
<tr>
<th align=left nowrap>Funcionrio</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -105,47 +105,47 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=50%>
+ <td width=50 ?>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
+ <td align=right><?lsmb amount ?></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
</table>
</td>
- <td width=50%>
- <%notes%>
+ <td width=50 ?>
+ <?lsmb notes ?>
</td>
</tr>
</table>
@@ -159,11 +159,11 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<td> </td>
@@ -189,30 +189,30 @@ <th align=left>Obs.</th>
<th align=left>Valor</th>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb paymentmemo ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid%>
+ <?lsmb if paid ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr height=10></tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -220,7 +220,7 @@ <tr>
<th colspan=3 align=left><font size=-2>Os impostos esto incudos nos preos.</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Brazilian_Portuguese-ap_transaction.tex b/templates/Brazilian_Portuguese-ap_transaction.tex index a6ef2e77..b5e6630b 100755 --- a/templates/Brazilian_Portuguese-ap_transaction.tex +++ b/templates/Brazilian_Portuguese-ap_transaction.tex @@ -16,16 +16,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} @@ -36,78 +36,78 @@ \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 ?> \end{document} diff --git a/templates/Brazilian_Portuguese-ar_transaction.html b/templates/Brazilian_Portuguese-ar_transaction.html index 092f7c8f..ddaaf758 100755 --- a/templates/Brazilian_Portuguese-ar_transaction.html +++ b/templates/Brazilian_Portuguese-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,56 +41,56 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>Fatura #</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap>Data</th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap>Vencimento</th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
<tr>
<th align=left>Pedido #</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
<tr>
<th align=left nowrap>Vendedor</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -105,47 +105,47 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=50%>
+ <td width=50 ?>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
+ <td align=right><?lsmb amount ?></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>Subtotal</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
</table>
</td>
- <td width=50%>
- <%notes%>
+ <td width=50 ?>
+ <?lsmb notes ?>
</td>
</tr>
</table>
@@ -159,11 +159,11 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<td> </td>
@@ -189,38 +189,38 @@ <th align=left>Obs.</th>
<th align=left>Valor</th>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb paymentmemo ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid%>
+ <?lsmb if paid ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr height=10></tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registro <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registro <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -228,7 +228,7 @@ <tr>
<th colspan=3 align=left><font size=-2>Os impostos esto includos nos preos.</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Brazilian_Portuguese-ar_transaction.tex b/templates/Brazilian_Portuguese-ar_transaction.tex index 8696f882..358e43dd 100755 --- a/templates/Brazilian_Portuguese-ar_transaction.tex +++ b/templates/Brazilian_Portuguese-ar_transaction.tex @@ -16,16 +16,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} @@ -36,84 +36,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} diff --git a/templates/Brazilian_Portuguese-balance_sheet.html b/templates/Brazilian_Portuguese-balance_sheet.html index f12964db..d654b615 100755 --- a/templates/Brazilian_Portuguese-balance_sheet.html +++ b/templates/Brazilian_Portuguese-balance_sheet.html @@ -2,32 +2,32 @@ <body bgcolor=ffffff>
<h2 align=center>
-<%company%>
-<br><%address%>
+<?lsmb company ?>
+<br><?lsmb address ?>
<p>FOLHA DE BALANO
-<br>as at <%this_period%>
+<br>as at <?lsmb this_period ?>
</h2>
-<%if department%>
-<h4>Departamento: <%department%></h4>
-<%end department%>
+<?lsmb if department ?>
+<h4>Departamento: <?lsmb department ?></h4>
+<?lsmb end department ?>
<table border=0>
<tr>
<th align=left width=400 colspan=2>ATIVO<br><hr align=left width=250 size=5 noshade></th>
- <th><%this_period%></th>
- <th><%last_period%></th>
+ <th><?lsmb this_period ?></th>
+ <th><?lsmb last_period ?></th>
</tr>
-<%foreach asset_account%>
+<?lsmb foreach asset_account ?>
<tr>
<td> </td>
- <td><%asset_account%></td>
- <td align=right><%asset_this_period%></td>
- <td align=right><%asset_last_period%></td>
+ <td><?lsmb asset_account ?></td>
+ <td align=right><?lsmb asset_this_period ?></td>
+ <td align=right><?lsmb asset_last_period ?></td>
</tr>
-<%end asset_account%>
+<?lsmb end asset_account ?>
<tr>
<td colspan=2> </td>
@@ -37,22 +37,22 @@ <tr valign=top>
<th align=left colspan=2>TOTAL DO ATIVO</th>
- <td align=right><%total_assets_this_period%><hr noshade size=2></td>
- <td align=right><%total_assets_last_period%><hr noshade size=2></td>
+ <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td>
+ <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td>
</tr>
<tr>
<th align=left colspan=4>OBRIGAES<b><hr align=left width=250 size=5 noshade></th>
</tr>
-<%foreach liability_account%>
+<?lsmb foreach liability_account ?>
<tr>
<td></td>
- <td><%liability_account%></td>
- <td align=right><%liability_this_period%></td>
- <td align=right><%liability_last_period%></td>
+ <td><?lsmb liability_account ?></td>
+ <td align=right><?lsmb liability_this_period ?></td>
+ <td align=right><?lsmb liability_last_period ?></td>
</tr>
-<%end liability_account%>
+<?lsmb end liability_account ?>
<tr>
<td colspan=2> </td>
@@ -63,22 +63,22 @@ <tr valign=top>
<td></td>
<th align=left>TOTAL DE OBRIGAES</th>
- <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
- <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
+ <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td>
+ <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td>
</tr>
<tr>
<th align=left colspan=4>PATRIMNIO LIQUIDO<br><hr align=left width=250 size=5 noshade></th>
</tr>
-<%foreach equity_account%>
+<?lsmb foreach equity_account ?>
<tr>
<td></td>
- <td><%equity_account%></td>
- <td align=right><%equity_this_period%></td>
- <td align=right><%equity_last_period%></td>
+ <td><?lsmb equity_account ?></td>
+ <td align=right><?lsmb equity_this_period ?></td>
+ <td align=right><?lsmb equity_last_period ?></td>
</tr>
-<%end equity_account%>
+<?lsmb end equity_account ?>
<tr>
<td colspan=2> </td>
@@ -89,14 +89,14 @@ <tr valign=top>
<td></td>
<th align=left>TOTAL PATRIMNIO</th>
- <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
- <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
+ <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td>
+ <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td>
</tr>
<tr valign=top>
<th align=left colspan=2>TOTAL OBRIGAES & PATRIMNIO</th>
- <td align=right><%total_this_period%><br><hr noshade size=2></td>
- <td align=right><%total_last_period%><br><hr noshade size=2></td>
+ <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
+ <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
</tr>
</table>
diff --git a/templates/Brazilian_Portuguese-bin_list.html b/templates/Brazilian_Portuguese-bin_list.html index 7d5c3292..24959479 100755 --- a/templates/Brazilian_Portuguese-bin_list.html +++ b/templates/Brazilian_Portuguese-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <th align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,62 +40,62 @@ <td>
<table width=100% cellspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>De</th>
- <th align=left width=50%><font color=ffffff>Enviar para</th>
+ <th align=left width=50 ?><font color=ffffff>De</th>
+ <th align=left width=50 ?><font color=ffffff>Enviar para</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+<br><?lsmb address2 ?>
+<?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
<br>
- <%if contact%>
- <br>A/C: <%contact%>
- <%end contact%>
+ <?lsmb if contact ?>
+ <br>A/C: <?lsmb contact ?>
+ <?lsmb end contact ?>
- <%if vendorphone%>
- <br>Tel: <%vendorphone%>
- <%end vendorphone%>
+ <?lsmb if vendorphone ?>
+ <br>Tel: <?lsmb vendorphone ?>
+ <?lsmb end vendorphone ?>
- <%if vendorfax%>
- <br>Fax: <%vendorfax%>
- <%end vendorfax%>
+ <?lsmb if vendorfax ?>
+ <br>Fax: <?lsmb vendorfax ?>
+ <?lsmb end vendorfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+<br><?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br>A/C: <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>A/C: <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
</td>
</tr>
</table>
@@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Pedido #</th>
<th width=17% align=left nowrap>Data</th>
<th width=17% align=left nowrap>Contato</th>
- <%if warehouse%>
+ <?lsmb if warehouse ?>
<th width=17% align=left nowrap>Armazm</th>
- <%end warehouse%>
+ <?lsmb end warehouse ?>
<th width=17% align=left>Local do despacho</th>
<th width=15% align=left>Enviar por</th>
</tr>
<tr>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb orddate ?></td>
+ <?lsmb end shippingdate ?>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
+ <?lsmb if warehouse ?>
+ <td><?lsmb warehouse ?></td>
+ <?lsmb end warehouse ?>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -148,7 +148,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Pos</th>
<th align=left><font color=ffffff>Nmero</th>
@@ -161,19 +161,19 @@ <th><font color=ffffff>Local</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
+ <td><?lsmb runningnumber ?></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb serialnumber ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td align=right><?lsmb ship ?></td>
+ <td><?lsmb unit ?></td>
+ <td><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
diff --git a/templates/Brazilian_Portuguese-bin_list.tex b/templates/Brazilian_Portuguese-bin_list.tex index 8d55e349..d15ffe58 100755 --- a/templates/Brazilian_Portuguese-bin_list.tex +++ b/templates/Brazilian_Portuguese-bin_list.tex @@ -16,34 +16,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -53,37 +53,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -96,24 +96,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -122,10 +122,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Brazilian_Portuguese-check.tex b/templates/Brazilian_Portuguese-check.tex index 477398af..5fc01c3f 100755 --- a/templates/Brazilian_Portuguese-check.tex +++ b/templates/Brazilian_Portuguese-check.tex @@ -11,55 +11,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Nmero da Fatura} & \textbf{Data da Fatura} & \textbf{Prazo} & \textbf{Aplicao} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Brazilian_Portuguese-income_statement.html b/templates/Brazilian_Portuguese-income_statement.html index d6cd4733..b7d1471f 100755 --- a/templates/Brazilian_Portuguese-income_statement.html +++ b/templates/Brazilian_Portuguese-income_statement.html @@ -2,36 +2,36 @@ <body bgcolor=ffffff>
<h2 align=center>
-<%company%>
-<br><%address%>
+<?lsmb company ?>
+<br><?lsmb address ?>
<p>APURAO DE LUCROS E PERDAS
-<br><%period%>
+<br><?lsmb period ?>
</h2>
-<%if department%>
-<h4>Departamento: <%department%></h4>
-<%end department%>
+<?lsmb if department ?>
+<h4>Departamento: <?lsmb department ?></h4>
+<?lsmb end department ?>
-<%if projectnumber%>
-<h4>Nmero do Projeto: <%projectnumber%></h4>
-<%end projectnumber%>
+<?lsmb if projectnumber ?>
+<h4>Nmero do Projeto: <?lsmb projectnumber ?></h4>
+<?lsmb end projectnumber ?>
<table width=100% border=0>
<tr>
<th width=400 align=left colspan=2>LUCRO<br><hr width=300 size=5 align=left noshade></th>
- <th><%this_period%></th>
- <th><%last_period%></th>
+ <th><?lsmb this_period ?></th>
+ <th><?lsmb last_period ?></th>
</tr>
-<%foreach income_account%>
+<?lsmb foreach income_account ?>
<tr>
<td width=4> </td>
- <td><%income_account%></td>
- <td align=right><%income_this_period%></td>
- <td align=right><%income_last_period%></td>
+ <td><?lsmb income_account ?></td>
+ <td align=right><?lsmb income_this_period ?></td>
+ <td align=right><?lsmb income_last_period ?></td>
</tr>
-<%end income_account%>
+<?lsmb end income_account ?>
<tr>
<td colspan=2> </td>
@@ -42,22 +42,22 @@ <tr valign=top>
<td> </td>
<th align=left>TOTAL DE RECEITAS</th>
- <td align=right><%total_income_this_period%><hr noshade size=2></td>
- <td align=right><%total_income_last_period%><hr noshade size=2></td>
+ <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td>
+ <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td>
</tr>
<tr>
<th align=left colspan=2>DESPESAS<br><hr width=300 size=5 align=left noshade></th>
</tr>
-<%foreach expense_account%>
+<?lsmb foreach expense_account ?>
<tr>
<td> </td>
- <td><%expense_account%></td>
- <td align=right><%expenses_this_period%></td>
- <td align=right><%expenses_last_period%></td>
+ <td><?lsmb expense_account ?></td>
+ <td align=right><?lsmb expenses_this_period ?></td>
+ <td align=right><?lsmb expenses_last_period ?></td>
</tr>
-<%end expense_account%>
+<?lsmb end expense_account ?>
<tr>
<td colspan=2> </td>
@@ -68,14 +68,14 @@ <tr valign=top>
<td> </td>
<th align=left>TOTAL DE DESPESAS</th>
- <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
- <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
+ <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td>
+ <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td>
</tr>
<tr valign=top>
<th align=left colspan=2>LUCRO / (PREJUZO)</th>
- <td align=right><%total_this_period%><br><hr noshade size=2></td>
- <td align=right><%total_last_period%><br><hr noshade size=2></td>
+ <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td>
+ <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td>
</tr>
</table>
diff --git a/templates/Brazilian_Portuguese-invoice.html b/templates/Brazilian_Portuguese-invoice.html index 5c77b93f..09896895 100755 --- a/templates/Brazilian_Portuguese-invoice.html +++ b/templates/Brazilian_Portuguese-invoice.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,67 +40,67 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>Para</th>
- <th align=left width=50%><font color=ffffff>Enviar para</th>
+ <th align=left width=50 ?><font color=ffffff>Para</th>
+ <th align=left width=50 ?><font color=ffffff>Enviar para</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
<br>
- <%end shiptocontact%>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -125,13 +125,13 @@ </tr>
<tr>
- <td><%invnumber%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td><%ordnumber%> </td>
- <td><%employee%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td><?lsmb ordnumber ?> </td>
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -141,7 +141,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>No.</th>
<th align=left><font color=ffffff>Nmero</th>
@@ -154,19 +154,19 @@ <th align=right><font color=ffffff>Extendido</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<!--
you can also use netprice instead of sellprice if you
@@ -179,43 +179,43 @@ netprice = sellprice - discount </tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=7 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=7 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=7 align=right><%taxdescription%> em <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=7 align=right><?lsmb taxdescription ?> em <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<th colspan=7 align=right>Pago</th>
- <td colspan=2 align=right>- <%paid%></td>
+ <td colspan=2 align=right>- <?lsmb paid ?></td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr>
<td colspan=5> </td>
<td colspan=4><hr noshade></td>
</tr>
- <%if total%>
+ <?lsmb if total ?>
<tr>
<td colspan=5> </td>
<th colspan=2 align=right nowrap>Pendente</th>
- <th colspan=2 align=right><%total%></th>
+ <th colspan=2 align=right><?lsmb total ?></th>
</tr>
- <%end total%>
+ <?lsmb end total ?>
<tr>
</table>
@@ -226,28 +226,28 @@ netprice = sellprice - discount <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
- <td><%text_amount%> ***** <%decimal%>/100</td>
+ <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>
<td align=right nowrap>
- Todos os valores em <b><%currency%></b>
+ Todos os valores em <b><?lsmb currency ?></b>
</td>
</tr>
</table>
</td>
</tr>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<td> </td>
<td colspan=9>
- <table width=60%>
+ <table width=60 ?>
<tr>
<th align=left>Pagamentos</th>
@@ -265,22 +265,22 @@ netprice = sellprice - discount <th align=left>Fonte</th>
<th align=left>Valor</th>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid%>
+ <?lsmb if paid ?>
</table>
</td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr height=10></tr>
@@ -296,15 +296,15 @@ netprice = sellprice - discount <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
- Pagamentos pendentes at <%duedate%>.
- Itens devolvidos esto sujeitos a cobrana de 10% como taxa de reestocagem. Uma autorizao de devoluo deve ser obtida de <%company%> antes da devoluo das mercadorias. Devolues devem ser enviadas com frete pago e com o seguro apropriado. <%company%> no se responsabilizar por danos durante o transporte.
+ <td width=60 ?><font size=-3>
+ Pagamentos pendentes at <?lsmb duedate ?>.
+ Itens devolvidos esto sujeitos a cobrana de 10% como taxa de reestocagem. Uma autorizao de devoluo deve ser obtida de <?lsmb company ?> antes da devoluo das mercadorias. Devolues devem ser enviadas com frete pago e com o seguro apropriado. <?lsmb company ?> no se responsabilizar por danos durante o transporte.
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
@@ -312,15 +312,15 @@ netprice = sellprice - discount </td>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registro <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registro <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -328,7 +328,7 @@ netprice = sellprice - discount <tr>
<th colspan=8 align=left><font size=-2>Os impostos esto incudos nos preos.</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Brazilian_Portuguese-invoice.tex b/templates/Brazilian_Portuguese-invoice.tex index 67c00dcc..3ed09bbf 100755 --- a/templates/Brazilian_Portuguese-invoice.tex +++ b/templates/Brazilian_Portuguese-invoice.tex @@ -15,12 +15,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefone & <%tel%>\\ - Fax & <%fax%> + Telefone & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -29,32 +29,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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 <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -66,74 +66,74 @@ \textbf{To} \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 ?> \vspace{0.5cm} -<%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 ?> } \parbox[t]{7.5cm}{ \textbf{Ship To} \vspace{0.5cm} -<%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} \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 @@ -145,10 +145,10 @@ Fax: <%shiptofax%> \vspace{1cm} \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%invdate%> \\ - \textbf{Nmero} & <%invnumber%> \\ - \textbf{Pedido} & <%ordnumber%> \\ - \textbf{Produto} & <%employee%> + \textbf{Data} & <?lsmb invdate ?> \\ + \textbf{Nmero} & <?lsmb invnumber ?> \\ + \textbf{Pedido} & <?lsmb ordnumber ?> \\ + \textbf{Produto} & <?lsmb employee ?> \end{tabular} \vspace{1cm} @@ -156,10 +156,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nmero} & \textbf{Descrio} & \textbf{Quant.} & \textbf{Unid.} & \textbf{Preo} & \textbf{Disc.} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -170,44 +170,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> em <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Pago} & - <%paid%> \\ -<%end paid%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> em <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + \textbf{Pago} & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline - \textbf{Pendente} & \textbf{<%total%>} \\ + \textbf{Pendente} & \textbf{<?lsmb total ?>} \\ \end{tabularx} \vspace{0.3cm} \hfill - Preos em \textbf{<%currency%>}. + Preos em \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } \vfill -<%if paid%> +<?lsmb if paid ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Pagamentos} & & & \\ \hline \textbf{Data} & \textbf{Conta} & \textbf{Origem} & \textbf{Total} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> +<?lsmb end paid ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid ?> \end{tabularx} -<%end paid%> +<?lsmb end paid ?> \vspace{1cm} diff --git a/templates/Brazilian_Portuguese-packing_list.html b/templates/Brazilian_Portuguese-packing_list.html index 00407c52..8e0b1de5 100755 --- a/templates/Brazilian_Portuguese-packing_list.html +++ b/templates/Brazilian_Portuguese-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -31,12 +31,12 @@ <table> <tr> <th align=right>Data</th> - <td width=10> </td><td><%invdate%></td> + <td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> <th align=right>Número</th> - <td></td><td><%invnumber%></td></tr> + <td></td><td><?lsmb invnumber ?></td></tr> </table></tr> <tr> @@ -49,21 +49,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color="ffffff">Para:</font></th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <br><%shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <br><%shiptocountry%> -<%if shiptocontact%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <br><?lsmb shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <br><?lsmb shiptocountry ?> +<?lsmb if shiptocontact ?> <p>Obs.: - <%shiptocontact%> - <%end shiptocontact%> + <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> </td> </tr> </table> @@ -77,7 +77,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Número</font></th> <th align=left><font color=ffffff>Descrição</font></th> @@ -85,14 +85,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -104,14 +104,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Obs.:</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> @@ -121,7 +121,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> </font> </td> <td width=150> diff --git a/templates/Brazilian_Portuguese-packing_list.tex b/templates/Brazilian_Portuguese-packing_list.tex index 0d80c769..f6f6d699 100755 --- a/templates/Brazilian_Portuguese-packing_list.tex +++ b/templates/Brazilian_Portuguese-packing_list.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,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{3.5cm} @@ -79,9 +79,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%invdate%> \\ - \textbf{Nmero} & <%invnumber%> \\ - \textbf{Cliente} & <%customer_id%> + \textbf{Data} & <?lsmb invdate ?> \\ + \textbf{Nmero} & <?lsmb invnumber ?> \\ + \textbf{Cliente} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -89,10 +89,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nmero} & \textbf{Descrio} & \textbf{Quant.} & \textbf{Unid.} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} \parbox{\textwidth}{ @@ -100,7 +100,7 @@ \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Brazilian_Portuguese-pick_list.html b/templates/Brazilian_Portuguese-pick_list.html index 370fdbe7..dead1a13 100755 --- a/templates/Brazilian_Portuguese-pick_list.html +++ b/templates/Brazilian_Portuguese-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
<th width=50% align=left><font color=ffffff>Enviar para:</th>
- <th width=50%> </th>
+ <th width=50 ?> </th>
</tr>
<tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
</td>
<td>
- <%if shiptocontact%>
- <br>A/C: <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>A/C: <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%shiptoemail%>
+ <?lsmb shiptoemail ?>
</td>
</tr>
</table>
@@ -94,20 +94,20 @@ </tr>
<tr>
- <td><%invnumber%> </td>
- <td><%ordnumber%> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%> </td>
- <td><%warehouse%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?> </td>
+ <td><?lsmb ordnumber ?> </td>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb transdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb warehouse ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -117,7 +117,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Pos</th>
<th align=left><font color=ffffff>Nmero</th>
@@ -128,17 +128,17 @@ <th><font color=ffffff>Local</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
+ <td><?lsmb runningnumber ?>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
<td align=right>[ ]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
</tr>
diff --git a/templates/Brazilian_Portuguese-pick_list.tex b/templates/Brazilian_Portuguese-pick_list.tex index 6a2b4a08..bafd1be5 100755 --- a/templates/Brazilian_Portuguese-pick_list.tex +++ b/templates/Brazilian_Portuguese-pick_list.tex @@ -29,35 +29,35 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -72,28 +72,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -108,18 +108,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Brazilian_Portuguese-pos_invoice.txt b/templates/Brazilian_Portuguese-pos_invoice.txt index 4aef5a29..5a504770 100755 --- a/templates/Brazilian_Portuguese-pos_invoice.txt +++ b/templates/Brazilian_Portuguese-pos_invoice.txt @@ -1,50 +1,50 @@ -<%company align=center width=40%>
-<%address align=center width=40%>
+<?lsmb company align=center width=40 ?>
+<?lsmb address align=center width=40 ?>
-At: <%till align=left width=3%> fone#: <%tel%>
-Clerk: <%username%>
-Vendedor: <%employee%>
+At: <?lsmb till align=left width=3 ?> fone#: <?lsmb tel ?>
+Clerk: <?lsmb username ?>
+Vendedor: <?lsmb employee ?>
-<%invtime%><%invnumber align=right width=16%>
+<?lsmb invtime ?><?lsmb invnumber align=right width=16 ?>
Qtd Descrio Total
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
+<?lsmb foreach number ?>
+<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?>
+ <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?>
+<?lsmb end number ?>
-Nmero de itens: <%rowcount%>
-<%if taxincluded%>
+Nmero de itens: <?lsmb rowcount ?>
+<?lsmb if taxincluded ?>
---------------
- Total devido: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
+ Total devido: <?lsmb invtotal align=right width=9 ?>
+<?lsmb end taxincluded ?>
+<?lsmb if not taxincluded ?>
------------
- Subtotal: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Total devido: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Troco: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Saldo devido: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Desconto aplicado
-<%end discount%>
+ Subtotal: <?lsmb subtotal align=right width=9 ?>
+<?lsmb end taxincluded ?>
+<?lsmb foreach tax ?>
+<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?>
+<?lsmb end tax ?>
+ Total devido: <?lsmb invtotal align=right width=9 ?>
+<?lsmb foreach payment ?>
+<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?>
+<?lsmb end payment ?>
+<?lsmb if change ?>
+ Troco: <?lsmb change align=right width=9 ?>
+<?lsmb end change ?>
+<?lsmb if total ?>
+ Saldo devido: <?lsmb total align=right width=9 ?>
+<?lsmb end total ?>
+<?lsmb if discount ?>
+
+<?lsmb discount ?> % Desconto aplicado
+<?lsmb end discount ?>
Obrigado por ser nosso cliente!
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
Os impostos esto inclusos no preo.
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
diff --git a/templates/Brazilian_Portuguese-purchase_order.html b/templates/Brazilian_Portuguese-purchase_order.html index e3dcc369..10f09426 100755 --- a/templates/Brazilian_Portuguese-purchase_order.html +++ b/templates/Brazilian_Portuguese-purchase_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -20,8 +20,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,53 +39,53 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>Para:</th>
- <th align=left width=50%><font color=ffffff>Enviar para:</th>
+ <th align=left width=50 ?><font color=ffffff>Para:</th>
+ <th align=left width=50 ?><font color=ffffff>Enviar para:</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if contact%>
-<br>A?C: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>Tel: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>Fax: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>A?C: <?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>Tel: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>Fax: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
-<%if shiptocontact%>
-<br>A/C: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>Tel: <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>A/C: <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
</tr>
</table>
</td>
@@ -106,12 +106,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -120,7 +120,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<!-- <th align=right><font color=ffffff>No.</th> -->
<th align=left><font color=ffffff>Nmero</th>
@@ -132,80 +132,80 @@ <th><font color=ffffff>Total</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></th>
- <td align=right><%linetotal%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></th>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
</tr>
<tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<th colspan=6 align=right>Total</th>
- <th colspan=1 align=right><%ordtotal%></th>
-<%end taxincluded%>
+ <th colspan=1 align=right><?lsmb ordtotal ?></th>
+<?lsmb end taxincluded ?>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>Subtotal</th>
- <td colspan=1 align=right><%subtotal%></td>
-<%end taxincluded%>
+ <td colspan=1 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> em <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=1 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> em <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=1 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=3> </td>
<td colspan=4><hr noshade></td>
</tr>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>Total</th>
- <td colspan=1 align=right><%ordtotal%></td>
-<%end taxincluded%>
+ <td colspan=1 align=right><?lsmb ordtotal ?></td>
+<?lsmb end taxincluded ?>
-<%if terms%>
+<?lsmb if terms ?>
<tr>
- <td colspan=3>Termos <b><%terms%></b> dias</td>
+ <td colspan=3>Termos <b><?lsmb terms ?></b> dias</td>
<th colspan=3 align=right>Total</th>
- <th colspan=1 align=right><%ordtotal%></th>
+ <th colspan=1 align=right><?lsmb ordtotal ?></th>
</tr>
-<%end terms%>
+<?lsmb end terms ?>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<tr>
<td colspan=2>Imposto incluso</td>
</tr>
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
<tr>
<td> </td>
</tr>
-<%if ordtotal%>
+<?lsmb if ordtotal ?>
<tr>
<td colspan=7 align=right>
- Todos os preos em <b><%currency%></b>
+ Todos os preos em <b><?lsmb currency ?></b>
</td>
</tr>
-<%end ordtotal%>
+<?lsmb end ordtotal ?>
</table>
</td>
@@ -213,13 +213,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
-<%if notes%>
+ <table width=100 ?>
+<?lsmb if notes ?>
<tr valign=top>
<td>Observaes</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
</td>
@@ -229,11 +229,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%> </td>
+ <td width=70 ?> </td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Brazilian_Portuguese-purchase_order.tex b/templates/Brazilian_Portuguese-purchase_order.tex index 5f129341..2b914690 100755 --- a/templates/Brazilian_Portuguese-purchase_order.tex +++ b/templates/Brazilian_Portuguese-purchase_order.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefone & <%tel%>\\ - Fax & <%fax%> + Telefone & <?lsmb tel ?>\\ + Fax & <?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 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 @@ -76,71 +76,71 @@ \textbf{To} \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 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 ?> } \parbox[t]{7.5cm}{ \textbf{Ship To} \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{ORDEM DE COMPRA} \parbox{0.3cm}{\hfill} \textbf{O R D E R} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%orddate%> \\ -<%if reqdate%> - \textbf{Requerido por} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Nmero} & <%ordnumber%> + \textbf{Data} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Requerido por} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Nmero} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -161,10 +161,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Nmero} & \textbf{Descrio} & \textbf{Quant.} & \textbf{Unid.} & \textbf{Preo} & \textbf{Total} \\ -<%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{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> em <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> em <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Preos em \textbf{<%currency%>}. + Preos em \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Brazilian_Portuguese-receipt.tex b/templates/Brazilian_Portuguese-receipt.tex index 4daf4eae..c93eaea4 100755 --- a/templates/Brazilian_Portuguese-receipt.tex +++ b/templates/Brazilian_Portuguese-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Nmero da Fatura} & \textbf{Data da Fatura} & \textbf{Prazo} & \textbf{Aplicao} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Brazilian_Portuguese-request_quotation.html b/templates/Brazilian_Portuguese-request_quotation.html index 75f557af..09fb1965 100755 --- a/templates/Brazilian_Portuguese-request_quotation.html +++ b/templates/Brazilian_Portuguese-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -20,8 +20,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,53 +39,53 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>Para:</th>
- <th align=left width=50%><font color=ffffff>Enviar para:</th>
+ <th align=left width=50 ?><font color=ffffff>Para:</th>
+ <th align=left width=50 ?><font color=ffffff>Enviar para:</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if contact%>
-<br>A/C: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>Tel: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>Fax: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>A/C: <?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>Tel: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>Fax: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddr2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
-<%if shiptocontact%>
-<br>A/C: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>Tel: <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>A/C: <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>Tel: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
</tr>
</table>
</td>
@@ -106,12 +106,12 @@ </tr>
<tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb quonumber ?></td>
+ <td><?lsmb quodate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -127,7 +127,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<!-- <th align=right>No.</th> -->
<th align=left>Nmero</th>
@@ -139,19 +139,19 @@ <th>Extendido</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
-<%if notes%>
+ <table width=100 ?>
+<?lsmb if notes ?>
<tr valign=top>
<td>Observaes</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
</td>
@@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%> </td>
+ <td width=70 ?> </td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Brazilian_Portuguese-request_quotation.tex b/templates/Brazilian_Portuguese-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Brazilian_Portuguese-request_quotation.tex +++ b/templates/Brazilian_Portuguese-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Brazilian_Portuguese-sales_order.html b/templates/Brazilian_Portuguese-sales_order.html index 6fcf1bbb..81dfff79 100755 --- a/templates/Brazilian_Portuguese-sales_order.html +++ b/templates/Brazilian_Portuguese-sales_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,59 +40,59 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>Para</th>
- <th align=left width=50%><font color=ffffff>Enviar para</th>
+ <th align=left width=50 ?><font color=ffffff>Para</th>
+ <th align=left width=50 ?><font color=ffffff>Enviar para</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?>
+ <br><?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>Attn: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>Attn: <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+ <br><?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -116,12 +116,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>No.</th>
<th align=left><font color=ffffff>Nmero</th>
@@ -143,41 +143,41 @@ <th><font color=ffffff>Valor</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> em <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> em <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
<tr>
<td colspan=4> </td>
@@ -186,13 +186,13 @@ <tr>
<td colspan=4>
- <%text_amount%> ***** <%decimal%>/100
- <%if terms%>
- <br>Termo <b><%terms%></b> dias
- <%end terms%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
+ <?lsmb if terms ?>
+ <br>Termo <b><?lsmb terms ?></b> dias
+ <?lsmb end terms ?>
</td>
<th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%ordtotal%></th>
+ <th colspan=2 align=right><?lsmb ordtotal ?></th>
</tr>
<tr>
@@ -207,14 +207,14 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
+ <?lsmb if notes ?>
<td>Observaes</td>
- <td><%notes%></td>
- <%end notes%>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
<td align=right nowrap>
- Todos os preos em <%currency%></b>
+ Todos os preos em <?lsmb currency ?></b>
</td>
</tr>
</table>
@@ -225,13 +225,13 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
Itens sob encomenda esto sujeitos a uma taxa de cancelamento de 10%.
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Brazilian_Portuguese-sales_order.tex b/templates/Brazilian_Portuguese-sales_order.tex index 6ad0bfe1..31d1f80f 100755 --- a/templates/Brazilian_Portuguese-sales_order.tex +++ b/templates/Brazilian_Portuguese-sales_order.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefone & <%tel%>\\ - Fax & <%fax%> + Telefone & <?lsmb tel ?>\\ + Fax & <?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 48%> +<?lsmb pagebreak 65 27 48 ?> \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}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \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{ORDEM DE VENDA} \parbox{0.3cm}{\hfill} \textbf{O R D E R} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%orddate%> \\ -<%if reqdate%> - \textbf{Requerido por} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Nmero} & <%ordnumber%> + \textbf{Data} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Requerido por} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Nmero} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nmero} & \textbf{Descrio} & \textbf{Quant.} & \textbf{Unid.} & \textbf{Preo} & \textbf{Disc.} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -116,24 +116,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> em <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> em <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Preos em \textbf{<%currency%>}. + Preos em \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Brazilian_Portuguese-sales_quotation.html b/templates/Brazilian_Portuguese-sales_quotation.html index 025456da..6739522d 100755 --- a/templates/Brazilian_Portuguese-sales_quotation.html +++ b/templates/Brazilian_Portuguese-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,35 +39,35 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>A/C: <%contact%>
- <%end contact%>
+ <?lsmb if contact ?>
+ <br>A/C: <?lsmb contact ?>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
</tr>
@@ -90,12 +90,12 @@ </tr>
<tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb quonumber ?></td>
+ <td><?lsmb quodate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -107,7 +107,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>No.</th>
<th align=left><font color=ffffff>Nmero</th>
@@ -119,42 +119,42 @@ <th><font color=ffffff>Valor</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%></td>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?></td>
+
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<th colspan=6 align=right>Total</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+<?lsmb end taxincluded ?>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>Subtotal</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> em <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> em <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=4> </td>
@@ -163,12 +163,12 @@ <tr>
<td colspan=4>
-<%if terms%>
- Termos <b><%terms%></b> dias
-<%end terms%>
+<?lsmb if terms ?>
+ Termos <b><?lsmb terms ?></b> dias
+<?lsmb end terms ?>
</td>
<th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%quototal%></th>
+ <th colspan=2 align=right><?lsmb quototal ?></th>
</tr>
<tr>
@@ -181,14 +181,14 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
<td>Notes</td>
- <td><%notes%></td>
-<%end notes%>
+ <td><?lsmb notes ?></td>
+<?lsmb end notes ?>
<td align=right>
- Todos os preos em <b><%currency%></b>
+ Todos os preos em <b><?lsmb currency ?></b>
</td>
</tr>
@@ -200,13 +200,13 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
Itens sob encomenda esto sujeitos a uma taxa de 10% para o cancelamento.
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Brazilian_Portuguese-sales_quotation.tex b/templates/Brazilian_Portuguese-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Brazilian_Portuguese-sales_quotation.tex +++ b/templates/Brazilian_Portuguese-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Brazilian_Portuguese-statement.html b/templates/Brazilian_Portuguese-statement.html index 800ecc2f..bb3eca0e 100755 --- a/templates/Brazilian_Portuguese-statement.html +++ b/templates/Brazilian_Portuguese-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
<th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th>
<td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -25,7 +25,7 @@ <th colspan=3><h4>D E C L A R A O</h4></th>
</tr>
<tr>
- <td colspan=3 align=right><%statementdate%></td>
+ <td colspan=3 align=right><?lsmb statementdate ?></td>
</tr>
</table>
</td>
@@ -33,27 +33,27 @@ <tr>
<td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if customerphone%>
- <br>Tel: <%customerphone%>
-<%end customerphone%>
-<%if customerfax%>
- <br>Fax: <%customerfax%>
-<%end customerfax%>
-<%if email%>
- <br><%email%>
-<%end email%>
+<?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
+<?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
+<?lsmb if email ?>
+ <br><?lsmb email ?>
+<?lsmb end email ?>
</td>
</tr>
</table>
@@ -63,31 +63,31 @@ <tr>
<td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<th align=left>Fatura #</th>
<th align=left>Pedido #</th>
<th align=left>Notas</th>
- <th width=10%>Data</th>
- <th width=10%>Vencimento</th>
- <th width=10%>Atual</th>
- <th width=10%>30</th>
- <th width=10%>60</th>
- <th width=10%>90+</th>
+ <th width=10 ?>Data</th>
+ <th width=10 ?>Vencimento</th>
+ <th width=10 ?>Atual</th>
+ <th width=10 ?>30</th>
+ <th width=10 ?>60</th>
+ <th width=10 ?>90+</th>
</tr>
-<%foreach invnumber%>
+<?lsmb foreach invnumber ?>
<tr>
- <td><%invnumber%></td>
-<td><%ordnumber%></td>
-<td><%notes%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td align=right><%c0%></td>
- <td align=right><%c30%></td>
- <td align=right><%c60%></td>
- <td align=right><%c90%></td>
+ <td><?lsmb invnumber ?></td>
+<td><?lsmb ordnumber ?></td>
+<td><?lsmb notes ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td align=right><?lsmb c0 ?></td>
+ <td align=right><?lsmb c30 ?></td>
+ <td align=right><?lsmb c60 ?></td>
+ <td align=right><?lsmb c90 ?></td>
</tr>
-<%end invnumber%>
+<?lsmb end invnumber ?>
<tr>
<td colspan=9><hr size=1></td>
</tr>
@@ -97,10 +97,10 @@ <td> </td>
<td> </td>
<td> </td>
- <th align=right><%c0total%></td>
- <th align=right><%c30total%></td>
- <th align=right><%c60total%></td>
- <th align=right><%c90total%></td>
+ <th align=right><?lsmb c0total ?></td>
+ <th align=right><?lsmb c30total ?></td>
+ <th align=right><?lsmb c60total ?></td>
+ <th align=right><?lsmb c90total ?></td>
</tr>
</table>
</td>
@@ -109,10 +109,10 @@ <tr>
<td> </td>
<td align=right>
- <table width=50%>
+ <table width=50 ?>
<tr>
<th>Total Pendente</th>
- <th align=right><%total%></th>
+ <th align=right><?lsmb total ?></th>
</tr>
</table>
</td>
@@ -123,7 +123,7 @@ </tr>
<tr>
<td> </td>
- <td>Favor emitir cheque nominal a <b><%company%></b>.
+ <td>Favor emitir cheque nominal a <b><?lsmb company ?></b>.
</td>
</tr>
diff --git a/templates/Brazilian_Portuguese-statement.tex b/templates/Brazilian_Portuguese-statement.tex index 7f208093..3b2fca59 100755 --- a/templates/Brazilian_Portuguese-statement.tex +++ b/templates/Brazilian_Portuguese-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -50,33 +50,33 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%name%>\\ -<%address1%>\\ -<%if address2%> -<%address2%> -<%end address2%>\\ -<%city%> <%state%> <%zipcode%>\\ -<%if country%> -<%country%> -<%end country%>\\ +<?lsmb name ?>\\ +<?lsmb address1 ?>\\ +<?lsmb if address2 ?> +<?lsmb address2 ?> +<?lsmb end address2 ?>\\ +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>\\ +<?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?>\\ } \parbox[t]{.4\textwidth}{ -<%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 \vspace{1cm} -\textbf{RELATRIO} \hfill \textbf{<%statementdate%>} +\textbf{RELATRIO} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -85,13 +85,13 @@ Fax: <%customerfax%> \textbf{Nmero da Fatura \#} & \textbf{Data} & \textbf{Prazo} & \textbf{Atual} & \textbf{30} & \textbf{60} & \textbf{90+} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{7}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabular*} @@ -99,12 +99,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totais} & \textbf{<%total%>} + \textbf{Totais} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -Favor pagar com <%company%> +Favor pagar com <?lsmb company ?> \end{document} diff --git a/templates/Brazilian_Portuguese-timecard.html b/templates/Brazilian_Portuguese-timecard.html index 4690d38e..d0537ab8 100755 --- a/templates/Brazilian_Portuguese-timecard.html +++ b/templates/Brazilian_Portuguese-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -18,8 +18,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -44,11 +44,11 @@ <table>
<tr>
<th align=left>Funcionrio</th>
- <td><%employee%></td>
+ <td><?lsmb employee ?></td>
</tr>
<tr>
<th align=left>ID</th>
- <td><%employee_id%></td>
+ <td><?lsmb employee_id ?></td>
</tr>
</table>
</td>
@@ -57,23 +57,23 @@ <table>
<tr>
<th align=left nowrap>Matrcula</th>
- <td><%id%></td>
+ <td><?lsmb id ?></td>
</tr>
<tr>
<th align=left nowrap>Data trabalhada</th>
- <td><%transdate%></td>
+ <td><?lsmb transdate ?></td>
</tr>
<tr>
<th align=left nowrap>Entrada</th>
- <td><%checkedin%></td>
+ <td><?lsmb checkedin ?></td>
</tr>
<tr>
<th align=left>Sada</th>
- <td><%checkedout%></td>
+ <td><?lsmb checkedout ?></td>
</tr>
<tr>
<th align=left nowrap>Horas Trabalhadas</th>
- <td><%qty%></td>
+ <td><?lsmb qty ?></td>
</tr>
</table>
</td>
@@ -88,25 +88,25 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<table>
<tr valign=top>
<th align=left>Projeto/Servio #</th>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
<tr>
<th align=left>Descrio</th>
- <td><%projectdescription%></td>
+ <td><?lsmb projectdescription ?></td>
</tr>
<tr valign=top>
<th align=left>Mo-de-Obra/Cd. Servio</th>
- <td><%partnumber%></td>
+ <td><?lsmb partnumber ?></td>
</tr>
<tr>
<th align=left>Descrio</th>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
</tr>
</table>
</td>
@@ -114,11 +114,11 @@ <table>
<tr>
<th align=right>Valor hora</th>
- <td><%sellprice%></td>
+ <td><?lsmb sellprice ?></td>
</tr>
<tr>
<th align=right>Total</th>
- <td><%total%></td>
+ <td><?lsmb total ?></td>
</tr>
</table>
</td>
@@ -127,17 +127,17 @@ </td>
</tr>
-<%if notes%>
+<?lsmb if notes ?>
<tr height=5></tr>
<tr>
<td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
diff --git a/templates/Brazilian_Portuguese-timecard.tex b/templates/Brazilian_Portuguese-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Brazilian_Portuguese-timecard.tex +++ b/templates/Brazilian_Portuguese-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Brazilian_Portuguese-work_order.html b/templates/Brazilian_Portuguese-work_order.html index 35cb1b25..e154a255 100755 --- a/templates/Brazilian_Portuguese-work_order.html +++ b/templates/Brazilian_Portuguese-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,59 +40,59 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>Para</th>
- <th align=left width=50%><font color=ffffff>Enviar para</th>
+ <th align=left width=50 ?><font color=ffffff>Para</th>
+ <th align=left width=50 ?><font color=ffffff>Enviar para</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?>
+ <br><?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>A/C: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>A/C: <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+ <br><?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -116,12 +116,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>No.</th>
<th align=left><font color=ffffff>Nmeno</th>
@@ -142,17 +142,17 @@ <th><font color=ffffff>N de srie</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- <td><%serialnumber%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td><?lsmb bin ?></td>
+ <td><?lsmb serialnumber ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -165,9 +165,9 @@ <tr>
<td> </td>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
</tr>
</table>
diff --git a/templates/Brazilian_Portuguese-work_order.tex b/templates/Brazilian_Portuguese-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Brazilian_Portuguese-work_order.tex +++ b/templates/Brazilian_Portuguese-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Danish-ap_transaction.html b/templates/Danish-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Danish-ap_transaction.html +++ b/templates/Danish-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Danish-ap_transaction.tex b/templates/Danish-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Danish-ap_transaction.tex +++ b/templates/Danish-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Danish-ar_transaction.html b/templates/Danish-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Danish-ar_transaction.html +++ b/templates/Danish-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Danish-ar_transaction.tex b/templates/Danish-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Danish-ar_transaction.tex +++ b/templates/Danish-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} diff --git a/templates/Danish-balance_sheet.html b/templates/Danish-balance_sheet.html index 61929edd..cec4b5c5 100755 --- a/templates/Danish-balance_sheet.html +++ b/templates/Danish-balance_sheet.html @@ -1,28 +1,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>STATUS -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>AKTIVER<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -32,22 +32,22 @@ <tr valign=top> <th align=left colspan=2>SAMLEDE AKTIVER</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVER<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -58,22 +58,22 @@ <tr valign=top> <td></td> <th align=left>Samlet gld</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>KAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -84,13 +84,13 @@ <tr valign=top> <td></td> <th align=left>Samlet egenkapital</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>SAMLET GLD OG EGENKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Danish-bin_list.html b/templates/Danish-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Danish-bin_list.html +++ b/templates/Danish-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Danish-bin_list.tex b/templates/Danish-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Danish-bin_list.tex +++ b/templates/Danish-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Danish-check.tex b/templates/Danish-check.tex index a3950c17..0075922e 100755 --- a/templates/Danish-check.tex +++ b/templates/Danish-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Danish-income_statement.html b/templates/Danish-income_statement.html index c0652977..9592b37e 100755 --- a/templates/Danish-income_statement.html +++ b/templates/Danish-income_statement.html @@ -1,29 +1,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>DRIFTSREGNSKAB -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>INDTGTER<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -34,22 +34,22 @@ <tr valign=top> <td> </td> <th align=left>Samlede indtgter</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>UDGIFTER<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -60,14 +60,14 @@ <tr valign=top> <td> </td> <th align=left>Samlede udgifter</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>RESULTAT</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Danish-invoice.html b/templates/Danish-invoice.html index 4eda948a..7bfad7a8 100755 --- a/templates/Danish-invoice.html +++ b/templates/Danish-invoice.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tlf.: <%tel%> - <br>Fax: <%fax%> + Tlf.: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,20 +38,20 @@ <td align=right> <table> <tr> - <th align=right>Fakturadato</th><td width=10> </td><td><%invdate%></td> + <th align=right>Fakturadato</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Betalingsdato</th><td width=10> </td><td><%duedate%></td> + <th align=right>Betalingsdato</th><td width=10> </td><td><?lsmb duedate ?></td> </tr> <tr> - <th align=right>Fakturanummer</th><td> </td><td><%invnumber%></td></tr> + <th align=right>Fakturanummer</th><td> </td><td><?lsmb invnumber ?></td></tr> </tr> <!-- <tr> - <th align=right>Ekspederet af:</th><td> </td><td><%username%></td> + <th align=right>Ekspederet af:</th><td> </td><td><?lsmb username ?></td> </tr> --> @@ -64,12 +64,12 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Faktureringsadresse:</th> - <%if shiptoname%> + <?lsmb if shiptoname ?> <th align=left><font color=ffffff>Leveringsadresse:</th> - <%end shiptoname%> + <?lsmb end shiptoname ?> </tr> <!-- @@ -78,29 +78,29 @@ --> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <%if shiptoname%> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <?lsmb if shiptoname ?> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> - <%end shiptoname%> + <?lsmb end shiptoname ?> </tr> </table> </td> @@ -112,7 +112,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Varenummer</th> @@ -124,26 +124,26 @@ <th><font color=ffffff>Belb</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -151,29 +151,29 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> p <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> p <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Allerede betalt</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -181,9 +181,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3>Betalingsfrist <b><%terms%></b> dage</td> + <td colspan=3>Betalingsfrist <b><?lsmb terms ?></b> dage</td> <th colspan=2 align=right>At betale</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -196,15 +196,15 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemrkninger</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Alle priser i <b><%currency%></b>. - <br><%shippingpoint%> + Alle priser i <b><?lsmb currency ?></b>. + <br><?lsmb shippingpoint ?> </td> </tr> @@ -224,15 +224,15 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter pregnes - 1.5% per pbegyndt mned startende <%duedate%> og indtil det fulde belb + Betalingsfrist <?lsmb terms ?> dage fra fakturadato. Betaling herefter pregnes + 1.5% per pbegyndt mned startende <?lsmb duedate ?> og indtil det fulde belb er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr. - Et returnummer skal tildeles af <%company%> fr varer returneres. + Et returnummer skal tildeles af <?lsmb company ?> fr varer returneres. Returvarer skal forsendes forudbetalt og forsvarligt forsikret. - <%company%> kan ikke drages til ansvar for skade under transport. + <?lsmb company ?> kan ikke drages til ansvar for skade under transport. </font> </td> <td width=150> @@ -243,21 +243,21 @@ to show the percentage for a discount use <%discountrate%> </td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> noteret som <%taxnumber%></th> + <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> noteret som <?lsmb taxnumber ?></th> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan=7 align=left><font size=-2>Alle belb er inklusive moms.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <!-- business number <tr> - <th colspan=7 align=left><font size=-2>CVR-nummer: <%businessnumber%></font></th> + <th colspan=7 align=left><font size=-2>CVR-nummer: <?lsmb businessnumber ?></font></th> </tr> --> diff --git a/templates/Danish-invoice.tex b/templates/Danish-invoice.tex index aff4e5e6..a190d92a 100755 --- a/templates/Danish-invoice.tex +++ b/templates/Danish-invoice.tex @@ -27,12 +27,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> + Tlf. & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -41,60 +41,60 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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 <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Belb} \\ - & overfrt fra side <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & overfrt fra side <?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{F A K T U R A} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ - \textbf{Kunde} & <%customer_id%> + \textbf{Dato} & <?lsmb invdate ?> \\ + \textbf{Nummer} & <?lsmb invnumber ?> \\ + \textbf{Kunde} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Belb} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -116,27 +116,27 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> p <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Betalt} & - <%paid%> \\ -<%end paid%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> p <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + \textbf{Betalt} & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline - \textbf{At betale} & \textbf{<%total%>} \\ + \textbf{At betale} & \textbf{<?lsmb total ?>} \\ \end{tabularx} \vspace{0.3cm} \hfill - Alle priser i \textbf{<%currency%>}. + Alle priser i \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -146,11 +146,11 @@ \renewcommand{\thefootnote}{\fnsymbol{footnote}} \footnotetext[1]{\tiny -Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter pregnes -1.5\% per pbegyndt mned startende <%duedate%> og indtil det fulde belb +Betalingsfrist <?lsmb terms ?> dage fra fakturadato. Betaling herefter pregnes +1.5\% per pbegyndt mned startende <?lsmb duedate ?> og indtil det fulde belb er betalt. Returnerede varer modregnes 10\% i ekspeditionsgebyr. -Et returnummer skal tildeles af <%company%> fr varer returneres. +Et returnummer skal tildeles af <?lsmb company ?> fr varer returneres. Returvarer skal forsendes forudbetalt og forsvarligt forsikret. -<%company%> kan ikke drages til ansvar for skade under transport.} +<?lsmb company ?> kan ikke drages til ansvar for skade under transport.} \end{document} diff --git a/templates/Danish-packing_list.html b/templates/Danish-packing_list.html index 76e02b45..083be93e 100755 --- a/templates/Danish-packing_list.html +++ b/templates/Danish-packing_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -29,11 +29,11 @@ <td align=right> <table> <tr> - <th align=right>Dato</th><td width=10> </td><td><%invdate%></td> + <th align=right>Dato</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr> + <th align=right>Nummer</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -46,20 +46,20 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Leveringsadresse:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Att.: <%shiptocontact%> -<%end shiptocontact%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> + <br><?lsmb shiptoaddr4 ?> +<?lsmb if shiptocontact ?> + <p>Att.: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> </td> </tr> @@ -74,7 +74,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Varenummer</th> <th align=left><font color=ffffff>Beskrivelse</th> @@ -82,14 +82,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -101,14 +101,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemrkninger</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> @@ -118,13 +118,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Returnerede varer modregnes 10% i ekspeditionsgebyr. - Et returnummer skal tildeles af <%company%> fr varer returneres. + Et returnummer skal tildeles af <?lsmb company ?> fr varer returneres. Returvarer skal forsendes forudbetalt og forsvarligt forsikret. - <%company%> kan ikke drages til ansvar for skade under transport. + <?lsmb company ?> kan ikke drages til ansvar for skade under transport. </font> </td> <td width=150> diff --git a/templates/Danish-packing_list.tex b/templates/Danish-packing_list.tex index de8cc36a..0e2f1bab 100755 --- a/templates/Danish-packing_list.tex +++ b/templates/Danish-packing_list.tex @@ -27,12 +27,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> + Tlf. & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -41,39 +41,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Varelager} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -81,9 +81,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ - \textbf{Kunde} & <%customer_id%> + \textbf{Dato} & <?lsmb invdate ?> \\ + \textbf{Nummer} & <?lsmb invnumber ?> \\ + \textbf{Kunde} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -91,10 +91,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Varelager} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -103,9 +103,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -116,8 +116,8 @@ \footnotetext[1]{\tiny Returnerede varer modregnes 10\% i ekspeditionsgebyr. -Et returnummer skal tildeles af <%company%> fr varer returneres. +Et returnummer skal tildeles af <?lsmb company ?> fr varer returneres. Returvarer skal forsendes forudbetalt og forsvarligt forsikret. -<%company%> kan ikke drages til ansvar for skade under transport.} +<?lsmb company ?> kan ikke drages til ansvar for skade under transport.} \end{document} diff --git a/templates/Danish-pick_list.html b/templates/Danish-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Danish-pick_list.html +++ b/templates/Danish-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Danish-pick_list.tex b/templates/Danish-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Danish-pick_list.tex +++ b/templates/Danish-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Danish-pos_invoice.txt b/templates/Danish-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/Danish-pos_invoice.txt +++ b/templates/Danish-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Danish-purchase_order.html b/templates/Danish-purchase_order.html index 64802b7d..8ff1c4fc 100755 --- a/templates/Danish-purchase_order.html +++ b/templates/Danish-purchase_order.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tlf.: <%tel%> - <br>Fax: <%fax%> + Tlf.: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -37,15 +37,15 @@ <td align=right> <table> <tr> - <th align=right>Ordredato</th><td width=10> </td><td><%orddate%></td> + <th align=right>Ordredato</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>nsket leveringsdato</th><td width=10> </td><td><%reqdate%></td> + <th align=right>nsket leveringsdato</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordrenummer</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordrenummer</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -57,21 +57,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Til:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> </table> @@ -84,7 +84,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Varenummer</th> @@ -95,19 +95,19 @@ <th><font color=ffffff>Belb</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -115,15 +115,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -131,9 +131,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Betalingsfrist <b><%terms%></b> dage</td> + <td colspan=2>Betalingsfrist <b><?lsmb terms ?></b> dage</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -146,15 +146,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemrkninger</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle priser i <b><%currency%></b> - <br><%shippingpoint%> + Alle priser i <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -166,15 +166,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter pregnes - 1.5% per pbegyndt mned startende <%duedate%> og indtil det fulde belb + Betalingsfrist <?lsmb terms ?> dage fra fakturadato. Betaling herefter pregnes + 1.5% per pbegyndt mned startende <?lsmb duedate ?> og indtil det fulde belb er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr. - Et returnummer skal tildeles af <%company%> fr varer returneres. + Et returnummer skal tildeles af <?lsmb company ?> fr varer returneres. Returvarer skal forsendes forudbetalt og forsvarligt forsikret. - <%company%> kan ikke drages til ansvar for skade under transport. + <?lsmb company ?> kan ikke drages til ansvar for skade under transport. </font> </td> <td width=150> diff --git a/templates/Danish-purchase_order.tex b/templates/Danish-purchase_order.tex index 59e28715..519f8905 100755 --- a/templates/Danish-purchase_order.tex +++ b/templates/Danish-purchase_order.tex @@ -27,12 +27,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> + Tlf. & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -41,62 +41,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{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Pris} & \textbf{Belb} \\ - & 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{I N D K B S O R D R E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%orddate%> \\ -<%if reqdate%> - \textbf{nsket leveringsdato} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordrenummer} & <%ordnumber%> + \textbf{Dato} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{nsket leveringsdato} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Ordrenummer} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -104,10 +104,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Varenummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Pris} & \textbf{Belb} \\ -<%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*} @@ -118,24 +118,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 - Alle priser i \textbf{<%currency%>}. + Alle priser i \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Danish-receipt.tex b/templates/Danish-receipt.tex index 6742b5b5..6909625c 100755 --- a/templates/Danish-receipt.tex +++ b/templates/Danish-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Danish-request_quotation.html b/templates/Danish-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Danish-request_quotation.html +++ b/templates/Danish-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Danish-request_quotation.tex b/templates/Danish-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Danish-request_quotation.tex +++ b/templates/Danish-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Danish-sales_order.html b/templates/Danish-sales_order.html index 8242f371..b4bba3f8 100755 --- a/templates/Danish-sales_order.html +++ b/templates/Danish-sales_order.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tlf.: <%tel%> - <br>Fax: <%fax%> + Tlf.: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -37,15 +37,15 @@ <td align=right> <table> <tr> - <th align=right>Ordredato</th><td width=10> </td><td><%orddate%></td> + <th align=right>Ordredato</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>nsket leveringsdato</th><td width=10> </td><td><%reqdate%></td> + <th align=right>nsket leveringsdato</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordrenummer</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordrenummer</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -57,33 +57,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Til:</th> <th align=left><font color=ffffff>Leveringsadresse:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -96,7 +96,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Varenummer</th> @@ -108,43 +108,43 @@ <th><font color=ffffff>Belb</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> p <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> p <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -152,15 +152,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3>Betalingsfrist netto <b><%terms%></b> dage</td> + <td colspan=3>Betalingsfrist netto <b><?lsmb terms ?></b> dage</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>Total er inklusive moms</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -172,15 +172,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemrkninger</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle priser i <b><%currency%></b> - <br><%shippingpoint%> + Alle priser i <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -192,7 +192,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Et gebyr for annullering af ordre p 10% vil blive tillagt alle specialtilbud diff --git a/templates/Danish-sales_order.tex b/templates/Danish-sales_order.tex index 9f4b9814..2fe06a6d 100755 --- a/templates/Danish-sales_order.tex +++ b/templates/Danish-sales_order.tex @@ -27,12 +27,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> + Tlf. & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -41,62 +41,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 48%> +<?lsmb pagebreak 65 27 48 ?> \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}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Belb} \\ - & Overfrt fra side <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & Overfrt fra side <?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{S A L G S O R D R E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Ordredato} & <%orddate%> \\ -<%if reqdate%> - \textbf{nsket leveringsdato} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordrenummer} & <%ordnumber%> + \textbf{Ordredato} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{nsket leveringsdato} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Ordrenummer} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -104,10 +104,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Varenummer} & \textbf{Beskrivelse} & \textbf{Antal} & \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Belb} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -118,24 +118,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> p <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> p <?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 \textbf{<%currency%>}. + Alle priser i \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Danish-sales_quotation.html b/templates/Danish-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Danish-sales_quotation.html +++ b/templates/Danish-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Danish-sales_quotation.tex b/templates/Danish-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Danish-sales_quotation.tex +++ b/templates/Danish-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Danish-statement.html b/templates/Danish-statement.html index d39a5a88..8cd44acf 100755 --- a/templates/Danish-statement.html +++ b/templates/Danish-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>S T A T E M E N T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Invoice #</th> - <th width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Date</th> + <th width=15 ?>Due</th> + <th width=10 ?>Current</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Total Outstanding</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Please make check payable to <b><%company%></b>. + <td>Please make check payable to <b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/Danish-statement.tex b/templates/Danish-statement.tex index 5865da11..98ed38b9 100755 --- a/templates/Danish-statement.tex +++ b/templates/Danish-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> + \textbf{Total outstanding} & <?lsmb total ?> \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/Danish-timecard.html b/templates/Danish-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Danish-timecard.html +++ b/templates/Danish-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Danish-timecard.tex b/templates/Danish-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Danish-timecard.tex +++ b/templates/Danish-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Danish-work_order.html b/templates/Danish-work_order.html index e665263e..c5b35150 100755 --- a/templates/Danish-work_order.html +++ b/templates/Danish-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Danish-work_order.tex b/templates/Danish-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Danish-work_order.tex +++ b/templates/Danish-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Default-ap_transaction.html b/templates/Default-ap_transaction.html index 2ab4d5e5..364dcaea 100755 --- a/templates/Default-ap_transaction.html +++ b/templates/Default-ap_transaction.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,72 +19,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if vendortaxnumber%> - <p>Taxnumber: <%vendortaxnumber%> - <%end vendortaxnumber%> + <?lsmb if vendortaxnumber ?> + <p>Taxnumber: <?lsmb vendortaxnumber ?> + <?lsmb end vendortaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>PO #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -100,48 +100,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -150,7 +150,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -158,11 +158,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -188,30 +188,30 @@ <th>Memo</th> <th>Amount</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -219,7 +219,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Default-ap_transaction.tex b/templates/Default-ap_transaction.tex index 5cd134cc..31edf3ec 100755 --- a/templates/Default-ap_transaction.tex +++ b/templates/Default-ap_transaction.tex @@ -12,100 +12,100 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -\hspace{-0.1cm}, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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 ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} diff --git a/templates/Default-ar_transaction.html b/templates/Default-ar_transaction.html index f8b8e95e..8422609f 100755 --- a/templates/Default-ar_transaction.html +++ b/templates/Default-ar_transaction.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,72 +19,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if customertaxnumber%> - <br>Taxnumber: <%customertaxnumber%> - <%end customertaxnumber%> + <?lsmb if customertaxnumber ?> + <br>Taxnumber: <?lsmb customertaxnumber ?> + <?lsmb end customertaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>PO #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -100,48 +100,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -150,7 +150,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -158,11 +158,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -187,37 +187,37 @@ <th>Source</th> <th>Amount</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -225,7 +225,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Default-ar_transaction.tex b/templates/Default-ar_transaction.tex index 1c3c44f3..251df3b6 100755 --- a/templates/Default-ar_transaction.tex +++ b/templates/Default-ar_transaction.tex @@ -12,107 +12,107 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Default-balance_sheet.html b/templates/Default-balance_sheet.html index 6ede0b9c..2ce532f8 100755 --- a/templates/Default-balance_sheet.html +++ b/templates/Default-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BALANCE SHEET -<br>as at <%this_period%> +<br>as at <?lsmb this_period ?> </h2> -<%if department%> -<h4>Department: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Department: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>TOTAL ASSETS</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>TOTAL LIABILITIES</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>TOTAL EQUITY</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Default-bin_list.html b/templates/Default-bin_list.html index 93abb57d..543dc8dd 100755 --- a/templates/Default-bin_list.html +++ b/templates/Default-bin_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,70 +19,70 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -100,32 +100,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -135,7 +135,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -148,19 +148,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Default-bin_list.tex b/templates/Default-bin_list.tex index 1bc85d66..0883d69f 100755 --- a/templates/Default-bin_list.tex +++ b/templates/Default-bin_list.tex @@ -11,19 +11,19 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -32,37 +32,37 @@ \textbf{From} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \hfill @@ -75,24 +75,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -101,10 +101,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Default-check.tex b/templates/Default-check.tex index e1d5f566..17e853a9 100755 --- a/templates/Default-check.tex +++ b/templates/Default-check.tex @@ -12,66 +12,66 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice \#} & \textbf{Invoice Date} & \textbf{Amount Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Default-income_statement.html b/templates/Default-income_statement.html index d5221d63..14b01219 100755 --- a/templates/Default-income_statement.html +++ b/templates/Default-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>INCOME STATEMENT -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>Department: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Department: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>Project Number: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>Project Number: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>TOTAL INCOME</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>TOTAL EXPENSES</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>INCOME / (LOSS)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Default-invoice.html b/templates/Default-invoice.html index 3356aed6..3b15e0ee 100755 --- a/templates/Default-invoice.html +++ b/templates/Default-invoice.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,75 +19,75 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> <br> - <%end shiptocontact%> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -112,13 +112,13 @@ </tr> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td><%ordnumber%> </td> - <td><%employee%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td><?lsmb ordnumber ?> </td> + <td><?lsmb employee ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -128,7 +128,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -141,62 +141,62 @@ <th align=right><font color=ffffff>Extended</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=9><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=7 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if paid%> + <?lsmb if paid ?> <tr> <th colspan=7 align=right>Paid</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr> <td colspan=5> </td> <td colspan=4><hr noshade></td> </tr> - <%if total%> + <?lsmb if total ?> <tr> <td colspan=5> </td> <th colspan=2 align=right nowrap>Balance Due</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> - <%end total%> + <?lsmb end total ?> <tr> </table> @@ -207,28 +207,28 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> - <td><%text_amount%> ***** <%decimal%>/100</td> + <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td> <td align=right nowrap> - All prices in <b><%currency%></b> + All prices in <b><?lsmb currency ?></b> </td> </tr> </table> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> <td colspan=9> - <table width=60%> + <table width=60 ?> <tr> <th align=left>Payments</th> @@ -246,22 +246,22 @@ <th align=left>Source</th> <th align=left>Amount</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> @@ -277,15 +277,15 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> - Payment due by <%duedate%>. - Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit. + <td width=60 ?><font size=-3> + Payment due by <?lsmb duedate ?>. + Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> @@ -293,15 +293,15 @@ </td> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -309,7 +309,7 @@ <tr> <th colspan=8 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Default-invoice.tex b/templates/Default-invoice.tex index fa7145bf..e7f74697 100755 --- a/templates/Default-invoice.tex +++ b/templates/Default-invoice.tex @@ -16,15 +16,15 @@ \parbox{\textwidth}{ \tiny \rule[1.5em]{\textwidth}{0.5pt} -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <?lsmb duedate ?> until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \rule{\textwidth}{2pt} @@ -33,18 +33,18 @@ A return authorization must be obtained from <%company%> before goods are return \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] - & carried forward from page <%lastpage%> & & & & & & & <%sumcarriedforward%> \\ [0.5em] -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & & & <?lsmb sumcarriedforward ?> \\ [0.5em] +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -53,71 +53,71 @@ A return authorization must be obtained from <%company%> before goods are return \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -132,8 +132,8 @@ Fax: <%shiptofax%> \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Order \#} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -142,10 +142,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> & - <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb deliverydate ?> & + <?lsmb qty ?> & <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,44 +156,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - & Paid & - <%paid%> \\ -<%end paid%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + & Paid & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline -<%if total%> - & Balance Due & <%total%> -<%end total%> +<?lsmb if total ?> + & Balance Due & <?lsmb total ?> +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Payments} & & & \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabularx} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{1cm} diff --git a/templates/Default-letterhead.html b/templates/Default-letterhead.html index ccac4c0f..1094bcf6 100755 --- a/templates/Default-letterhead.html +++ b/templates/Default-letterhead.html @@ -2,21 +2,21 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> - <th><img src=<%templates%>/<%language_code%>/logo.png border=0 height=58></th> + <th><img src=<?lsmb templates ?>/<?lsmb language_code ?>/logo.png border=0 height=58></th> <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> diff --git a/templates/Default-letterhead.tex b/templates/Default-letterhead.tex index 16d1d16c..10ad0c44 100755 --- a/templates/Default-letterhead.tex +++ b/templates/Default-letterhead.tex @@ -1,15 +1,15 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ - \includegraphics[scale=0.3]{../<%templates%>/<%language_code%>/logo} + \includegraphics[scale=0.3]{../<?lsmb templates ?>/<?lsmb language_code ?>/logo} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} diff --git a/templates/Default-packing_list.html b/templates/Default-packing_list.html index 57286437..3a6683f8 100755 --- a/templates/Default-packing_list.html +++ b/templates/Default-packing_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -20,39 +20,39 @@ <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -71,33 +71,33 @@ <th width=17% align=left>Order #</th> <th width=17% align=left>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%> </td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?> </td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -119,18 +119,18 @@ <th> </th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> @@ -142,36 +142,36 @@ <td><hr noshade></td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%><font size=-3> + <td width=70 ?><font size=-3> Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Default-packing_list.tex b/templates/Default-packing_list.tex index 2d3a1945..4798a92d 100755 --- a/templates/Default-packing_list.tex +++ b/templates/Default-packing_list.tex @@ -17,24 +17,24 @@ \tiny \rule[1.5em]{\textwidth}{0.5pt} Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -46,32 +46,32 @@ returned. Returns must be shipped prepaid and properly insured. \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -84,24 +84,24 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -110,10 +110,10 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -122,7 +122,7 @@ returned. Returns must be shipped prepaid and properly insured. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Default-pick_list.html b/templates/Default-pick_list.html index c6055449..057c4944 100755 --- a/templates/Default-pick_list.html +++ b/templates/Default-pick_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -20,39 +20,39 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -77,20 +77,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -100,7 +100,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -111,17 +111,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Default-pick_list.tex b/templates/Default-pick_list.tex index 2f82936a..cf8bb4fb 100755 --- a/templates/Default-pick_list.tex +++ b/templates/Default-pick_list.tex @@ -11,21 +11,21 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -37,32 +37,32 @@ \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -77,14 +77,14 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> & <%warehouse%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> & <?lsmb warehouse ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -93,10 +93,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Default-pos_invoice.txt b/templates/Default-pos_invoice.txt index cbc0055a..5cffdb3a 100755 --- a/templates/Default-pos_invoice.txt +++ b/templates/Default-pos_invoice.txt @@ -1,45 +1,45 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv #/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv #/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%totalqty%> -<%if taxincluded%> +Number of items: <?lsmb totalqty ?> +<?lsmb if taxincluded ?> --------------- - Total: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Total: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> -<%foreach payment%> - Paid: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> +<?lsmb foreach payment ?> + Paid: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> -<%discount%> % Discount applied -<%end discount%> +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Default-purchase_order.html b/templates/Default-purchase_order.html index ba4c1d43..656f4527 100755 --- a/templates/Default-purchase_order.html +++ b/templates/Default-purchase_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -114,7 +114,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -126,107 +126,107 @@ <th><font color=ffffff>Amount</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></th> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></th> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=7 align=right>Total</th> - <th colspan=1 align=right><%ordtotal%></th> - <%end taxincluded%> + <th colspan=1 align=right><?lsmb ordtotal ?></th> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Subtotal</th> - <td colspan=1 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=1 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=1 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> <td colspan=4><hr noshade></td> </tr> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Total</th> - <td colspan=1 align=right><%ordtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb ordtotal ?></td> + <?lsmb end taxincluded ?> - <%if terms%> + <?lsmb if terms ?> <tr> - <td colspan=4>Terms Net <b><%terms%></b> days</td> + <td colspan=4>Terms Net <b><?lsmb terms ?></b> days</td> <th colspan=3 align=right>Total</th> - <th colspan=1 align=right><%ordtotal%></th> + <th colspan=1 align=right><?lsmb ordtotal ?></th> </tr> - <%end terms%> + <?lsmb end terms ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td colspan=2>Tax included</td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> <tr> <td> </td> </tr> - <%if ordtotal%> + <?lsmb if ordtotal ?> <tr> <td colspan=8 align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> - <%end ordtotal%> + <?lsmb end ordtotal ?> </table> </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Default-purchase_order.tex b/templates/Default-purchase_order.tex index fe1e6428..260bec99 100755 --- a/templates/Default-purchase_order.tex +++ b/templates/Default-purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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 ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> +<?lsmb if contact ?> +Attn: <?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> +<?lsmb if shiptocontact ?> +Attn: <?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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{tabularx} @@ -142,22 +142,22 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Default-receipt.tex b/templates/Default-receipt.tex index effc19b6..01e84022 100755 --- a/templates/Default-receipt.tex +++ b/templates/Default-receipt.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Default-request_quotation.html b/templates/Default-request_quotation.html index 433b8e80..ef3121a9 100755 --- a/templates/Default-request_quotation.html +++ b/templates/Default-request_quotation.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -17,67 +17,67 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%> </td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?> </td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -126,7 +126,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=right>Item</th> <th align=left>Number</th> @@ -138,15 +138,15 @@ <th>Extended</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> @@ -156,21 +156,21 @@ </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> </table> diff --git a/templates/Default-request_quotation.tex b/templates/Default-request_quotation.tex index cf95dd89..e620c517 100755 --- a/templates/Default-request_quotation.tex +++ b/templates/Default-request_quotation.tex @@ -11,28 +11,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -41,71 +41,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -132,9 +132,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,7 +143,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Default-sales_order.html b/templates/Default-sales_order.html index 14c17e1e..e3ff7e13 100755 --- a/templates/Default-sales_order.html +++ b/templates/Default-sales_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -116,7 +116,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -128,41 +128,41 @@ <th><font color=ffffff>Amount</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -171,13 +171,13 @@ <tr> <td colspan=4> - <%text_amount%> ***** <%decimal%>/100 - <%if terms%> - <br>Terms Net <b><%terms%></b> days - <%end terms%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 + <?lsmb if terms ?> + <br>Terms Net <b><?lsmb terms ?></b> days + <?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> <tr> @@ -192,14 +192,14 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> + <?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> - <%end notes%> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> <td align=right nowrap> - All prices in <%currency%> Funds</b> + All prices in <?lsmb currency ?> Funds</b> </td> </tr> </table> @@ -210,13 +210,13 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% order cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Default-sales_order.tex b/templates/Default-sales_order.tex index 60f7bfeb..d3693af8 100755 --- a/templates/Default-sales_order.tex +++ b/templates/Default-sales_order.tex @@ -11,29 +11,29 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -120,7 +120,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,27 +143,27 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Default-sales_quotation.html b/templates/Default-sales_quotation.html index 5d7f2699..b94f793d 100755 --- a/templates/Default-sales_quotation.html +++ b/templates/Default-sales_quotation.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -17,39 +17,39 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -72,12 +72,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -87,7 +87,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -99,41 +99,41 @@ <th><font color=ffffff>Amount</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -142,12 +142,12 @@ <tr> <td colspan=4> - <%if terms%> - Terms Net <b><%terms%></b> days - <%end terms%> + <?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days + <?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -162,14 +162,14 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> + <?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> - <%end notes%> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> </table> @@ -180,13 +180,13 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Default-sales_quotation.tex b/templates/Default-sales_quotation.tex index 771fe6a3..162ee009 100755 --- a/templates/Default-sales_quotation.tex +++ b/templates/Default-sales_quotation.tex @@ -20,64 +20,64 @@ Special order items are subject to a 10\% cancellation fee. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \vspace{1cm} @@ -90,7 +90,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -99,10 +99,10 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -113,26 +113,26 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%quototal%>\\ + & Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Default-statement.html b/templates/Default-statement.html index 9a951a98..d90afab4 100755 --- a/templates/Default-statement.html +++ b/templates/Default-statement.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -15,38 +15,38 @@ <tr> <td> </td> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> </table> @@ -59,30 +59,30 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Invoice #</th> <th align=left>Order#</th> - <th width=10%>Date</th> - <th width=10%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90</th> + <th width=10 ?>Date</th> + <th width=10 ?>Due</th> + <th width=10 ?>Current</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90</th> </tr> - <%foreach invnumber%> + <?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%ordnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> - <%end invnumber%> + <?lsmb end invnumber ?> <tr> <td colspan=8><hr size=1></td> @@ -93,10 +93,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -108,10 +108,10 @@ <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Total Outstanding</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -125,8 +125,8 @@ <tr> <td> </td> - <td>All amounts in <b><%currency%></b> funds. - <br>Please make check payable to <b><%company%></b>. + <td>All amounts in <b><?lsmb currency ?></b> funds. + <br>Please make check payable to <b><?lsmb company ?></b>. </td> </tr> diff --git a/templates/Default-statement.tex b/templates/Default-statement.tex index 0beb6c64..f700a750 100755 --- a/templates/Default-statement.tex +++ b/templates/Default-statement.tex @@ -11,39 +11,39 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -52,13 +52,13 @@ Fax: <%customerfax%> \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{8}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabular*} @@ -66,13 +66,13 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Total outstanding} & \textbf{<%total%>} + & \textbf{Total outstanding} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -All amounts in \textbf{<%currency%>} funds. +All amounts in \textbf{<?lsmb currency ?>} funds. -Please make check payable to \textbf{<%company%>} +Please make check payable to \textbf{<?lsmb company ?>} \end{document} diff --git a/templates/Default-timecard.html b/templates/Default-timecard.html index 73516e22..d9baa897 100755 --- a/templates/Default-timecard.html +++ b/templates/Default-timecard.html @@ -1,8 +1,8 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -22,11 +22,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -35,23 +35,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -66,25 +66,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Job/Project #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -92,11 +92,11 @@ <table> <tr> <th align=right>Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -105,17 +105,17 @@ </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%end notes%> + <?lsmb end notes ?> </table> diff --git a/templates/Default-timecard.tex b/templates/Default-timecard.tex index b7630a00..ab849993 100755 --- a/templates/Default-timecard.tex +++ b/templates/Default-timecard.tex @@ -11,42 +11,42 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{T I M E}\hspace{0.5cm}\textbf{C A R D}} \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date} & <%transdate%> \\ - \textbf{In} & <%checkedin%> \\ - \textbf{Out} & <%checkedout%> \\ - \textbf{Hours} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date} & <?lsmb transdate ?> \\ + \textbf{In} & <?lsmb checkedin ?> \\ + \textbf{Out} & <?lsmb checkedout ?> \\ + \textbf{Hours} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Job/Project \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Job/Project \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Default-work_order.html b/templates/Default-work_order.html index 38fadacf..b0c4ee49 100755 --- a/templates/Default-work_order.html +++ b/templates/Default-work_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -116,7 +116,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>Item</th> <th align=left><font color=ffffff>Number</th> @@ -127,17 +127,17 @@ <th><font color=ffffff>Serial #</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%bin%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -150,9 +150,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Default-work_order.tex b/templates/Default-work_order.tex index c8d48172..266459f2 100755 --- a/templates/Default-work_order.tex +++ b/templates/Default-work_order.tex @@ -11,20 +11,20 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -33,71 +33,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -111,7 +111,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -120,10 +120,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -132,7 +132,7 @@ Fax: <%shiptofax%> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill diff --git a/templates/Dutch-ap_transaction.html b/templates/Dutch-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Dutch-ap_transaction.html +++ b/templates/Dutch-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Dutch-ap_transaction.tex b/templates/Dutch-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Dutch-ap_transaction.tex +++ b/templates/Dutch-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Dutch-ar_transaction.html b/templates/Dutch-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Dutch-ar_transaction.html +++ b/templates/Dutch-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Dutch-ar_transaction.tex b/templates/Dutch-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Dutch-ar_transaction.tex +++ b/templates/Dutch-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} diff --git a/templates/Dutch-balance_sheet.html b/templates/Dutch-balance_sheet.html index 5eef5f52..9ffa8fe4 100755 --- a/templates/Dutch-balance_sheet.html +++ b/templates/Dutch-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BALANS -<br>per <%this_period%> +<br>per <?lsmb this_period ?> </h2> -<%if department%> -<h4>Afdeling: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Afdeling: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>ACTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>TOTAAL ACTIVA</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>Totaal Passiva</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>EIGEN VERMOGEN<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>Totaal Eigen Vermogen</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAAL PASSIVA & EIGEN VERMOGEN</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Dutch-bin_list.html b/templates/Dutch-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Dutch-bin_list.html +++ b/templates/Dutch-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Dutch-bin_list.tex b/templates/Dutch-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Dutch-bin_list.tex +++ b/templates/Dutch-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Dutch-check.tex b/templates/Dutch-check.tex index a3950c17..0075922e 100755 --- a/templates/Dutch-check.tex +++ b/templates/Dutch-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Dutch-income_statement.html b/templates/Dutch-income_statement.html index c4c1cfb4..a8922f62 100755 --- a/templates/Dutch-income_statement.html +++ b/templates/Dutch-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>INKOMSTEN OVERZICHT -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>Afdeling: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Afdeling: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>Project Nummer: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>Project Nummer: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>INKOMSTEN<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>TOTAAL INKOMSTEN</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>UITGAVEN<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>TOTAAL UITGAVEN</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>WINST / (VERLIES)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Dutch-invoice.html b/templates/Dutch-invoice.html index 1ebb63a4..ce2cdd40 100755 --- a/templates/Dutch-invoice.html +++ b/templates/Dutch-invoice.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Factuurdatum</th><td width=10> </td><td><%invdate%></td> + <th align=right>Factuurdatum</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Vervaldatum</th><td width=10> </td><td><%duedate%></td> + <th align=right>Vervaldatum</th><td width=10> </td><td><?lsmb duedate ?></td> </tr> <tr> - <th align=right>Factuurnummer</th><td> </td><td><%invnumber%></td></tr> + <th align=right>Factuurnummer</th><td> </td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Factuuradres:</th> <th align=left><font color=ffffff>Verzendadres:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>Regel</th> --> <th align=left><font color=ffffff>Artikelnummer</th> @@ -109,26 +109,26 @@ <th><font color=ffffff>Totaal</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -137,22 +137,22 @@ to show the percentage for a discount use <%discountrate%> <tr> <th colspan=5 align=right>Subtotaal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right>BTW <%taxrate%>%</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right>BTW <?lsmb taxrate ?>%</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Betaald</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -160,9 +160,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3>Betalen binnen <b><%terms%></b> dagen</td> + <td colspan=3>Betalen binnen <b><?lsmb terms ?></b> dagen</td> <th colspan=2 align=right>Openstaand</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -175,15 +175,15 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Opmerkingen</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle prijzen in <b><%currency%></b> - <br><%shippingpoint%> + Alle prijzen in <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -196,7 +196,7 @@ to show the percentage for a discount use <%discountrate%> <tr> <th colspan=7> Gaarne u betaling overmaken op onderstaande giro- of bankrekening - <br>ten name van <%company%> + <br>ten name van <?lsmb company ?> <br>onder vermelding van het factuurnummer. </th> </tr> @@ -205,11 +205,11 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Op al onze aanbiedingen/leveringen zijn, met uitsluiting van eventuele inkoop- of andere voorwaarden van de opdrachtgever, -<br>de Algemene Voorwaarden van <%company%> van toepassing. +<br>de Algemene Voorwaarden van <?lsmb company ?> van toepassing. <br>Deze Algemene Voorwaarden zijn gedeponeerd bij de Kamer van Koophandel te ........ </font> </td> @@ -222,11 +222,11 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <th colspan=7 align=left><font size=-2>BTW nummer:<%taxnumber%></th> + <th colspan=7 align=left><font size=-2>BTW nummer:<?lsmb taxnumber ?></th> </tr> <tr> - <th colspan=7 align=left><font size=-2>Kamer van Koophandel te ...... nummer:<%businessnumber%></th> + <th colspan=7 align=left><font size=-2>Kamer van Koophandel te ...... nummer:<?lsmb businessnumber ?></th> </tr> <tr> diff --git a/templates/Dutch-invoice.tex b/templates/Dutch-invoice.tex index 6a6c9e26..f4c2f655 100755 --- a/templates/Dutch-invoice.tex +++ b/templates/Dutch-invoice.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,60 +39,60 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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 <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from page <?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{F A K T U U R} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Faktuurnummer} & <%invnumber%> \\ - \textbf{Klantnummer} & <%customer_id%> + \textbf{Datum} & <?lsmb invdate ?> \\ + \textbf{Faktuurnummer} & <?lsmb invnumber ?> \\ + \textbf{Klantnummer} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -100,10 +100,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Artikelnr} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -114,24 +114,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Subtotaal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Totaal} & \textbf{<%total%>}\\ + \textbf{Totaal} & \textbf{<?lsmb total ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Alle prijzen in \textbf{<%currency%>}. + Alle prijzen in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Dutch-packing_list.html b/templates/Dutch-packing_list.html index aea6ba7b..93671da4 100755 --- a/templates/Dutch-packing_list.html +++ b/templates/Dutch-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -30,11 +30,11 @@ <td align=right> <table> <tr> - <th align=right>Factuurdatum</th><td width=10> </td><td><%invdate%></td> + <th align=right>Factuurdatum</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Factuurnummer</th><td></td><td><%invnumber%></td></tr> + <th align=right>Factuurnummer</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -47,16 +47,16 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Verzendadres:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> </td> </tr> </table> @@ -70,7 +70,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Artikelnummer</th> <th align=left><font color=ffffff>Omschrijving</th> @@ -78,14 +78,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -97,14 +97,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Opmerkingen</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> diff --git a/templates/Dutch-packing_list.tex b/templates/Dutch-packing_list.tex index 51aa1e87..7771e6ce 100755 --- a/templates/Dutch-packing_list.tex +++ b/templates/Dutch-packing_list.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefoon & <%tel%>\\ - Fax & <%fax%> + Telefoon & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -79,9 +79,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Faktuurnummer} & <%invnumber%> \\ - \textbf{Klantnummer} & <%customer_id%> + \textbf{Datum} & <?lsmb invdate ?> \\ + \textbf{Faktuurnummer} & <?lsmb invnumber ?> \\ + \textbf{Klantnummer} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -89,10 +89,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -101,9 +101,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Dutch-pick_list.html b/templates/Dutch-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Dutch-pick_list.html +++ b/templates/Dutch-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Dutch-pick_list.tex b/templates/Dutch-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Dutch-pick_list.tex +++ b/templates/Dutch-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Dutch-pos_invoice.txt b/templates/Dutch-pos_invoice.txt index 77008066..11ceeeaf 100755 --- a/templates/Dutch-pos_invoice.txt +++ b/templates/Dutch-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Kassa: <%till align=left width=3%> Phone#: <%tel%> -Kassier: <%employee%> -Verk Nr/Datum: <%invnumber%> / <%invdate%> -Afgedrukt: <%dateprinted%> +Kassa: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Kassier: <?lsmb employee ?> +Verk Nr/Datum: <?lsmb invnumber ?> / <?lsmb invdate ?> +Afgedrukt: <?lsmb dateprinted ?> Hoeveelheid Omschrijving Bedrag -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Aantal items: <%rowcount%> -<%if taxincluded%> +Aantal items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Bedrag : <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Bedrag : <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotaal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Bedrag : <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Wisselgeld: <%change align=right width=9%> -<%end change%> -<%if total%> - Te betalen : <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotaal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Bedrag : <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Wisselgeld: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Te betalen : <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Dank u en tot ziens! -<%if taxincluded%> +<?lsmb if taxincluded ?> Belasting is in de prijs inbegrepen. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Dutch-purchase_order.html b/templates/Dutch-purchase_order.html index 2aafc469..892c5480 100755 --- a/templates/Dutch-purchase_order.html +++ b/templates/Dutch-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Bestel Datum</th><td width=10> </td><td><%orddate%></td> + <th align=right>Bestel Datum</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Lever datum</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Lever datum</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Bestel nummer</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Bestel nummer</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,21 +58,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>To:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> </table> @@ -85,7 +85,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -96,19 +96,19 @@ <th><font color=ffffff>Bedrag</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -116,15 +116,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Subtotaal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -132,9 +132,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Betalings termijn <b><%terms%></b> dagen</td> + <td colspan=2>Betalings termijn <b><?lsmb terms ?></b> dagen</td> <th colspan=2 align=right>Totaal</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -147,15 +147,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle prijzen in <b><%currency%></b>'s - <br><%shippingpoint%> + Alle prijzen in <b><?lsmb currency ?></b>'s + <br><?lsmb shippingpoint ?> </td> </tr> @@ -167,7 +167,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> </td> diff --git a/templates/Dutch-purchase_order.tex b/templates/Dutch-purchase_order.tex index 5ededcd3..7e6a7fd4 100755 --- a/templates/Dutch-purchase_order.tex +++ b/templates/Dutch-purchase_order.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefoon & <%tel%>\\ - Fax & <%fax%> + Telefoon & <?lsmb tel ?>\\ + Fax & <?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{Subtotaal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotaal} & \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{Bestel Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Prijs} & \textbf{Bedrag} \\ - & 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{I N K O O P B E S T E L L I N G} \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{Gewenste Leverdatum} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Bestel Nummer} & <%ordnumber%> + \textbf{Datum} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Gewenste Leverdatum} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Bestel Nummer} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Prijs} & \textbf{Bedrag} \\ -<%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{Subtotaal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Subtotaal} & \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 prijzen in \textbf{<%currency%>}. + Alle prijzen in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Dutch-receipt.tex b/templates/Dutch-receipt.tex index 6742b5b5..6909625c 100755 --- a/templates/Dutch-receipt.tex +++ b/templates/Dutch-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Dutch-request_quotation.html b/templates/Dutch-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Dutch-request_quotation.html +++ b/templates/Dutch-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Dutch-request_quotation.tex b/templates/Dutch-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Dutch-request_quotation.tex +++ b/templates/Dutch-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Dutch-sales_order.html b/templates/Dutch-sales_order.html index a94b4469..912afd26 100755 --- a/templates/Dutch-sales_order.html +++ b/templates/Dutch-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Bestel Datum</th><td width=10> </td><td><%orddate%></td> + <th align=right>Bestel Datum</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Gewenste Leverdatum</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Gewenste Leverdatum</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Bestel Nummer</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Bestel Nummer</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Aan:</th> <th align=left><font color=ffffff>Verzenden aan:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -109,43 +109,43 @@ <th><font color=ffffff>Bedrag</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Totaal</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Subtotaal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> over <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> over <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -153,15 +153,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3>Betalingstermijn <b><%terms%></b> dagen</td> + <td colspan=3>Betalingstermijn <b><?lsmb terms ?></b> dagen</td> <th colspan=2 align=right>Totaal</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>Totaal bedrag is inclusief BTW.</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -173,15 +173,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Opmerkingen:</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle prijzen in <b><%currency%></b>'s - <br><%shippingpoint%> + Alle prijzen in <b><?lsmb currency ?></b>'s + <br><?lsmb shippingpoint ?> </td> </tr> @@ -193,7 +193,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> </td> diff --git a/templates/Dutch-sales_order.tex b/templates/Dutch-sales_order.tex index 09758950..990d16b8 100755 --- a/templates/Dutch-sales_order.tex +++ b/templates/Dutch-sales_order.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefoon & <%tel%>\\ - Fax & <%fax%> + Telefoon & <?lsmb tel ?>\\ + Fax & <?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 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotaal} & \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}rlrrr@{}} \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\ - & Transport van <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & Transport van <?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{V E R K O O P} \parbox{0.3cm}{\hfill} \textbf{B E S T E L L I N G} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Bestel Datum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Gewenste Leverdatum} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Bestel Nummer} & <%ordnumber%> + \textbf{Bestel Datum} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Gewenste Leverdatum} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Bestel Nummer} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -116,24 +116,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> over <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Subtotaal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> over <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Totaal} & \textbf{<%ordtotal%>}\\ + \textbf{Totaal} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Alle prijzen in \textbf{<%currency%>}. + Alle prijzen in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Dutch-sales_quotation.html b/templates/Dutch-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Dutch-sales_quotation.html +++ b/templates/Dutch-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Dutch-sales_quotation.tex b/templates/Dutch-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Dutch-sales_quotation.tex +++ b/templates/Dutch-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Dutch-statement.html b/templates/Dutch-statement.html index ae9c3929..6e70ea52 100755 --- a/templates/Dutch-statement.html +++ b/templates/Dutch-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>O P E N S T A A N D E F A C T U R E N</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Factuur #</th> - <th width=15%>Datum</th> - <th width=15%>Vervaldatum</th> - <th width=10%>Huidig</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Datum</th> + <th width=15 ?>Vervaldatum</th> + <th width=10 ?>Huidig</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Totaal Openstaand</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Maak de betalingen over aan<b><%company%></b>. + <td>Maak de betalingen over aan<b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/Dutch-statement.tex b/templates/Dutch-statement.tex index eaedd20e..fb646699 100755 --- a/templates/Dutch-statement.tex +++ b/templates/Dutch-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{O P E N S T A A N D E F A C T U R E N} \hfill \textbf{<%statementdate%>} +\textbf{O P E N S T A A N D E F A C T U R E N} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Factuur \#} & \textbf{Datum} & \textbf{Vervaldatum} & \textbf{Huidig} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totaal openstaand} & <%total%> + \textbf{Totaal openstaand} & <?lsmb total ?> \end{tabularx} \vfill -Maak U betalingen over aan <%company%> +Maak U betalingen over aan <?lsmb company ?> \end{document} diff --git a/templates/Dutch-timecard.html b/templates/Dutch-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Dutch-timecard.html +++ b/templates/Dutch-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Dutch-timecard.tex b/templates/Dutch-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Dutch-timecard.tex +++ b/templates/Dutch-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Dutch-work_order.html b/templates/Dutch-work_order.html index 40cdb068..0601c438 100755 --- a/templates/Dutch-work_order.html +++ b/templates/Dutch-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Voor</th> - <th align=left width=50%><font color=ffffff>Verzendadres</th> + <th align=left width=50 ?><font color=ffffff>Voor</th> + <th align=left width=50 ?><font color=ffffff>Verzendadres</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>t.a.v. <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>t.a.v. <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Nummer</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serie Nr.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Dutch-work_order.tex b/templates/Dutch-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Dutch-work_order.tex +++ b/templates/Dutch-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Estonian-ap_transaction.html b/templates/Estonian-ap_transaction.html index f7bc5ef1..3c407dc2 100755 --- a/templates/Estonian-ap_transaction.html +++ b/templates/Estonian-ap_transaction.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,72 +19,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Faks: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Faks: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if vendortaxnumber%> - <p>KÀibemaksukohuslane NR: <%vendortaxnumber%> - <%end vendortaxnumber%> + <?lsmb if vendortaxnumber ?> + <p>KÀibemaksukohuslane NR: <?lsmb vendortaxnumber ?> + <?lsmb end vendortaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Arve NR. #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>KuupÀev</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Tasuda</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>Hanketellimus NR. #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Tellimus NR. #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Töötaja</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -100,48 +100,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Vahesumma</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -150,7 +150,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -158,11 +158,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -188,30 +188,30 @@ <th>Memo</th> <th>Summa</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -219,7 +219,7 @@ <tr> <th colspan=3 align=left><font size=-2>Hinnad sisaldavad kÀibemaksu.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Estonian-ap_transaction.tex b/templates/Estonian-ap_transaction.tex index 5cd134cc..31edf3ec 100755 --- a/templates/Estonian-ap_transaction.tex +++ b/templates/Estonian-ap_transaction.tex @@ -12,100 +12,100 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -\hspace{-0.1cm}, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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 ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} diff --git a/templates/Estonian-ar_transaction.html b/templates/Estonian-ar_transaction.html index f3cd7909..19219426 100755 --- a/templates/Estonian-ar_transaction.html +++ b/templates/Estonian-ar_transaction.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,72 +19,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if customertaxnumber%> - <br>KÀibemaksukohuslane : <%customertaxnumber%> - <%end customertaxnumber%> + <?lsmb if customertaxnumber ?> + <br>KÀibemaksukohuslane : <?lsmb customertaxnumber ?> + <?lsmb end customertaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Arve #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>KuupÀev</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Maksta olev</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>PO #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Tellimus #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>MÌÌja</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -100,48 +100,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Vahesumma</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -150,7 +150,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -158,11 +158,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -187,37 +187,37 @@ <th>Alus</th> <th>Summa</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> KÀibemaksukohuslase NR: <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> KÀibemaksukohuslase NR: <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -225,7 +225,7 @@ <tr> <th colspan=3 align=left><font size=-2>Summad sisaldavad kÀibemaksu.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Estonian-ar_transaction.tex b/templates/Estonian-ar_transaction.tex index 1c3c44f3..251df3b6 100755 --- a/templates/Estonian-ar_transaction.tex +++ b/templates/Estonian-ar_transaction.tex @@ -12,107 +12,107 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Estonian-balance_sheet.html b/templates/Estonian-balance_sheet.html index cef8f9a7..f675521e 100755 --- a/templates/Estonian-balance_sheet.html +++ b/templates/Estonian-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BILANSIARUANNE -<br>Perioodil: <%this_period%> +<br>Perioodil: <?lsmb this_period ?> </h2> -<%if department%> -<h4>Osakond: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Osakond: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>AKTIVA KOKKU</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>PASSIVA KOKKU</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>AKTSIAKAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>KOKKU AKTSIAKAPITAL</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>KOKKU PASSIVA JA AKTSIAKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Estonian-bin_list.html b/templates/Estonian-bin_list.html index b9de9c58..420a7a18 100755 --- a/templates/Estonian-bin_list.html +++ b/templates/Estonian-bin_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,70 +19,70 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Saatja</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Saatja</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -100,32 +100,32 @@ <th width=17% align=left nowrap>Tellimus #</th> <th width=17% align=left nowrap>KuupÀev</th> <th width=17% align=left nowrap>Kontakt</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Kaubaladu</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Tarneaadress</th> <th width=15% align=left>Tarneviis</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -135,7 +135,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -148,19 +148,19 @@ <th><font color=ffffff>Pakend</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Estonian-bin_list.tex b/templates/Estonian-bin_list.tex index 1bc85d66..0883d69f 100755 --- a/templates/Estonian-bin_list.tex +++ b/templates/Estonian-bin_list.tex @@ -11,19 +11,19 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -32,37 +32,37 @@ \textbf{From} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \hfill @@ -75,24 +75,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -101,10 +101,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Estonian-check.tex b/templates/Estonian-check.tex index e1d5f566..17e853a9 100755 --- a/templates/Estonian-check.tex +++ b/templates/Estonian-check.tex @@ -12,66 +12,66 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice \#} & \textbf{Invoice Date} & \textbf{Amount Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Estonian-income_statement.html b/templates/Estonian-income_statement.html index c12e69da..9eee54e1 100755 --- a/templates/Estonian-income_statement.html +++ b/templates/Estonian-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>KASUMIARUANNE -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>Osakond: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Osakond: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>Projekti Number: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>Projekti Number: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>TULUD<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>TULUD KOKKU</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>KULUD<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>KULUD KOKKU</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>KASUM / (KAHJUM)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Estonian-invoice.html b/templates/Estonian-invoice.html index ce7b1130..86d936e1 100755 --- a/templates/Estonian-invoice.html +++ b/templates/Estonian-invoice.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,75 +19,75 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Arve Aadress</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Arve Aadress</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> <br> - <%end shiptocontact%> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -112,13 +112,13 @@ </tr> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td><%ordnumber%> </td> - <td><%employee%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td><?lsmb ordnumber ?> </td> + <td><?lsmb employee ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -128,7 +128,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -141,62 +141,62 @@ <th align=right><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=9><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=7 align=right>Kokku</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Vahesumma</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if paid%> + <?lsmb if paid ?> <tr> <th colspan=7 align=right>Makstud</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr> <td colspan=5> </td> <td colspan=4><hr noshade></td> </tr> - <%if total%> + <?lsmb if total ?> <tr> <td colspan=5> </td> <th colspan=2 align=right nowrap>Deebetsaldo</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> - <%end total%> + <?lsmb end total ?> <tr> </table> @@ -207,28 +207,28 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> - <td><%text_amount%> ***** <%decimal%>/100</td> + <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td> <td align=right nowrap> - Kõik hinnad <b><%currency%></b> vÀÀringus. + Kõik hinnad <b><?lsmb currency ?></b> vÀÀringus. </td> </tr> </table> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> <td colspan=9> - <table width=60%> + <table width=60 ?> <tr> <th align=left>Maksed</th> @@ -246,22 +246,22 @@ <th align=left>Alus</th> <th align=left>Summa</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> @@ -277,15 +277,15 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> - MaksetÀhtaeg <%duedate%> kuupÀevaks. - Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit. + <td width=60 ?><font size=-3> + MaksetÀhtaeg <?lsmb duedate ?> kuupÀevaks. + Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> @@ -293,15 +293,15 @@ </td> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> KÀibemaksukohuslase number: <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> KÀibemaksukohuslase number: <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -309,7 +309,7 @@ <tr> <th colspan=8 align=left><font size=-2>Hind sisaldab kÀibemaksu.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Estonian-invoice.tex b/templates/Estonian-invoice.tex index 4de12267..6a02cefd 100755 --- a/templates/Estonian-invoice.tex +++ b/templates/Estonian-invoice.tex @@ -16,15 +16,15 @@ \parbox{\textwidth}{ \tiny \rule[1.5em]{\textwidth}{0.5pt} -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <?lsmb duedate ?> until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \rule{\textwidth}{2pt} @@ -33,18 +33,18 @@ A return authorization must be obtained from <%company%> before goods are return \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] - & carried forward from page <%lastpage%> & & & & & & & <%sumcarriedforward%> \\ [0.5em] -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & & & <?lsmb sumcarriedforward ?> \\ [0.5em] +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -53,71 +53,71 @@ A return authorization must be obtained from <%company%> before goods are return \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -132,8 +132,8 @@ Fax: <%shiptofax%> \textbf{Arve NR.} & \textbf{KuupÀev} & \textbf{MaksetÀhtaeg} & \textbf{Tellimus NR.} & \textbf{MÌÌja} & \textbf{Tarneaadress} & \textbf{Tarneviis} \\ [0.5em] \hline - <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -142,10 +142,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{AR.} & \textbf{Number} & \textbf{Kirjeldus} & & \textbf{Kogus} & \textbf{Ãhik} & \textbf{Hind} & \textbf{AlH \%} & \textbf{Summa} \\ [0.5em] -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> & - <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb deliverydate ?> & + <?lsmb qty ?> & <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,44 +156,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - & Paid & - <%paid%> \\ -<%end paid%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + & Paid & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline -<%if total%> - & Balance Due & <%total%> -<%end total%> +<?lsmb if total ?> + & Balance Due & <?lsmb total ?> +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Maksed} & & & \\ \hline \textbf{KuupÀev} & & \textbf{Alus} & \textbf{Summa} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabularx} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{1cm} diff --git a/templates/Estonian-letterhead.html b/templates/Estonian-letterhead.html index d59b8315..758681ad 100755 --- a/templates/Estonian-letterhead.html +++ b/templates/Estonian-letterhead.html @@ -2,21 +2,21 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> - <th><img src=../<%templates%>/logo.png border=0 width=84 height=58></th> + <th><img src=../<?lsmb templates ?>/logo.png border=0 width=84 height=58></th> <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> diff --git a/templates/Estonian-letterhead.tex b/templates/Estonian-letterhead.tex index 16d805af..24e29b4f 100755 --- a/templates/Estonian-letterhead.tex +++ b/templates/Estonian-letterhead.tex @@ -1,15 +1,15 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ - \includegraphics[scale=0.3]{../<%templates%>/logo} + \includegraphics[scale=0.3]{../<?lsmb templates ?>/logo} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} diff --git a/templates/Estonian-packing_list.html b/templates/Estonian-packing_list.html index 2a8cd244..072a9e44 100755 --- a/templates/Estonian-packing_list.html +++ b/templates/Estonian-packing_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -20,39 +20,39 @@ <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Kellele:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -71,33 +71,33 @@ <th width=17% align=left>Tellimus #</th> <th width=17% align=left>KuupÀev</th> <th width=17% align=left nowrap>Kontakt</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left>Kaubaladu</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Saadetise sihtpunkt</th> <th width=15% align=left>Tarveviis</th> </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%> </td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?> </td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -119,18 +119,18 @@ <th> </th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> @@ -142,36 +142,36 @@ <td><hr noshade></td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%><font size=-3> + <td width=70 ?><font size=-3> Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian-packing_list.tex b/templates/Estonian-packing_list.tex index 2d3a1945..4798a92d 100755 --- a/templates/Estonian-packing_list.tex +++ b/templates/Estonian-packing_list.tex @@ -17,24 +17,24 @@ \tiny \rule[1.5em]{\textwidth}{0.5pt} Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -46,32 +46,32 @@ returned. Returns must be shipped prepaid and properly insured. \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -84,24 +84,24 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -110,10 +110,10 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -122,7 +122,7 @@ returned. Returns must be shipped prepaid and properly insured. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian-pick_list.html b/templates/Estonian-pick_list.html index 2766c55c..12ff6ca5 100755 --- a/templates/Estonian-pick_list.html +++ b/templates/Estonian-pick_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -20,39 +20,39 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Kellele:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -77,20 +77,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -100,7 +100,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -111,17 +111,17 @@ <th><font color=ffffff>Pakend</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Estonian-pick_list.tex b/templates/Estonian-pick_list.tex index 2f82936a..cf8bb4fb 100755 --- a/templates/Estonian-pick_list.tex +++ b/templates/Estonian-pick_list.tex @@ -11,21 +11,21 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -37,32 +37,32 @@ \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -77,14 +77,14 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> & <%warehouse%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> & <?lsmb warehouse ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -93,10 +93,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Estonian-pos_invoice.txt b/templates/Estonian-pos_invoice.txt index cbc0055a..5cffdb3a 100755 --- a/templates/Estonian-pos_invoice.txt +++ b/templates/Estonian-pos_invoice.txt @@ -1,45 +1,45 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv #/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv #/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%totalqty%> -<%if taxincluded%> +Number of items: <?lsmb totalqty ?> +<?lsmb if taxincluded ?> --------------- - Total: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Total: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> -<%foreach payment%> - Paid: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> +<?lsmb foreach payment ?> + Paid: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> -<%discount%> % Discount applied -<%end discount%> +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Estonian-purchase_order.html b/templates/Estonian-purchase_order.html index 0f61e99d..3d6e710e 100755 --- a/templates/Estonian-purchase_order.html +++ b/templates/Estonian-purchase_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Kellele:</th> - <th align=left width=50%><font color=ffffff>Tarneaadress:</th> + <th align=left width=50 ?><font color=ffffff>Kellele:</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Faks: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Faks: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -114,7 +114,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -126,107 +126,107 @@ <th><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></th> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></th> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=7 align=right>Kokku</th> - <th colspan=1 align=right><%ordtotal%></th> - <%end taxincluded%> + <th colspan=1 align=right><?lsmb ordtotal ?></th> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Vahekokkuvõte</th> - <td colspan=1 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=1 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=1 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> <td colspan=4><hr noshade></td> </tr> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Kokku</th> - <td colspan=1 align=right><%ordtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb ordtotal ?></td> + <?lsmb end taxincluded ?> - <%if terms%> + <?lsmb if terms ?> <tr> - <td colspan=4>Maksetingimus <b><%terms%></b> pÀeva</td> + <td colspan=4>Maksetingimus <b><?lsmb terms ?></b> pÀeva</td> <th colspan=3 align=right>Kokku</th> - <th colspan=1 align=right><%ordtotal%></th> + <th colspan=1 align=right><?lsmb ordtotal ?></th> </tr> - <%end terms%> + <?lsmb end terms ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td colspan=2>Sisaldab kÀibemaksu</td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> <tr> <td> </td> </tr> - <%if ordtotal%> + <?lsmb if ordtotal ?> <tr> <td colspan=8 align=right> - Kõik hinnad toodud <b><%currency%></b> vÀÀringus + Kõik hinnad toodud <b><?lsmb currency ?></b> vÀÀringus </td> </tr> - <%end ordtotal%> + <?lsmb end ordtotal ?> </table> </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian-purchase_order.tex b/templates/Estonian-purchase_order.tex index fe1e6428..260bec99 100755 --- a/templates/Estonian-purchase_order.tex +++ b/templates/Estonian-purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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 ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> +<?lsmb if contact ?> +Attn: <?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> +<?lsmb if shiptocontact ?> +Attn: <?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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{tabularx} @@ -142,22 +142,22 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian-receipt.tex b/templates/Estonian-receipt.tex index effc19b6..01e84022 100755 --- a/templates/Estonian-receipt.tex +++ b/templates/Estonian-receipt.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Estonian-request_quotation.html b/templates/Estonian-request_quotation.html index f594525e..e046e6f2 100755 --- a/templates/Estonian-request_quotation.html +++ b/templates/Estonian-request_quotation.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -17,67 +17,67 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Kellele:</th> - <th align=left width=50%><font color=ffffff>Tarnida:</th> + <th align=left width=50 ?><font color=ffffff>Kellele:</th> + <th align=left width=50 ?><font color=ffffff>Tarnida:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Faks: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Faks: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%> </td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?> </td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -126,7 +126,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=right>AR.</th> <th align=left>Number</th> @@ -138,15 +138,15 @@ <th>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> @@ -156,21 +156,21 @@ </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> </table> diff --git a/templates/Estonian-request_quotation.tex b/templates/Estonian-request_quotation.tex index cf95dd89..e620c517 100755 --- a/templates/Estonian-request_quotation.tex +++ b/templates/Estonian-request_quotation.tex @@ -11,28 +11,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -41,71 +41,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -132,9 +132,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,7 +143,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian-sales_order.html b/templates/Estonian-sales_order.html index d4dc60b3..653e7b4e 100755 --- a/templates/Estonian-sales_order.html +++ b/templates/Estonian-sales_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Tellija</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Tellija</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -116,7 +116,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -128,41 +128,41 @@ <th><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=6 align=right>Kokku</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=6 align=right>Vahekokkuvõte</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -171,13 +171,13 @@ <tr> <td colspan=4> - <%text_amount%> ***** <%decimal%>/100 - <%if terms%> - <br>Maksetingimus <b><%terms%></b> pÀeva - <%end terms%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 + <?lsmb if terms ?> + <br>Maksetingimus <b><?lsmb terms ?></b> pÀeva + <?lsmb end terms ?> </td> <th colspan=2 align=right>Kokku</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> <tr> @@ -192,14 +192,14 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> + <?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> - <%end notes%> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> <td align=right nowrap> - Kõik hinnad toodud <%currency%> vÀÀringus</b> + Kõik hinnad toodud <?lsmb currency ?> vÀÀringus</b> </td> </tr> </table> @@ -210,13 +210,13 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% order cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian-sales_order.tex b/templates/Estonian-sales_order.tex index 60f7bfeb..d3693af8 100755 --- a/templates/Estonian-sales_order.tex +++ b/templates/Estonian-sales_order.tex @@ -11,29 +11,29 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -120,7 +120,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,27 +143,27 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian-sales_quotation.html b/templates/Estonian-sales_quotation.html index 68e3a34e..a1989b02 100755 --- a/templates/Estonian-sales_quotation.html +++ b/templates/Estonian-sales_quotation.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -17,39 +17,39 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -72,12 +72,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -87,7 +87,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -99,41 +99,41 @@ <th><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=6 align=right>Kokku</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=6 align=right>Vahekokkuvõte</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -142,12 +142,12 @@ <tr> <td colspan=4> - <%if terms%> - Maksetingimused <b><%terms%></b> pÀeva - <%end terms%> + <?lsmb if terms ?> + Maksetingimused <b><?lsmb terms ?></b> pÀeva + <?lsmb end terms ?> </td> <th colspan=2 align=right>Kokku</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -162,14 +162,14 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> + <?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> - <%end notes%> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> <td align=right> - Kõik hinnad toodud <b><%currency%></b> vÀÀringus. + Kõik hinnad toodud <b><?lsmb currency ?></b> vÀÀringus. </td> </tr> </table> @@ -180,13 +180,13 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian-sales_quotation.tex b/templates/Estonian-sales_quotation.tex index 771fe6a3..162ee009 100755 --- a/templates/Estonian-sales_quotation.tex +++ b/templates/Estonian-sales_quotation.tex @@ -20,64 +20,64 @@ Special order items are subject to a 10\% cancellation fee. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \vspace{1cm} @@ -90,7 +90,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -99,10 +99,10 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -113,26 +113,26 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%quototal%>\\ + & Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian-statement.html b/templates/Estonian-statement.html index a8b39d48..9b4c9afc 100755 --- a/templates/Estonian-statement.html +++ b/templates/Estonian-statement.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -15,38 +15,38 @@ <tr> <td> </td> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> </table> @@ -59,30 +59,30 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Arve NR. #</th> <th align=left>Tellimus NR.#</th> - <th width=10%>KuupÀev</th> - <th width=10%>Võlg</th> - <th width=10%>Hetkeseis</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90</th> + <th width=10 ?>KuupÀev</th> + <th width=10 ?>Võlg</th> + <th width=10 ?>Hetkeseis</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90</th> </tr> - <%foreach invnumber%> + <?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%ordnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> - <%end invnumber%> + <?lsmb end invnumber ?> <tr> <td colspan=8><hr size=1></td> @@ -93,10 +93,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -108,10 +108,10 @@ <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Kokku Laekumata</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -125,8 +125,8 @@ <tr> <td> </td> - <td>Kõik summad toodud <b><%currency%></b> vÀÀringus. - <br>Palume tasuda <b><%company%></b>. + <td>Kõik summad toodud <b><?lsmb currency ?></b> vÀÀringus. + <br>Palume tasuda <b><?lsmb company ?></b>. </td> </tr> diff --git a/templates/Estonian-statement.tex b/templates/Estonian-statement.tex index 0beb6c64..f700a750 100755 --- a/templates/Estonian-statement.tex +++ b/templates/Estonian-statement.tex @@ -11,39 +11,39 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -52,13 +52,13 @@ Fax: <%customerfax%> \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{8}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabular*} @@ -66,13 +66,13 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Total outstanding} & \textbf{<%total%>} + & \textbf{Total outstanding} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -All amounts in \textbf{<%currency%>} funds. +All amounts in \textbf{<?lsmb currency ?>} funds. -Please make check payable to \textbf{<%company%>} +Please make check payable to \textbf{<?lsmb company ?>} \end{document} diff --git a/templates/Estonian-timecard.html b/templates/Estonian-timecard.html index 6d4b72d1..9e93a826 100755 --- a/templates/Estonian-timecard.html +++ b/templates/Estonian-timecard.html @@ -1,8 +1,8 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -22,11 +22,11 @@ <table> <tr> <th align=left>Töötaja</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>Töötaja Kood</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -35,23 +35,23 @@ <table> <tr> <th align=left nowrap>Kaardi Kood</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>KuupÀev</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Algus</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Lõpp</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Tundi</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -66,25 +66,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>TööÌlesanne/Projekt #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Kirjeldus</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Töö/Teenuse Kood</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Kirjeldus</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -92,11 +92,11 @@ <table> <tr> <th align=right>Tariif</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Kokku</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -105,17 +105,17 @@ </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%end notes%> + <?lsmb end notes ?> </table> diff --git a/templates/Estonian-timecard.tex b/templates/Estonian-timecard.tex index b7630a00..ab849993 100755 --- a/templates/Estonian-timecard.tex +++ b/templates/Estonian-timecard.tex @@ -11,42 +11,42 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{T I M E}\hspace{0.5cm}\textbf{C A R D}} \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date} & <%transdate%> \\ - \textbf{In} & <%checkedin%> \\ - \textbf{Out} & <%checkedout%> \\ - \textbf{Hours} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date} & <?lsmb transdate ?> \\ + \textbf{In} & <?lsmb checkedin ?> \\ + \textbf{Out} & <?lsmb checkedout ?> \\ + \textbf{Hours} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Job/Project \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Job/Project \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Estonian-work_order.html b/templates/Estonian-work_order.html index 6e110e66..e43520d9 100755 --- a/templates/Estonian-work_order.html +++ b/templates/Estonian-work_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Tellija</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Tellija</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -116,7 +116,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -127,17 +127,17 @@ <th><font color=ffffff>Seerianumber #</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%bin%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -150,9 +150,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Estonian-work_order.tex b/templates/Estonian-work_order.tex index c8d48172..266459f2 100755 --- a/templates/Estonian-work_order.tex +++ b/templates/Estonian-work_order.tex @@ -11,20 +11,20 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -33,71 +33,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -111,7 +111,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -120,10 +120,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -132,7 +132,7 @@ Fax: <%shiptofax%> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill diff --git a/templates/Estonian_UTF8-ap_transaction.html b/templates/Estonian_UTF8-ap_transaction.html index 5db937b2..cb1b6fc7 100755 --- a/templates/Estonian_UTF8-ap_transaction.html +++ b/templates/Estonian_UTF8-ap_transaction.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,72 +19,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Faks: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Faks: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if vendortaxnumber%> - <p>Käibemaksukohuslane NR: <%vendortaxnumber%> - <%end vendortaxnumber%> + <?lsmb if vendortaxnumber ?> + <p>Käibemaksukohuslane NR: <?lsmb vendortaxnumber ?> + <?lsmb end vendortaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Arve NR. #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Kuupäev</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Tasuda</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>Hanketellimus NR. #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Tellimus NR. #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Töötaja</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -100,48 +100,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Vahesumma</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -150,7 +150,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -158,11 +158,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -188,30 +188,30 @@ <th>Memo</th> <th>Summa</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -219,7 +219,7 @@ <tr> <th colspan=3 align=left><font size=-2>Hinnad sisaldavad käibemaksu.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Estonian_UTF8-ap_transaction.tex b/templates/Estonian_UTF8-ap_transaction.tex index 5cd134cc..31edf3ec 100755 --- a/templates/Estonian_UTF8-ap_transaction.tex +++ b/templates/Estonian_UTF8-ap_transaction.tex @@ -12,100 +12,100 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -\hspace{-0.1cm}, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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 ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} diff --git a/templates/Estonian_UTF8-ar_transaction.html b/templates/Estonian_UTF8-ar_transaction.html index 0826f577..a7a3a205 100755 --- a/templates/Estonian_UTF8-ar_transaction.html +++ b/templates/Estonian_UTF8-ar_transaction.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,72 +19,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if customertaxnumber%> - <br>Käibemaksukohuslane : <%customertaxnumber%> - <%end customertaxnumber%> + <?lsmb if customertaxnumber ?> + <br>Käibemaksukohuslane : <?lsmb customertaxnumber ?> + <?lsmb end customertaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Arve #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Kuupäev</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Maksta olev</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>PO #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Tellimus #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Müüja</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -100,48 +100,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Vahesumma</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Kokku</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -150,7 +150,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -158,11 +158,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -187,37 +187,37 @@ <th>Alus</th> <th>Summa</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Käibemaksukohuslase NR: <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Käibemaksukohuslase NR: <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -225,7 +225,7 @@ <tr> <th colspan=3 align=left><font size=-2>Summad sisaldavad käibemaksu.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Estonian_UTF8-ar_transaction.tex b/templates/Estonian_UTF8-ar_transaction.tex index 1c3c44f3..251df3b6 100755 --- a/templates/Estonian_UTF8-ar_transaction.tex +++ b/templates/Estonian_UTF8-ar_transaction.tex @@ -12,107 +12,107 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Estonian_UTF8-balance_sheet.html b/templates/Estonian_UTF8-balance_sheet.html index cef8f9a7..f675521e 100755 --- a/templates/Estonian_UTF8-balance_sheet.html +++ b/templates/Estonian_UTF8-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BILANSIARUANNE -<br>Perioodil: <%this_period%> +<br>Perioodil: <?lsmb this_period ?> </h2> -<%if department%> -<h4>Osakond: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Osakond: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>AKTIVA KOKKU</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>PASSIVA KOKKU</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>AKTSIAKAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>KOKKU AKTSIAKAPITAL</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>KOKKU PASSIVA JA AKTSIAKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Estonian_UTF8-bin_list.html b/templates/Estonian_UTF8-bin_list.html index c4d06d4d..38db6aad 100755 --- a/templates/Estonian_UTF8-bin_list.html +++ b/templates/Estonian_UTF8-bin_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,70 +19,70 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Saatja</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Saatja</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -100,32 +100,32 @@ <th width=17% align=left nowrap>Tellimus #</th> <th width=17% align=left nowrap>Kuupäev</th> <th width=17% align=left nowrap>Kontakt</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Kaubaladu</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Tarneaadress</th> <th width=15% align=left>Tarneviis</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -135,7 +135,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -148,19 +148,19 @@ <th><font color=ffffff>Pakend</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Estonian_UTF8-bin_list.tex b/templates/Estonian_UTF8-bin_list.tex index 1bc85d66..0883d69f 100755 --- a/templates/Estonian_UTF8-bin_list.tex +++ b/templates/Estonian_UTF8-bin_list.tex @@ -11,19 +11,19 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -32,37 +32,37 @@ \textbf{From} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \hfill @@ -75,24 +75,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -101,10 +101,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Estonian_UTF8-check.tex b/templates/Estonian_UTF8-check.tex index e1d5f566..17e853a9 100755 --- a/templates/Estonian_UTF8-check.tex +++ b/templates/Estonian_UTF8-check.tex @@ -12,66 +12,66 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice \#} & \textbf{Invoice Date} & \textbf{Amount Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Estonian_UTF8-income_statement.html b/templates/Estonian_UTF8-income_statement.html index c12e69da..9eee54e1 100755 --- a/templates/Estonian_UTF8-income_statement.html +++ b/templates/Estonian_UTF8-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>KASUMIARUANNE -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>Osakond: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Osakond: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>Projekti Number: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>Projekti Number: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>TULUD<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>TULUD KOKKU</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>KULUD<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>KULUD KOKKU</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>KASUM / (KAHJUM)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Estonian_UTF8-invoice.html b/templates/Estonian_UTF8-invoice.html index 03cd7a9c..e3553703 100755 --- a/templates/Estonian_UTF8-invoice.html +++ b/templates/Estonian_UTF8-invoice.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,75 +19,75 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Arve Aadress</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Arve Aadress</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> <br> - <%end shiptocontact%> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -112,13 +112,13 @@ </tr> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td><%ordnumber%> </td> - <td><%employee%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td><?lsmb ordnumber ?> </td> + <td><?lsmb employee ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -128,7 +128,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -141,62 +141,62 @@ <th align=right><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=9><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=7 align=right>Kokku</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Vahesumma</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if paid%> + <?lsmb if paid ?> <tr> <th colspan=7 align=right>Makstud</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr> <td colspan=5> </td> <td colspan=4><hr noshade></td> </tr> - <%if total%> + <?lsmb if total ?> <tr> <td colspan=5> </td> <th colspan=2 align=right nowrap>Deebetsaldo</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> - <%end total%> + <?lsmb end total ?> <tr> </table> @@ -207,28 +207,28 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> - <td><%text_amount%> ***** <%decimal%>/100</td> + <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td> <td align=right nowrap> - Kõik hinnad <b><%currency%></b> vääringus. + Kõik hinnad <b><?lsmb currency ?></b> vääringus. </td> </tr> </table> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> <td colspan=9> - <table width=60%> + <table width=60 ?> <tr> <th align=left>Maksed</th> @@ -246,22 +246,22 @@ <th align=left>Alus</th> <th align=left>Summa</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> @@ -277,15 +277,15 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> - Maksetähtaeg <%duedate%> kuupäevaks. - Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit. + <td width=60 ?><font size=-3> + Maksetähtaeg <?lsmb duedate ?> kuupäevaks. + Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> @@ -293,15 +293,15 @@ </td> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Käibemaksukohuslase number: <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Käibemaksukohuslase number: <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -309,7 +309,7 @@ <tr> <th colspan=8 align=left><font size=-2>Hind sisaldab käibemaksu.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Estonian_UTF8-invoice.tex b/templates/Estonian_UTF8-invoice.tex index fe8ace5b..4bb89e42 100755 --- a/templates/Estonian_UTF8-invoice.tex +++ b/templates/Estonian_UTF8-invoice.tex @@ -16,15 +16,15 @@ \parbox{\textwidth}{ \tiny \rule[1.5em]{\textwidth}{0.5pt} -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <?lsmb duedate ?> until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \rule{\textwidth}{2pt} @@ -33,18 +33,18 @@ A return authorization must be obtained from <%company%> before goods are return \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] - & carried forward from page <%lastpage%> & & & & & & & <%sumcarriedforward%> \\ [0.5em] -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & & & <?lsmb sumcarriedforward ?> \\ [0.5em] +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -53,71 +53,71 @@ A return authorization must be obtained from <%company%> before goods are return \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -132,8 +132,8 @@ Fax: <%shiptofax%> \textbf{Arve NR.} & \textbf{Kuupäev} & \textbf{Maksetähtaeg} & \textbf{Tellimus NR.} & \textbf{Müüja} & \textbf{Tarneaadress} & \textbf{Tarneviis} \\ [0.5em] \hline - <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -142,10 +142,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{AR.} & \textbf{Number} & \textbf{Kirjeldus} & & \textbf{Kogus} & \textbf{Ühik} & \textbf{Hind} & \textbf{AlH \%} & \textbf{Summa} \\ [0.5em] -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> & - <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb deliverydate ?> & + <?lsmb qty ?> & <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,44 +156,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - & Paid & - <%paid%> \\ -<%end paid%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + & Paid & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline -<%if total%> - & Balance Due & <%total%> -<%end total%> +<?lsmb if total ?> + & Balance Due & <?lsmb total ?> +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Maksed} & & & \\ \hline \textbf{Kuupäev} & & \textbf{Alus} & \textbf{Summa} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabularx} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{1cm} diff --git a/templates/Estonian_UTF8-letterhead.html b/templates/Estonian_UTF8-letterhead.html index d59b8315..758681ad 100755 --- a/templates/Estonian_UTF8-letterhead.html +++ b/templates/Estonian_UTF8-letterhead.html @@ -2,21 +2,21 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> - <th><img src=../<%templates%>/logo.png border=0 width=84 height=58></th> + <th><img src=../<?lsmb templates ?>/logo.png border=0 width=84 height=58></th> <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> diff --git a/templates/Estonian_UTF8-letterhead.tex b/templates/Estonian_UTF8-letterhead.tex index 16d805af..24e29b4f 100755 --- a/templates/Estonian_UTF8-letterhead.tex +++ b/templates/Estonian_UTF8-letterhead.tex @@ -1,15 +1,15 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ - \includegraphics[scale=0.3]{../<%templates%>/logo} + \includegraphics[scale=0.3]{../<?lsmb templates ?>/logo} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} diff --git a/templates/Estonian_UTF8-packing_list.html b/templates/Estonian_UTF8-packing_list.html index 6abd0837..8da43a1a 100755 --- a/templates/Estonian_UTF8-packing_list.html +++ b/templates/Estonian_UTF8-packing_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -20,39 +20,39 @@ <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Kellele:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -71,33 +71,33 @@ <th width=17% align=left>Tellimus #</th> <th width=17% align=left>Kuupäev</th> <th width=17% align=left nowrap>Kontakt</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left>Kaubaladu</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Saadetise sihtpunkt</th> <th width=15% align=left>Tarveviis</th> </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%> </td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?> </td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -119,18 +119,18 @@ <th> </th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> @@ -142,36 +142,36 @@ <td><hr noshade></td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%><font size=-3> + <td width=70 ?><font size=-3> Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian_UTF8-packing_list.tex b/templates/Estonian_UTF8-packing_list.tex index 2d3a1945..4798a92d 100755 --- a/templates/Estonian_UTF8-packing_list.tex +++ b/templates/Estonian_UTF8-packing_list.tex @@ -17,24 +17,24 @@ \tiny \rule[1.5em]{\textwidth}{0.5pt} Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -46,32 +46,32 @@ returned. Returns must be shipped prepaid and properly insured. \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -84,24 +84,24 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -110,10 +110,10 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -122,7 +122,7 @@ returned. Returns must be shipped prepaid and properly insured. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian_UTF8-pick_list.html b/templates/Estonian_UTF8-pick_list.html index 65ebe69e..6d36bfaa 100755 --- a/templates/Estonian_UTF8-pick_list.html +++ b/templates/Estonian_UTF8-pick_list.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -20,39 +20,39 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Kellele:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -77,20 +77,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -100,7 +100,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -111,17 +111,17 @@ <th><font color=ffffff>Pakend</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Estonian_UTF8-pick_list.tex b/templates/Estonian_UTF8-pick_list.tex index 2f82936a..cf8bb4fb 100755 --- a/templates/Estonian_UTF8-pick_list.tex +++ b/templates/Estonian_UTF8-pick_list.tex @@ -11,21 +11,21 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -37,32 +37,32 @@ \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -77,14 +77,14 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> & <%warehouse%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> & <?lsmb warehouse ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -93,10 +93,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Estonian_UTF8-pos_invoice.txt b/templates/Estonian_UTF8-pos_invoice.txt index cbc0055a..5cffdb3a 100755 --- a/templates/Estonian_UTF8-pos_invoice.txt +++ b/templates/Estonian_UTF8-pos_invoice.txt @@ -1,45 +1,45 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv #/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv #/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%totalqty%> -<%if taxincluded%> +Number of items: <?lsmb totalqty ?> +<?lsmb if taxincluded ?> --------------- - Total: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Total: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> -<%foreach payment%> - Paid: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> +<?lsmb foreach payment ?> + Paid: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> -<%discount%> % Discount applied -<%end discount%> +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Estonian_UTF8-purchase_order.html b/templates/Estonian_UTF8-purchase_order.html index 54d9d53f..8f45bc64 100755 --- a/templates/Estonian_UTF8-purchase_order.html +++ b/templates/Estonian_UTF8-purchase_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Kellele:</th> - <th align=left width=50%><font color=ffffff>Tarneaadress:</th> + <th align=left width=50 ?><font color=ffffff>Kellele:</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Faks: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Faks: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -114,7 +114,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -126,107 +126,107 @@ <th><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></th> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></th> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=7 align=right>Kokku</th> - <th colspan=1 align=right><%ordtotal%></th> - <%end taxincluded%> + <th colspan=1 align=right><?lsmb ordtotal ?></th> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Vahekokkuvõte</th> - <td colspan=1 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=1 align=right><%tax%></td> + <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=1 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> <td colspan=4><hr noshade></td> </tr> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=7 align=right>Kokku</th> - <td colspan=1 align=right><%ordtotal%></td> - <%end taxincluded%> + <td colspan=1 align=right><?lsmb ordtotal ?></td> + <?lsmb end taxincluded ?> - <%if terms%> + <?lsmb if terms ?> <tr> - <td colspan=4>Maksetingimus <b><%terms%></b> päeva</td> + <td colspan=4>Maksetingimus <b><?lsmb terms ?></b> päeva</td> <th colspan=3 align=right>Kokku</th> - <th colspan=1 align=right><%ordtotal%></th> + <th colspan=1 align=right><?lsmb ordtotal ?></th> </tr> - <%end terms%> + <?lsmb end terms ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td colspan=2>Sisaldab käibemaksu</td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> <tr> <td> </td> </tr> - <%if ordtotal%> + <?lsmb if ordtotal ?> <tr> <td colspan=8 align=right> - Kõik hinnad toodud <b><%currency%></b> vääringus + Kõik hinnad toodud <b><?lsmb currency ?></b> vääringus </td> </tr> - <%end ordtotal%> + <?lsmb end ordtotal ?> </table> </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian_UTF8-purchase_order.tex b/templates/Estonian_UTF8-purchase_order.tex index fe1e6428..260bec99 100755 --- a/templates/Estonian_UTF8-purchase_order.tex +++ b/templates/Estonian_UTF8-purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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 ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> +<?lsmb if contact ?> +Attn: <?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> +<?lsmb if shiptocontact ?> +Attn: <?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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{tabularx} @@ -142,22 +142,22 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian_UTF8-receipt.tex b/templates/Estonian_UTF8-receipt.tex index effc19b6..01e84022 100755 --- a/templates/Estonian_UTF8-receipt.tex +++ b/templates/Estonian_UTF8-receipt.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Estonian_UTF8-request_quotation.html b/templates/Estonian_UTF8-request_quotation.html index 321e1215..14c9f018 100755 --- a/templates/Estonian_UTF8-request_quotation.html +++ b/templates/Estonian_UTF8-request_quotation.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -17,67 +17,67 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Kellele:</th> - <th align=left width=50%><font color=ffffff>Tarnida:</th> + <th align=left width=50 ?><font color=ffffff>Kellele:</th> + <th align=left width=50 ?><font color=ffffff>Tarnida:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Faks: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Faks: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Kontaktisik: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Kontaktisik: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%> </td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?> </td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -126,7 +126,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=right>AR.</th> <th align=left>Number</th> @@ -138,15 +138,15 @@ <th>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> @@ -156,21 +156,21 @@ </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> </table> </td> </tr> - <%end notes%> + <?lsmb end notes ?> </table> diff --git a/templates/Estonian_UTF8-request_quotation.tex b/templates/Estonian_UTF8-request_quotation.tex index cf95dd89..e620c517 100755 --- a/templates/Estonian_UTF8-request_quotation.tex +++ b/templates/Estonian_UTF8-request_quotation.tex @@ -11,28 +11,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -41,71 +41,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -132,9 +132,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,7 +143,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian_UTF8-sales_order.html b/templates/Estonian_UTF8-sales_order.html index 4a28ad2b..dbfeae08 100755 --- a/templates/Estonian_UTF8-sales_order.html +++ b/templates/Estonian_UTF8-sales_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Tellija</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Tellija</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -116,7 +116,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -128,41 +128,41 @@ <th><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=6 align=right>Kokku</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=6 align=right>Vahekokkuvõte</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -171,13 +171,13 @@ <tr> <td colspan=4> - <%text_amount%> ***** <%decimal%>/100 - <%if terms%> - <br>Maksetingimus <b><%terms%></b> päeva - <%end terms%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 + <?lsmb if terms ?> + <br>Maksetingimus <b><?lsmb terms ?></b> päeva + <?lsmb end terms ?> </td> <th colspan=2 align=right>Kokku</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> <tr> @@ -192,14 +192,14 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> + <?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> - <%end notes%> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> <td align=right nowrap> - Kõik hinnad toodud <%currency%> vääringus</b> + Kõik hinnad toodud <?lsmb currency ?> vääringus</b> </td> </tr> </table> @@ -210,13 +210,13 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% order cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian_UTF8-sales_order.tex b/templates/Estonian_UTF8-sales_order.tex index 60f7bfeb..d3693af8 100755 --- a/templates/Estonian_UTF8-sales_order.tex +++ b/templates/Estonian_UTF8-sales_order.tex @@ -11,29 +11,29 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -120,7 +120,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,27 +143,27 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian_UTF8-sales_quotation.html b/templates/Estonian_UTF8-sales_quotation.html index b46cca83..9643c548 100755 --- a/templates/Estonian_UTF8-sales_quotation.html +++ b/templates/Estonian_UTF8-sales_quotation.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -17,39 +17,39 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -72,12 +72,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -87,7 +87,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -99,41 +99,41 @@ <th><font color=ffffff>Summa</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=6 align=right>Kokku</th> - <td colspan=2 align=right><%invtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=6 align=right>Vahekokkuvõte</th> - <td colspan=2 align=right><%subtotal%></td> - <%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -142,12 +142,12 @@ <tr> <td colspan=4> - <%if terms%> - Maksetingimused <b><%terms%></b> päeva - <%end terms%> + <?lsmb if terms ?> + Maksetingimused <b><?lsmb terms ?></b> päeva + <?lsmb end terms ?> </td> <th colspan=2 align=right>Kokku</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -162,14 +162,14 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <%if notes%> + <?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> - <%end notes%> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> <td align=right> - Kõik hinnad toodud <b><%currency%></b> vääringus. + Kõik hinnad toodud <b><?lsmb currency ?></b> vääringus. </td> </tr> </table> @@ -180,13 +180,13 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Estonian_UTF8-sales_quotation.tex b/templates/Estonian_UTF8-sales_quotation.tex index 771fe6a3..162ee009 100755 --- a/templates/Estonian_UTF8-sales_quotation.tex +++ b/templates/Estonian_UTF8-sales_quotation.tex @@ -20,64 +20,64 @@ Special order items are subject to a 10\% cancellation fee. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \vspace{1cm} @@ -90,7 +90,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -99,10 +99,10 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -113,26 +113,26 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%quototal%>\\ + & Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Estonian_UTF8-statement.html b/templates/Estonian_UTF8-statement.html index 8ee77c9a..d687f64a 100755 --- a/templates/Estonian_UTF8-statement.html +++ b/templates/Estonian_UTF8-statement.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -15,38 +15,38 @@ <tr> <td> </td> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> </table> @@ -59,30 +59,30 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Arve NR. #</th> <th align=left>Tellimus NR.#</th> - <th width=10%>Kuupäev</th> - <th width=10%>Võlg</th> - <th width=10%>Hetkeseis</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90</th> + <th width=10 ?>Kuupäev</th> + <th width=10 ?>Võlg</th> + <th width=10 ?>Hetkeseis</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90</th> </tr> - <%foreach invnumber%> + <?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%ordnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> - <%end invnumber%> + <?lsmb end invnumber ?> <tr> <td colspan=8><hr size=1></td> @@ -93,10 +93,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -108,10 +108,10 @@ <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Kokku Laekumata</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -125,8 +125,8 @@ <tr> <td> </td> - <td>Kõik summad toodud <b><%currency%></b> vääringus. - <br>Palume tasuda <b><%company%></b>. + <td>Kõik summad toodud <b><?lsmb currency ?></b> vääringus. + <br>Palume tasuda <b><?lsmb company ?></b>. </td> </tr> diff --git a/templates/Estonian_UTF8-statement.tex b/templates/Estonian_UTF8-statement.tex index 0beb6c64..f700a750 100755 --- a/templates/Estonian_UTF8-statement.tex +++ b/templates/Estonian_UTF8-statement.tex @@ -11,39 +11,39 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -52,13 +52,13 @@ Fax: <%customerfax%> \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{8}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabular*} @@ -66,13 +66,13 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Total outstanding} & \textbf{<%total%>} + & \textbf{Total outstanding} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -All amounts in \textbf{<%currency%>} funds. +All amounts in \textbf{<?lsmb currency ?>} funds. -Please make check payable to \textbf{<%company%>} +Please make check payable to \textbf{<?lsmb company ?>} \end{document} diff --git a/templates/Estonian_UTF8-timecard.html b/templates/Estonian_UTF8-timecard.html index fbc6d607..9885a6c8 100755 --- a/templates/Estonian_UTF8-timecard.html +++ b/templates/Estonian_UTF8-timecard.html @@ -1,8 +1,8 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -22,11 +22,11 @@ <table> <tr> <th align=left>Töötaja</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>Töötaja Kood</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -35,23 +35,23 @@ <table> <tr> <th align=left nowrap>Kaardi Kood</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Kuupäev</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Algus</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Lõpp</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Tundi</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -66,25 +66,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Tööülesanne/Projekt #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Kirjeldus</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Töö/Teenuse Kood</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Kirjeldus</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -92,11 +92,11 @@ <table> <tr> <th align=right>Tariif</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Kokku</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -105,17 +105,17 @@ </td> </tr> - <%if notes%> + <?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%end notes%> + <?lsmb end notes ?> </table> diff --git a/templates/Estonian_UTF8-timecard.tex b/templates/Estonian_UTF8-timecard.tex index b7630a00..ab849993 100755 --- a/templates/Estonian_UTF8-timecard.tex +++ b/templates/Estonian_UTF8-timecard.tex @@ -11,42 +11,42 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{T I M E}\hspace{0.5cm}\textbf{C A R D}} \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date} & <%transdate%> \\ - \textbf{In} & <%checkedin%> \\ - \textbf{Out} & <%checkedout%> \\ - \textbf{Hours} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date} & <?lsmb transdate ?> \\ + \textbf{In} & <?lsmb checkedin ?> \\ + \textbf{Out} & <?lsmb checkedout ?> \\ + \textbf{Hours} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Job/Project \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Job/Project \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Estonian_UTF8-work_order.html b/templates/Estonian_UTF8-work_order.html index 3e1d729c..f7ddbda7 100755 --- a/templates/Estonian_UTF8-work_order.html +++ b/templates/Estonian_UTF8-work_order.html @@ -1,9 +1,9 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> - <%include letterhead.html%> + <?lsmb include letterhead.html ?> <tr> <td width=10> </td> @@ -19,65 +19,65 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Tellija</th> - <th align=left width=50%><font color=ffffff>Tarneaadress</th> + <th align=left width=50 ?><font color=ffffff>Tellija</th> + <th align=left width=50 ?><font color=ffffff>Tarneaadress</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Kontaktisik: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Faks: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Kontaktisik: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Faks: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> + <?lsmb if shiptostate ?> + , <?lsmb shiptostate ?> + <?lsmb end shiptostate ?> + <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Faks: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Faks: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -101,12 +101,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -116,7 +116,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>AR.</th> <th align=left><font color=ffffff>Number</th> @@ -127,17 +127,17 @@ <th><font color=ffffff>Seerianumber #</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%bin%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -150,9 +150,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Estonian_UTF8-work_order.tex b/templates/Estonian_UTF8-work_order.tex index c8d48172..266459f2 100755 --- a/templates/Estonian_UTF8-work_order.tex +++ b/templates/Estonian_UTF8-work_order.tex @@ -11,20 +11,20 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -33,71 +33,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -111,7 +111,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -120,10 +120,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -132,7 +132,7 @@ Fax: <%shiptofax%> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill diff --git a/templates/French-ap_transaction.html b/templates/French-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/French-ap_transaction.html +++ b/templates/French-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/French-ap_transaction.tex b/templates/French-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/French-ap_transaction.tex +++ b/templates/French-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/French-ar_transaction.html b/templates/French-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/French-ar_transaction.html +++ b/templates/French-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/French-ar_transaction.tex b/templates/French-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/French-ar_transaction.tex +++ b/templates/French-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} diff --git a/templates/French-balance_sheet.html b/templates/French-balance_sheet.html index 56748d69..78662889 100755 --- a/templates/French-balance_sheet.html +++ b/templates/French-balance_sheet.html @@ -12,28 +12,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BILAN DE VRIFICATION -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>ACTIF<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -43,22 +43,22 @@ <tr valign=top> <th align=left colspan=2>Total Actif</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIF<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -69,22 +69,22 @@ <tr valign=top> <td></td> <th align=left>Total Passif</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>BENEFICES NON DISTRIBUS<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -95,14 +95,14 @@ <tr valign=top> <td></td> <th align=left>Total Capital</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL PASSIF & CAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> </body> diff --git a/templates/French-bin_list.html b/templates/French-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/French-bin_list.html +++ b/templates/French-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/French-bin_list.tex b/templates/French-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/French-bin_list.tex +++ b/templates/French-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/French-check.tex b/templates/French-check.tex index a3950c17..0075922e 100755 --- a/templates/French-check.tex +++ b/templates/French-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/French-income_statement.html b/templates/French-income_statement.html index e76df09a..c3df73a5 100755 --- a/templates/French-income_statement.html +++ b/templates/French-income_statement.html @@ -12,29 +12,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>Compte de Rsultat -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>RECETTES<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -45,22 +45,22 @@ <tr valign=top> <td> </td> <th align=left>Total Recettes</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>DPENSES<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -71,14 +71,14 @@ <tr valign=top> <td> </td> <th align=left>Total Dpenses</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> - <th align=left colspan=2>BENEFICES / PERTES (en <%currency%> )</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <th align=left colspan=2>BENEFICES / PERTES (en <?lsmb currency ?> )</th> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/French-invoice.html b/templates/French-invoice.html index 69cae565..eff80fd4 100755 --- a/templates/French-invoice.html +++ b/templates/French-invoice.html @@ -4,7 +4,7 @@ <head> -<title>A2A <%invnumber%> <%name%></title> +<title>A2A <?lsmb invnumber ?> <?lsmb name ?></title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> </head> @@ -20,15 +20,15 @@ <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tl : <%tel%> - <br>Fax : <%fax%> + Tl : <?lsmb tel ?> + <br>Fax : <?lsmb fax ?> </h4> </td> </tr> @@ -48,20 +48,20 @@ <td align=right> <table> <tr> - <th align=right>Date de facture</th><td width=10> </td><td><%invdate%></td> + <th align=right>Date de facture</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Date d'chance</th><td width=10> </td><td><%duedate%></td> + <th align=right>Date d'chance</th><td width=10> </td><td><?lsmb duedate ?></td> </tr> <tr> - <th align=right>N de facture</th><td> </td><td><%invnumber%></td></tr> + <th align=right>N de facture</th><td> </td><td><?lsmb invnumber ?></td></tr> </tr> <!-- <tr> - <th align=right>Correspondant</th><td>&nbsp;</td><td><%employee%></td> + <th align=right>Correspondant</th><td>&nbsp;</td><td><?lsmb employee ?></td> </tr> --> @@ -86,26 +86,26 @@ --> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -130,27 +130,27 @@ <th><font color="ffffff">Montant</font></th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> veuillez adapter le colspan si vous comptez inclure ce poste. ceci permettra de dcaler le poste sous-total vers la gauche. --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- vous pouvez galement utiliser netprice la place de sellprice si vous ne voulez pas afficher la remise netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -158,29 +158,29 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Sous-total</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%></th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?></th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Dj pay</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -188,9 +188,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3> rgler dans <b><%terms%></b> jours au plus tard.</td> + <td colspan=3> rgler dans <b><?lsmb terms ?></b> jours au plus tard.</td> <th colspan=2 align=right>Solde rgler</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -205,13 +205,13 @@ to show the percentage for a discount use <%discountrate%> <td> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td> noter :</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Tous prix indiqus en <b><%currency%></b> - <br><%shippingpoint%> + Tous prix indiqus en <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -221,7 +221,7 @@ to show the percentage for a discount use <%discountrate%> <tr><td> </td></tr> -<%if paid%> +<?lsmb if paid ?> <tr> <td colspan=7> <table width="60%"> @@ -239,18 +239,18 @@ to show the percentage for a discount use <%discountrate%> <th align=left>Source</th> <th align=left>Montant</th> </tr> -<%end paid%> +<?lsmb end paid ?> -<%foreach payment%> +<?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb payment ?></td> </tr> -<%end payment%> +<?lsmb end payment ?> -<%if paid%> +<?lsmb if paid ?> </table> </td> </tr> @@ -258,7 +258,7 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> </td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <th colspan=7> @@ -283,21 +283,21 @@ to show the percentage for a discount use <%discountrate%> </td> </tr> -<!-- <%foreach tax%> +<!-- <?lsmb foreach tax ?> <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Numro de TVA <%taxnumber%></font></th> + <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> Numro de TVA <?lsmb taxnumber ?></font></th> </tr> -<%end tax%> --> +<?lsmb end tax ?> --> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan=7 align=left><font size=-2>Les taxes affichs sont inclus dans le prix.</font></th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <!-- business number <tr> - <th colspan=7 align=left><font size=-2>Rgistre de Commerce&nbsp;: <%businessnumber%></font></th> + <th colspan=7 align=left><font size=-2>Rgistre de Commerce&nbsp;: <?lsmb businessnumber ?></font></th> </tr> --> diff --git a/templates/French-invoice.tex b/templates/French-invoice.tex index 930872f9..af6bf04f 100755 --- a/templates/French-invoice.tex +++ b/templates/French-invoice.tex @@ -26,12 +26,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlphone & <%tel%>\\ - Tlcopieur & <%fax%> + Tlphone & <?lsmb tel ?>\\ + Tlcopieur & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -40,60 +40,60 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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{Sous-total} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Sous-total} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ - & report de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & report de la page <?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{F A C T U R E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de facturation} & <%invdate%> \\ - \textbf{Numro de facture} & <%invnumber%> \\ - \textbf{Numro de client} & <%customer_id%> + \textbf{Date de facturation} & <?lsmb invdate ?> \\ + \textbf{Numro de facture} & <?lsmb invnumber ?> \\ + \textbf{Numro de client} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -101,10 +101,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -115,24 +115,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> de <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Sous-total} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> de <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%total%>}\\ + \textbf{Total} & \textbf{<?lsmb total ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Tous les prix indiqus sont en \textbf{<%currency%>}. + Tous les prix indiqus sont en \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -142,14 +142,14 @@ \renewcommand{\thefootnote}{\fnsymbol{footnote}} \footnotetext[1]{\tiny -Le paiement doit tre acquitt au plus tard <%terms%> jours partir de +Le paiement doit tre acquitt au plus tard <?lsmb terms ?> jours partir de la date de facturation. Des intrts seront perus raison de 1.5\% par -mois aprs <%duedate%> jusqu' ce que le paiement soit complet. Les +mois aprs <?lsmb duedate ?> jusqu' ce que le paiement soit complet. Les lments retourns seront sujets un supplment de remmagasinnage de 10\%. Une autorisation de renvoi doit tre obtenue au pralable auprs de -<%company%>. Les frais de transports et d'assurance sur les lments +<?lsmb company ?>. Les frais de transports et d'assurance sur les lments retourns devront tre couvert par le client de faon approprie. -<%company%> ne peut tre tenue responsable des dommages survenus pendant +<?lsmb company ?> ne peut tre tenue responsable des dommages survenus pendant le transit.} \end{document} diff --git a/templates/French-packing_list.html b/templates/French-packing_list.html index 3fa2fec9..aaddd0f9 100755 --- a/templates/French-packing_list.html +++ b/templates/French-packing_list.html @@ -4,25 +4,25 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <head> -<title>A2A <%invnumber%> <%name%></title> +<title>A2A <?lsmb invnumber ?> <?lsmb name ?></title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> </head> <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -40,11 +40,11 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <td align=right> <table> <tr> - <th align=right>Date de facture :</th><td width=10> </td><td><%invdate%></td> + <th align=right>Date de facture :</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Numro de facture :</th><td></td><td><%invnumber%></td></tr> + <th align=right>Numro de facture :</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -57,16 +57,16 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Adresse d'envoi</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> </td> </tr> </table> @@ -80,7 +80,7 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>N</th> <th align=left><font color=ffffff>Description</th> @@ -88,14 +88,14 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=center><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=center><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -107,14 +107,14 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td> noter :</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right><b>EXPDI PAR : - <%shippingpoint%></b> + <?lsmb shippingpoint ?></b> </td> </tr> @@ -124,14 +124,14 @@ CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3><!-- Conditions d'envoi : Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. --> </font> </td> diff --git a/templates/French-packing_list.tex b/templates/French-packing_list.tex index 26e1c249..3a3af2bd 100755 --- a/templates/French-packing_list.tex +++ b/templates/French-packing_list.tex @@ -26,12 +26,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlphone & <%tel%>\\ - Tlcopieur & <%fax%> + Tlphone & <?lsmb tel ?>\\ + Tlcopieur & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -40,39 +40,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -81,9 +81,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de facture} & <%invdate%> \\ - \textbf{Numro de facture} & <%invnumber%> \\ - \textbf{Numro de client} & <%customer_id%> + \textbf{Date de facture} & <?lsmb invdate ?> \\ + \textbf{Numro de facture} & <?lsmb invnumber ?> \\ + \textbf{Numro de client} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -91,10 +91,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -103,9 +103,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -117,9 +117,9 @@ \footnotetext[1]{\tiny Les lments retourns seront sujets un supplment de remmagasinnage de 10\%. Une autorisation de renvoi doit tre obtenue au pralable auprs de -<%company%>. Les frais de transports et d'assurance sur les lments +<?lsmb company ?>. Les frais de transports et d'assurance sur les lments retourns devront tre couvert par le client de faon approprie. -<%company%> ne peut tre tenue responsable des dommages survenus pendant +<?lsmb company ?> ne peut tre tenue responsable des dommages survenus pendant le transit.} \end{document} diff --git a/templates/French-pick_list.html b/templates/French-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/French-pick_list.html +++ b/templates/French-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/French-pick_list.tex b/templates/French-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/French-pick_list.tex +++ b/templates/French-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/French-pos_invoice.txt b/templates/French-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/French-pos_invoice.txt +++ b/templates/French-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/French-purchase_order.html b/templates/French-purchase_order.html index 29af338f..afe600bc 100755 --- a/templates/French-purchase_order.html +++ b/templates/French-purchase_order.html @@ -4,31 +4,31 @@ <head> -<title>Commande <%ordnumber%> <%name%></title> +<title>Commande <?lsmb ordnumber ?> <?lsmb name ?></title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> </head> <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tl : <%tel%> - <br>Fax : <%fax%> + Tl : <?lsmb tel ?> + <br>Fax : <?lsmb fax ?> </h4> </td> </tr> @@ -48,15 +48,15 @@ <td align=right> <table> <tr> - <th align=right>Date commande</th><td width=10> </td><td><%orddate%></td> + <th align=right>Date commande</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Requis pour</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Requis pour</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>N commande</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>N commande</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -68,21 +68,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Command par</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> </table> @@ -95,7 +95,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>N</th> @@ -106,19 +106,19 @@ <th><font color=ffffff>Montant</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> veuillez ajuster le colspan si vous voulez inclure ce poste pour dcaler le sous-total vers la droite. --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -126,15 +126,15 @@ veuillez ajuster le colspan si vous voulez inclure ce poste pour dcaler le sous <tr> <th colspan=4 align=right>Sous-total</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -142,9 +142,9 @@ veuillez ajuster le colspan si vous voulez inclure ce poste pour dcaler le sous </tr> <tr> - <td colspan=2> rgler dans <b><%terms%></b> jours au plus tard</td> + <td colspan=2> rgler dans <b><?lsmb terms ?></b> jours au plus tard</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -157,15 +157,15 @@ veuillez ajuster le colspan si vous voulez inclure ce poste pour dcaler le sous <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td> noter :</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Tous prix indiqus en <b><%currency%></b> - <br><%shippingpoint%> + Tous prix indiqus en <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -177,17 +177,17 @@ veuillez ajuster le colspan si vous voulez inclure ce poste pour dcaler le sous <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <!-- <font size=-3> - Payment due NET <%terms%> Days from date of Invoice. + Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 1.5% per month from due date until paid in full. Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> --> diff --git a/templates/French-purchase_order.tex b/templates/French-purchase_order.tex index 076e573e..298caefe 100755 --- a/templates/French-purchase_order.tex +++ b/templates/French-purchase_order.tex @@ -26,12 +26,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlphone & <%tel%>\\ - Tlcopieur & <%fax%> + Tlphone & <?lsmb tel ?>\\ + Tlcopieur & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -40,51 +40,51 @@ \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{Sous-total} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Sous-total} & \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} \\ - & report de la page <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & report de la page <?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} @@ -92,11 +92,11 @@ \textbf{C O M M A N D E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de la commande} & <%orddate%> \\ -<%if reqdate%> - \textbf{Livrable le} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Numro de commande} & <%ordnumber%> + \textbf{Date de la commande} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Livrable le} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Numro de commande} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -104,10 +104,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Prix} & \textbf{Montant} \\ -<%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*} @@ -118,24 +118,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> de <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Sous-total} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> de <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Tous les prix indiqus sont en \textbf{<%currency%>}. + Tous les prix indiqus sont en \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/French-receipt.tex b/templates/French-receipt.tex index 6742b5b5..6909625c 100755 --- a/templates/French-receipt.tex +++ b/templates/French-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/French-request_quotation.html b/templates/French-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/French-request_quotation.html +++ b/templates/French-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/French-request_quotation.tex b/templates/French-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/French-request_quotation.tex +++ b/templates/French-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/French-sales_order.html b/templates/French-sales_order.html index 3bf0a7b5..20efbeda 100755 --- a/templates/French-sales_order.html +++ b/templates/French-sales_order.html @@ -4,7 +4,7 @@ <head> -<title>Commande <%ordnumber%> <%name%></title> +<title>Commande <?lsmb ordnumber ?> <?lsmb name ?></title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> </head> @@ -20,15 +20,15 @@ <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tl : <%tel%> - <br>Fax : <%fax%> + Tl : <?lsmb tel ?> + <br>Fax : <?lsmb fax ?> </h4> </td> </tr> @@ -48,15 +48,15 @@ <td align=right> <table> <tr> - <th align=right>Date commande</th><td width=10> </td><td><%orddate%></td> + <th align=right>Date commande</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Requis pour</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Requis pour</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>N commande</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>N commande</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -75,26 +75,26 @@ </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -119,43 +119,43 @@ <th><font color="ffffff">Montant</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Sous-total</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%></th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?></th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -163,15 +163,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3> rgler dans <b><%terms%></b> jours au plus tard</td> + <td colspan=3> rgler dans <b><?lsmb terms ?></b> jours au plus tard</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>Taxe comprise dans Total</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -185,13 +185,13 @@ adjust the colspan if you include this to shift subtotal one to the right <td> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td> noter :</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Tous prix indiqus en <b><%currency%></b> - <br><%shippingpoint%> + Tous prix indiqus en <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> diff --git a/templates/French-sales_order.tex b/templates/French-sales_order.tex index 10198308..bd8422d1 100755 --- a/templates/French-sales_order.tex +++ b/templates/French-sales_order.tex @@ -26,12 +26,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tlphone & <%tel%>\\ - Tlcopieur & <%fax%> + Tlphone & <?lsmb tel ?>\\ + Tlcopieur & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -40,62 +40,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{Sous-total} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Sous-total} & \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}rlrrr@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ - & report de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & report de la page <?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{C O M M A N D E} \parbox{0.3cm}{\hfill} \textbf{C L I E N T} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de la commande} & <%orddate%> \\ - <%if reqdate%> - \textbf{Livrable le} & <%reqdate%> \\ - <%end reqdate%> - \textbf{Numro de commande} & <%ordnumber%> + \textbf{Date de la commande} & <?lsmb orddate ?> \\ + <?lsmb if reqdate ?> + \textbf{Livrable le} & <?lsmb reqdate ?> \\ + <?lsmb end reqdate ?> + \textbf{Numro de commande} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -103,10 +103,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Numro} & \textbf{Description} & \textbf{Qt} & \textbf{Unit} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -117,24 +117,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> de <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Sous-total} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> de <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Tous les prix indiqus sont en \textbf{<%currency%>}. + Tous les prix indiqus sont en \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/French-sales_quotation.html b/templates/French-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/French-sales_quotation.html +++ b/templates/French-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/French-sales_quotation.tex b/templates/French-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/French-sales_quotation.tex +++ b/templates/French-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/French-statement.html b/templates/French-statement.html index 015a8de5..cb29b1f2 100755 --- a/templates/French-statement.html +++ b/templates/French-statement.html @@ -4,7 +4,7 @@ <head> -<title>Extrait de compte pour <%name%></title> +<title>Extrait de compte pour <?lsmb name ?></title> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> </head> @@ -12,23 +12,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th></th> <td align=right> <h4> - Tl : <%tel%> - <br>Fax : <%fax%> + Tl : <?lsmb tel ?> + <br>Fax : <?lsmb fax ?> </h4> </td> </tr> @@ -36,7 +36,7 @@ <th colspan=3><h4>E X T R A I T D E C O M P T E</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -44,27 +44,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tl : <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax : <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tl : <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax : <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -74,27 +74,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Facture n</th> - <th width=15%>Date</th> - <th width=15%>Echeance</th> - <th width=10%>Actuel</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Date</th> + <th width=15 ?>Echeance</th> + <th width=10 ?>Actuel</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -102,10 +102,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -114,10 +114,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Solde impay</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -128,7 +128,7 @@ </tr> <tr> <td> </td> - <td>Tout paiement au nom de <b><%company%></b> + <td>Tout paiement au nom de <b><?lsmb company ?></b> </td> </tr> <tr height=20></tr> diff --git a/templates/French-statement.tex b/templates/French-statement.tex index fdc7339f..1b6b47c0 100755 --- a/templates/French-statement.tex +++ b/templates/French-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> + \textbf{Total outstanding} & <?lsmb total ?> \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/French-timecard.html b/templates/French-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/French-timecard.html +++ b/templates/French-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/French-timecard.tex b/templates/French-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/French-timecard.tex +++ b/templates/French-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/French-work_order.html b/templates/French-work_order.html index e665263e..c5b35150 100755 --- a/templates/French-work_order.html +++ b/templates/French-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/French-work_order.tex b/templates/French-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/French-work_order.tex +++ b/templates/French-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/German-ap_transaction.html b/templates/German-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/German-ap_transaction.html +++ b/templates/German-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/German-ap_transaction.tex b/templates/German-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/German-ap_transaction.tex +++ b/templates/German-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/German-ar_transaction.html b/templates/German-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/German-ar_transaction.html +++ b/templates/German-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/German-ar_transaction.tex b/templates/German-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/German-ar_transaction.tex +++ b/templates/German-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} diff --git a/templates/German-balance_sheet.html b/templates/German-balance_sheet.html index f0d6f5e1..f54ef2bb 100755 --- a/templates/German-balance_sheet.html +++ b/templates/German-balance_sheet.html @@ -2,28 +2,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BILANZ -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -33,22 +33,22 @@ <tr valign=top> <th align=left colspan=2>TOTAL</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -59,22 +59,22 @@ <tr valign=top> <td></td> <th align=left>TOTAL</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>EIGENTUM<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -85,14 +85,14 @@ <tr valign=top> <td></td> <th align=left>TOTAL</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL PASSIVA & EIGETNTUM</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/German-bin_list.html b/templates/German-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/German-bin_list.html +++ b/templates/German-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/German-bin_list.tex b/templates/German-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/German-bin_list.tex +++ b/templates/German-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/German-check.tex b/templates/German-check.tex index adad24d9..8db7cfff 100755 --- a/templates/German-check.tex +++ b/templates/German-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Rechnung} & \textbf{Ausgestellt} & \textbf{Fllig} & \textbf{Verrechnet} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/German-income_statement.html b/templates/German-income_statement.html index aa3c22fb..6c2bdaf6 100755 --- a/templates/German-income_statement.html +++ b/templates/German-income_statement.html @@ -2,29 +2,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>GEWINN & VERLUST -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>EINNAHMEN<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -35,22 +35,22 @@ <tr valign=top> <td> </td> <th align=left>Totale Einnahmen</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>AUSGABEN<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -61,14 +61,14 @@ <tr valign=top> <td> </td> <th align=left>Totale Ausgaben</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>GEWINN / (VERLUST)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/German-invoice.html b/templates/German-invoice.html index d181bdae..62862efd 100755 --- a/templates/German-invoice.html +++ b/templates/German-invoice.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon <%tel%> - <br>Telefax <%fax%> + Telefon <?lsmb tel ?> + <br>Telefax <?lsmb fax ?> </h4> </td> </tr> @@ -38,20 +38,20 @@ <td align=right> <table> <tr> - <th align=right>Ausgestellt am</th><td width=10> </td><td><%invdate%></td> + <th align=right>Ausgestellt am</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Bezahlbar bis</th><td width=10> </td><td><%duedate%></td> + <th align=right>Bezahlbar bis</th><td width=10> </td><td><?lsmb duedate ?></td> </tr> <tr> - <th align=right>Nummer</th><td> </td><td><%invnumber%></td></tr> + <th align=right>Nummer</th><td> </td><td><?lsmb invnumber ?></td></tr> </tr> <!-- <tr> - <th align=right>Clerk:</th><td> </td><td><%username%></td> + <th align=right>Clerk:</th><td> </td><td><?lsmb username ?></td> </tr> --> @@ -64,7 +64,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>An:</th> <th align=left><font color=ffffff>Lieferaddresse:</th> @@ -76,26 +76,26 @@ --> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -108,7 +108,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -120,58 +120,58 @@ <th><font color=ffffff>Total</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> <td colspan=7><hr noshade></td> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> + <td colspan=2 align=right><?lsmb invtotal ?></td> </tr> -<%end taxincluded%> -<%if not taxincluded%> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <tr> <th colspan=5 align=right>Zwischensumme</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> auf <%taxbase%></th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> auf <?lsmb taxbase ?></th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Bezahlt</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -179,11 +179,11 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3>Bezahlbar innerhalb von <b><%terms%></b> Tagen</td> -<%if total%> + <td colspan=3>Bezahlbar innerhalb von <b><?lsmb terms ?></b> Tagen</td> +<?lsmb if total ?> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> -<%end total%> + <th colspan=2 align=right><?lsmb total ?></th> +<?lsmb end total ?> </tr> <tr> @@ -196,15 +196,15 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemerkungen:</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Alle Preise in <b><%currency%></b> - <br><%shippingpoint%> + Alle Preise in <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -216,13 +216,13 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Rechnung ist bezahlbar innerhalb von <%terms%> Tagen. - Nach dem <%duedate%> werden Zinsen zu einem + Rechnung ist bezahlbar innerhalb von <?lsmb terms ?> Tagen. + Nach dem <?lsmb duedate ?> werden Zinsen zu einem monatlichen Satz von 1.5% verrechnet. - Waren bleiben im Besitz von <%company%> bis die Rechnung voll bezahlt ist. + Waren bleiben im Besitz von <?lsmb company ?> bis die Rechnung voll bezahlt ist. Rckgaben werden mit 10% Lagergebhren belastet. Beschdigte Waren und Waren ohne eine Rckgabenummer werden nicht entgegengenommen. </font> @@ -235,21 +235,21 @@ to show the percentage for a discount use <%discountrate%> </td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan=7 align=left><font size=-2>Steuern sind im Preis inbegriffen.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <!-- business number <tr> - <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th> + <th colspan=7 align=left><font size=-2>Business Number: <?lsmb businessnumber ?></font></th> </tr> --> diff --git a/templates/German-invoice.tex b/templates/German-invoice.tex index fe29baf7..5591a3c6 100755 --- a/templates/German-invoice.tex +++ b/templates/German-invoice.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Telefax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,59 +39,59 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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 <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ - & bertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & bertrag von Seite <?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{R E C H N U N G} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ + \textbf{Datum} & <?lsmb invdate ?> \\ + \textbf{Nummer} & <?lsmb invnumber ?> \\ \end{tabular} \vspace{1cm} @@ -99,10 +99,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -113,30 +113,30 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> auf <%taxbase%> & <%tax%> \\ -<%end tax%> + \textbf{Zwischensumme} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> auf <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%invtotal%>} \\ -<%if paid%> - \textbf{Bezahlt} & <%paid%> \\ -<%end paid%> -<%if total%> - \textbf{Bezahlbar} & \textbf{<%total%>} \\ -<%end total%> + \textbf{Total} & \textbf{<?lsmb invtotal ?>} \\ +<?lsmb if paid ?> + \textbf{Bezahlt} & <?lsmb paid ?> \\ +<?lsmb end paid ?> +<?lsmb if total ?> + \textbf{Bezahlbar} & \textbf{<?lsmb total ?>} \\ +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} \hfill - Alle Preise in \textbf{<%currency%>}. + Alle Preise in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -146,10 +146,10 @@ \renewcommand{\thefootnote}{\fnsymbol{footnote}} \footnotetext[1]{\tiny -Rechnung ist bezahlbar innerhalb von <%terms%> Tagen. -Nach dem <%duedate%> werden Zinsen zu einem +Rechnung ist bezahlbar innerhalb von <?lsmb terms ?> Tagen. +Nach dem <?lsmb duedate ?> werden Zinsen zu einem monatlichen Satz von 1.5\% verrechnet. -Waren bleiben im Besitz von <%company%> bis die Rechnung voll bezahlt ist. +Waren bleiben im Besitz von <?lsmb company ?> bis die Rechnung voll bezahlt ist. Rckgaben werden mit 10 Prozent Lagergebhren belastet. Beschdigte Waren und Waren ohne eine Rckgabenummer werden nicht entgegengenommen. } diff --git a/templates/German-packing_list.html b/templates/German-packing_list.html index 09ef4021..bfa16bc1 100755 --- a/templates/German-packing_list.html +++ b/templates/German-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -30,11 +30,11 @@ <td align=right> <table> <tr> - <th align=right>Datum</th><td width=10> </td><td><%invdate%></td> + <th align=right>Datum</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr> + <th align=right>Nummer</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -47,20 +47,20 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Zustellung an:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>An: <%shiptocontact%> -<%end shiptocontact%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> + <br><?lsmb shiptoaddr4 ?> +<?lsmb if shiptocontact ?> + <p>An: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> </td> </tr> @@ -75,7 +75,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Nummer</th> <th align=left><font color=ffffff>Artikel</th> @@ -83,14 +83,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -102,14 +102,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemerkungen</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> @@ -119,7 +119,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Beschdigte Waren und Waren ohne Rckgabenummer werden nicht diff --git a/templates/German-packing_list.tex b/templates/German-packing_list.tex index 7957508a..eb5db8f9 100755 --- a/templates/German-packing_list.tex +++ b/templates/German-packing_list.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Telefax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Steige} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -79,8 +79,8 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ + \textbf{Datum} & <?lsmb invdate ?> \\ + \textbf{Nummer} & <?lsmb invnumber ?> \\ \end{tabular} \vspace{1cm} @@ -88,10 +88,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Steige} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -100,9 +100,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/German-pick_list.html b/templates/German-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/German-pick_list.html +++ b/templates/German-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/German-pick_list.tex b/templates/German-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/German-pick_list.tex +++ b/templates/German-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/German-pos_invoice.txt b/templates/German-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/German-pos_invoice.txt +++ b/templates/German-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/German-purchase_order.html b/templates/German-purchase_order.html index c9cebc8c..c5fcef6f 100755 --- a/templates/German-purchase_order.html +++ b/templates/German-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon <%tel%> - <br>Telefax <%fax%> + Telefon <?lsmb tel ?> + <br>Telefax <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Bestellungsdatum</th><td width=10> </td><td><%orddate%></td> + <th align=right>Bestellungsdatum</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Lieferbar bis</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Lieferbar bis</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Bestellnummer</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Bestellnummer</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,21 +58,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>An:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> </table> @@ -85,7 +85,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -96,19 +96,19 @@ <th><font color=ffffff>Total</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -116,15 +116,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Zwischensumme</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -132,9 +132,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Netto <b><%terms%></b> Tage</td> + <td colspan=2>Netto <b><?lsmb terms ?></b> Tage</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -147,15 +147,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemerkungen</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Alle Preise in <b><%currency%></b> - <br><%shippingpoint%> + Alle Preise in <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -167,7 +167,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> diff --git a/templates/German-purchase_order.tex b/templates/German-purchase_order.tex index 4f73aa38..5cbc1ad5 100755 --- a/templates/German-purchase_order.tex +++ b/templates/German-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%>\\ - Telefax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Telefax & <?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{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Zwischensumme} & \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{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\ - & bertrag von <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & bertrag von <?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{B E S T E L L U N G} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Lieferung bis} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Nummer} & <%ordnumber%> + \textbf{Datum} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Lieferung bis} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Nummer} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\ -<%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{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Zwischensumme} & \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 Preise in \textbf{<%currency%>}. + Alle Preise in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/German-receipt.tex b/templates/German-receipt.tex index 881ee374..f829f5d6 100755 --- a/templates/German-receipt.tex +++ b/templates/German-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Rechnung} & \textbf{Ausgestellt} & \textbf{Fllig} & \textbf{Verrechnet} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/German-request_quotation.html b/templates/German-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/German-request_quotation.html +++ b/templates/German-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/German-request_quotation.tex b/templates/German-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/German-request_quotation.tex +++ b/templates/German-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/German-sales_order.html b/templates/German-sales_order.html index ce37fc49..0aed38b2 100755 --- a/templates/German-sales_order.html +++ b/templates/German-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon <%tel%> - <br>Telefax <%fax%> + Telefon <?lsmb tel ?> + <br>Telefax <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Bestelldatum</th><td width=10> </td><td><%orddate%></td> + <th align=right>Bestelldatum</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Lieferbar bei</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Lieferbar bei</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Bestellnummer</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Bestellnummer</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Verrechnet An:</th> <th align=left><font color=ffffff>Lieferaddresse:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -109,45 +109,45 @@ <th><font color=ffffff>Total</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> + <td colspan=2 align=right><?lsmb ordtotal ?></td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <tr> <th colspan=5 align=right>Zwischensumme</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> auf <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> auf <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -155,15 +155,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3>Netto <b><%terms%></b> Tage</td> + <td colspan=3>Netto <b><?lsmb terms ?></b> Tage</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>Steuern sind im Preis inbegriffen</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -175,15 +175,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Bemerkungen</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Alle Preise in <b><%currency%></b> - <br><%shippingpoint%> + Alle Preise in <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -195,7 +195,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Spezialprodukte werden nicht zurckgenommen. Fr alle anderen Waren diff --git a/templates/German-sales_order.tex b/templates/German-sales_order.tex index bdb522bd..9c73e466 100755 --- a/templates/German-sales_order.tex +++ b/templates/German-sales_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%>\\ - Telefax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Telefax & <?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 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Zwischensumme} & \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}rlrrr@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ - & bertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & bertrag von Seite <?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{B E S T E L L U N G} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Bestelldatum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Lieferbar bei} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Bestellnummer} & <%ordnumber%> + \textbf{Bestelldatum} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Lieferbar bei} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Bestellnummer} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -116,24 +116,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> auf <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Zwischensumme} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> auf <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Alle Preise in \textbf{<%currency%>}. + Alle Preise in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/German-sales_quotation.html b/templates/German-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/German-sales_quotation.html +++ b/templates/German-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/German-sales_quotation.tex b/templates/German-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/German-sales_quotation.tex +++ b/templates/German-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/German-statement.html b/templates/German-statement.html index d39a5a88..8cd44acf 100755 --- a/templates/German-statement.html +++ b/templates/German-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>S T A T E M E N T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Invoice #</th> - <th width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Date</th> + <th width=15 ?>Due</th> + <th width=10 ?>Current</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Total Outstanding</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Please make check payable to <b><%company%></b>. + <td>Please make check payable to <b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/German-statement.tex b/templates/German-statement.tex index fdc7339f..1b6b47c0 100755 --- a/templates/German-statement.tex +++ b/templates/German-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> + \textbf{Total outstanding} & <?lsmb total ?> \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/German-timecard.html b/templates/German-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/German-timecard.html +++ b/templates/German-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/German-timecard.tex b/templates/German-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/German-timecard.tex +++ b/templates/German-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/German-work_order.html b/templates/German-work_order.html index e665263e..c5b35150 100755 --- a/templates/German-work_order.html +++ b/templates/German-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/German-work_order.tex b/templates/German-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/German-work_order.tex +++ b/templates/German-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Hungarian-ap_transaction.html b/templates/Hungarian-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Hungarian-ap_transaction.html +++ b/templates/Hungarian-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Hungarian-ap_transaction.tex b/templates/Hungarian-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Hungarian-ap_transaction.tex +++ b/templates/Hungarian-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Hungarian-ar_transaction.html b/templates/Hungarian-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Hungarian-ar_transaction.html +++ b/templates/Hungarian-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Hungarian-ar_transaction.tex b/templates/Hungarian-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Hungarian-ar_transaction.tex +++ b/templates/Hungarian-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} diff --git a/templates/Hungarian-balance_sheet.html b/templates/Hungarian-balance_sheet.html index b3efde2c..8527e2c8 100755 --- a/templates/Hungarian-balance_sheet.html +++ b/templates/Hungarian-balance_sheet.html @@ -2,28 +2,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>MRLEG -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>ESZKZK<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -33,21 +33,21 @@ <tr valign=top> <th align=left colspan=2>Eszkzk sszesen</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>SAJT TKE<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -58,22 +58,22 @@ <tr valign=top> <td></td> <th align=left>Tke sszesen</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>KTELEZETTSGEK<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -84,15 +84,15 @@ <tr valign=top> <td></td> <th align=left>Ktelezettsgek sszesen</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>KTELEZETTSGEK & TKE SSZESEN</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Hungarian-bin_list.html b/templates/Hungarian-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Hungarian-bin_list.html +++ b/templates/Hungarian-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Hungarian-bin_list.tex b/templates/Hungarian-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Hungarian-bin_list.tex +++ b/templates/Hungarian-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Hungarian-check.tex b/templates/Hungarian-check.tex index c543be12..bbbe5068 100755 --- a/templates/Hungarian-check.tex +++ b/templates/Hungarian-check.tex @@ -21,60 +21,60 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Szmlaszm} & \textbf{Telj. dtuma} & \textbf{Esedkes} & \textbf{Kifizetett} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Hungarian-income_statement.html b/templates/Hungarian-income_statement.html index e9e4a45d..a9ac9885 100755 --- a/templates/Hungarian-income_statement.html +++ b/templates/Hungarian-income_statement.html @@ -2,29 +2,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>EREDMNYKIMUTATS -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>BEVTELEK<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -35,22 +35,22 @@ <tr valign=top> <td> </td> <th align=left>Bevtelek sszesen</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2><br><hr width=300 size=5 align=left noshade>RFORDTSOK</th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -61,14 +61,14 @@ <tr valign=top> <td> </td> <th align=left>Rfordtsok sszesen</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>NYERESG / (VESZTESG)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Hungarian-invoice.html b/templates/Hungarian-invoice.html index a7a7198c..2dae4978 100755 --- a/templates/Hungarian-invoice.html +++ b/templates/Hungarian-invoice.html @@ -15,7 +15,7 @@ <tr> <td align=right> - <!-- <%copysum%> --> + <!-- <?lsmb copysum ?> --> </td> </tr> <tr> @@ -35,27 +35,27 @@ <td> <table width=100% > <tr > - <th align=left width=50%>Elad:</th> - <th align=left width=50%>Vev:</th> + <th align=left width=50 ?>Elad:</th> + <th align=left width=50 ?>Vev:</th> </tr> <tr valign=top> - <td><%company%> - <br><%address%> - <br>Adszm:<%businessnumber%> - <br>tel:<%tel%> - <br>fax:<%fax%> + <td><?lsmb company ?> + <br><?lsmb address ?> + <br>Adszm:<?lsmb businessnumber ?> + <br>tel:<?lsmb tel ?> + <br>fax:<?lsmb fax ?> </td> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> @@ -68,7 +68,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <th>Fizetsi md</th> <th>Telj. dtuma</th> @@ -79,13 +79,13 @@ <th>Sorszm</th> </tr> <tr> - <td align=center><%shippingpoint%></td> - <td align=center><%invdate%></td> - <td align=center><%crdate%></td> - <td align=center><%duedate%></td> - <td align=center><%ordnumber%></td> - <td align=center><%employee%></td> - <td align=center><font size=2><%invnumber%></font></td> + <td align=center><?lsmb shippingpoint ?></td> + <td align=center><?lsmb invdate ?></td> + <td align=center><?lsmb crdate ?></td> + <td align=center><?lsmb duedate ?></td> + <td align=center><?lsmb ordnumber ?></td> + <td align=center><?lsmb employee ?></td> + <td align=center><font size=2><?lsmb invnumber ?></font></td> </tr> </table> <td> @@ -112,28 +112,28 @@ <th align=right>Brutt sszeg</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=center><%runningnumber%>.</td> - <td nowrap align=left><%number%></td> - <td nowrap align=left><%description%></td> - <td nowrap align=center><%bin%></td> - <td align=center><%qty%></td> - <td align=center><%unit%></td> - <td align=right><%netprice%></td> -<!-- <td align=right><%discount%></td> --> - <td align=right><%linetotal%></td> - <td align=right><%linetaxrate%></td> - <td align=right><%taxamount%></td> - <td align=right><%linetotal2%></td> + <td align=center><?lsmb runningnumber ?>.</td> + <td nowrap align=left><?lsmb number ?></td> + <td nowrap align=left><?lsmb description ?></td> + <td nowrap align=center><?lsmb bin ?></td> + <td align=center><?lsmb qty ?></td> + <td align=center><?lsmb unit ?></td> + <td align=right><?lsmb netprice ?></td> +<!-- <td align=right><?lsmb discount ?></td> --> + <td align=right><?lsmb linetotal ?></td> + <td align=right><?lsmb linetaxrate ?></td> + <td align=right><?lsmb taxamount ?></td> + <td align=right><?lsmb linetotal2 ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -141,29 +141,29 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=9 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th colspan=9 align=right>Nett sszesen</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=9 align=right>alap: <%taxbase%> rta: <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=9 align=right>alap: <?lsmb taxbase ?> rta: <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=9 align=right>Fizetve</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=6> </td> @@ -171,9 +171,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> -<!-- <td colspan=6>Fizetsi hatrid: <b><%terms%></b> nap</td> --> +<!-- <td colspan=6>Fizetsi hatrid: <b><?lsmb terms ?></b> nap</td> --> <th colspan=9 align=right>A szmla vgsszege:</th> - <th colspan=2 align=right><%total%> Ft</th> + <th colspan=2 align=right><?lsmb total ?> Ft</th> </tr> <tr> @@ -188,12 +188,12 @@ to show the percentage for a discount use <%discountrate%> <td> <table width=100% > <tr valign=top> -<%if notes%> - <td><b>Megjegyzs:</b> <%notes%></td> +<?lsmb if notes ?> + <td><b>Megjegyzs:</b> <?lsmb notes ?></td> <td ></td> -<%end notes%> +<?lsmb end notes ?> <td align=right> -<!-- All prices in <b><%currency%></b> Funds --> +<!-- All prices in <b><?lsmb currency ?></b> Funds --> </td> </tr> @@ -203,7 +203,7 @@ to show the percentage for a discount use <%discountrate%> <tr><td> </td></tr> -<%if paid%> +<?lsmb if paid ?> <tr> <td colspan=7> <table width=60% > @@ -221,18 +221,18 @@ to show the percentage for a discount use <%discountrate%> <th align=left>Bizonylatszm</th> <th align=left>sszeg</th> </tr> -<%end paid%> +<?lsmb end paid ?> -<%foreach payment%> +<?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb payment ?></td> </tr> -<%end payment%> +<?lsmb end payment ?> -<%if paid%> +<?lsmb if paid ?> </table> </td> </tr> @@ -240,7 +240,7 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> </td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <th colspan=7> @@ -255,7 +255,7 @@ to show the percentage for a discount use <%discountrate%> <table width=100% > <tr valign=top> <td><font size=-3> -<%intnotes%> +<?lsmb intnotes ?> </font> </td> @@ -267,17 +267,17 @@ to show the percentage for a discount use <%discountrate%> </td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> -<!-- <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> --> +<!-- <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> --> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan=7 align=left><font size=-2>Taxes shown are included in price.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Hungarian-invoice.tex b/templates/Hungarian-invoice.tex index 85485185..8e2b3b99 100755 --- a/templates/Hungarian-invoice.tex +++ b/templates/Hungarian-invoice.tex @@ -34,7 +34,7 @@ \renewcommand{\baselinestretch}{1} -\newcommand{\PAR}[1]{\texttt{\upshape <\%#1\%>}\typeout{#1}} +\newcommand{\PAR}[1]{\texttt{\upshape <\%#1\ ?>}\typeout{#1}} \begin{document} @@ -50,8 +50,8 @@ {\large\bfseries SZMLA} \\ \end{center} - \mbox{}\hfill <%copysum%> \\ - \mbox{}\hfill <%copynumber%> + \mbox{}\hfill <?lsmb copysum ?> \\ + \mbox{}\hfill <?lsmb copynumber ?> } } @@ -60,7 +60,7 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \parbox{\textwidth}{ % \includegraphics[scale=.5]{/tmp/logo_04.eps} - \hfill <%invnumber%>\\[-3mm] + \hfill <?lsmb invnumber ?>\\[-3mm] \rule{\textwidth}{.5pt} } } @@ -74,7 +74,7 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\fontshape{n}\selectfont -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} } @@ -82,7 +82,7 @@ \hfill \begin{tabularx}{7cm}{X@{ }r@{}} - \textbf{Rszsszeg} & <%sumcarriedforward%> \cr + \textbf{Rszsszeg} & <?lsmb sumcarriedforward ?> \cr \end{tabularx} \newpage @@ -117,9 +117,9 @@ & & \textbf{elz oldalrl} & & & & & & & - & & <%sumcarriedforward%> + & & <?lsmb sumcarriedforward ?> \cr -<%end pagebreak%> +<?lsmb end pagebreak ?> \mbox{}\vspace{3.5cm} @@ -130,24 +130,24 @@ \hbox to\hsize{ \begin{minipage}[t]{9.5cm} \textbf{Elad:} \\ -<%company%>\\ -<%address%>\\ -Adszm: <%businessnumber%>\\ -tel: <%tel%>\\ -fax: <%fax%> +<?lsmb company ?>\\ +<?lsmb address ?>\\ +Adszm: <?lsmb businessnumber ?>\\ +tel: <?lsmb tel ?>\\ +fax: <?lsmb fax ?> \end{minipage} \hfill \ \begin{minipage}[t]{9.5cm} \textbf{Vev:} \\ -<%name%>\\ -<%address1%>\\ -<%if address2%> -<%address2%> -<%end address2%>\\ -<%city%> <%state%> <%zipcode%>\\ -<%if country%> -<%country%> -<%end country%> +<?lsmb name ?>\\ +<?lsmb address1 ?>\\ +<?lsmb if address2 ?> +<?lsmb address2 ?> +<?lsmb end address2 ?>\\ +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>\\ +<?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> \end{minipage} } @@ -169,8 +169,8 @@ fax: <%fax%> \textbf{Fizetsi md} & \textbf{Telj.~dtuma} & \textbf{Szmla kelte} & \textbf{Esedkessg} & \textbf{Megrendels} & \textbf{Killtotta} & \textbf{Sorszm} \cr - <%shippingpoint%> & <%invdate%> & <%crdate%> & - <%duedate%> & <%ordnumber%> & <%employee%> & <%invnumber%> + <?lsmb shippingpoint ?> & <?lsmb invdate ?> & <?lsmb crdate ?> & + <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> & <?lsmb invnumber ?> \end{tabularx} @@ -200,13 +200,13 @@ fax: <%fax%> \raggedleft\textbf{Nett egysgr} & \raggedleft\textbf{Nett sszeg} & \raggedright\textbf{FA\%} & \raggedleft\textbf{FA sszeg} & \raggedleft\textbf{Brutt sszeg} \cr -<%foreach number%> - <%runningnumber%> & <%partsgroup%> & <%number%> & <%description%> & - <%bin%> & <%qty%> & <%unit%> & - <%netprice%> & <%linetotal%> & <%linetaxrate%> & - <%taxamount%> & <%linetotal2%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb partsgroup ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb bin ?> & <?lsmb qty ?> & <?lsmb unit ?> & + <?lsmb netprice ?> & <?lsmb linetotal ?> & <?lsmb linetaxrate ?> & + <?lsmb taxamount ?> & <?lsmb linetotal2 ?> \cr -<%end number%> +<?lsmb end number ?> \end{tabularx} } @@ -221,19 +221,19 @@ fax: <%fax%> \vspace{.2cm} \begin{tabularx}{10cm}{>{\hsize=7cm\raggedleft}X>{\hsize=3cm\raggedleft}X} -%\textbf{Total} & <%invtotal%> \cr -\textbf{Nett sszesen} & <%subtotal%> \cr -<%foreach tax%> -\textbf{Alap:} <%taxbase%> \textbf{rta:} <%taxrate%> & <%tax%> \cr -<%end tax%> -<%if paid%> -\textbf{Fizetve:} & -<%paid%> -<%end paid%> +%\textbf{Total} & <?lsmb invtotal ?> \cr +\textbf{Nett sszesen} & <?lsmb subtotal ?> \cr +<?lsmb foreach tax ?> +\textbf{Alap:} <?lsmb taxbase ?> \textbf{rta:} <?lsmb taxrate ?> & <?lsmb tax ?> \cr +<?lsmb end tax ?> +<?lsmb if paid ?> +\textbf{Fizetve:} & -<?lsmb paid ?> +<?lsmb end paid ?> \end{tabularx} \rule{10.6cm}{1.5pt} \begin{tabularx}{10cm}{>{\hsize=7cm\raggedleft}X>{\hsize=3cm\raggedleft}X} -\textbf{A szmla vgsszege} & <%total%> \textbf{Ft} +\textbf{A szmla vgsszege} & <?lsmb total ?> \textbf{Ft} \end{tabularx} \end{minipage} @@ -242,13 +242,13 @@ fax: <%fax%> \vfill \vspace{1cm} -<%if notes%> -\textbf{Megjegyzs:} <%notes%> +<?lsmb if notes ?> +\textbf{Megjegyzs:} <?lsmb notes ?> \vspace{1cm} -<%end if%> +<?lsmb end if ?> -<%if paid%> +<?lsmb if paid ?> \textbf{Fizetsek:} \rule{12cm}{1.5pt} @@ -261,18 +261,18 @@ fax: <%fax%> >{\hsize=2.9cm\raggedleft}X@{}} \textbf{Dtum} & \textbf{Szmla} & \textbf{Bizonylatszm} & \textbf{sszeg} \cr -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> +<?lsmb end paid ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \cr -<%end payment%> -<%if paid%> +<?lsmb end payment ?> +<?lsmb if paid ?> \end{tabularx} -<%end paid%> +<?lsmb end paid ?> \vspace{1cm} -<%intnotes%> +<?lsmb intnotes ?> \end{document} diff --git a/templates/Hungarian-packing_list.html b/templates/Hungarian-packing_list.html index f3cf6b4e..b8652e54 100755 --- a/templates/Hungarian-packing_list.html +++ b/templates/Hungarian-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -30,11 +30,11 @@ <td align=right> <table> <tr> - <th align=right>Dtum</th><td width=10> </td><td><%invdate%></td> + <th align=right>Dtum</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Szm</th><td></td><td><%invnumber%></td></tr> + <th align=right>Szm</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -47,20 +47,20 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Szlltsi cm:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Kapcsolattart: <%shiptocontact%> -<%end shiptocontact%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> + <br><?lsmb shiptoaddr4 ?> +<?lsmb if shiptocontact ?> + <p>Kapcsolattart: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> </td> </tr> @@ -75,7 +75,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Szm</th> <th align=left><font color=ffffff>Szveges lers</th> @@ -83,14 +83,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -102,14 +102,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Megjegyzs</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> @@ -119,13 +119,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> A visszaszlltott ruk utn 10 % jraraktrozsi djat kell fizetni. Engedlyt a visszaszlltsra csak - a <%company%> adhat ki. A visszrut csak elre kifizetve s biztostva - lehet visszaszlltani. <%company%> nem tehet felelss a visszaszllts + a <?lsmb company ?> adhat ki. A visszrut csak elre kifizetve s biztostva + lehet visszaszlltani. <?lsmb company ?> nem tehet felelss a visszaszllts sorn keletkezett krrt. </font> </td> diff --git a/templates/Hungarian-packing_list.tex b/templates/Hungarian-packing_list.tex index fdc9b733..e6755abe 100755 --- a/templates/Hungarian-packing_list.tex +++ b/templates/Hungarian-packing_list.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Fax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Szm} & \textbf{Szveges lers} & \textbf{Menny.} & \textbf{egys.} & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -79,9 +79,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dtum} & <%invdate%> \\ - \textbf{Szm} & <%invnumber%> \\ - \textbf{Vev} & <%customer_id%> + \textbf{Dtum} & <?lsmb invdate ?> \\ + \textbf{Szm} & <?lsmb invnumber ?> \\ + \textbf{Vev} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -89,10 +89,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Szm} & \textbf{Szveges lers} & \textbf{Menny.} & \textbf{egys.} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -101,9 +101,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -114,8 +114,8 @@ \footnotetext[1]{\tiny A visszaszlltott ruk utn 10\% jraraktrozsi djat kell fizetni. -Engedlyt a visszaszlltsra csak a <%company%> adhat ki. A visszrut -csak elre kifizetve s biztostva lehet visszaszlltani. <%company%> +Engedlyt a visszaszlltsra csak a <?lsmb company ?> adhat ki. A visszrut +csak elre kifizetve s biztostva lehet visszaszlltani. <?lsmb company ?> nem tehet felelss a visszaszllts sorn keletkezett krrt. } \end{document} diff --git a/templates/Hungarian-pick_list.html b/templates/Hungarian-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Hungarian-pick_list.html +++ b/templates/Hungarian-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Hungarian-pick_list.tex b/templates/Hungarian-pick_list.tex index d2d1d9ac..65fa6a48 100755 --- a/templates/Hungarian-pick_list.tex +++ b/templates/Hungarian-pick_list.tex @@ -29,35 +29,35 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -72,28 +72,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -108,18 +108,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Hungarian-pos_invoice.txt b/templates/Hungarian-pos_invoice.txt index 6a7645f1..2dc2609a 100755 --- a/templates/Hungarian-pos_invoice.txt +++ b/templates/Hungarian-pos_invoice.txt @@ -1,48 +1,48 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> - Kassza: <%till align=left width=3%> Telefon#: <%tel%> - Elad: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> + Kassza: <?lsmb till align=left width=3 ?> Telefon#: <?lsmb tel ?> + Elad: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Menny Nv sszeg -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> - Ttelszm: <%rowcount%> -<%if taxincluded%> + Ttelszm: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Brutt: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Brutt: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Nett: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Brutt: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Visszajr: <%change align=right width=9%> -<%end change%> -<%if total%> - Fizetend: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Engedmny levonva -<%end discount%> + Nett: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Brutt: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Visszajr: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Fizetend: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Engedmny levonva +<?lsmb end discount ?> Ksznjk a vsrlst! -<%if taxincluded%> +<?lsmb if taxincluded ?> A vgsszeg bruttban rtend -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Hungarian-purchase_order.html b/templates/Hungarian-purchase_order.html index 2f95eb73..02a48d2e 100755 --- a/templates/Hungarian-purchase_order.html +++ b/templates/Hungarian-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon: <%tel%> - <br>Fax: <%fax%> + Telefon: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Rendels dtuma</th><td width=10> </td><td><%orddate%></td> + <th align=right>Rendels dtuma</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Leszllts</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Leszllts</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Szm</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Szm</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,55 +58,55 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Szllt:</th> - <th align=left width=50%><font color=ffffff>Szlltsi cm:</th> + <th align=left width=50 ?><font color=ffffff>Szllt:</th> + <th align=left width=50 ?><font color=ffffff>Szlltsi cm:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if contact%> -<br>Kapcsolattart: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Kapcsolattart: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Kapcsolattart: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Kapcsolattart: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> @@ -119,7 +119,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Szm</th> @@ -130,19 +130,19 @@ <th align=right><font color=ffffff>sszeg</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -150,15 +150,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right> Nett sszeg</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%>alap: <%taxbase%> rta: <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?>alap: <?lsmb taxbase ?> rta: <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -166,9 +166,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Hatrid <b><%terms%></b> nap</td> + <td colspan=2>Hatrid <b><?lsmb terms ?></b> nap</td> <th colspan=2 align=right> Brutt sszeg</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> <tr> @@ -181,16 +181,16 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Megjegyzs</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> -<!-- Az rak <b><%currency%></b>-ban vannak meghatrozva--> +<!-- Az rak <b><?lsmb currency ?></b>-ban vannak meghatrozva--> Az rak Forintban rtendk - <br><%shippingpoint%> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -202,7 +202,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> <!-- diff --git a/templates/Hungarian-purchase_order.tex b/templates/Hungarian-purchase_order.tex index 15f7c09b..954d6211 100755 --- a/templates/Hungarian-purchase_order.tex +++ b/templates/Hungarian-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%>\\ - Fax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Fax & <?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{Rszsszeg} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Rszsszeg} & \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{Szm} & \textbf{Szveges lers} & \textbf{Menny.} & \textbf{egys.} & \textbf{r} & \textbf{sszeg} \\ - & folytats az elz oldalrl: <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & folytats az elz oldalrl: <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -76,71 +76,71 @@ \textbf{Szllt} \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%> -Kapcsolattart: <%contact%> +<?lsmb if contact ?> +Kapcsolattart: <?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{Szlltsi cm} \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%> -Szlltsi kapcsolattart: <%shiptocontact%> +<?lsmb if shiptocontact ?> +Szlltsi kapcsolattart: <?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{B E S Z E R Z S I} \parbox{0.3cm}{\hfill} \textbf{R E N D E L S} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dtum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Leszllts} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Szm} & <%ordnumber%> + \textbf{Dtum} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Leszllts} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Szm} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -161,10 +161,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Szm} & \textbf{Szveges lers} & \textbf{Menny.} & \textbf{egys.} & \textbf{r} & \textbf{sszeg} \\ -<%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}{9cm}{Xr@{}} - \textbf{Nett sszeg} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> alap <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Nett sszeg} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> alap <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Brutt sszeg} & \textbf{<%ordtotal%>}\\ + \textbf{Brutt sszeg} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - % All prices in \textbf{<%currency%>} funds. + % All prices in \textbf{<?lsmb currency ?>} funds. Az rak Forintban rtendk \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Hungarian-receipt.tex b/templates/Hungarian-receipt.tex index a77e595e..acc52119 100755 --- a/templates/Hungarian-receipt.tex +++ b/templates/Hungarian-receipt.tex @@ -21,56 +21,56 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Szmlaszm} & \textbf{Telj. dtuma} & \textbf{Esedkes} & \textbf{Kifizetett} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Hungarian-request_quotation.html b/templates/Hungarian-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Hungarian-request_quotation.html +++ b/templates/Hungarian-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Hungarian-request_quotation.tex b/templates/Hungarian-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Hungarian-request_quotation.tex +++ b/templates/Hungarian-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Hungarian-sales_order.html b/templates/Hungarian-sales_order.html index ff518a11..c56b69a4 100755 --- a/templates/Hungarian-sales_order.html +++ b/templates/Hungarian-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon: <%tel%> - <br>Fax: <%fax%> + Telefon: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Rendels dtuma</th><td width=10> </td><td><%orddate%></td> + <th align=right>Rendels dtuma</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Leszllts</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Leszllts</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Szm</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Szm</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Vev:</th> <th align=left><font color=ffffff>Szlltsi cm:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Szm</th> @@ -109,43 +109,43 @@ <th align right><font color=ffffff>sszeg</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Brutt sszeg</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Nett sszeg</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> alap <%taxbase%> rta: <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> alap <?lsmb taxbase ?> rta: <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -153,15 +153,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3>Fizetsi hatrid: <b><%terms%></b> nap</td> + <td colspan=3>Fizetsi hatrid: <b><?lsmb terms ?></b> nap</td> <th colspan=2 align=right>Brutt sszeg</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>A vgsszeg tartalmazza az ad sszegt</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -173,16 +173,16 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Megjegyzs</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> -<!-- All prices in <b><%currency%></b> Funds --> +<!-- All prices in <b><?lsmb currency ?></b> Funds --> Az rak Forintban rtendk - <br><!--<%shippingpoint%>--> + <br><!--<?lsmb shippingpoint ?>--> </td> </tr> @@ -194,7 +194,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> <!-- A 10% order cancellation fee will be applied for any special order diff --git a/templates/Hungarian-sales_order.tex b/templates/Hungarian-sales_order.tex index c752f0ab..7142ff6b 100755 --- a/templates/Hungarian-sales_order.tex +++ b/templates/Hungarian-sales_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%>\\ - Fax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Fax & <?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 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Rszsszeg} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Rszsszeg} & \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}rlrrr@{}} \textbf{Szm} & \textbf{Szveges lers} & \textbf{Menny.} & \textbf{egys.} & \textbf{r} & \textbf{Engedmny} & \textbf{sszeg} \\ - & folytats az elz oldalrl: <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & folytats az elz oldalrl: <?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{V E V } \parbox{0.3cm}{\hfill} \textbf{R E N D E L S} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Rendels dtuma} & <%orddate%> \\ -<%if reqdate%> - \textbf{Leszllts} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Szm} & <%ordnumber%> + \textbf{Rendels dtuma} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Leszllts} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Szm} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Szm} & \textbf{Szveges lers} & \textbf{Menny.} & \textbf{egys.} & \textbf{r} & \textbf{Engedmny} & \textbf{sszeg} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -116,24 +116,24 @@ \hfill \begin{tabularx}{9cm}{Xr@{}} - \textbf{Nett sszeg} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> alap <%taxbase%> <%tax%>\\ -<%end tax%> + \textbf{Nett sszeg} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> alap <?lsmb taxbase ?> <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Brutt sszeg} & \textbf{<%ordtotal%>}\\ + \textbf{Brutt sszeg} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill -% All prices in \textbf{<%currency%>} funds. +% All prices in \textbf{<?lsmb currency ?>} funds. Az rak Forintban rtendk \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Hungarian-sales_quotation.html b/templates/Hungarian-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Hungarian-sales_quotation.html +++ b/templates/Hungarian-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Hungarian-sales_quotation.tex b/templates/Hungarian-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Hungarian-sales_quotation.tex +++ b/templates/Hungarian-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Hungarian-statement.html b/templates/Hungarian-statement.html index 3233f4fc..bd2242d0 100755 --- a/templates/Hungarian-statement.html +++ b/templates/Hungarian-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>K I M U T A T S</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,7 +63,7 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Szmla #</th> <th width=15% align=left>Dtum</th> @@ -73,17 +73,17 @@ <th width=10% align=right>60</th> <th width=10% align=right>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td align=left><%invnumber%></td> - <td align=left><%invdate%></td> - <td align=left><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td align=left><?lsmb invnumber ?></td> + <td align=left><?lsmb invdate ?></td> + <td align=left><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Nyitott ttelek sszesen:</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Krjk a fizetend sszeget a <b><%company%></b> bankszmljra tutalni szveskedjenek. + <td>Krjk a fizetend sszeget a <b><?lsmb company ?></b> bankszmljra tutalni szveskedjenek. </td> </tr> <tr height=20></tr> diff --git a/templates/Hungarian-statement.tex b/templates/Hungarian-statement.tex index ea5303b1..49191f39 100755 --- a/templates/Hungarian-statement.tex +++ b/templates/Hungarian-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\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{Rszsszeg} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Rszsszeg} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%statementdate%>} +\markright{<?lsmb company ?>\hfill <?lsmb statementdate ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Szmla \#} & \textbf{Dtum} & \textbf{Esedkessg} & \textbf{0-30} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - folytats az elz oldalrl: <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + folytats az elz oldalrl: <?lsmb lastpage ?> & & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -74,31 +74,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 @@ -106,18 +106,18 @@ Fax: <%customerfax%> \textbf{K I M U T A T S} \hfill -\hfill <%statementdate%> +\hfill <?lsmb statementdate ?> \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Szmla \#} & \textbf{Dtum} & \textbf{Esedkessg} & \textbf{Nem lejrt} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{sszesen} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{sszesen} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -125,12 +125,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Nyitott ttelek sszesen} & <%total%> + \textbf{Nyitott ttelek sszesen} & <?lsmb total ?> \end{tabularx} \vfill -Krjk a fizetend sszeget a <%company%> bankszmljra tutalni szveskedjenek. +Krjk a fizetend sszeget a <?lsmb company ?> bankszmljra tutalni szveskedjenek. \renewcommand{\thefootnote}{\fnsymbol{footnote}} diff --git a/templates/Hungarian-timecard.html b/templates/Hungarian-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Hungarian-timecard.html +++ b/templates/Hungarian-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Hungarian-timecard.tex b/templates/Hungarian-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Hungarian-timecard.tex +++ b/templates/Hungarian-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Hungarian-work_order.html b/templates/Hungarian-work_order.html index e665263e..c5b35150 100755 --- a/templates/Hungarian-work_order.html +++ b/templates/Hungarian-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Hungarian-work_order.tex b/templates/Hungarian-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Hungarian-work_order.tex +++ b/templates/Hungarian-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Italian-ap_transaction.html b/templates/Italian-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Italian-ap_transaction.html +++ b/templates/Italian-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Italian-ap_transaction.tex b/templates/Italian-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Italian-ap_transaction.tex +++ b/templates/Italian-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Italian-ar_transaction.html b/templates/Italian-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Italian-ar_transaction.html +++ b/templates/Italian-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> 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} diff --git a/templates/Italian-balance_sheet.html b/templates/Italian-balance_sheet.html index d7ea69be..49100f63 100755 --- a/templates/Italian-balance_sheet.html +++ b/templates/Italian-balance_sheet.html @@ -2,28 +2,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>STATO PATRIMONIALE -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>ATTIVITA'<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -33,22 +33,22 @@ <tr valign=top> <th align=left colspan=2>TOTALE ATTIVITA</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVITA'<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -59,22 +59,22 @@ <tr valign=top> <td></td> <th align=left>Totale Passivita'</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>CAPITALE NETTO<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -85,14 +85,14 @@ <tr valign=top> <td></td> <th align=left>Totale Capitale Netto</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTALE PASSIVITA'</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Italian-bin_list.html b/templates/Italian-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Italian-bin_list.html +++ b/templates/Italian-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Italian-bin_list.tex b/templates/Italian-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Italian-bin_list.tex +++ b/templates/Italian-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Italian-check.tex b/templates/Italian-check.tex index 0eafc60e..553337c4 100755 --- a/templates/Italian-check.tex +++ b/templates/Italian-check.tex @@ -21,60 +21,60 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Fattura Numero} & \textbf{Data Fattura} & \textbf{Dovuto} & \textbf{Applicato} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Italian-income_statement.html b/templates/Italian-income_statement.html index 55771010..4ce1d856 100755 --- a/templates/Italian-income_statement.html +++ b/templates/Italian-income_statement.html @@ -2,29 +2,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>CONTO ECONOMICO -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>RICAVI<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -35,22 +35,22 @@ <tr valign=top> <td> </td> <th align=left>Totale Ricavi</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>COSTI<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -61,14 +61,14 @@ <tr valign=top> <td> </td> <th align=left>Totale Costi</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>UTILE / (PERDITA)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Italian-invoice.html b/templates/Italian-invoice.html index 3fd6e3dc..bda65349 100755 --- a/templates/Italian-invoice.html +++ b/templates/Italian-invoice.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Data fattura</th><td width=10> </td><td><%invdate%></td> + <th align=right>Data fattura</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Scadenza</th><td width=10> </td><td><%duedate%></td> + <th align=right>Scadenza</th><td width=10> </td><td><?lsmb duedate ?></td> </tr> <tr> - <th align=right>Numero fattura</th><td> </td><td><%invnumber%></td></tr> + <th align=right>Numero fattura</th><td> </td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Sede legale:</th> <th align=left><font color=ffffff>Inviare fattura a:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Numero</th> @@ -109,26 +109,26 @@ <th><font color=ffffff>Totale riga</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -137,22 +137,22 @@ to show the percentage for a discount use <%discountrate%> <tr> <th colspan=5 align=right>Totale righe</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%>: <%taxrate%>% su <%taxbase%></th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?>: <?lsmb taxrate ?>% su <?lsmb taxbase ?></th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Importo già pagato</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -160,9 +160,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3>Scadenza a <b><%terms%></b> giorni data fattura.</td> + <td colspan=3>Scadenza a <b><?lsmb terms ?></b> giorni data fattura.</td> <th colspan=2 align=right>Totale da pagare</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -175,13 +175,13 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Note</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> <td align=right> - I prezzi sono espressi in valuta <b><%currency%></b>. - <br><%shippingpoint%> + I prezzi sono espressi in valuta <b><?lsmb currency ?></b>. + <br><?lsmb shippingpoint ?> </td> </tr> diff --git a/templates/Italian-invoice.tex b/templates/Italian-invoice.tex index 98598d9c..a436e355 100755 --- a/templates/Italian-invoice.tex +++ b/templates/Italian-invoice.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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{Totale riga} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Totale riga} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} & \textbf{Unita'} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Totale righe} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -76,74 +76,74 @@ \textbf{Sede legale:} \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 ?> \vspace{0.5cm} -<%if customerphone%> -Telefono: <%customerphone%> -<%end customerphone%> +<?lsmb if customerphone ?> +Telefono: <?lsmb customerphone ?> +<?lsmb end customerphone ?> -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> +<?lsmb if customerfax ?> +Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> -<%email%> +<?lsmb email ?> } \parbox[t]{7.5cm}{ \textbf{Inviare fatttura a:} \vspace{0.5cm} -<%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} \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 @@ -155,9 +155,9 @@ Fax: <%shiptofax%> \vspace{1cm} \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data fattura} & <%invdate%> \\ - \textbf{Numero fattura} & <%invnumber%> \\ - \textbf{Ordine} & <%ordnumber%> + \textbf{Data fattura} & <?lsmb invdate ?> \\ + \textbf{Numero fattura} & <?lsmb invnumber ?> \\ + \textbf{Ordine} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -165,10 +165,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Qt\`a} & \textbf{Un.} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Tot. riga} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -179,44 +179,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totale righe} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%>: <%taxrate%>\% & <%tax%>\\ -<%end tax%> -<%if paid%> - \textbf{Pagato} & - <%paid%> \\ -<%end paid%> + \textbf{Totale righe} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?>: <?lsmb taxrate ?>\% & <?lsmb tax ?>\\ +<?lsmb end tax ?> +<?lsmb if paid ?> + \textbf{Pagato} & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline - \textbf{Totale da pagare} & \textbf{<%total%>} \\ + \textbf{Totale da pagare} & \textbf{<?lsmb total ?>} \\ \end{tabularx} \vspace{0.3cm} \hfill - Tutti i prezzi sono espressi in valuta \textbf{<%currency%>}. + Tutti i prezzi sono espressi in valuta \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } \vfill -<%if paid%> +<?lsmb if paid ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Pagamenti} & & & \\ \hline \textbf{Data} & \textbf{Conto} & \textbf{Documento di riferimento} & \textbf{Importo} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> +<?lsmb end paid ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid ?> \end{tabularx} -<%end paid%> +<?lsmb end paid ?> \vspace{1cm} diff --git a/templates/Italian-packing_list.html b/templates/Italian-packing_list.html index 4a451d82..edd129d3 100755 --- a/templates/Italian-packing_list.html +++ b/templates/Italian-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -30,11 +30,11 @@ <td align=right> <table> <tr> - <th align=right>Data</th><td width=10> </td><td><%invdate%></td> + <th align=right>Data</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Numero</th><td></td><td><%invnumber%></td></tr> + <th align=right>Numero</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -47,16 +47,16 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Inviare a:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> </td> </tr> </table> @@ -70,7 +70,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Numero</th> <th align=left><font color=ffffff>Descrizione</th> @@ -78,14 +78,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -97,12 +97,12 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Note</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> diff --git a/templates/Italian-packing_list.tex b/templates/Italian-packing_list.tex index 271d2906..2064f83d 100755 --- a/templates/Italian-packing_list.tex +++ b/templates/Italian-packing_list.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tel & <%tel%>\\ - Fac & <%fax%> + Tel & <?lsmb tel ?>\\ + Fac & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Numero} & \textbf{Descrizione} & \textbf{Quantita'} & \textbf{Unita'} & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -79,9 +79,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%invdate%> \\ - \textbf{Numero} & <%invnumber%> \\ - \textbf{Cliente} & <%customer_id%> + \textbf{Data} & <?lsmb invdate ?> \\ + \textbf{Numero} & <?lsmb invnumber ?> \\ + \textbf{Cliente} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -89,10 +89,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} & \textbf{Unita'} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -101,9 +101,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Italian-pick_list.html b/templates/Italian-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Italian-pick_list.html +++ b/templates/Italian-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Italian-pick_list.tex b/templates/Italian-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Italian-pick_list.tex +++ b/templates/Italian-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Italian-pos_invoice.txt b/templates/Italian-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/Italian-pos_invoice.txt +++ b/templates/Italian-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Italian-purchase_order.html b/templates/Italian-purchase_order.html index 27a982a8..0541ee96 100755 --- a/templates/Italian-purchase_order.html +++ b/templates/Italian-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefono: <%tel%> - <br>Fax: <%fax%> + Telefono: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Data ordine</th><td width=10> </td><td><%orddate%></td> + <th align=right>Data ordine</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Consegna</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Consegna</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordine numero</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordine numero</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,55 +58,55 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Ordinare a:</th> - <th align=left width=50%><font color=ffffff>Recapito:</th> + <th align=left width=50 ?><font color=ffffff>Ordinare a:</th> + <th align=left width=50 ?><font color=ffffff>Recapito:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if contact%> -<br>All'attenzione di: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Telefono: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>All'attenzione di: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Telefono: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>All'attenzione di: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Telefono: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>All'attenzione di: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Telefono: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> @@ -119,7 +119,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Codice</th> @@ -130,19 +130,19 @@ <th><font color=ffffff>Totale riga</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -150,15 +150,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Totale righe</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%>: <%taxrate%>% su <%taxbase%></th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?>: <?lsmb taxrate ?>% su <?lsmb taxbase ?></th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -166,9 +166,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2><!--Termine di pagamento: <b><%terms%></b> giorni--></td> + <td colspan=2><!--Termine di pagamento: <b><?lsmb terms ?></b> giorni--></td> <th colspan=2 align=right>Totale ordine</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> <tr> @@ -181,15 +181,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Note</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Tutti i prezzi sono espressi in valuta <b><%currency%></b> - <br><%shippingpoint%> + Tutti i prezzi sono espressi in valuta <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -201,15 +201,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><!--<font size=-3> - Payment due NET <%terms%> Days from date of Invoice. + Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 1.5% per month from due date until paid in full. Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit.--> </font> </td> diff --git a/templates/Italian-purchase_order.tex b/templates/Italian-purchase_order.tex index 4fe633ea..f6dda34c 100755 --- a/templates/Italian-purchase_order.tex +++ b/templates/Italian-purchase_order.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?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{Subtotale} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotale} & \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{Numero} & \textbf{Descrizione} & \textbf{Quantita'} & \textbf{Unita'} & \textbf{Prezzo} & \textbf{Subtotale} \\ - & 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{Ordinare a:} \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{Spedire la merce a:} \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{ORDINE DI ACQUISTO} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%orddate%> \\ -<%if reqdate%> - \textbf{Consegna} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordine numero} & <%ordnumber%> + \textbf{Data} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Consegna} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Ordine numero} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -161,10 +161,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantit\`a} & \textbf{Unit\`a} & \textbf{Prezzo} & \textbf{Totale riga} \\ -<%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}{10cm}{Xr@{}} - \textbf{Totale righe} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%>: <%taxrate%>\% su <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Totale righe} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?>: <?lsmb taxrate ?>\% su <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Totale ordine} & \textbf{<%ordtotal%>}\\ + \textbf{Totale ordine} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Tutti i prezzi sono espressi in valuta \textbf{<%currency%>}. + Tutti i prezzi sono espressi in valuta \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Italian-receipt.tex b/templates/Italian-receipt.tex index 3baf6d7a..783eaa44 100755 --- a/templates/Italian-receipt.tex +++ b/templates/Italian-receipt.tex @@ -21,56 +21,56 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Fattura Numero} & \textbf{Data} & \textbf{Dovuto} & \textbf{Applicato} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Italian-request_quotation.html b/templates/Italian-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Italian-request_quotation.html +++ b/templates/Italian-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Italian-request_quotation.tex b/templates/Italian-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Italian-request_quotation.tex +++ b/templates/Italian-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Italian-sales_order.html b/templates/Italian-sales_order.html index af79e81c..5f224987 100755 --- a/templates/Italian-sales_order.html +++ b/templates/Italian-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Data ordine</th><td width=10> </td><td><%orddate%></td> + <th align=right>Data ordine</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Consegna</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Consegna</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordine numero</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordine numero</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Ordinato da:</th> <th align=left><font color=ffffff>Recapito:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Numero</th> @@ -108,16 +108,16 @@ <th><font color=ffffff>Totale riga</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -125,15 +125,15 @@ <tr> <th colspan=4 align=right>Totale righe</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%>: <%taxrate%>% su <%taxbase%></th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?>: <?lsmb taxrate ?>% su <?lsmb taxbase ?></th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -141,15 +141,15 @@ </tr> <tr> - <td colspan=3><!--Termine: <b><%terms%></b> giorni.--></td> + <td colspan=3><!--Termine: <b><?lsmb terms ?></b> giorni.--></td> <th colspan=2 align=right>Totale</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>L'IVA è inclusa nel Totale</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -161,15 +161,15 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Note</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Tutti i prezzi sono espressi in valuta <b><%currency%></b>. - <br><%shippingpoint%> + Tutti i prezzi sono espressi in valuta <b><?lsmb currency ?></b>. + <br><?lsmb shippingpoint ?> </td> </tr> @@ -181,7 +181,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><!--<font size=-3> Verrà applicato un 10% di commissione sulla cancellazione dell'ordine diff --git a/templates/Italian-sales_order.tex b/templates/Italian-sales_order.tex index ae488857..a4383ff7 100755 --- a/templates/Italian-sales_order.tex +++ b/templates/Italian-sales_order.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rr@{}} - Telefono & <%tel%>\\ - Fax & <%fax%> + Telefono & <?lsmb tel ?>\\ + Fax & <?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 48%> +<?lsmb pagebreak 65 27 48 ?> \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}rlrrr@{}} \textbf{Codice} & \textbf{Descrzione} & \textbf{Quantit\`a} & \textbf{Unit\`a} & \textbf{Prezzo} & \textbf{Sconto} & \textbf{Totale riga} \\ - & 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{ORDINE DI VENDITA} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data ordine} & <%orddate%> \\ -<%if reqdate%> - \textbf{Consegna} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordine numero} & <%ordnumber%> + \textbf{Data ordine} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Consegna} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Ordine numero} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Qt\`a} & \textbf{Un.} & \textbf{Prezzo} & \textbf{Sconto} & \textbf{Tot. riga} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -116,24 +116,24 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totale righe} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%>: <%taxrate%>\% su <%taxbase%> & <%tax%>\\ -<%end tax%> + \textbf{Totale righe} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?>: <?lsmb taxrate ?>\% su <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - \textbf{Totale ordine} & \textbf{<%ordtotal%>}\\ + \textbf{Totale ordine} & \textbf{<?lsmb ordtotal ?>}\\ \end{tabularx} \vspace{0.3cm} \hfill - Tutti i prezzi sono in valuta \textbf{<%currency%>}. + Tutti i prezzi sono in valuta \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Italian-sales_quotation.html b/templates/Italian-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Italian-sales_quotation.html +++ b/templates/Italian-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Italian-sales_quotation.tex b/templates/Italian-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Italian-sales_quotation.tex +++ b/templates/Italian-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Italian-statement.html b/templates/Italian-statement.html index 8b89957e..798b5f08 100755 --- a/templates/Italian-statement.html +++ b/templates/Italian-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>E S T R A T T O C O N T O</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Fattura Numero</th> - <th width=15%>Data</th> - <th width=15%>Dovuto</th> - <th width=10%>Corrente</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Data</th> + <th width=15 ?>Dovuto</th> + <th width=10 ?>Corrente</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Totale Dovuto</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Per favore intestare gli assegni a: <b><%company%></b>. + <td>Per favore intestare gli assegni a: <b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/Italian-statement.tex b/templates/Italian-statement.tex index d005047d..efa159d3 100755 --- a/templates/Italian-statement.tex +++ b/templates/Italian-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\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{Subtotale} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotale} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%statementdate%>} +\markright{<?lsmb company ?>\hfill <?lsmb statementdate ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Fattura Numero} & \textbf{Data} & \textbf{Dovuto} & \textbf{Scaduto} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + carried forward from <?lsmb lastpage ?> & & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -74,31 +74,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 @@ -106,18 +106,18 @@ Fax: <%customerfax%> \textbf{E S T R A T T O} \parbox{0.3cm}{\hfill} \textbf{C O N T O} \hfill -\hfill <%statementdate%> +\hfill <?lsmb statementdate ?> \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Fattura Numero} & \textbf{Data} & \textbf{Dovuto} & \textbf{Corrente} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotale} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotale} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -125,12 +125,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totale Dovuto} & <%total%> + \textbf{Totale Dovuto} & <?lsmb total ?> \end{tabularx} \vfill -Per favore intestare gli assegni a: <%company%> +Per favore intestare gli assegni a: <?lsmb company ?> \renewcommand{\thefootnote}{\fnsymbol{footnote}} diff --git a/templates/Italian-timecard.html b/templates/Italian-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Italian-timecard.html +++ b/templates/Italian-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Italian-timecard.tex b/templates/Italian-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Italian-timecard.tex +++ b/templates/Italian-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Italian-work_order.html b/templates/Italian-work_order.html index e665263e..c5b35150 100755 --- a/templates/Italian-work_order.html +++ b/templates/Italian-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Italian-work_order.tex b/templates/Italian-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Italian-work_order.tex +++ b/templates/Italian-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Norwegian-ap_transaction.html b/templates/Norwegian-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Norwegian-ap_transaction.html +++ b/templates/Norwegian-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Norwegian-ap_transaction.tex b/templates/Norwegian-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Norwegian-ap_transaction.tex +++ b/templates/Norwegian-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Norwegian-ar_transaction.html b/templates/Norwegian-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Norwegian-ar_transaction.html +++ b/templates/Norwegian-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Norwegian-ar_transaction.tex b/templates/Norwegian-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Norwegian-ar_transaction.tex +++ b/templates/Norwegian-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} diff --git a/templates/Norwegian-balance_sheet.html b/templates/Norwegian-balance_sheet.html index 20474329..16e36cb0 100755 --- a/templates/Norwegian-balance_sheet.html +++ b/templates/Norwegian-balance_sheet.html @@ -2,28 +2,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>B A L A N S E -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -33,22 +33,22 @@ <tr valign=top> <th align=left colspan=2>TOTALE AKTIVA</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -59,22 +59,22 @@ <tr valign=top> <td></td> <th align=left>Total gjeld</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>EGENKAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -85,14 +85,14 @@ <tr valign=top> <td></td> <th align=left>Total egenkapital</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL GJELD OG EGENKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Norwegian-bin_list.html b/templates/Norwegian-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Norwegian-bin_list.html +++ b/templates/Norwegian-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Norwegian-bin_list.tex b/templates/Norwegian-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Norwegian-bin_list.tex +++ b/templates/Norwegian-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Norwegian-check.tex b/templates/Norwegian-check.tex index 2af7f53b..f3a49db1 100755 --- a/templates/Norwegian-check.tex +++ b/templates/Norwegian-check.tex @@ -21,60 +21,60 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Faktura nr.} & \textbf{Faktura dato} & \textbf{Skyldig} & \textbf{Betalt} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Norwegian-income_statement.html b/templates/Norwegian-income_statement.html index 945d19a5..4d893e3c 100755 --- a/templates/Norwegian-income_statement.html +++ b/templates/Norwegian-income_statement.html @@ -2,33 +2,33 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>D R I F T S R E G N S K A P -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2><br></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> <tr> <th align=left colspan=2>INNTEKTER<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -39,22 +39,22 @@ <tr valign=top> <td> </td> <th align=left>Totale inntekter</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>UTGIFTER<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -65,14 +65,14 @@ <tr valign=top> <td> </td> <th align=left>Totale utgifter</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>RESULTAT</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Norwegian-invoice.html b/templates/Norwegian-invoice.html index 8ac71439..59a829c0 100755 --- a/templates/Norwegian-invoice.html +++ b/templates/Norwegian-invoice.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -33,11 +33,11 @@ tel, fax, signature, username, businessnumber --> <table> <tr> - <th align=right>Fakturanr.:</th><td></td><td><%invnumber%></td></tr> + <th align=right>Fakturanr.:</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> - <th align=right>Fakturadato:</th><td width=10> </td><td><%invdate%></td> + <th align=right>Fakturadato:</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> <td> @@ -49,37 +49,37 @@ tel, fax, signature, username, businessnumber --> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Fakturaadresse:</th> - <%if shiptoname%> + <?lsmb if shiptoname ?> <th align=left><font color=ffffff>Leveringsadresse:</th> - <%end shiptoname%> + <?lsmb end shiptoname ?> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <%if shiptoname%> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <?lsmb if shiptoname ?> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> - <%end shiptoname%> + <?lsmb end shiptoname ?> </tr> </table> </td> @@ -87,7 +87,7 @@ tel, fax, signature, username, businessnumber --> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Nummer</th> <th align=left><font color=ffffff>Beskrivelse</th> @@ -98,23 +98,23 @@ tel, fax, signature, username, businessnumber --> <th><font color=ffffff>Sum</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -123,22 +123,22 @@ to show the percentage for a discount use <%discountrate%> <tr> <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Allerede betalt</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -146,9 +146,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3>Betalingsfrist <b><%terms%></b> dager</td> + <td colspan=3>Betalingsfrist <b><?lsmb terms ?></b> dager</td> <th colspan=2 align=right> betale</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -162,15 +162,15 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Merk</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle priser i <b><%currency%></b> - <br><%shippingpoint%> + Alle priser i <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -185,7 +185,7 @@ to show the percentage for a discount use <%discountrate%> <!-- 20030814/Marius Kjeldahl: Commented out check statement as checks are dead in Norway AFAIK --> -<!-- Utsted vennligst sjekk til <%company%> p norsk bank --> +<!-- Utsted vennligst sjekk til <?lsmb company ?> p norsk bank --> <br> </th> </tr> @@ -195,10 +195,10 @@ are dead in Norway AFAIK --> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Betaling innen <%terms%> dager fra fakturadato. + Betaling innen <?lsmb terms ?> dager fra fakturadato. Etterskuddsrenter beregnes med 1% per pbegynt mned. </font> @@ -209,11 +209,11 @@ are dead in Norway AFAIK --> </td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Organisasjonsnr.: <%taxnumber%></th> + <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> Organisasjonsnr.: <?lsmb taxnumber ?></th> </tr> -<%end tax%> +<?lsmb end tax ?> </table> diff --git a/templates/Norwegian-invoice.tex b/templates/Norwegian-invoice.tex index bd105f84..bed0ec62 100755 --- a/templates/Norwegian-invoice.tex +++ b/templates/Norwegian-invoice.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 <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} & \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -76,74 +76,74 @@ \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 ?> \vspace{0.5cm} -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> +<?lsmb if customerphone ?> +Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> -<%if customerfax%> -Faks: <%customerfax%> -<%end customerfax%> +<?lsmb if customerfax ?> +Faks: <?lsmb customerfax ?> +<?lsmb end customerfax ?> -<%email%> +<?lsmb email ?> } \parbox[t]{7.5cm}{ \textbf{Leveringsadresse} \vspace{0.5cm} -<%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} \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%> -Faks: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptofax ?> +Faks: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> -<%shiptoemail%> +<?lsmb shiptoemail ?> } \hfill @@ -155,10 +155,10 @@ Faks: <%shiptofax%> \vspace{1cm} \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%invdate%> \\ - \textbf{Fakturanr.} & <%invnumber%> \\ - \textbf{Ordrenr.} & <%ordnumber%> \\ - \textbf{Kontakt} & <%employee%> + \textbf{Dato} & <?lsmb invdate ?> \\ + \textbf{Fakturanr.} & <?lsmb invnumber ?> \\ + \textbf{Ordrenr.} & <?lsmb ordnumber ?> \\ + \textbf{Kontakt} & <?lsmb employee ?> \end{tabular} \vspace{1cm} @@ -166,10 +166,10 @@ Faks: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} & \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -180,44 +180,44 @@ Faks: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Betalt} & - <%paid%> \\ -<%end paid%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + \textbf{Betalt} & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline - \textbf{Skyldig} & \textbf{<%total%>} \\ + \textbf{Skyldig} & \textbf{<?lsmb total ?>} \\ \end{tabularx} \vspace{0.3cm} \hfill - Alle priser i \textbf{<%currency%>} valuta. + Alle priser i \textbf{<?lsmb currency ?>} valuta. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } \vfill -<%if paid%> +<?lsmb if paid ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Innbetalinger} & & & \\ \hline \textbf{Dato} & \textbf{Konto} & \textbf{Kilde} & \textbf{Sum} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> +<?lsmb end paid ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid ?> \end{tabularx} -<%end paid%> +<?lsmb end paid ?> \vspace{1cm} @@ -226,12 +226,12 @@ Faks: <%shiptofax%> \renewcommand{\thefootnote}{\fnsymbol{footnote}} \footnotetext[1]{\tiny -Betalingen m betales innen <%terms%> dager fra fakturadato. Ved +Betalingen m betales innen <?lsmb terms ?> dager fra fakturadato. Ved forsinket betaling belastes en mnedlig rente p 1.5\% per mned, -fra <%duedate%> inntil betalingen er fullstendig. Varer som returneres +fra <?lsmb duedate ?> inntil betalingen er fullstendig. Varer som returneres belastes med 10\% returgebyr. Retur m forhndsgodkjennes fra -<%company%> fr varene returneres. Retur m sendes forhndsbetalt og -m vre forsikret. <%company%> er ikke ansvarlig for transportskader. +<?lsmb company ?> fr varene returneres. Retur m sendes forhndsbetalt og +m vre forsikret. <?lsmb company ?> er ikke ansvarlig for transportskader. } \end{document} diff --git a/templates/Norwegian-packing_list.html b/templates/Norwegian-packing_list.html index 6f9be8e7..2dfc2893 100755 --- a/templates/Norwegian-packing_list.html +++ b/templates/Norwegian-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -30,11 +30,11 @@ <td align=right> <table> <tr> - <th align=right>Dato</th><td width=10> </td><td><%invdate%></td> + <th align=right>Dato</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr> + <th align=right>Nummer</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -47,16 +47,16 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Leveringsadresse:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> </td> </tr> </table> @@ -70,7 +70,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Nummer</th> <th align=left><font color=ffffff>Beskrivelse</th> @@ -78,14 +78,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -97,14 +97,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Note</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> @@ -114,12 +114,12 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Retur skal sendes forskuddsbetalt og vre forsvarlig pakket. -<%company%> er ikke vre ansvarlig for skader under +<?lsmb company ?> er ikke vre ansvarlig for skader under transport. </font> diff --git a/templates/Norwegian-packing_list.tex b/templates/Norwegian-packing_list.tex index e741987d..38143ccd 100755 --- a/templates/Norwegian-packing_list.tex +++ b/templates/Norwegian-packing_list.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,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -79,9 +79,9 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%invdate%> \\ - \textbf{Fakturanr.} & <%invnumber%> \\ - \textbf{Kundeid.} & <%customer_id%> + \textbf{Dato} & <?lsmb invdate ?> \\ + \textbf{Fakturanr.} & <?lsmb invnumber ?> \\ + \textbf{Kundeid.} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -89,10 +89,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} & \textbf{Enhet} & \textbf{Kurv} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -101,9 +101,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -115,8 +115,8 @@ \footnotetext[1]{\tiny Varer som returneres belastes med 10\% returgebyr. Retur m forhndsgodkjennes fra -<%company%> fr varene returneres. Retur m sendes forhndsbetalt og -m vre forsikret. <%company%> er ikke ansvarlig for transportskader. +<?lsmb company ?> fr varene returneres. Retur m sendes forhndsbetalt og +m vre forsikret. <?lsmb company ?> er ikke ansvarlig for transportskader. } \end{document} diff --git a/templates/Norwegian-pick_list.html b/templates/Norwegian-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Norwegian-pick_list.html +++ b/templates/Norwegian-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Norwegian-pick_list.tex b/templates/Norwegian-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Norwegian-pick_list.tex +++ b/templates/Norwegian-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Norwegian-pos_invoice.txt b/templates/Norwegian-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/Norwegian-pos_invoice.txt +++ b/templates/Norwegian-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Norwegian-purchase_order.html b/templates/Norwegian-purchase_order.html index 3991f555..2837442f 100755 --- a/templates/Norwegian-purchase_order.html +++ b/templates/Norwegian-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon: <%tel%> - <br>Telefaks: <%fax%> + Telefon: <?lsmb tel ?> + <br>Telefaks: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Ordre dato</th><td width=10> </td><td><%orddate%></td> + <th align=right>Ordre dato</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Leveres innen</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Leveres innen</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordrenr.</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordrenr.</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,21 +58,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>To:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> </table> @@ -85,7 +85,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -96,19 +96,19 @@ <th><font color=ffffff>Sum</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -116,15 +116,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -132,9 +132,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Betalingsfirst <b><%terms%></b> dager</td> + <td colspan=2>Betalingsfirst <b><?lsmb terms ?></b> dager</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -147,15 +147,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Note</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle priser i valuta <b><%currency%></b> - <br><%shippingpoint%> + Alle priser i valuta <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -167,17 +167,17 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> -Betaling skal skje innen <%terms%> dager fra +Betaling skal skje innen <?lsmb terms ?> dager fra fakturadato. Forsinkelsesrente pregnes med 1.5% per mned fra fakturadato inntil det fulle belpet er betalt. Ved retur belastes 10% returgebyr. Retur av varer m -forhndsgodkjennes av <%company%> fr varer sendes. Vareretur m -sendes forhndsbetalt og med tilstrekkelig forsikring. <%company%> er +forhndsgodkjennes av <?lsmb company ?> fr varer sendes. Vareretur m +sendes forhndsbetalt og med tilstrekkelig forsikring. <?lsmb company ?> er ikke ansvarlig for transportskader. </font> diff --git a/templates/Norwegian-purchase_order.tex b/templates/Norwegian-purchase_order.tex index e613f158..171fcf3e 100755 --- a/templates/Norwegian-purchase_order.tex +++ b/templates/Norwegian-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{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{Nummer} & \textbf{Beskrivelse} & \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 N K J P S} \parbox{0.3cm}{\hfill} \textbf{O R D R E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%orddate%> \\ -<%if reqdate%> - \textbf{Levers innen} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordrenr.} & <%ordnumber%> + \textbf{Dato} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Levers innen} & <?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{Beskrivelse} & \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{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 - 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 ?> } diff --git a/templates/Norwegian-receipt.tex b/templates/Norwegian-receipt.tex index 1914cec5..4a250441 100755 --- a/templates/Norwegian-receipt.tex +++ b/templates/Norwegian-receipt.tex @@ -21,56 +21,56 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Fakturanr.} & \textbf{Fakturadato} & \textbf{Skyldig} & \textbf{Betalt} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Norwegian-request_quotation.html b/templates/Norwegian-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Norwegian-request_quotation.html +++ b/templates/Norwegian-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Norwegian-request_quotation.tex b/templates/Norwegian-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Norwegian-request_quotation.tex +++ b/templates/Norwegian-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Norwegian-sales_order.html b/templates/Norwegian-sales_order.html index 9a6e8318..b189d4c4 100755 --- a/templates/Norwegian-sales_order.html +++ b/templates/Norwegian-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon: <%tel%> - <br>Telefaks: <%fax%> + Telefon: <?lsmb tel ?> + <br>Telefaks: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Ordre dato</th><td width=10> </td><td><%orddate%></td> + <th align=right>Ordre dato</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Leveringsdato</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Leveringsdato</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordrenr.</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordrenr.</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>To:</th> <th align=left><font color=ffffff>Ship To:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -109,43 +109,43 @@ <th><font color=ffffff>Sum</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -153,15 +153,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3>Betalingsfrist <b><%terms%></b> dager</td> + <td colspan=3>Betalingsfrist <b><?lsmb terms ?></b> dager</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>Mva er inkludert i Total</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -173,15 +173,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Note</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle priser i valuta <b><%currency%></b> - <br><%shippingpoint%> + Alle priser i valuta <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -193,7 +193,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Ved spesialtilpassede ordre (pkrevd av kunden), skreddersydde produkter, utvidede eller diff --git a/templates/Norwegian-sales_order.tex b/templates/Norwegian-sales_order.tex index e43fe66a..00e4f84a 100755 --- a/templates/Norwegian-sales_order.tex +++ b/templates/Norwegian-sales_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,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 48%> +<?lsmb pagebreak 65 27 48 ?> \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}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} & \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \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 \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{S A L G S} \parbox{0.3cm}{\hfill} \textbf{O R D R E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Ordre dato} & <%orddate%> \\ -<%if reqdate%> - \textbf{Leveres innen} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordrenr.} & <%ordnumber%> + \textbf{Ordre dato} & <?lsmb orddate ?> \\ +<?lsmb if reqdate ?> + \textbf{Leveres innen} & <?lsmb reqdate ?> \\ +<?lsmb end reqdate ?> + \textbf{Ordrenr.} & <?lsmb ordnumber ?> \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} & \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?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 - 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 ?> } diff --git a/templates/Norwegian-sales_quotation.html b/templates/Norwegian-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Norwegian-sales_quotation.html +++ b/templates/Norwegian-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Norwegian-sales_quotation.tex b/templates/Norwegian-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Norwegian-sales_quotation.tex +++ b/templates/Norwegian-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Norwegian-statement.html b/templates/Norwegian-statement.html index 62ea334c..60899fbd 100755 --- a/templates/Norwegian-statement.html +++ b/templates/Norwegian-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Telefon: <%tel%> - <br>Telefaks: <%fax%> + Telefon: <?lsmb tel ?> + <br>Telefaks: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>O V E R S I K T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Telefon: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Telefaks: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Telefon: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Telefaks: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Faktura #</th> - <th width=15%>Dato</th> - <th width=15%>Betalingsfrist</th> - <th width=10%>Nvrende</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Dato</th> + <th width=15 ?>Betalingsfrist</th> + <th width=10 ?>Nvrende</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Totalt utestende</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> diff --git a/templates/Norwegian-statement.tex b/templates/Norwegian-statement.tex index b3f35648..52ec0a71 100755 --- a/templates/Norwegian-statement.tex +++ b/templates/Norwegian-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel. & <%tel%>\\ - Faks & <%fax%> + Tel. & <?lsmb tel ?>\\ + Faks & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\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{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%statementdate%>} +\markright{<?lsmb company ?>\hfill <?lsmb statementdate ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + carried forward from <?lsmb lastpage ?> & & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -74,31 +74,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 @@ -106,18 +106,18 @@ Fax: <%customerfax%> \textbf{O V E R S I K T} \hfill -\hfill <%statementdate%> +\hfill <?lsmb statementdate ?> \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Faktura \#} & \textbf{Dato} & \textbf{Frist} & \textbf{Skyldig} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -125,7 +125,7 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totalt skyldig} & <%total%> + \textbf{Totalt skyldig} & <?lsmb total ?> \end{tabularx} \vfill diff --git a/templates/Norwegian-timecard.html b/templates/Norwegian-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Norwegian-timecard.html +++ b/templates/Norwegian-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Norwegian-timecard.tex b/templates/Norwegian-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Norwegian-timecard.tex +++ b/templates/Norwegian-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Norwegian-work_order.html b/templates/Norwegian-work_order.html index e665263e..c5b35150 100755 --- a/templates/Norwegian-work_order.html +++ b/templates/Norwegian-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Norwegian-work_order.tex b/templates/Norwegian-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Norwegian-work_order.tex +++ b/templates/Norwegian-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Russian-ap_transaction.html b/templates/Russian-ap_transaction.html index b66453fe..c3fc4887 100755 --- a/templates/Russian-ap_transaction.html +++ b/templates/Russian-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - : <%tel%> - <br>: <%fax%> + : <?lsmb tel ?> + <br>: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>- No</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap></th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap></th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left> No</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap></th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right></th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right></th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right></th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> + <?lsmb text_amount ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left></th> <th align=left></th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2> .</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Russian-ap_transaction.tex b/templates/Russian-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Russian-ap_transaction.tex +++ b/templates/Russian-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Russian-ar_transaction.html b/templates/Russian-ar_transaction.html index 2b3ed10a..65ede5a9 100755 --- a/templates/Russian-ar_transaction.html +++ b/templates/Russian-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - : <%tel%> - <br>: <%fax%> + : <?lsmb tel ?> + <br>: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>- No</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap></th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap></th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left> No</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap></th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right></th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right></th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right></th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> + <?lsmb text_amount ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left></th> <th align=left></th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2> .</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Russian-ar_transaction.tex b/templates/Russian-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Russian-ar_transaction.tex +++ b/templates/Russian-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} diff --git a/templates/Russian-balance_sheet.html b/templates/Russian-balance_sheet.html index d2526016..0f3349dd 100755 --- a/templates/Russian-balance_sheet.html +++ b/templates/Russian-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p> -<br>as at <%this_period%> +<br>as at <?lsmb this_period ?> </h2> -<%if department%> -<h4>: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2><br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2> </th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4><b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left> </th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4><br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,13 +89,13 @@ <tr valign=top> <td></td> <th align=left> </th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2> </th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Russian-bin_list.html b/templates/Russian-bin_list.html index d7b4f76a..7d83fdfc 100755 --- a/templates/Russian-bin_list.html +++ b/templates/Russian-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - : <%tel%> - <br>: <%fax%> + : <?lsmb tel ?> + <br>: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff></th> - <th align=left width=50%><font color=ffffff> </th> + <th align=left width=50 ?><font color=ffffff></th> + <th align=left width=50 ?><font color=ffffff> </th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> - <%if contact%> - <br>: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -114,32 +114,32 @@ <th width=17% align=left nowrap> </th> <th width=17% align=left nowrap> </th> <th width=17% align=left nowrap></th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap></th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left> </th> <th width=15% align=left> </th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -149,7 +149,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>.</th> <th align=left><font color=ffffff></th> @@ -162,19 +162,19 @@ <th><font color=ffffff>"Bin"</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Russian-bin_list.tex b/templates/Russian-bin_list.tex index d9d703ac..3a9f3d25 100755 --- a/templates/Russian-bin_list.tex +++ b/templates/Russian-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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 ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Russian-check.tex b/templates/Russian-check.tex index c92dd218..9cb2a3f2 100755 --- a/templates/Russian-check.tex +++ b/templates/Russian-check.tex @@ -21,58 +21,58 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Russian-income_statement.html b/templates/Russian-income_statement.html index 0438d9af..6b255052 100755 --- a/templates/Russian-income_statement.html +++ b/templates/Russian-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p> / -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4> No: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4> No: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2><br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left> </th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2><br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left> </th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2> / ()</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Russian-invoice.html b/templates/Russian-invoice.html index f59c2219..4355eea2 100755 --- a/templates/Russian-invoice.html +++ b/templates/Russian-invoice.html @@ -6,7 +6,7 @@ <td> </td> <td align=right> -<table width=50%> +<table width=50 ?> <tr> <td align=right> <font size=1> @@ -34,24 +34,24 @@ <tr> <td> </td> <td colspan=3> - <h3>- N 000<%invnumber%> <%invdate%></h3> + <h3>- N 000<?lsmb invnumber ?> <?lsmb invdate ?></h3> </th> </tr> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> - : <%company%> - <br>: <%address%> + : <?lsmb company ?> + <br>: <?lsmb address ?> <br> (): <br> : - <br> : <%shiptoname%> + <br> : <?lsmb shiptoname ?> <br> - : - <br>: <%name%> - <br>: <%address1%> + <br>: <?lsmb name ?> + <br>: <?lsmb address1 ?> <br> (): </td> </tr> @@ -66,7 +66,7 @@ <td> <table border=1 width=100% cellpadding=2 cellspacing=0> <tr> - <td align=center width=90%><font size=1> ( , )</font></td> + <td align=center width=90 ?><font size=1> ( , )</font></td> <td align=center><font size=1>- <br>-<br>-<br>-<br></font></td> <td align=center><font size=1>-<br>-<br>-<br></font></td> <td align=center><font size=1> () </font></td> @@ -93,26 +93,26 @@ <td align=center>11</td> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><font size=1><%description%></font></td> + <td><font size=1><?lsmb description ?></font></td> <td align=center>.</td> - <td align=right><%qty%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> <td align=right> </td> <td align=right> </td> <td align=right> </td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb linetotal ?></td> <td><font size=1> </font></td> <td align=right><font size=1> </font></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <th colspan=7 align=right> </th> <td align=right> </td> - <td align=right><%subtotal%></td> + <td align=right><?lsmb subtotal ?></td> <td colspan=2> </td> </tr> @@ -131,9 +131,9 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> - <td width=50%> + <td width=50 ?> <nobr> ____________________ </td> <td align=right> diff --git a/templates/Russian-invoice.tex b/templates/Russian-invoice.tex index 4a7cb1ff..7e5119dd 100755 --- a/templates/Russian-invoice.tex +++ b/templates/Russian-invoice.tex @@ -29,9 +29,9 @@ \parbox{\textwidth}{ \tiny \rule[1.5em]{\textwidth}{0.5pt} -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <?lsmb duedate ?> until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. +<?lsmb company ?> will not be responsible for damages during transit. } } @@ -39,43 +39,43 @@ A return authorization must be obtained from <%company%> before goods are return \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} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] - & carried forward from page <%lastpage%> & & & & & & <%sumcarriedforward%> \\ [0.5em] -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & & <?lsmb sumcarriedforward ?> \\ [0.5em] +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -85,63 +85,63 @@ A return authorization must be obtained from <%company%> before goods are return \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -157,8 +157,8 @@ Fax: <%shiptofax%> & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -167,10 +167,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> & - <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb deliverydate ?> & + <?lsmb qty ?> & <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -181,47 +181,47 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - Paid & - <%paid%> \\ -<%end paid%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + Paid & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline -<%if total%> - Balance Due & <%total%> -<%end total%> +<?lsmb if total ?> + Balance Due & <?lsmb total ?> +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } \vfill -<%if paid%> +<?lsmb if paid ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Payments} & & & \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> +<?lsmb end paid ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid ?> \end{tabularx} -<%end paid%> +<?lsmb end paid ?> \vspace{1cm} diff --git a/templates/Russian-packing_list.html b/templates/Russian-packing_list.html index 4f2d2ad8..386d9a13 100755 --- a/templates/Russian-packing_list.html +++ b/templates/Russian-packing_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - : <%tel%> - <br>: <%fax%> + : <?lsmb tel ?> + <br>: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -95,20 +95,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -118,7 +118,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>.</th> <th align=left><font color=ffffff></th> @@ -129,17 +129,17 @@ <th><font color=ffffff>"Bin"</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Russian-packing_list.tex b/templates/Russian-packing_list.tex index 6df4b657..e18bc745 100755 --- a/templates/Russian-packing_list.tex +++ b/templates/Russian-packing_list.tex @@ -29,34 +29,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -70,28 +70,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -104,24 +104,24 @@ \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -130,10 +130,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -142,7 +142,7 @@ \vspace{12pt} -<%notes%> +<?lsmb notes ?> } @@ -153,9 +153,9 @@ \footnotetext[1]{\tiny Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit.} +<?lsmb company ?> will not be responsible for damages during transit.} \end{document} diff --git a/templates/Russian-pick_list.html b/templates/Russian-pick_list.html index 05008fce..5232482c 100755 --- a/templates/Russian-pick_list.html +++ b/templates/Russian-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Russian-pick_list.tex b/templates/Russian-pick_list.tex index 95227e08..fdd4614e 100755 --- a/templates/Russian-pick_list.tex +++ b/templates/Russian-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -72,28 +72,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -108,18 +108,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Russian-pos_invoice.txt b/templates/Russian-pos_invoice.txt index ec60c2eb..12c58619 100755 --- a/templates/Russian-pos_invoice.txt +++ b/templates/Russian-pos_invoice.txt @@ -1,48 +1,48 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> - : <%till align=left width=3%> : <%tel%> + : <?lsmb till align=left width=3 ?> : <?lsmb tel ?> -: <%employee%> +: <?lsmb employee ?> -<%invtime%><%invnumber align=right width=16%> +<?lsmb invtime ?><?lsmb invnumber align=right width=16 ?> - -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> - : <%totalqty%> -<%if taxincluded%> + : <?lsmb totalqty ?> +<?lsmb if taxincluded ?> --------------- - : <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + : <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - : <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> -<%foreach payment%> - : <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - : <%change align=right width=9%> -<%end change%> -<%if total%> - : <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % -<%end discount%> + : <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> +<?lsmb foreach payment ?> + : <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + : <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + : <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % +<?lsmb end discount ?> ! -<%if taxincluded%> +<?lsmb if taxincluded ?> . -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Russian-purchase_order.html b/templates/Russian-purchase_order.html index 42d667f0..f0019698 100755 --- a/templates/Russian-purchase_order.html +++ b/templates/Russian-purchase_order.html @@ -5,7 +5,7 @@ <td> </td> <td colspan=3> <br> - <h3> N 000<%ordnumber%> <%orddate%></h3> + <h3> N 000<?lsmb ordnumber ?> <?lsmb orddate ?></h3> <hr> </th> </tr> @@ -13,11 +13,11 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> - : <b><%company%></b> - <br>: <b> <%name%></b> + : <b><?lsmb company ?></b> + <br>: <b> <?lsmb name ?></b> </td> </tr> @@ -32,27 +32,27 @@ <table border=1 width=100% cellpadding=2 cellspacing=0> <tr> <th>No.</th> - <th width=90%></th> + <th width=90 ?></th> <th>-</th> <th>.</th> <th></th> <th></th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=center>.</td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <th colspan=5 align=right>:</th> - <th align=right><%subtotal%></th> + <th align=right><?lsmb subtotal ?></th> </tr> </table> @@ -69,15 +69,15 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td colspan=2> -<nobr> ___, <%subtotal%> . +<nobr> ___, <?lsmb subtotal ?> . </td> </tr> <tr> <th colspan=2 align=left> -<%text_amount%> +<?lsmb text_amount ?> </th> </tr> <tr> diff --git a/templates/Russian-purchase_order.tex b/templates/Russian-purchase_order.tex index 79975fba..2e3ddd1d 100755 --- a/templates/Russian-purchase_order.tex +++ b/templates/Russian-purchase_order.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%sumcarriedforward%> \\ + Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%ordnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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 ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.5cm} -<%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%> -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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.5cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb 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 @@ -142,7 +142,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -151,10 +151,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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{tabularx} @@ -165,24 +165,24 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%ordtotal%>\\ + Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Russian-receipt.tex b/templates/Russian-receipt.tex index 7f25a218..24f7d967 100755 --- a/templates/Russian-receipt.tex +++ b/templates/Russian-receipt.tex @@ -21,57 +21,57 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Russian-request_quotation.html b/templates/Russian-request_quotation.html index ce164351..83162598 100755 --- a/templates/Russian-request_quotation.html +++ b/templates/Russian-request_quotation.html @@ -8,7 +8,7 @@ <td> </td> <td colspan=3> <br> - <h3> N 000<%quonumber%> <%quodate%></h3> + <h3> N 000<?lsmb quonumber ?> <?lsmb quodate ?></h3> <hr> </th> </tr> @@ -16,11 +16,11 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> - : <b><%company%></b> - <br>:<b> <%name%></b> + : <b><?lsmb company ?></b> + <br>:<b> <?lsmb name ?></b> </td> </tr> @@ -35,27 +35,27 @@ <table border=1 width=100% cellpadding=2 cellspacing=0> <tr> <th>No.</th> - <th width=90%></th> + <th width=90 ?></th> <th>-</th> <th>.</th> <th></th> <th></th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=center>.</td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <th colspan=5 align=right>:</th> - <th align=right><%subtotal%></th> + <th align=right><?lsmb subtotal ?></th> </tr> </table> @@ -72,7 +72,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan=2> <hr height=1> diff --git a/templates/Russian-request_quotation.tex b/templates/Russian-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Russian-request_quotation.tex +++ b/templates/Russian-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Russian-sales_order.html b/templates/Russian-sales_order.html index 9a961332..66cf75c7 100755 --- a/templates/Russian-sales_order.html +++ b/templates/Russian-sales_order.html @@ -5,7 +5,7 @@ <td> </td> <td align=center> -<table width=90%> +<table width=90 ?> <tr> <td align=center> <font size=1> @@ -36,13 +36,13 @@ <tr> <td> <br> -<%company%> +<?lsmb company ?> </td> - <td width=1%> + <td width=1 ?> _______<br> . No </td> - <td width=1%> + <td width=1 ?> <br> 40802810701010000976 </td> @@ -71,7 +71,7 @@ _______<br> <td> </td> <td colspan=3> <br> - <h3> N 000<%ordnumber%> <%orddate%></h3> + <h3> N 000<?lsmb ordnumber ?> <?lsmb orddate ?></h3> <hr> </th> </tr> @@ -79,11 +79,11 @@ _______<br> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> - : <b><%company%></b> - <br>:<b> <%name%></b> + : <b><?lsmb company ?></b> + <br>:<b> <?lsmb name ?></b> </td> </tr> @@ -98,27 +98,27 @@ _______<br> <table border=1 width=100% cellpadding=2 cellspacing=0> <tr> <th>No.</th> - <th width=90%></th> + <th width=90 ?></th> <th>-</th> <th>.</th> <th></th> <th></th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=center>.</td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <th colspan=5 align=right>:</th> - <th align=right><%subtotal%></th> + <th align=right><?lsmb subtotal ?></th> </tr> </table> @@ -135,15 +135,15 @@ _______<br> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td colspan=2> -<nobr> ___, <%subtotal%> . +<nobr> ___, <?lsmb subtotal ?> . </td> </tr> <tr> <th colspan=2 align=left> - <%text_amount%> + <?lsmb text_amount ?> </th> </tr> <tr> diff --git a/templates/Russian-sales_order.tex b/templates/Russian-sales_order.tex index f74d036d..b114fc7c 100755 --- a/templates/Russian-sales_order.tex +++ b/templates/Russian-sales_order.tex @@ -27,43 +27,43 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -152,10 +152,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -166,27 +166,27 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%ordtotal%>\\ + Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Russian-sales_quotation.html b/templates/Russian-sales_quotation.html index f8798ba6..11d62ce7 100755 --- a/templates/Russian-sales_quotation.html +++ b/templates/Russian-sales_quotation.html @@ -8,7 +8,7 @@ <td> </td> <td colspan=3> <br> - <h3> N 000<%quonumber%> <%quodate%></h3> + <h3> N 000<?lsmb quonumber ?> <?lsmb quodate ?></h3> <hr> </th> </tr> @@ -16,11 +16,11 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> - : <b><%company%></b> - <br>:<b> <%name%></b> + : <b><?lsmb company ?></b> + <br>:<b> <?lsmb name ?></b> </td> </tr> @@ -35,27 +35,27 @@ <table border=1 width=100% cellpadding=2 cellspacing=0> <tr> <th>No.</th> - <th width=90%></th> + <th width=90 ?></th> <th>-</th> <th>.</th> <th></th> <th></th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=center>.</td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <th colspan=5 align=right>:</th> - <th align=right><%subtotal%></th> + <th align=right><?lsmb subtotal ?></th> </tr> </table> @@ -72,7 +72,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan=2> <hr height=1> diff --git a/templates/Russian-sales_quotation.tex b/templates/Russian-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Russian-sales_quotation.tex +++ b/templates/Russian-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Russian-statement.html b/templates/Russian-statement.html index 55cf4ff6..851fd8b6 100755 --- a/templates/Russian-statement.html +++ b/templates/Russian-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th></th> <td align=right> <h4> - : <%tel%> - <br>: <%fax%> + : <?lsmb tel ?> + <br>: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4> </h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if customerphone%> - <br>: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,31 +63,31 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left> No</th> <th align=left> No</th> <th align=left></th> - <th width=10%></th> - <th width=10%></th> - <th width=10%></th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=10 ?></th> + <th width=10 ?></th> + <th width=10 ?></th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> -<td><%ordnumber%></td> -<td><%notes%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> +<td><?lsmb ordnumber ?></td> +<td><?lsmb notes ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=9><hr size=1></td> </tr> @@ -97,10 +97,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -109,10 +109,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th> </th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> diff --git a/templates/Russian-statement.tex b/templates/Russian-statement.tex index 4580bd09..7f1efcc4 100755 --- a/templates/Russian-statement.tex +++ b/templates/Russian-statement.tex @@ -29,16 +29,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} @@ -49,32 +49,32 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.45\textwidth}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -84,13 +84,13 @@ Fax: <%customerfax%> \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%notes%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb notes ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{9}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabularx} @@ -98,12 +98,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{.4\textwidth}{Xr@{}} - \textbf{Total outstanding} & \textbf{<%total%>} + \textbf{Total outstanding} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/Russian-timecard.html b/templates/Russian-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Russian-timecard.html +++ b/templates/Russian-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Russian-timecard.tex b/templates/Russian-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Russian-timecard.tex +++ b/templates/Russian-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Russian-work_order.html b/templates/Russian-work_order.html index a9859e3f..6f51f014 100755 --- a/templates/Russian-work_order.html +++ b/templates/Russian-work_order.html @@ -12,7 +12,7 @@ <td> </td> <td colspan=3> <br> - <h3> N 000<%ordnumber%> <%orddate%></h3> + <h3> N 000<?lsmb ordnumber ?> <?lsmb orddate ?></h3> <hr> </th> </tr> @@ -20,11 +20,11 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> - : <b><%company%></b> - <br>:<b> <%name%></b> + : <b><?lsmb company ?></b> + <br>:<b> <?lsmb name ?></b> </td> </tr> @@ -39,27 +39,27 @@ <table border=1 width=100% cellpadding=2 cellspacing=0> <tr> <th>No.</th> - <th width=90%></th> + <th width=90 ?></th> <th>-</th> <th>.</th> <th></th> <th></th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td align=right><?lsmb runningnumber ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=center>.</td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <th colspan=5 align=right>:</th> - <th align=right><%subtotal%></th> + <th align=right><?lsmb subtotal ?></th> </tr> </table> @@ -76,15 +76,15 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td colspan=2> -<nobr> ___, <%subtotal%> . +<nobr> ___, <?lsmb subtotal ?> . </td> </tr> <tr> <th colspan=2 align=left> - <%text_amount%> + <?lsmb text_amount ?> </th> </tr> <tr> diff --git a/templates/Russian-work_order.tex b/templates/Russian-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Russian-work_order.tex +++ b/templates/Russian-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Service-ap_transaction.html b/templates/Service-ap_transaction.html index 449f9d00..021a6d46 100755 --- a/templates/Service-ap_transaction.html +++ b/templates/Service-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,72 +41,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if vendortaxnumber%> - <p>Taxnumber: <%vendortaxnumber%> - <%end vendortaxnumber%> + <?lsmb if vendortaxnumber ?> + <p>Taxnumber: <?lsmb vendortaxnumber ?> + <?lsmb end vendortaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>PO #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -122,48 +122,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -172,7 +172,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -180,11 +180,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -210,30 +210,30 @@ <th>Memo</th> <th>Amount</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -241,7 +241,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Service-ap_transaction.tex b/templates/Service-ap_transaction.tex index 066ea1e8..b2737caf 100755 --- a/templates/Service-ap_transaction.tex +++ b/templates/Service-ap_transaction.tex @@ -13,16 +13,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -33,94 +33,94 @@ \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +, <?lsmb state ?> +<?lsmb end 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 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 ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} diff --git a/templates/Service-ar_transaction.html b/templates/Service-ar_transaction.html index 4cdbaba9..aa219320 100755 --- a/templates/Service-ar_transaction.html +++ b/templates/Service-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,72 +41,72 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> + <?lsmb if state ?> + , <?lsmb state ?> + <?lsmb end state ?> + <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> - <%if customertaxnumber%> - <br>Taxnumber: <%customertaxnumber%> - <%end customertaxnumber%> + <?lsmb if customertaxnumber ?> + <br>Taxnumber: <?lsmb customertaxnumber ?> + <?lsmb end customertaxnumber ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> - <%if ponumber%> + <?lsmb if ponumber ?> <tr> <th align=left>PO #</th> - <td><%ponumber%> </td> + <td><?lsmb ponumber ?> </td> </tr> - <%end ponumber%> - <%if ordnumber%> + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> - <%end ordnumber%> + <?lsmb end ordnumber ?> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -122,48 +122,48 @@ <td> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> <td width=10> </td> - <td align=right><%amount%></td> + <td align=right><?lsmb amount ?></td> <td width=10> </td> - <td><%description%></td> + <td><?lsmb description ?></td> <td width=10> </td> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> <td width=10> </td> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> <td width=10> </td> - <td align=right><%tax%></td> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <tr> <th colspan=2 align=right>Total</th> <td width=10> </td> - <td align=right><%invtotal%></td> + <td align=right><?lsmb invtotal ?></td> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> </td> </tr> @@ -172,7 +172,7 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> @@ -180,11 +180,11 @@ <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> - <%if paid_1%> + <?lsmb if paid_1 ?> <tr> <td> </td> @@ -209,37 +209,37 @@ <th>Source</th> <th>Amount</th> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td align=right><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td align=right><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid_1%> + <?lsmb if paid_1 ?> </table> </td> </tr> </table> </td> </tr> - <%end paid_1%> + <?lsmb end paid_1 ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -247,7 +247,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Service-ar_transaction.tex b/templates/Service-ar_transaction.tex index 31e20fdb..ea55c19e 100755 --- a/templates/Service-ar_transaction.tex +++ b/templates/Service-ar_transaction.tex @@ -13,16 +13,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -33,101 +33,101 @@ \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +, <?lsmb state ?> +<?lsmb end 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 ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Service-balance_sheet.html b/templates/Service-balance_sheet.html index c84ad95a..d467bf8f 100755 --- a/templates/Service-balance_sheet.html +++ b/templates/Service-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BALANCE SHEET -<br>as at <%this_period%> +<br>as at <?lsmb this_period ?> </h2> -<%if department%> -<h4>Department: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Department: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>TOTAL ASSETS</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>TOTAL LIABILITIES</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>TOTAL EQUITY</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Service-bin_list.html b/templates/Service-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Service-bin_list.html +++ b/templates/Service-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Service-bin_list.tex b/templates/Service-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Service-bin_list.tex +++ b/templates/Service-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Service-check.tex b/templates/Service-check.tex index a3950c17..0075922e 100755 --- a/templates/Service-check.tex +++ b/templates/Service-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Service-income_statement.html b/templates/Service-income_statement.html index eab9ff0f..22ff482d 100755 --- a/templates/Service-income_statement.html +++ b/templates/Service-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>INCOME STATEMENT -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>Department: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>Department: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>Project Number: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>Project Number: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>TOTAL INCOME</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>TOTAL EXPENSES</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>INCOME / (LOSS)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Service-invoice.html b/templates/Service-invoice.html index 193dd1f4..964ee538 100755 --- a/templates/Service-invoice.html +++ b/templates/Service-invoice.html @@ -1,19 +1,19 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> - <br>Tel/Fax <%tel%> / <%fax%> + <?lsmb company ?> + <br><?lsmb address ?> + <br>Tel/Fax <?lsmb tel ?> / <?lsmb fax ?> </h4> </td> @@ -31,14 +31,14 @@ <td align=right> <table> <tr> - <th align=right>Date</th><td width=10> </td><td><%invdate%></td> + <th align=right>Date</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Number</th><td></td><td><%invnumber%></td></tr> + <th align=right>Number</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> -<!-- prepared by: <%username%> +<!-- prepared by: <?lsmb username ?> --> </table> @@ -47,21 +47,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>To:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> @@ -76,57 +76,57 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Description</th> <th> </th> <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%description%></td> + <td><?lsmb description ?></td> <td> </td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=3><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <td> </td> <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <td> </td> <th align=right>Subtotal</th> - <td align=right><%subtotal%></td> -<%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%></th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?></th> + <td align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <!-- - <%taxbase%> = total netamount for each tax bracket - <%taxrate%> = taxrate in percent + <?lsmb taxbase ?> = total netamount for each tax bracket + <?lsmb taxrate ?> = taxrate in percent --> -<%if paid%> +<?lsmb if paid ?> <tr> <td> </td> <th align=right>Paid</th> - <td align=right><%paid%></td> + <td align=right><?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -135,12 +135,12 @@ <tr> <td> -<%if terms%> -Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> +Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th align=right>Total</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> <tr> @@ -151,13 +151,13 @@ Terms Net <b><%terms%></b> days </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td>Notes</td> - <td><pre><%notes%></pre></td> + <td><pre><?lsmb notes ?></pre></td> <td align=right> </td> @@ -166,13 +166,13 @@ Terms Net <b><%terms%></b> days </table> </td> </tr> -<%end notes%> +<?lsmb end notes ?> <tr><td> </td></tr> <tr> <th colspan=3> - Please make check payable to <%company%> + Please make check payable to <?lsmb company ?> <br>Thank you for your valued business! </th> </tr> @@ -182,10 +182,10 @@ Terms Net <b><%terms%></b> days <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. + Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 1.5% per month from due date until paid in full. </font> @@ -198,11 +198,11 @@ Terms Net <b><%terms%></b> days </td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=3 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=3 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> -<%end tax%> +<?lsmb end tax ?> <!-- %username% = user name diff --git a/templates/Service-invoice.tex b/templates/Service-invoice.tex index 5b5be762..889e4dc8 100755 --- a/templates/Service-invoice.tex +++ b/templates/Service-invoice.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,60 +39,60 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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 <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} \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{I N V O I C E} \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Customer} & <%customer_id%> + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Number} & <?lsmb invnumber ?> \\ + \textbf{Customer} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} @@ -100,10 +100,10 @@ \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -114,28 +114,28 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Paid} & - <%paid%> \\ -<%end paid%> + \textbf{Subtotal} & \textbf{<?lsmb subtotal ?>} \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + \textbf{Paid} & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline - \textbf{Balance Owing} & \textbf{<%total%>} \\ + \textbf{Balance Owing} & \textbf{<?lsmb total ?>} \\ \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 ?> } @@ -145,8 +145,8 @@ \renewcommand{\thefootnote}{\fnsymbol{footnote}} \footnotetext[1]{\tiny -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue -amounts will acrue at the rate of 1.5\% per month starting <%duedate%> +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue +amounts will acrue at the rate of 1.5\% per month starting <?lsmb duedate ?> until paid in full. } diff --git a/templates/Service-packing_list.html b/templates/Service-packing_list.html index 07ba8d61..770de9a1 100755 --- a/templates/Service-packing_list.html +++ b/templates/Service-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -30,11 +30,11 @@ <td align=right> <table> <tr> - <th align=right>Date</th><td width=10> </td><td><%invdate%></td> + <th align=right>Date</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> - <th align=right>Number</th><td></td><td><%invnumber%></td></tr> + <th align=right>Number</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> @@ -47,20 +47,20 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Ship To:</th> </tr> <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Attn: <%shiptocontact%> -<%end shiptocontact%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddr1 ?> + <br><?lsmb shiptoaddr2 ?> + <br><?lsmb shiptoaddr3 ?> + <br><?lsmb shiptoaddr4 ?> +<?lsmb if shiptocontact ?> + <p>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> </td> </tr> @@ -75,7 +75,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Number</th> <th align=left><font color=ffffff>Description</th> @@ -83,14 +83,14 @@ <th> </th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=4><hr noshade></td> @@ -102,14 +102,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - <%shippingpoint%> + <?lsmb shippingpoint ?> </td> </tr> @@ -119,13 +119,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> diff --git a/templates/Service-packing_list.tex b/templates/Service-packing_list.tex index d7a62d44..b9ddb3fd 100755 --- a/templates/Service-packing_list.tex +++ b/templates/Service-packing_list.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,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabular*} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}} \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddr1%> +<?lsmb shiptoaddr1 ?> -<%shiptoaddr2%> +<?lsmb shiptoaddr2 ?> -<%shiptoaddr3%> +<?lsmb shiptoaddr3 ?> -<%shiptoaddr4%> +<?lsmb shiptoaddr4 ?> \vspace{3.5cm} @@ -79,18 +79,18 @@ \hfill \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Customer} & <%customer_id%> + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Number} & <?lsmb invnumber ?> \\ + \textbf{Customer} & <?lsmb customer_id ?> \end{tabular} \vspace{1cm} \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}} \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} \\ -<%foreach number%> - <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -99,9 +99,9 @@ \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } @@ -112,9 +112,9 @@ %\footnotetext[1]{\tiny %Items returned are subject to a 10\% restocking charge. -%A return authorization must be obtained from <%company%> before goods are +%A return authorization must be obtained from <?lsmb company ?> before goods are %returned. Returns must be shipped prepaid and properly insured. -%<%company%> will not be responsible for damages during transit.} +%<?lsmb company ?> will not be responsible for damages during transit.} \end{document} diff --git a/templates/Service-pick_list.html b/templates/Service-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Service-pick_list.html +++ b/templates/Service-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Service-pick_list.tex b/templates/Service-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Service-pick_list.tex +++ b/templates/Service-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Service-pos_invoice.txt b/templates/Service-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/Service-pos_invoice.txt +++ b/templates/Service-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Service-purchase_order.html b/templates/Service-purchase_order.html index de5fd805..b3e983de 100755 --- a/templates/Service-purchase_order.html +++ b/templates/Service-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telephone: <%tel%> - <br>Facsimile: <%fax%> + Telephone: <?lsmb tel ?> + <br>Facsimile: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Order Date</th><td width=10> </td><td><%orddate%></td> + <th align=right>Order Date</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Required by</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Number</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,21 +58,21 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>To:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> </tr> </table> @@ -85,7 +85,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Number</th> @@ -96,19 +96,19 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -116,15 +116,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -132,9 +132,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Terms Net <b><%terms%></b> days</td> + <td colspan=2>Terms Net <b><?lsmb terms ?></b> days</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> <tr> @@ -147,15 +147,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds - <br><%shippingpoint%> + All prices in <b><?lsmb currency ?></b> Funds + <br><?lsmb shippingpoint ?> </td> </tr> @@ -167,15 +167,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. + Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 1.5% per month from due date until paid in full. Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> 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 ?> } diff --git a/templates/Service-receipt.tex b/templates/Service-receipt.tex index 7f25a218..24f7d967 100755 --- a/templates/Service-receipt.tex +++ b/templates/Service-receipt.tex @@ -21,57 +21,57 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Service-request_quotation.html b/templates/Service-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Service-request_quotation.html +++ b/templates/Service-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Service-request_quotation.tex b/templates/Service-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Service-request_quotation.tex +++ b/templates/Service-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Service-sales_order.html b/templates/Service-sales_order.html index 8150db11..38d463f9 100755 --- a/templates/Service-sales_order.html +++ b/templates/Service-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telelephone: <%tel%> - <br>Facsimile: <%fax%> + Telelephone: <?lsmb tel ?> + <br>Facsimile: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Order Date</th><td width=10> </td><td><%orddate%></td> + <th align=right>Order Date</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Required by</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Number</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,24 +58,24 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>To:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> -<%if contact%> - <p>Attn: <%contact%> -%end contact%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> +<?lsmb if contact ?> + <p>Attn: <?lsmb contact ?> +%end contact ?> </td> </tr> @@ -89,7 +89,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Number</th> @@ -100,19 +100,19 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -120,15 +120,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -136,9 +136,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=2>Terms Net <b><%terms%></b> days</td> + <td colspan=2>Terms Net <b><?lsmb terms ?></b> days</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -151,15 +151,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds - <br><%shippingpoint%> + All prices in <b><?lsmb currency ?></b> Funds + <br><?lsmb shippingpoint ?> </td> </tr> @@ -171,15 +171,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. + Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 1.5% per month from due date until paid in full. Items returned are subject to a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible + from <?lsmb company ?> before goods are returned. Returns must be shipped + prepaid and properly insured. <?lsmb company ?> will not be responsible for damages during transit. </font> </td> diff --git a/templates/Service-sales_order.tex b/templates/Service-sales_order.tex index b0515ad0..af8c7a0a 100755 --- a/templates/Service-sales_order.tex +++ b/templates/Service-sales_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 48%> +<?lsmb pagebreak 65 27 48 ?> \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}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} \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{S A L E S} \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}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach 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 ?> } diff --git a/templates/Service-sales_quotation.html b/templates/Service-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Service-sales_quotation.html +++ b/templates/Service-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Service-sales_quotation.tex b/templates/Service-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Service-sales_quotation.tex +++ b/templates/Service-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Service-statement.html b/templates/Service-statement.html index d40979c6..1c0eb8b9 100755 --- a/templates/Service-statement.html +++ b/templates/Service-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>S T A T E M E N T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> </table> @@ -63,31 +63,31 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Invoice #</th> <th align=left>Order #</th> <!-- <th align=left>Notes</th> --> - <th width=10%>Date</th> - <th width=10%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=10 ?>Date</th> + <th width=10 ?>Due</th> + <th width=10 ?>Current</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> - <%foreach invnumber%> + <?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%ordnumber%></td> -<!-- <td><%notes%></td> --> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb ordnumber ?></td> +<!-- <td><?lsmb notes ?></td> --> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> - <%end invnumber%> + <?lsmb end invnumber ?> <tr> <td colspan=8><hr size=1></td> </tr> @@ -96,10 +96,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -108,10 +108,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Total Outstanding</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -122,7 +122,7 @@ </tr> <tr> <td> </td> - <td>Please make check payable to <b><%company%></b>. + <td>Please make check payable to <b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/Service-statement.tex b/templates/Service-statement.tex index c927c5da..5b95b298 100755 --- a/templates/Service-statement.tex +++ b/templates/Service-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}ll@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> + \textbf{Total outstanding} & <?lsmb total ?> \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/Service-timecard.html b/templates/Service-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Service-timecard.html +++ b/templates/Service-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Service-timecard.tex b/templates/Service-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Service-timecard.tex +++ b/templates/Service-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Service-work_order.html b/templates/Service-work_order.html index e665263e..c5b35150 100755 --- a/templates/Service-work_order.html +++ b/templates/Service-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Service-work_order.tex b/templates/Service-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Service-work_order.tex +++ b/templates/Service-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Spanish_A4-ap_transaction.html b/templates/Spanish_A4-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Spanish_A4-ap_transaction.html +++ b/templates/Spanish_A4-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_A4-ap_transaction.tex b/templates/Spanish_A4-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Spanish_A4-ap_transaction.tex +++ b/templates/Spanish_A4-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Spanish_A4-ar_transaction.html b/templates/Spanish_A4-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Spanish_A4-ar_transaction.html +++ b/templates/Spanish_A4-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_A4-ar_transaction.tex b/templates/Spanish_A4-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Spanish_A4-ar_transaction.tex +++ b/templates/Spanish_A4-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} diff --git a/templates/Spanish_A4-balance_sheet.html b/templates/Spanish_A4-balance_sheet.html index aef74d0e..b0752426 100755 --- a/templates/Spanish_A4-balance_sheet.html +++ b/templates/Spanish_A4-balance_sheet.html @@ -5,28 +5,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>HOJA DE BALANCE -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>ACTIVOS<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -36,22 +36,22 @@ <tr valign=top> <th align=left colspan=2>Total de activos</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASIVOS<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -62,22 +62,22 @@ <tr valign=top> <td></td> <th align=left>Total de pasivos</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>CAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -88,13 +88,13 @@ <tr valign=top> <td></td> <th align=left>Capital total</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>Total de pasivos y capital</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Spanish_A4-bin_list.html b/templates/Spanish_A4-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Spanish_A4-bin_list.html +++ b/templates/Spanish_A4-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Spanish_A4-bin_list.tex b/templates/Spanish_A4-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Spanish_A4-bin_list.tex +++ b/templates/Spanish_A4-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Spanish_A4-check.tex b/templates/Spanish_A4-check.tex index 6311b71b..8aeae4bc 100755 --- a/templates/Spanish_A4-check.tex +++ b/templates/Spanish_A4-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Spanish_A4-income_statement.html b/templates/Spanish_A4-income_statement.html index fbb5653b..bc75fe60 100755 --- a/templates/Spanish_A4-income_statement.html +++ b/templates/Spanish_A4-income_statement.html @@ -5,29 +5,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BALANCE DE SITUACIN -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>INGRESOS<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -38,22 +38,22 @@ <tr valign=top> <td> </td> <th align=left>Total de ingresos</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>GASTOS<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -64,14 +64,14 @@ <tr valign=top> <td> </td> <th align=left>Total de gastos</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>GANANCIA/(PERDIDA)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Spanish_A4-invoice.html b/templates/Spanish_A4-invoice.html index f5515745..7e03a74c 100755 --- a/templates/Spanish_A4-invoice.html +++ b/templates/Spanish_A4-invoice.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="4"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="4"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -30,22 +30,22 @@ <td>Fecha</td> <td>Cd. Cliente</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> + <td><b><?lsmb invnumber ?></b></td> + <td><b><?lsmb invdate ?></b></td> + <td><b><?lsmb customer_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="4"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="4"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -54,7 +54,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -69,17 +69,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -89,29 +89,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -120,7 +120,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> + <th align="right"><?lsmb invtotal ?> €</th> </tr> <tr> @@ -133,17 +133,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_A4-invoice.tex b/templates/Spanish_A4-invoice.tex index d6f80f81..fcd12124 100755 --- a/templates/Spanish_A4-invoice.tex +++ b/templates/Spanish_A4-invoice.tex @@ -31,7 +31,7 @@ \begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ \centering{Nmero} & \centering{Fecha} & C. Cliente\\ -\centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>} +\centering{<?lsmb invnumber ?>} & \centering{<?lsmb invdate ?>} & \centering{<?lsmb customer_id ?>} \end{tabular} \end{minipage} @@ -39,15 +39,15 @@ \textbf{F A C T U R A} \vspace{1cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \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 @@ \begin{tabular*}{\textwidth}{rp{\descrwidth}rr} \textbf{Cant.} & \textbf{Descripcin} & \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{Descripcin} & \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} diff --git a/templates/Spanish_A4-packing_list.html b/templates/Spanish_A4-packing_list.html index 82cba4f6..7e93688a 100755 --- a/templates/Spanish_A4-packing_list.html +++ b/templates/Spanish_A4-packing_list.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="5"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="5"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -31,23 +31,23 @@ <td>Fecha</td> <td>Cd. Cliente</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%ordnumber%></b></td> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> + <td><b><?lsmb ordnumber ?></b></td> + <td><b><?lsmb invnumber ?></b></td> + <td><b><?lsmb invdate ?></b></td> + <td><b><?lsmb customer_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="5"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="5"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -56,7 +56,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -71,17 +71,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -91,29 +91,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -122,7 +122,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> + <th align="right"><?lsmb invtotal ?> €</th> </tr> <tr> @@ -135,17 +135,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> 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{Nmero} & \centering{Nmero} & \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{Descripcin} & \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{Descripcin} & \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} diff --git a/templates/Spanish_A4-pick_list.html b/templates/Spanish_A4-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Spanish_A4-pick_list.html +++ b/templates/Spanish_A4-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Spanish_A4-pick_list.tex b/templates/Spanish_A4-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Spanish_A4-pick_list.tex +++ b/templates/Spanish_A4-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Spanish_A4-pos_invoice.txt b/templates/Spanish_A4-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/Spanish_A4-pos_invoice.txt +++ b/templates/Spanish_A4-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Spanish_A4-purchase_order.html b/templates/Spanish_A4-purchase_order.html index 493fd375..bdf3e763 100755 --- a/templates/Spanish_A4-purchase_order.html +++ b/templates/Spanish_A4-purchase_order.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="4"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="4"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -30,22 +30,22 @@ <td>Fecha</td> <td>Cd. Proveedor</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%vendor_id%></b></td> + <td><b><?lsmb ordnumber ?></b></td> + <td><b><?lsmb orddate ?></b></td> + <td><b><?lsmb vendor_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="4"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="4"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -54,7 +54,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -69,17 +69,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -89,29 +89,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align="right">Total</th> - <td align="right"><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align="right"><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -120,7 +120,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> + <th align="right"><?lsmb ordtotal ?> €</th> </tr> <tr> @@ -133,17 +133,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> 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{Nmero} & \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{Descripcin} & \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{Descripcin} & \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} diff --git a/templates/Spanish_A4-receipt.tex b/templates/Spanish_A4-receipt.tex index 4e7cfc62..dfdf5fb6 100755 --- a/templates/Spanish_A4-receipt.tex +++ b/templates/Spanish_A4-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Spanish_A4-request_quotation.html b/templates/Spanish_A4-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Spanish_A4-request_quotation.html +++ b/templates/Spanish_A4-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Spanish_A4-request_quotation.tex b/templates/Spanish_A4-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Spanish_A4-request_quotation.tex +++ b/templates/Spanish_A4-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Spanish_A4-sales_order.html b/templates/Spanish_A4-sales_order.html index a3cdfc76..868693e5 100755 --- a/templates/Spanish_A4-sales_order.html +++ b/templates/Spanish_A4-sales_order.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="4"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="4"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -30,22 +30,22 @@ <td>Fecha</td> <td>Cd. Cliente</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%customer_id%></b></td> + <td><b><?lsmb ordnumber ?></b></td> + <td><b><?lsmb orddate ?></b></td> + <td><b><?lsmb customer_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="4"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="4"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -54,7 +54,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -69,17 +69,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -89,29 +89,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align=right>Total</th> - <td align=right><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -120,7 +120,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> + <th align="right"><?lsmb ordtotal ?> €</th> </tr> <tr> @@ -133,17 +133,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_A4-sales_order.tex b/templates/Spanish_A4-sales_order.tex index f55dc69b..a2d90411 100755 --- a/templates/Spanish_A4-sales_order.tex +++ b/templates/Spanish_A4-sales_order.tex @@ -30,7 +30,7 @@ \begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ \centering{Nmero} & \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,15 +38,15 @@ \textbf{P E D I D O} \vspace{1cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \end{minipage} } @@ -58,7 +58,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} @@ -67,7 +67,7 @@ \begin{tabular*}{\textwidth}{rp{\descrwidth}rr} \textbf{Cant.} & \textbf{Descripcin} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -76,28 +76,28 @@ \begin{tabular*}{\textwidth}{rp{\descrwidth}rr} \textbf{Cant.} & \textbf{Descripcin} & \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{<%ordtotal%>} \\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>} \\ \end{tabularx} \end{flushright} diff --git a/templates/Spanish_A4-sales_quotation.html b/templates/Spanish_A4-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Spanish_A4-sales_quotation.html +++ b/templates/Spanish_A4-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Spanish_A4-sales_quotation.tex b/templates/Spanish_A4-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Spanish_A4-sales_quotation.tex +++ b/templates/Spanish_A4-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Spanish_A4-statement.html b/templates/Spanish_A4-statement.html index d39a5a88..8cd44acf 100755 --- a/templates/Spanish_A4-statement.html +++ b/templates/Spanish_A4-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>S T A T E M E N T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Invoice #</th> - <th width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Date</th> + <th width=15 ?>Due</th> + <th width=10 ?>Current</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Total Outstanding</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Please make check payable to <b><%company%></b>. + <td>Please make check payable to <b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/Spanish_A4-statement.tex b/templates/Spanish_A4-statement.tex index e33c23c0..16da6159 100755 --- a/templates/Spanish_A4-statement.tex +++ b/templates/Spanish_A4-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> + \textbf{Total outstanding} & <?lsmb total ?> \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/Spanish_A4-timecard.html b/templates/Spanish_A4-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Spanish_A4-timecard.html +++ b/templates/Spanish_A4-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Spanish_A4-timecard.tex b/templates/Spanish_A4-timecard.tex index 7f2d7899..a8350960 100755 --- a/templates/Spanish_A4-timecard.tex +++ b/templates/Spanish_A4-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Spanish_A4-work_order.html b/templates/Spanish_A4-work_order.html index e665263e..c5b35150 100755 --- a/templates/Spanish_A4-work_order.html +++ b/templates/Spanish_A4-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Spanish_A4-work_order.tex b/templates/Spanish_A4-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Spanish_A4-work_order.tex +++ b/templates/Spanish_A4-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Spanish_Letter-ap_transaction.html b/templates/Spanish_Letter-ap_transaction.html index b4533174..678ef16b 100755 --- a/templates/Spanish_Letter-ap_transaction.html +++ b/templates/Spanish_Letter-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Employee</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_Letter-ap_transaction.tex b/templates/Spanish_Letter-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Spanish_Letter-ap_transaction.tex +++ b/templates/Spanish_Letter-ap_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,78 +48,78 @@ \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 ?> \end{document} diff --git a/templates/Spanish_Letter-ar_transaction.html b/templates/Spanish_Letter-ar_transaction.html index 677d7740..d2de58ed 100755 --- a/templates/Spanish_Letter-ar_transaction.html +++ b/templates/Spanish_Letter-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Invoice #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Date</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Due</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Salesperson</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Subtotal</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Total</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,38 +189,38 @@ <th align=left>Memo</th> <th align=left>Amount</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> <td> </td> - <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -228,7 +228,7 @@ <tr> <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_Letter-ar_transaction.tex b/templates/Spanish_Letter-ar_transaction.tex index e1744bfc..f3d88f3d 100755 --- a/templates/Spanish_Letter-ar_transaction.tex +++ b/templates/Spanish_Letter-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} diff --git a/templates/Spanish_Letter-balance_sheet.html b/templates/Spanish_Letter-balance_sheet.html index aef74d0e..b0752426 100755 --- a/templates/Spanish_Letter-balance_sheet.html +++ b/templates/Spanish_Letter-balance_sheet.html @@ -5,28 +5,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>HOJA DE BALANCE -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>ACTIVOS<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -36,22 +36,22 @@ <tr valign=top> <th align=left colspan=2>Total de activos</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASIVOS<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -62,22 +62,22 @@ <tr valign=top> <td></td> <th align=left>Total de pasivos</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>CAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -88,13 +88,13 @@ <tr valign=top> <td></td> <th align=left>Capital total</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>Total de pasivos y capital</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Spanish_Letter-bin_list.html b/templates/Spanish_Letter-bin_list.html index 47dade1f..573522d6 100755 --- a/templates/Spanish_Letter-bin_list.html +++ b/templates/Spanish_Letter-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Date</th> <th width=17% align=left nowrap>Contact</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Warehouse</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Shipping Point</th> <th width=15% align=left>Ship via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Spanish_Letter-bin_list.tex b/templates/Spanish_Letter-bin_list.tex index 627e0bc2..552a9e33 100755 --- a/templates/Spanish_Letter-bin_list.tex +++ b/templates/Spanish_Letter-bin_list.tex @@ -28,34 +28,34 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,37 +65,37 @@ \textbf{From} \vspace{0.7cm} -<%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%> -<%country4%> -<%end country%> +<?lsmb if country ?> +<?lsmb country4 ?> +<?lsmb end country ?> } \parbox[t]{.4\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%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 ?> } \hfill @@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Spanish_Letter-check.tex b/templates/Spanish_Letter-check.tex index a3950c17..0075922e 100755 --- a/templates/Spanish_Letter-check.tex +++ b/templates/Spanish_Letter-check.tex @@ -21,55 +21,55 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Spanish_Letter-income_statement.html b/templates/Spanish_Letter-income_statement.html index fbb5653b..bc75fe60 100755 --- a/templates/Spanish_Letter-income_statement.html +++ b/templates/Spanish_Letter-income_statement.html @@ -5,29 +5,29 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>BALANCE DE SITUACIN -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>INGRESOS<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -38,22 +38,22 @@ <tr valign=top> <td> </td> <th align=left>Total de ingresos</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>GASTOS<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -64,14 +64,14 @@ <tr valign=top> <td> </td> <th align=left>Total de gastos</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>GANANCIA/(PERDIDA)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Spanish_Letter-invoice.html b/templates/Spanish_Letter-invoice.html index f5515745..7e03a74c 100755 --- a/templates/Spanish_Letter-invoice.html +++ b/templates/Spanish_Letter-invoice.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="4"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="4"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -30,22 +30,22 @@ <td>Fecha</td> <td>Cd. Cliente</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> + <td><b><?lsmb invnumber ?></b></td> + <td><b><?lsmb invdate ?></b></td> + <td><b><?lsmb customer_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="4"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="4"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -54,7 +54,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -69,17 +69,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -89,29 +89,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -120,7 +120,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> + <th align="right"><?lsmb invtotal ?> €</th> </tr> <tr> @@ -133,17 +133,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_Letter-invoice.tex b/templates/Spanish_Letter-invoice.tex index 7fdf0be8..5b68bd23 100755 --- a/templates/Spanish_Letter-invoice.tex +++ b/templates/Spanish_Letter-invoice.tex @@ -33,7 +33,7 @@ \begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ \centering{Nmero} & \centering{Fecha} & C. Cliente\\ -\centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>} +\centering{<?lsmb invnumber ?>} & \centering{<?lsmb invdate ?>} & \centering{<?lsmb customer_id ?>} \end{tabular} \end{minipage} @@ -41,15 +41,15 @@ \textbf{F A C T U R A} \vspace{1cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \end{minipage} } @@ -61,7 +61,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} @@ -70,7 +70,7 @@ \begin{tabular*}{\textwidth}{rp{\descrwidth}rr} \textbf{Cant.} & \textbf{Descripcin} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> +<?lsmb end pagebreak ?> \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -79,28 +79,28 @@ \begin{tabular*}{\textwidth}{rp{\descrwidth}rr} \textbf{Cant.} & \textbf{Descripcin} & \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} diff --git a/templates/Spanish_Letter-packing_list.html b/templates/Spanish_Letter-packing_list.html index 82cba4f6..7e93688a 100755 --- a/templates/Spanish_Letter-packing_list.html +++ b/templates/Spanish_Letter-packing_list.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="5"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="5"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -31,23 +31,23 @@ <td>Fecha</td> <td>Cd. Cliente</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%ordnumber%></b></td> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> + <td><b><?lsmb ordnumber ?></b></td> + <td><b><?lsmb invnumber ?></b></td> + <td><b><?lsmb invdate ?></b></td> + <td><b><?lsmb customer_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="5"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="5"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -56,7 +56,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -71,17 +71,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -91,29 +91,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -122,7 +122,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> + <th align="right"><?lsmb invtotal ?> €</th> </tr> <tr> @@ -135,17 +135,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_Letter-packing_list.tex b/templates/Spanish_Letter-packing_list.tex index ed7eea63..59f76e8c 100755 --- a/templates/Spanish_Letter-packing_list.tex +++ b/templates/Spanish_Letter-packing_list.tex @@ -31,7 +31,7 @@ \begin{tabular}[t]{p{1.7cm}p{1.7cm}p{2.4cm}p{1.7cm}}\\ \centering{Nmero} & \centering{Nmero} & \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} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \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{Descripcin} & \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{Descripcin} & \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} diff --git a/templates/Spanish_Letter-pick_list.html b/templates/Spanish_Letter-pick_list.html index 224293f0..fc6cf417 100755 --- a/templates/Spanish_Letter-pick_list.html +++ b/templates/Spanish_Letter-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> <th width=50% align=left><font color=ffffff>Ship To:</th> - <th width=50%> </th> + <th width=50 ?> </th> </tr> <tr valign=top> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> </td> <td> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> - <%shiptoemail%> + <?lsmb shiptoemail ?> </td> </tr> </table> @@ -94,20 +94,20 @@ </tr> <tr> - <td><%invnumber%> </td> - <td><%ordnumber%> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> - - <%if not shippingdate%> - <td><%transdate%></td> - <%end shippingdate%> - - <td><%employee%> </td> - <td><%warehouse%> </td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb invnumber ?> </td> + <td><?lsmb ordnumber ?> </td> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> + + <?lsmb if not shippingdate ?> + <td><?lsmb transdate ?></td> + <?lsmb end shippingdate ?> + + <td><?lsmb employee ?> </td> + <td><?lsmb warehouse ?> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -117,7 +117,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Number</th> @@ -128,17 +128,17 @@ <th><font color=ffffff>Bin</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> + <td><?lsmb runningnumber ?> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> <td align=right>[ ]</td> - <td><%unit%></td> - <td align=right><%bin%></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> </tr> diff --git a/templates/Spanish_Letter-pick_list.tex b/templates/Spanish_Letter-pick_list.tex index b4653002..b88285e6 100755 --- a/templates/Spanish_Letter-pick_list.tex +++ b/templates/Spanish_Letter-pick_list.tex @@ -29,28 +29,28 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} @@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.4\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -109,18 +109,18 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Spanish_Letter-pos_invoice.txt b/templates/Spanish_Letter-pos_invoice.txt index fecd1557..2743475e 100755 --- a/templates/Spanish_Letter-pos_invoice.txt +++ b/templates/Spanish_Letter-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv No/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv No/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%rowcount%> -<%if taxincluded%> +Number of items: <?lsmb rowcount ?> +<?lsmb if taxincluded ?> --------------- - Amount Due: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> - Amount Due: <%invtotal align=right width=9%> -<%foreach payment%> -<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> - -<%discount%> % Discount applied -<%end discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> + Amount Due: <?lsmb invtotal align=right width=9 ?> +<?lsmb foreach payment ?> +<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> + +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Spanish_Letter-purchase_order.html b/templates/Spanish_Letter-purchase_order.html index 493fd375..bdf3e763 100755 --- a/templates/Spanish_Letter-purchase_order.html +++ b/templates/Spanish_Letter-purchase_order.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="4"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="4"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -30,22 +30,22 @@ <td>Fecha</td> <td>Cd. Proveedor</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%vendor_id%></b></td> + <td><b><?lsmb ordnumber ?></b></td> + <td><b><?lsmb orddate ?></b></td> + <td><b><?lsmb vendor_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="4"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="4"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -54,7 +54,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -69,17 +69,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -89,29 +89,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align="right">Total</th> - <td align="right"><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align="right"><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -120,7 +120,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> + <th align="right"><?lsmb ordtotal ?> €</th> </tr> <tr> @@ -133,17 +133,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_Letter-purchase_order.tex b/templates/Spanish_Letter-purchase_order.tex index 0fcd33f8..c27a8951 100755 --- a/templates/Spanish_Letter-purchase_order.tex +++ b/templates/Spanish_Letter-purchase_order.tex @@ -30,7 +30,7 @@ \begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ \centering{Nmero} & \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{O R D E N \quad D E \quad C O M P R A} \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{Descripcin} & \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{Descripcin} & \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{<%ordtotal%>} \\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>} \\ \end{tabularx} \end{flushright} diff --git a/templates/Spanish_Letter-receipt.tex b/templates/Spanish_Letter-receipt.tex index 6742b5b5..6909625c 100755 --- a/templates/Spanish_Letter-receipt.tex +++ b/templates/Spanish_Letter-receipt.tex @@ -21,52 +21,52 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{2.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill diff --git a/templates/Spanish_Letter-request_quotation.html b/templates/Spanish_Letter-request_quotation.html index 86d095ae..d1eca540 100755 --- a/templates/Spanish_Letter-request_quotation.html +++ b/templates/Spanish_Letter-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Number</th> @@ -139,19 +139,19 @@ <th>Extended</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Spanish_Letter-request_quotation.tex b/templates/Spanish_Letter-request_quotation.tex index 6556413f..dd386244 100755 --- a/templates/Spanish_Letter-request_quotation.tex +++ b/templates/Spanish_Letter-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -73,63 +73,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -156,9 +156,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -167,7 +167,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Spanish_Letter-sales_order.html b/templates/Spanish_Letter-sales_order.html index a3cdfc76..868693e5 100755 --- a/templates/Spanish_Letter-sales_order.html +++ b/templates/Spanish_Letter-sales_order.html @@ -8,7 +8,7 @@ <tr valign=bottom> <td width="10"> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th colspan="4"> </th> <th align="left"> @@ -22,7 +22,7 @@ <tr> <td colspan="4"> </td> - <td align="left"><%name%></td> + <td align="left"><?lsmb name ?></td> </tr> <tr> @@ -30,22 +30,22 @@ <td>Fecha</td> <td>Cd. Cliente</td> <td width="10%"> </td> - <td><%address1%></td> + <td><?lsmb address1 ?></td> </tr> <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%customer_id%></b></td> + <td><b><?lsmb ordnumber ?></b></td> + <td><b><?lsmb orddate ?></b></td> + <td><b><?lsmb customer_id ?></b></td> <td> </td> - <td><%addr2%></td> + <td><?lsmb addr2 ?></td> </tr> <tr> <td colspan="4"> - <td><%city%> <%state%> <%zipcode%></td> + <td><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?></td> </tr> <tr> <td colspan="4"> - <td><%addr4%></td> + <td><?lsmb addr4 ?></td> </tr> </table> </table> @@ -54,7 +54,7 @@ <table width=100% cellspacing=0 cellpadding=0> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=left><font color=ffffff>Nmero</th> --> <!-- <th><font color=ffffff>Cant.</th> --> @@ -69,17 +69,17 @@ <td colspan="4"><hr noshade></td> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> + <!-- <td><?lsmb number ?></td> --> + <!-- <td><?lsmb unit ?></td> --> + <td align="right"><?lsmb qty ?></td> + <td align="left"><?lsmb description ?></td> + <td align="right"><?lsmb sellprice ?></td> + <!-- <td align=right><?lsmb discount ?></td> --> + <td align="right"><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan="4"><hr noshade></td> @@ -89,29 +89,29 @@ <!-- Subtotales, impuestos y totales --> <table width="100%"> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th align=right>Total</th> - <td align=right><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> + <td align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> + <td align="right"><?lsmb subtotal ?> €</td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> + <th align="right">IVA (<?lsmb taxrate ?>%) sobre <?lsmb taxbase ?>:</th> + <td align="right"><?lsmb tax ?> €</td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> + <td align="right"><?lsmb paid ?> €</td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td> </td> @@ -120,7 +120,7 @@ <tr> <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> + <th align="right"><?lsmb ordtotal ?> €</th> </tr> <tr> @@ -133,17 +133,17 @@ <!-- Pie --> <table width="100%"> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notas</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> </table> diff --git a/templates/Spanish_Letter-sales_order.tex b/templates/Spanish_Letter-sales_order.tex index 35c9a1cb..e1d714fb 100755 --- a/templates/Spanish_Letter-sales_order.tex +++ b/templates/Spanish_Letter-sales_order.tex @@ -30,7 +30,7 @@ \begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ \centering{Nmero} & \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{Descripcin} & \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{Descripcin} & \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{<%ordtotal%>} \\ + \textbf{Total} & \textbf{<?lsmb ordtotal ?>} \\ \end{tabularx} \end{flushright} diff --git a/templates/Spanish_Letter-sales_quotation.html b/templates/Spanish_Letter-sales_quotation.html index e09f770d..12f0a96d 100755 --- a/templates/Spanish_Letter-sales_quotation.html +++ b/templates/Spanish_Letter-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Amount</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - All prices in <b><%currency%></b> Funds + All prices in <b><?lsmb currency ?></b> Funds </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special order items are subject to a 10% cancellation fee. </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Spanish_Letter-sales_quotation.tex b/templates/Spanish_Letter-sales_quotation.tex index 87af1435..d10eb836 100755 --- a/templates/Spanish_Letter-sales_quotation.tex +++ b/templates/Spanish_Letter-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{.45\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} -<%contact%> +<?lsmb 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 ?> } \vspace{1cm} @@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabular*} @@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - Subtotal & <%subtotal%> \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - Total & <%quototal%>\\ + Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Spanish_Letter-statement.html b/templates/Spanish_Letter-statement.html index d39a5a88..8cd44acf 100755 --- a/templates/Spanish_Letter-statement.html +++ b/templates/Spanish_Letter-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4>S T A T E M E N T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Tel: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Fax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Invoice #</th> - <th width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Date</th> + <th width=15 ?>Due</th> + <th width=10 ?>Current</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Total Outstanding</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> @@ -117,7 +117,7 @@ </tr> <tr> <td> </td> - <td>Please make check payable to <b><%company%></b>. + <td>Please make check payable to <b><?lsmb company ?></b>. </td> </tr> <tr height=20></tr> diff --git a/templates/Spanish_Letter-statement.tex b/templates/Spanish_Letter-statement.tex index fdc7339f..1b6b47c0 100755 --- a/templates/Spanish_Letter-statement.tex +++ b/templates/Spanish_Letter-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>}\hfill + <?lsmb address ?>}\hfill \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,7 +39,7 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} +\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper @@ -51,48 +51,48 @@ \parbox[t]{1cm}{\hfill} \parbox[t]{10.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 ?> } \parbox[t]{7.5cm}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> +\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \end{tabular*} \rule{\textwidth}{1pt} @@ -100,12 +100,12 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> + \textbf{Total outstanding} & <?lsmb total ?> \end{tabularx} \vfill -Please make check payable to <%company%> +Please make check payable to <?lsmb company ?> \end{document} diff --git a/templates/Spanish_Letter-timecard.html b/templates/Spanish_Letter-timecard.html index 4001a6cc..bc12ea2f 100755 --- a/templates/Spanish_Letter-timecard.html +++ b/templates/Spanish_Letter-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -18,8 +18,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -44,11 +44,11 @@ <table> <tr> <th align=left>Employee</th> - <td><%employee%></td> + <td><?lsmb employee ?></td> </tr> <tr> <th align=left>ID</th> - <td><%employee_id%></td> + <td><?lsmb employee_id ?></td> </tr> </table> </td> @@ -57,23 +57,23 @@ <table> <tr> <th align=left nowrap>Card ID</th> - <td><%id%></td> + <td><?lsmb id ?></td> </tr> <tr> <th align=left nowrap>Date Worked</th> - <td><%transdate%></td> + <td><?lsmb transdate ?></td> </tr> <tr> <th align=left nowrap>Time In</th> - <td><%checkedin%></td> + <td><?lsmb checkedin ?></td> </tr> <tr> <th align=left>Time Out</th> - <td><%checkedout%></td> + <td><?lsmb checkedout ?></td> </tr> <tr> <th align=left nowrap>Hours Worked</th> - <td><%qty%></td> + <td><?lsmb qty ?></td> </tr> </table> </td> @@ -88,25 +88,25 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <table> <tr valign=top> <th align=left>Project/Job #</th> - <td><%projectnumber%></td> + <td><?lsmb projectnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%projectdescription%></td> + <td><?lsmb projectdescription ?></td> </tr> <tr valign=top> <th align=left>Labor/Service Code</th> - <td><%partnumber%></td> + <td><?lsmb partnumber ?></td> </tr> <tr> <th align=left>Description</th> - <td><%description%></td> + <td><?lsmb description ?></td> </tr> </table> </td> @@ -114,11 +114,11 @@ <table> <tr> <th align=right>Unit Rate</th> - <td><%sellprice%></td> + <td><?lsmb sellprice ?></td> </tr> <tr> <th align=right>Total</th> - <td><%total%></td> + <td><?lsmb total ?></td> </tr> </table> </td> @@ -127,17 +127,17 @@ </td> </tr> -<%if notes%> +<?lsmb if notes ?> <tr height=5></tr> <tr> <td> </td> <td> - <%notes%> + <?lsmb notes ?> </td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> diff --git a/templates/Spanish_Letter-timecard.tex b/templates/Spanish_Letter-timecard.tex index 1043658e..98748cf3 100755 --- a/templates/Spanish_Letter-timecard.tex +++ b/templates/Spanish_Letter-timecard.tex @@ -16,16 +16,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@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -36,35 +36,35 @@ \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date Worked} & <%transdate%> \\ - \textbf{Time In} & <%checkedin%> \\ - \textbf{Time Out} & <%checkedout%> \\ - \textbf{Hours Worked} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date Worked} & <?lsmb transdate ?> \\ + \textbf{Time In} & <?lsmb checkedin ?> \\ + \textbf{Time Out} & <?lsmb checkedout ?> \\ + \textbf{Hours Worked} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Project/Job \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Project/Job \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Unit Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Unit Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Spanish_Letter-work_order.html b/templates/Spanish_Letter-work_order.html index e665263e..c5b35150 100755 --- a/templates/Spanish_Letter-work_order.html +++ b/templates/Spanish_Letter-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>To</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Number</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serial No.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Spanish_Letter-work_order.tex b/templates/Spanish_Letter-work_order.tex index b7989729..abd0de6c 100755 --- a/templates/Spanish_Letter-work_order.tex +++ b/templates/Spanish_Letter-work_order.tex @@ -27,35 +27,35 @@ \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} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Swedish-ap_transaction.html b/templates/Swedish-ap_transaction.html index b2c24de5..72bc1386 100755 --- a/templates/Swedish-ap_transaction.html +++ b/templates/Swedish-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -41,56 +41,56 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br><%contact%> + <?lsmb if contact ?> + <br><?lsmb contact ?> <br> - <%end contact%> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> <td align=right> <table> <tr> <th align=left nowrap>Faktura #</th> - <td><%invnumber%></td> + <td><?lsmb invnumber ?></td> </tr> <tr> <th align=left nowrap>Datum</th> - <td><%invdate%></td> + <td><?lsmb invdate ?></td> </tr> <tr> <th align=left nowrap>Frn</th> - <td><%duedate%></td> + <td><?lsmb duedate ?></td> </tr> <tr> <th align=left>Order #</th> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> </tr> <tr> <th align=left nowrap>Arbetstagare</th> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> </tr> </table> </td> @@ -105,47 +105,47 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=50%> + <td width=50 ?> <table> - <%foreach account%> + <?lsmb foreach account ?> <tr valign=top> - <td><%accno%></td> - <td><%account%></td> - <td align=right><%amount%></td> - <td><%projectnumber%></td> + <td><?lsmb accno ?></td> + <td><?lsmb account ?></td> + <td align=right><?lsmb amount ?></td> + <td><?lsmb projectnumber ?></td> </tr> - <%end account%> + <?lsmb end account ?> <tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <th colspan=2 align=right>Totalt</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Totalt ink moms</th> - <td align=right><%subtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb subtotal ?></td> + <?lsmb end taxincluded ?> </tr> - <%foreach tax%> + <?lsmb foreach tax ?> <tr> - <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td align=right><%tax%></td> + <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td align=right><?lsmb tax ?></td> </tr> - <%end tax%> + <?lsmb end tax ?> - <%if not taxincluded%> + <?lsmb if not taxincluded ?> <th colspan=2 align=right>Totalt</th> - <td align=right><%invtotal%></td> - <%end taxincluded%> + <td align=right><?lsmb invtotal ?></td> + <?lsmb end taxincluded ?> </table> </td> - <td width=50%> - <%notes%> + <td width=50 ?> + <?lsmb notes ?> </td> </tr> </table> @@ -159,11 +159,11 @@ <td> </td> <td> - <%text_amount%> ***** <%decimal%>/100 <%currency%> + <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> </td> </tr> - <%if paid%> + <?lsmb if paid ?> <tr> <td> </td> @@ -189,30 +189,30 @@ <th align=left>Not</th> <th align=left>Vrde</th> </tr> - <%end paid%> + <?lsmb end paid ?> - <%foreach payment%> + <?lsmb foreach payment ?> <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%paymentmemo%></td> - <td><%payment%></td> + <td><?lsmb paymentdate ?></td> + <td><?lsmb paymentaccount ?></td> + <td><?lsmb paymentsource ?></td> + <td><?lsmb paymentmemo ?></td> + <td><?lsmb payment ?></td> </tr> - <%end payment%> + <?lsmb end payment ?> - <%if paid%> + <?lsmb if paid ?> </table> </td> </tr> </table> </td> </tr> - <%end paid%> + <?lsmb end paid ?> <tr height=10></tr> - <%if taxincluded%> + <?lsmb if taxincluded ?> <tr> <td> </td> </tr> @@ -220,7 +220,7 @@ <tr> <th colspan=3 align=left><font size=-2>Momsen r inkluderad i priset.</th> </tr> - <%end taxincluded%> + <?lsmb end taxincluded ?> </table> diff --git a/templates/Swedish-ap_transaction.tex b/templates/Swedish-ap_transaction.tex index 4edb06b0..34a3783b 100755 --- a/templates/Swedish-ap_transaction.tex +++ b/templates/Swedish-ap_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@{}}
- Telefon & <%tel%>\\
- Fax & <%fax%>
+ Telefon & <?lsmb tel ?>\\
+ Fax & <?lsmb fax ?>
\end{tabular}
\rule[1.5em]{\textwidth}{0.5pt}
@@ -48,78 +48,78 @@ \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{Faktura \#} & <%invnumber%> \\
- \textbf{Datum} & <%invdate%> \\
- \textbf{Frn} & <%duedate%> \\
- \textbf{Order \#} & <%ordnumber%> \\
- \textbf{Anstlld} & <%employee%> \\
+ \textbf{Faktura \#} & <?lsmb invnumber ?> \\
+ \textbf{Datum} & <?lsmb invdate ?> \\
+ \textbf{Frn} & <?lsmb duedate ?> \\
+ \textbf{Order \#} & <?lsmb ordnumber ?> \\
+ \textbf{Anstlld} & <?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{totalt ex moms}} & <%subtotal%> & \\
-<%foreach tax%>
- \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
-<%end tax%>
+ \multicolumn{2}{r}{\textbf{totalt ex moms}} & <?lsmb subtotal ?> & \\
+<?lsmb foreach tax ?>
+ \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
+<?lsmb end tax ?>
- \multicolumn{2}{r}{\textbf{Totalt}} & <%invtotal%> & \\
+ \multicolumn{2}{r}{\textbf{Totalt}} & <?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{Betalningar}} \\
\hline
\textbf{Date} & & \textbf{Source} & \textbf{Not} & \textbf{Belopp} \\
-<%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 ?>
\end{document}
diff --git a/templates/Swedish-ar_transaction.html b/templates/Swedish-ar_transaction.html index 307cb3d4..73f53586 100755 --- a/templates/Swedish-ar_transaction.html +++ b/templates/Swedish-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,56 +41,56 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>Tel: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>Tel: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>Fax: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>Fax: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>Faktura #</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap>Datum</th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap>Gller Frn</th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
<tr>
<th align=left>Order #</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
<tr>
<th align=left nowrap>Sljare</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -105,47 +105,47 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=50%>
+ <td width=50 ?>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
- <td align=right><%amount%></td>
- <td><%projectnumber%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
+ <td align=right><?lsmb amount ?></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>Pris ex moms</th>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td align=right><%tax%></td>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>Total</th>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
</table>
</td>
- <td width=50%>
- <%notes%>
+ <td width=50 ?>
+ <?lsmb notes ?>
</td>
</tr>
</table>
@@ -159,11 +159,11 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<td> </td>
@@ -189,38 +189,38 @@ <th align=left>Not</th>
<th align=left>Belopp</th>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb paymentmemo ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid%>
+ <?lsmb if paid ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr height=10></tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> Registrering <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registrering <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -228,7 +228,7 @@ <tr>
<th colspan=3 align=left><font size=-2>Momsen r inkluderad i priset.</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Swedish-ar_transaction.tex b/templates/Swedish-ar_transaction.tex index 7e53979a..b11ef8cc 100755 --- a/templates/Swedish-ar_transaction.tex +++ b/templates/Swedish-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@{}} - Telefon & <%tel%>\\ - Fax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Fax & <?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{Lagernr \#} & <%invnumber%> \\ - \textbf{Datum} & <%invdate%> \\ - \textbf{Frn} & <%duedate%> \\ - \textbf{Order \#} & <%ordnumber%> \\ - \textbf{Utfrare} & <%employee%> \\ + \textbf{Lagernr \#} & <?lsmb invnumber ?> \\ + \textbf{Datum} & <?lsmb invdate ?> \\ + \textbf{Frn} & <?lsmb duedate ?> \\ + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + \textbf{Utfrare} & <?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{Pris Totalt}} & <%subtotal%> & \\ -<%foreach tax%> - \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\ -<%end tax%> + \multicolumn{2}{r}{\textbf{Pris Totalt}} & <?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{Betalningar}} \\ \hline \textbf{Datum} & & \textbf{Frn} & \textbf{Not} & \textbf{Summa} \\ -<%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%> Registrering <%taxnumber%>}} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\small{<?lsmb taxdescription ?> Registrering <?lsmb taxnumber ?>}} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Swedish-balance_sheet.html b/templates/Swedish-balance_sheet.html index ac73bd3c..75ebc2da 100755 --- a/templates/Swedish-balance_sheet.html +++ b/templates/Swedish-balance_sheet.html @@ -2,28 +2,28 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>B A L A N S R K N I N G -<br><%period%> +<br><?lsmb period ?> </h2> <table border=0> <tr> <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -33,22 +33,22 @@ <tr valign=top> <th align=left colspan=2>TOTALA AKTIVA</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>PASSIVA<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -59,22 +59,22 @@ <tr valign=top> <td></td> <th align=left>Total skuld</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>EGENKAPITAL<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -85,14 +85,14 @@ <tr valign=top> <td></td> <th align=left>Total Egenkapital</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>TOTAL SKULD OCH EGENKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Swedish-bin_list.html b/templates/Swedish-bin_list.html index 108c9486..978b40f3 100755 --- a/templates/Swedish-bin_list.html +++ b/templates/Swedish-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <th align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,62 +40,62 @@ <td> <table width=100% cellspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>From</th> - <th align=left width=50%><font color=ffffff>Ship To</th> + <th align=left width=50 ?><font color=ffffff>From</th> + <th align=left width=50 ?><font color=ffffff>Ship To</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if vendorphone%> - <br>Tel: <%vendorphone%> - <%end vendorphone%> + <?lsmb if vendorphone ?> + <br>Tel: <?lsmb vendorphone ?> + <?lsmb end vendorphone ?> - <%if vendorfax%> - <br>Fax: <%vendorfax%> - <%end vendorfax%> + <?lsmb if vendorfax ?> + <br>Fax: <?lsmb vendorfax ?> + <?lsmb end vendorfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br>Attn: <%shiptocontact%> - <%end shiptocontact%> + <?lsmb if shiptocontact ?> + <br>Attn: <?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> </td> </tr> </table> @@ -113,32 +113,32 @@ <th width=17% align=left nowrap>Order #</th> <th width=17% align=left nowrap>Datum</th> <th width=17% align=left nowrap>kontakt</th> - <%if warehouse%> + <?lsmb if warehouse ?> <th width=17% align=left nowrap>Lager</th> - <%end warehouse%> + <?lsmb end warehouse ?> <th width=17% align=left>Destination</th> <th width=15% align=left>Fraktas via</th> </tr> <tr> - <td><%ordnumber%> </td> + <td><?lsmb ordnumber ?> </td> - <%if shippingdate%> - <td><%shippingdate%></td> - <%end shippingdate%> + <?lsmb if shippingdate ?> + <td><?lsmb shippingdate ?></td> + <?lsmb end shippingdate ?> - <%if not shippingdate%> - <td><%orddate%></td> - <%end shippingdate%> + <?lsmb if not shippingdate ?> + <td><?lsmb orddate ?></td> + <?lsmb end shippingdate ?> - <td><%employee%> </td> + <td><?lsmb employee ?> </td> - <%if warehouse%> - <td><%warehouse%></td> - <%end warehouse%> + <?lsmb if warehouse ?> + <td><?lsmb warehouse ?></td> + <?lsmb end warehouse ?> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -148,7 +148,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Pos</th> <th align=left><font color=ffffff>Nummer</th> @@ -161,19 +161,19 @@ <th><font color=ffffff>Box</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td><%runningnumber%></td> - <td><%number%></td> - <td><%description%></td> - <td><%serialnumber%></td> - <td><%deliverydate%></td> - <td align=right><%qty%></td> - <td align=right><%ship%></td> - <td><%unit%></td> - <td><%bin%></td> + <td><?lsmb runningnumber ?></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td><?lsmb serialnumber ?></td> + <td><?lsmb deliverydate ?></td> + <td align=right><?lsmb qty ?></td> + <td align=right><?lsmb ship ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb bin ?></td> </tr> - <%end number%> + <?lsmb end number ?> </table> </td> diff --git a/templates/Swedish-bin_list.tex b/templates/Swedish-bin_list.tex index 8f9d53b1..848df58a 100755 --- a/templates/Swedish-bin_list.tex +++ b/templates/Swedish-bin_list.tex @@ -28,34 +28,34 @@ \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@{}}
- Telefon & <%tel%>\\
- Fax & <%fax%>
+ Telefon & <?lsmb tel ?>\\
+ Fax & <?lsmb fax ?>
\end{tabular}
\rule[1.5ex]{\textwidth}{0.5pt}
}
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
\end{tabularx}
\newpage
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
\vspace*{-12pt}
\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
\textbf{Pos} & \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Serie Nummer} & & \textbf{Antal} & \textbf{Ankommet} & & \textbf{Paket} \\
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
\vspace*{0.5cm}
@@ -65,37 +65,37 @@ \textbf{From}
\vspace{0.7cm}
-<%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%>
-<%country4%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country4 ?>
+<?lsmb end country ?>
}
\parbox[t]{.4\textwidth}{
\textbf{Mottagare}
\vspace{0.7cm}
-<%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 ?>
}
\hfill
@@ -108,24 +108,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
\textbf{Order \#} & \textbf{Datum} & \textbf{Kontakt}
- <%if warehouse%>
+ <?lsmb if warehouse ?>
& \textbf{Warehouse}
- <%end warehouse%>
+ <?lsmb end warehouse ?>
& \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
\hline
- <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%orddate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
+ <?lsmb ordnumber ?>
+ <?lsmb if shippingdate ?>
+ & <?lsmb shippingdate ?>
+ <?lsmb end shippingdate ?>
+ <?lsmb if not shippingdate ?>
+ & <?lsmb orddate ?>
+ <?lsmb end shippingdate ?>
+ & <?lsmb employee ?>
+ <?lsmb if warehouse ?>
+ & <?lsmb warehouse ?>
+ <?lsmb end warehouse ?>
+ & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
\hline
\end{tabularx}
@@ -134,10 +134,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
\textbf{Pos} & \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Serienummer} & & \textbf{Antal} & \textbf{Ankommet} & & \textbf{Box} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
- <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> &
+ <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\
+<?lsmb end number ?>
\end{tabularx}
diff --git a/templates/Swedish-check.tex b/templates/Swedish-check.tex index 532fd026..f8bca540 100755 --- a/templates/Swedish-check.tex +++ b/templates/Swedish-check.tex @@ -21,60 +21,60 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \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{1.8cm} -<%notes%> +<?lsmb notes ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Faktura nr.} & \textbf{Faktura datum} & \textbf{terstende} & \textbf{Betalt} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Swedish-income_statement.html b/templates/Swedish-income_statement.html index 46ff0a60..25357ed3 100755 --- a/templates/Swedish-income_statement.html +++ b/templates/Swedish-income_statement.html @@ -2,33 +2,33 @@ <body bgcolor=ffffff> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>D R I F T K O S T N A D -<br><%period%> +<br><?lsmb period ?> </h2> <table width=100% border=0> <tr> <th width=400 align=left colspan=2><br></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> <tr> <th align=left colspan=2>INTKTER<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -39,22 +39,22 @@ <tr valign=top> <td> </td> <th align=left>Totala intkter</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>UTGIFTER<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -65,14 +65,14 @@ <tr valign=top> <td> </td> <th align=left>Totala utgifter</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>RESULTAT</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Swedish-invoice.html b/templates/Swedish-invoice.html index fa990662..58cccbe7 100755 --- a/templates/Swedish-invoice.html +++ b/templates/Swedish-invoice.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -33,11 +33,11 @@ tel, fax, signature, username, businessnumber --> <table> <tr> - <th align=right>Fakturanr.:</th><td></td><td><%invnumber%></td></tr> + <th align=right>Fakturanr.:</th><td></td><td><?lsmb invnumber ?></td></tr> </tr> <tr> - <th align=right>Fakturadatum:</th><td width=10> </td><td><%invdate%></td> + <th align=right>Fakturadatum:</th><td width=10> </td><td><?lsmb invdate ?></td> </tr> <tr> <td> @@ -49,37 +49,37 @@ tel, fax, signature, username, businessnumber --> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Fakturaadress:</th> - <%if shiptoname%> + <?lsmb if shiptoname ?> <th align=left><font color=ffffff>Leveringsadress:</th> - <%end shiptoname%> + <?lsmb end shiptoname ?> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <%if shiptoname%> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <?lsmb if shiptoname ?> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> - <%end shiptoname%> + <?lsmb end shiptoname ?> </tr> </table> </td> @@ -87,7 +87,7 @@ tel, fax, signature, username, businessnumber --> <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Nummer</th> <th align=left><font color=ffffff>Beskrivning</th> @@ -98,23 +98,23 @@ tel, fax, signature, username, businessnumber --> <th><font color=ffffff>Sum</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <!-- you can also use netprice instead of sellprice if you don't want to show the discount netprice = sellprice - discount -to show the percentage for a discount use <%discountrate%> +to show the percentage for a discount use <?lsmb discountrate ?> --> <tr> @@ -123,22 +123,22 @@ to show the percentage for a discount use <%discountrate%> <tr> <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> + <td colspan=2 align=right><?lsmb subtotal ?></td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> -<%if paid%> +<?lsmb if paid ?> <tr> <th colspan=5 align=right>Redan betalat</th> - <td colspan=2 align=right>- <%paid%></td> + <td colspan=2 align=right>- <?lsmb paid ?></td> </tr> -<%end paid%> +<?lsmb end paid ?> <tr> <td colspan=3> </td> @@ -146,9 +146,9 @@ to show the percentage for a discount use <%discountrate%> </tr> <tr> - <td colspan=3>Betalningsfrist <b><%terms%></b> dager</td> + <td colspan=3>Betalningsfrist <b><?lsmb terms ?></b> dager</td> <th colspan=2 align=right>Att betala</th> - <th colspan=2 align=right><%total%></th> + <th colspan=2 align=right><?lsmb total ?></th> </tr> <tr> @@ -162,15 +162,15 @@ to show the percentage for a discount use <%discountrate%> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notera</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alla priser i <b><%currency%></b> - <br><%shippingpoint%> + Alla priser i <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -185,7 +185,7 @@ to show the percentage for a discount use <%discountrate%> <!-- 20030814/Marius Kjeldahl: Commented out check statement as checks are dead in Norway AFAIK --> -<!-- Utsted vennligst sjekk til <%company%> p norsk bank --> +<!-- Utsted vennligst sjekk til <?lsmb company ?> p norsk bank --> <br> </th> </tr> @@ -195,10 +195,10 @@ are dead in Norway AFAIK --> <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> - Betalning innan <%terms%> dagar frn fakturadatum. + Betalning innan <?lsmb terms ?> dagar frn fakturadatum. Efterskuldrntor berknas med 1% per pbrjad mnad. </font> @@ -209,11 +209,11 @@ are dead in Norway AFAIK --> </td> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Organisasjonsnr.: <%taxnumber%></th> + <th colspan=7 align=left><font size=-2><?lsmb taxdescription ?> Organisasjonsnr.: <?lsmb taxnumber ?></th> </tr> -<%end tax%> +<?lsmb end tax ?> </table> diff --git a/templates/Swedish-invoice.tex b/templates/Swedish-invoice.tex index f4ce6d8e..5ec49f19 100755 --- a/templates/Swedish-invoice.tex +++ b/templates/Swedish-invoice.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{
\parbox[b]{12cm}{
- <%company%>
+ <?lsmb company ?>
- <%address%>}\hfill
+ <?lsmb address ?>}\hfill
\begin{tabular}[b]{rr@{}}
- Telefon & <%tel%>\\
- Fax & <%fax%>
+ Telefon & <?lsmb tel ?>\\
+ Fax & <?lsmb fax ?>
\end{tabular}
\rule[1.5ex]{\textwidth}{0.5pt}
@@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont
-\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\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{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markright{<%company%>\hfill <%invnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>}
\vspace*{-12pt}
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
- & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ & carried forward from page <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
@@ -76,74 +76,74 @@ \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 ?>
\vspace{0.5cm}
-<%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 ?>
}
\parbox[t]{7.5cm}{
\textbf{Leveringsadress}
\vspace{0.5cm}
-<%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}
\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
@@ -155,10 +155,10 @@ Fax: <%shiptofax%> \vspace{1cm}
\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Datum} & <%invdate%> \\
- \textbf{Fakturanr.} & <%invnumber%> \\
- \textbf{Ordernr.} & <%ordnumber%> \\
- \textbf{Anstlld} & <%employee%>
+ \textbf{Datum} & <?lsmb invdate ?> \\
+ \textbf{Fakturanr.} & <?lsmb invnumber ?> \\
+ \textbf{Ordernr.} & <?lsmb ordnumber ?> \\
+ \textbf{Anstlld} & <?lsmb employee ?>
\end{tabular}
\vspace{1cm}
@@ -166,10 +166,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
\end{tabular*}
@@ -180,44 +180,44 @@ Fax: <%shiptofax%> \hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Pris ex moms} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%> \\
-<%end tax%>
-<%if paid%>
- \textbf{Betalt} & - <%paid%> \\
-<%end paid%>
+ \textbf{Pris ex moms} & \textbf{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+ <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\
+<?lsmb end tax ?>
+<?lsmb if paid ?>
+ \textbf{Betalt} & - <?lsmb paid ?> \\
+<?lsmb end paid ?>
\hline
- \textbf{Skyldig} & \textbf{<%total%>} \\
+ \textbf{Skyldig} & \textbf{<?lsmb total ?>} \\
\end{tabularx}
\vspace{0.3cm}
\hfill
- Alle priser i \textbf{<%currency%>} valuta.
+ Alle priser i \textbf{<?lsmb currency ?>} valuta.
\vspace{12pt}
-<%if notes%>
- <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+ <?lsmb notes ?>
+<?lsmb end if ?>
}
\vfill
-<%if paid%>
+<?lsmb if paid ?>
\begin{tabularx}{10cm}{@{}lXlr@{}}
\textbf{Inbetalingar} & & & \\
\hline
\textbf{Dato} & \textbf{Konto} & \textbf{Kilde} & \textbf{Sum} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
+<?lsmb end paid ?>
+<?lsmb foreach payment ?>
+ <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\
+<?lsmb end payment ?>
+<?lsmb if paid ?>
\end{tabularx}
-<%end paid%>
+<?lsmb end paid ?>
\vspace{1cm}
@@ -226,12 +226,12 @@ Fax: <%shiptofax%> \renewcommand{\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{\tiny
-Betalingen mste ske innan <%terms%> dager frn fakturadatum. Vid
+Betalingen mste ske innan <?lsmb terms ?> dager frn fakturadatum. Vid
frsening prknas en rnta p 1.5\% per mnad,
-frn <%duedate%> till dess betalingen r fullstndig. Varor som returneras
+frn <?lsmb duedate ?> till dess betalingen r fullstndig. Varor som returneras
belastas med 10\% returkostnad. Returen mste frhandsgodknnas av
-<%company%> innan varorna returneras. Retur mste sndas frbetalt och
-skall vara frskrat. <%company%> r inte ansvarig fr transportkostnader.
+<?lsmb company ?> innan varorna returneras. Retur mste sndas frbetalt och
+skall vara frskrat. <?lsmb company ?> r inte ansvarig fr transportkostnader.
}
\end{document}
diff --git a/templates/Swedish-packing_list.html b/templates/Swedish-packing_list.html index 52d25d83..2257563f 100755 --- a/templates/Swedish-packing_list.html +++ b/templates/Swedish-packing_list.html @@ -1,18 +1,18 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10>
</td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -30,11 +30,11 @@ <td align=right>
<table>
<tr>
- <th align=right>Dato</th><td width=10> </td><td><%invdate%></td>
+ <th align=right>Dato</th><td width=10> </td><td><?lsmb invdate ?></td>
</tr>
<tr>
- <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr>
+ <th align=right>Nummer</th><td></td><td><?lsmb invnumber ?></td></tr>
</tr>
<tr>
@@ -47,16 +47,16 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Leveransadress:</th>
</tr>
<tr>
- <td><%shiptoname%>
- <br><%shiptoaddr1%>
- <br><%shiptoaddr2%>
- <br><%shiptoaddr3%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddr1 ?>
+ <br><?lsmb shiptoaddr2 ?>
+ <br><?lsmb shiptoaddr3 ?>
</td>
</tr>
</table>
@@ -70,7 +70,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Nummer</th>
<th align=left><font color=ffffff>Beskrivning</th>
@@ -78,14 +78,14 @@ <th> </th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=4><hr noshade></td>
@@ -97,14 +97,14 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
<td>Note</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
+ <td><pre><?lsmb notes ?></pre></td>
+<?lsmb end notes ?>
<td align=right>
- <%shippingpoint%>
+ <?lsmb shippingpoint ?>
</td>
</tr>
@@ -114,12 +114,12 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td><font size=-3>
Retur skall sndas frskotts betalade och vara kvar i originalfrpackningen.
-<%company%> r inte ansvarig fr skador under transport.
+<?lsmb company ?> r inte ansvarig fr skador under transport.
</font>
</td>
diff --git a/templates/Swedish-packing_list.tex b/templates/Swedish-packing_list.tex index 81be9ec0..a1b2e3bb 100755 --- a/templates/Swedish-packing_list.tex +++ b/templates/Swedish-packing_list.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,39 +39,39 @@ \fontfamily{cmss}\fontshape{n}\selectfont
-\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
\pagestyle{myheadings}
%\thispagestyle{empty} use this with letterhead paper
-<%pagebreak 65 27 48%>
+<?lsmb pagebreak 65 27 48 ?>
\end{tabular*}
\newpage
-\markright{<%company%>\hfill <%invnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>}
\vspace*{-12pt}
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} &
\textbf{Enhet} & \textbf{Box} \\
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
\vspace*{2cm}
-<%shiptoname%>
+<?lsmb shiptoname ?>
-<%shiptoaddr1%>
+<?lsmb shiptoaddr1 ?>
-<%shiptoaddr2%>
+<?lsmb shiptoaddr2 ?>
-<%shiptoaddr3%>
+<?lsmb shiptoaddr3 ?>
-<%shiptoaddr4%>
+<?lsmb shiptoaddr4 ?>
\vspace{3.5cm}
@@ -79,9 +79,9 @@ \hfill
\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Datum} & <%invdate%> \\
- \textbf{Fakturanr.} & <%invnumber%> \\
- \textbf{Kundid.} & <%customer_id%>
+ \textbf{Datum} & <?lsmb invdate ?> \\
+ \textbf{Fakturanr.} & <?lsmb invnumber ?> \\
+ \textbf{Kundid.} & <?lsmb customer_id ?>
\end{tabular}
\vspace{1cm}
@@ -89,10 +89,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
\textbf{Nummer} & \textbf{Beskriving} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Box} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%bin%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb bin ?> \\
+<?lsmb end number ?>
\end{tabular*}
@@ -101,9 +101,9 @@ \vspace{12pt}
-<%if notes%>
- <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+ <?lsmb notes ?>
+<?lsmb end if ?>
}
@@ -115,8 +115,8 @@ \footnotetext[1]{\tiny
Varor som returneras
belastes med 10\% returavgift. Returer mste frhandsbestmmas frn
-<%company%> innan varorna returneras. Returen mste frhandsbetalas och
-fpackas lmpligt. <%company%> r inte ansvariga fr transportskador.
+<?lsmb company ?> innan varorna returneras. Returen mste frhandsbetalas och
+fpackas lmpligt. <?lsmb company ?> r inte ansvariga fr transportskador.
}
\end{document}
diff --git a/templates/Swedish-pick_list.html b/templates/Swedish-pick_list.html index 36893d13..fc88120d 100755 --- a/templates/Swedish-pick_list.html +++ b/templates/Swedish-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
<th width=50% align=left><font color=ffffff>Skickas till:</th>
- <th width=50%> </th>
+ <th width=50 ?> </th>
</tr>
<tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
</td>
<td>
- <%if shiptocontact%>
- <br>Attn: <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>Attn: <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>Tel: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>Tel: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>Fax: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>Fax: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%shiptoemail%>
+ <?lsmb shiptoemail ?>
</td>
</tr>
</table>
@@ -94,20 +94,20 @@ </tr>
<tr>
- <td><%invnumber%> </td>
- <td><%ordnumber%> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%> </td>
- <td><%warehouse%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?> </td>
+ <td><?lsmb ordnumber ?> </td>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb transdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb warehouse ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -117,7 +117,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>Pos</th>
<th align=left><font color=ffffff>Nummer</th>
@@ -128,17 +128,17 @@ <th><font color=ffffff>Box</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
+ <td><?lsmb runningnumber ?>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
<td align=right>[ ]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
</tr>
diff --git a/templates/Swedish-pick_list.tex b/templates/Swedish-pick_list.tex index a7745790..22f505f5 100755 --- a/templates/Swedish-pick_list.tex +++ b/templates/Swedish-pick_list.tex @@ -29,28 +29,28 @@ \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@{}}
- Telefon & <%tel%>\\
- Fax & <%fax%>
+ Telefon & <?lsmb tel ?>\\
+ Fax & <?lsmb fax ?>
\end{tabular}
\rule[1.5ex]{\textwidth}{0.5pt}
}
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
\end{tabularx}
\newpage
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
\vspace*{-12pt}
@@ -58,7 +58,7 @@ \textbf{Pos} & \textbf{Nummer} & \textbf{Beskrivning} &
\textbf{Antal} & \textbf{Frakt} & & \textbf{Box} \\
-<%end pagebreak%>
+<?lsmb end pagebreak ?>
\vspace*{0.5cm}
@@ -73,28 +73,28 @@ \parbox[t]{1cm}{\hfill}
\parbox[t]{.5\textwidth}{
-<%shiptoname%>
+<?lsmb shiptoname ?>
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
}
\parbox[t]{.4\textwidth}{
- <%shiptocontact%>
+ <?lsmb 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
@@ -109,18 +109,18 @@ \textbf{Faktura \#} & \textbf{Order \#} & \textbf{Datum} & \textbf{Kontakt}
& \textbf{lager} & \textbf{Destination} & \textbf{Fraktas via} \\ [0.5em]
\hline
- <%invnumber%> & <%ordnumber%>
- <%if shippingdate%>
- & <%shippingdate%>
- <%end shippingdate%>
- <%if not shippingdate%>
- & <%transdate%>
- <%end shippingdate%>
- & <%employee%>
- <%if warehouse%>
- & <%warehouse%>
- <%end warehouse%>
- & <%shippingpoint%> & <%shipvia%> \\
+ <?lsmb invnumber ?> & <?lsmb ordnumber ?>
+ <?lsmb if shippingdate ?>
+ & <?lsmb shippingdate ?>
+ <?lsmb end shippingdate ?>
+ <?lsmb if not shippingdate ?>
+ & <?lsmb transdate ?>
+ <?lsmb end shippingdate ?>
+ & <?lsmb employee ?>
+ <?lsmb if warehouse ?>
+ & <?lsmb warehouse ?>
+ <?lsmb end warehouse ?>
+ & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
\hline
\end{tabularx}
@@ -129,10 +129,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
\textbf{Pos} & \textbf{Nummer} & \textbf{Beskrivning} &
\textbf{Antal} & \textbf{Frakt} & & \textbf{Box} \\
-<%foreach number%>
- <%runningnumber%> & <%number%> & <%description%> &
- <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> &
+ <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\
+<?lsmb end number ?>
\end{tabularx}
diff --git a/templates/Swedish-pos_invoice.txt b/templates/Swedish-pos_invoice.txt index cfcda0e9..b24cdee7 100755 --- a/templates/Swedish-pos_invoice.txt +++ b/templates/Swedish-pos_invoice.txt @@ -1,49 +1,49 @@ -<%company align=center width=40%>
-<%address align=center width=40%>
+<?lsmb company align=center width=40 ?>
+<?lsmb address align=center width=40 ?>
-Till: <%till align=left width=3%> Phone#: <%tel%>
-Cashier: <%employee%>
-Inv Nr/Datum: <%invnumber%> / <%invdate%>
-Utskriven: <%dateprinted%>
+Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?>
+Cashier: <?lsmb employee ?>
+Inv Nr/Datum: <?lsmb invnumber ?> / <?lsmb invdate ?>
+Utskriven: <?lsmb dateprinted ?>
Antal Beskrivning Belopp
-<%foreach number%>
-<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%>
- <%number%> @ <%sellprice%>/<%unit%>
-<%end number%>
+<?lsmb foreach number ?>
+<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?>
+ <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?>
+<?lsmb end number ?>
-Antal Produkter: <%rowcount%>
-<%if taxincluded%>
+Antal Produkter: <?lsmb rowcount ?>
+<?lsmb if taxincluded ?>
---------------
- Belopp Frn: <%invtotal align=right width=9%>
-<%end taxincluded%>
-<%if not taxincluded%>
+ Belopp Frn: <?lsmb invtotal align=right width=9 ?>
+<?lsmb end taxincluded ?>
+<?lsmb if not taxincluded ?>
------------
- Pris ex moms: <%subtotal align=right width=9%>
-<%end taxincluded%>
-<%foreach tax%>
-<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%>
-<%end tax%>
- Gllande Belopp: <%invtotal align=right width=9%>
-<%foreach payment%>
-<%paymentaccount align=right width=29%>: <%payment align=right width=9%> <%currency%>
-<%end payment%>
-<%if change%>
- Byte: <%change align=right width=9%>
-<%end change%>
-<%if total%>
- Aktuell Balans: <%total align=right width=9%>
-<%end total%>
-<%if discount%>
-
-<%discount%> % Rabbat avdragen
-<%end discount%>
+ Pris ex moms: <?lsmb subtotal align=right width=9 ?>
+<?lsmb end taxincluded ?>
+<?lsmb foreach tax ?>
+<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?>
+<?lsmb end tax ?>
+ Gllande Belopp: <?lsmb invtotal align=right width=9 ?>
+<?lsmb foreach payment ?>
+<?lsmb paymentaccount align=right width=29 ?>: <?lsmb payment align=right width=9 ?> <?lsmb currency ?>
+<?lsmb end payment ?>
+<?lsmb if change ?>
+ Byte: <?lsmb change align=right width=9 ?>
+<?lsmb end change ?>
+<?lsmb if total ?>
+ Aktuell Balans: <?lsmb total align=right width=9 ?>
+<?lsmb end total ?>
+<?lsmb if discount ?>
+
+<?lsmb discount ?> % Rabbat avdragen
+<?lsmb end discount ?>
Tack fr att du handlar hos oss.
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
Momsen r inkluderad i priset.
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
diff --git a/templates/Swedish-purchase_order.html b/templates/Swedish-purchase_order.html index 3bd233d8..fbdc2aba 100755 --- a/templates/Swedish-purchase_order.html +++ b/templates/Swedish-purchase_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
<td align=right>
<h4>
- Telefon: <%tel%>
- <br>Telefax: <%fax%>
+ Telefon: <?lsmb tel ?>
+ <br>Telefax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -38,15 +38,15 @@ <td align=right>
<table>
<tr>
- <th align=right>Order datum</th><td width=10> </td><td><%orddate%></td>
+ <th align=right>Order datum</th><td width=10> </td><td><?lsmb orddate ?></td>
</tr>
<tr>
- <th align=right>Leverans innan</th><td width=10> </td><td><%reqdate%></td>
+ <th align=right>Leverans innan</th><td width=10> </td><td><?lsmb reqdate ?></td>
</tr>
<tr>
- <th align=right>Ordernr.</th><td> </td><td><%ordnumber%></td></tr>
+ <th align=right>Ordernr.</th><td> </td><td><?lsmb ordnumber ?></td></tr>
</tr>
<tr>
@@ -58,21 +58,21 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>To:</th>
</tr>
<tr>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+<br><?lsmb address2 ?>
+<?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
</td>
</tr>
</table>
@@ -85,7 +85,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<!-- <th align=right><font color=ffffff>No.</th> -->
<th align=left><font color=ffffff>Nummer</th>
@@ -96,19 +96,19 @@ <th><font color=ffffff>Sum</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%linetotal%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=6><hr noshade></td>
@@ -116,15 +116,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<th colspan=4 align=right>Pris ex moms</th>
- <td colspan=2 align=right><%subtotal%></td>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=4 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=2> </td>
@@ -132,9 +132,9 @@ adjust the colspan if you include this to shift subtotal one to the right </tr>
<tr>
- <td colspan=2>Betalingsfrist <b><%terms%></b> dagar</td>
+ <td colspan=2>Betalingsfrist <b><?lsmb terms ?></b> dagar</td>
<th colspan=2 align=right>Total</th>
- <th colspan=2 align=right><%total%></th>
+ <th colspan=2 align=right><?lsmb total ?></th>
</tr>
<tr>
@@ -147,15 +147,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
<td>Note</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
+ <td><pre><?lsmb notes ?></pre></td>
+<?lsmb end notes ?>
<td align=right>
- Alle priser i valuta <b><%currency%></b>
- <br><%shippingpoint%>
+ Alle priser i valuta <b><?lsmb currency ?></b>
+ <br><?lsmb shippingpoint ?>
</td>
</tr>
@@ -167,17 +167,17 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td><font size=-3>
-Betalning skall ske innan <%terms%> dagar frn
+Betalning skall ske innan <?lsmb terms ?> dagar frn
fakturadatum. Pminnelsernta rknas med 1.5% per mnad frn
fakturadatum. Till desss att det fulla beloppet r betalt.
Vid retur belastas 10% returvrdet. Retur av varor mste
-forhandsgodknnas av <%company%> fr att drefter sndas. Varoreturer mste
-sndas frbetalt och med tillrcklig frskring. <%company%> r
+forhandsgodknnas av <?lsmb company ?> fr att drefter sndas. Varoreturer mste
+sndas frbetalt och med tillrcklig frskring. <?lsmb company ?> r
inte ansvarig for transportskador.
</font>
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 ?>
}
diff --git a/templates/Swedish-receipt.tex b/templates/Swedish-receipt.tex index ae978b6e..684a501a 100755 --- a/templates/Swedish-receipt.tex +++ b/templates/Swedish-receipt.tex @@ -21,56 +21,56 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
\parbox[t]{12cm}{
- <%company%>
+ <?lsmb company ?>
- <%address%>}
+ <?lsmb address ?>}
\hfill
-\parbox[t]{6cm}{\hfill <%source%>}
+\parbox[t]{6cm}{\hfill <?lsmb source ?>}
\vspace*{0.6cm}
-<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
+<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill}
\vspace{0.5cm}
-\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?>
\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{1.8cm}
-<%notes%>
+<?lsmb notes ?>
\vspace{0.8cm}
-<%company%>
+<?lsmb company ?>
\vspace{0.5cm}
-<%name%> \hfill <%datepaid%> \hfill <%source%>
+<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?>
\vspace{0.5cm}
\begin{tabularx}{\textwidth}{lXrr@{}}
\textbf{Fakturanr.} & \textbf{Fakturadatum}
& \textbf{Skuld} & \textbf{Betalt} \\
-<%foreach invnumber%>
-<%invnumber%> & <%invdate%> \dotfill
- & <%due%> & <%paid%> \\
-<%end invnumber%>
+<?lsmb foreach invnumber ?>
+<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill
+ & <?lsmb due ?> & <?lsmb paid ?> \\
+<?lsmb end invnumber ?>
\end{tabularx}
\vfill
diff --git a/templates/Swedish-request_quotation.html b/templates/Swedish-request_quotation.html index 4893f42b..ac610894 100755 --- a/templates/Swedish-request_quotation.html +++ b/templates/Swedish-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -20,8 +20,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,53 +39,53 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>To:</th> - <th align=left width=50%><font color=ffffff>Ship To:</th> + <th align=left width=50 ?><font color=ffffff>To:</th> + <th align=left width=50 ?><font color=ffffff>Ship To:</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> -<%if contact%> -<br>Attn: <%contact%> -<%end contact%> -<%if vendorphone%> -<br>Tel: <%vendorphone%> -<%end vendorphone%> -<%if vendorfax%> -<br>Fax: <%vendorfax%> -<%end vendorfax%> +<?lsmb if contact ?> +<br>Attn: <?lsmb contact ?> +<?lsmb end contact ?> +<?lsmb if vendorphone ?> +<br>Tel: <?lsmb vendorphone ?> +<?lsmb end vendorphone ?> +<?lsmb if vendorfax ?> +<br>Fax: <?lsmb vendorfax ?> +<?lsmb end vendorfax ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddr2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddr2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> +<?lsmb if shiptocontact ?> +<br>Attn: <?lsmb shiptocontact ?> +<?lsmb end shiptocontact ?> +<?lsmb if shiptophone ?> +<br>Tel: <?lsmb shiptophone ?> +<?lsmb end shiptophone ?> +<?lsmb if shiptofax ?> +<br>Fax: <?lsmb shiptofax ?> +<?lsmb end shiptofax ?> </tr> </table> </td> @@ -106,12 +106,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -127,7 +127,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr> <!-- <th align=right>No.</th> --> <th align=left>Numner</th> @@ -139,19 +139,19 @@ <th>Utkat</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -other per line item variables available <%reqdate%> +<!-- <td align=right><?lsmb runningnumber ?>.</td> +other per line item variables available <?lsmb reqdate ?> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> @@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> -<%if notes%> + <table width=100 ?> +<?lsmb if notes ?> <tr valign=top> <td>Notes</td> - <td><%notes%></td> + <td><?lsmb notes ?></td> </tr> -<%end notes%> +<?lsmb end notes ?> </table> </td> @@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=70%> </td> + <td width=70 ?> </td> - <td width=30%> + <td width=30 ?> X <hr noshade> </td> </tr> diff --git a/templates/Swedish-request_quotation.tex b/templates/Swedish-request_quotation.tex index 19bd9fc9..9e145b0e 100755 --- a/templates/Swedish-request_quotation.tex +++ b/templates/Swedish-request_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt}
}
-<%pagebreak 65 27 48%>
+<?lsmb pagebreak 65 27 48 ?>
\end{tabularx}
\rule{\textwidth}{2pt}
\hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{pris ex moms} & \textbf{<%sumcarriedforward%>} \\
+ \textbf{pris ex moms} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
\vspace*{-12pt}
\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Utkning} \\
- & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\vspace*{0.5cm}
@@ -73,63 +73,63 @@ \textbf{To}
\vspace{0.7cm}
-<%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%>
+<?lsmb if contact ?>
+<?lsmb contact ?>
\vspace{0.2cm}
-<%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]{.45\textwidth}{
\textbf{Ship To}
\vspace{0.7cm}
-<%shiptoname%>
+<?lsmb shiptoname ?>
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
-<%shiptoaddress2%>
+<?lsmb shiptoaddress2 ?>
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
-<%shiptocountry%>
+<?lsmb shiptocountry ?>
\vspace{0.3cm}
-<%if shiptocontact%>
-<%shiptocontact%>
+<?lsmb if shiptocontact ?>
+<?lsmb shiptocontact ?>
\vspace{0.2cm}
-<%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
@@ -143,7 +143,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
\textbf{RFQ \#} & \textbf{Datum} & \textbf{Begrd av} & \textbf{Kontakt} & \textbf{Destination} & \textbf{Fraktas via} \\ [0.5ex]
\hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
+ <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
\hline
\end{tabularx}
@@ -156,9 +156,9 @@ Var vnlig ange pris och berknad fraktid p dessa varor: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} & &
\textbf{Leverans} & \textbf{Enhets pris} & \textbf{Utkat} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> & <%unit%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\
+<?lsmb end number ?>
\end{tabularx}
@@ -167,7 +167,7 @@ Var vnlig ange pris och berknad fraktid p dessa varor: \hfill
-<%notes%>
+<?lsmb notes ?>
}
diff --git a/templates/Swedish-sales_order.html b/templates/Swedish-sales_order.html index 1bcb9609..8c7a5442 100755 --- a/templates/Swedish-sales_order.html +++ b/templates/Swedish-sales_order.html @@ -1,24 +1,24 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <td align=right> <h4> - Telefon: <%tel%> - <br>Telefax: <%fax%> + Telefon: <?lsmb tel ?> + <br>Telefax: <?lsmb fax ?> </h4> </td> </tr> @@ -38,15 +38,15 @@ <td align=right> <table> <tr> - <th align=right>Order datum</th><td width=10> </td><td><%orddate%></td> + <th align=right>Order datum</th><td width=10> </td><td><?lsmb orddate ?></td> </tr> <tr> - <th align=right>Leveranssdatum</th><td width=10> </td><td><%reqdate%></td> + <th align=right>Leveranssdatum</th><td width=10> </td><td><?lsmb reqdate ?></td> </tr> <tr> - <th align=right>Ordernr.</th><td> </td><td><%ordnumber%></td></tr> + <th align=right>Ordernr.</th><td> </td><td><?lsmb ordnumber ?></td></tr> </tr> <tr> @@ -58,33 +58,33 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=left><font color=ffffff>Till:</th> <th align=left><font color=ffffff>Snds Till:</th> </tr> <tr> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> -<br><%shiptoaddress2%> -<%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%> - <%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> +<br><?lsmb shiptoaddress2 ?> +<?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> +<?lsmb shiptocountry ?> +<?lsmb end shiptocountry ?> </td> </tr> </table> @@ -97,7 +97,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <!-- <th align=right><font color=ffffff>No.</th> --> <th align=left><font color=ffffff>Nummer</th> @@ -109,43 +109,43 @@ <th><font color=ffffff>Sum</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> +<!-- <td align=right><?lsmb runningnumber ?>.</td> adjust the colspan if you include this to shift subtotal one to the right --> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discount ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=7><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb ordtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=5 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=2> </td> @@ -153,15 +153,15 @@ adjust the colspan if you include this to shift subtotal one to the right </tr> <tr> - <td colspan=3>Betalingsfrist <b><%terms%></b> dager</td> + <td colspan=3>Betalingsfrist <b><?lsmb terms ?></b> dager</td> <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> + <th colspan=2 align=right><?lsmb ordtotal ?></th> </tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <tr> <td colspan=3>Moms r inkluderat i totalpriset</td> </tr> -<%end taxincluded%> +<?lsmb end taxincluded ?> <tr> <td> </td> @@ -173,15 +173,15 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Note</td> - <td><pre><%notes%></pre></td> -<%end notes%> + <td><pre><?lsmb notes ?></pre></td> +<?lsmb end notes ?> <td align=right> - Alle priser i valuta <b><%currency%></b> - <br><%shippingpoint%> + Alle priser i valuta <b><?lsmb currency ?></b> + <br><?lsmb shippingpoint ?> </td> </tr> @@ -193,7 +193,7 @@ adjust the colspan if you include this to shift subtotal one to the right <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td><font size=-3> Vid spesialanpassade ordrar (pkrivet av kunden), skrddersydda produkter, frndrade eller diff --git a/templates/Swedish-sales_order.tex b/templates/Swedish-sales_order.tex index 81534094..744ae427 100755 --- a/templates/Swedish-sales_order.tex +++ b/templates/Swedish-sales_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,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 48%>
+<?lsmb pagebreak 65 27 48 ?>
\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}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \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
\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{S L J} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
\hfill
\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Order datum} & <%orddate%> \\
-<%if reqdate%>
- \textbf{Leverans innan} & <%reqdate%> \\
-<%end reqdate%>
- \textbf{Ordrenr.} & <%ordnumber%>
+ \textbf{Order datum} & <?lsmb orddate ?> \\
+<?lsmb if reqdate ?>
+ \textbf{Leverans innan} & <?lsmb reqdate ?> \\
+<?lsmb end reqdate ?>
+ \textbf{Ordrenr.} & <?lsmb ordnumber ?>
\end{tabular}
\vspace{1cm}
@@ -102,10 +102,10 @@ \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
\end{tabular*}
@@ -116,24 +116,24 @@ \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
- Alla priser i valuta \textbf{<%currency%>}.
+ Alla priser i valuta \textbf{<?lsmb currency ?>}.
\vspace{12pt}
-<%if notes%>
- <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+ <?lsmb notes ?>
+<?lsmb end if ?>
}
diff --git a/templates/Swedish-sales_quotation.html b/templates/Swedish-sales_quotation.html index 009c66c3..cb021d41 100755 --- a/templates/Swedish-sales_quotation.html +++ b/templates/Swedish-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr valign=bottom> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -39,35 +39,35 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> </tr> @@ -90,12 +90,12 @@ </tr> <tr> - <td><%quonumber%></td> - <td><%quodate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb quonumber ?></td> + <td><?lsmb quodate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -107,7 +107,7 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>No.</th> <th align=left><font color=ffffff>Nummer</th> @@ -119,42 +119,42 @@ <th><font color=ffffff>Belopp</th> </tr> -<%foreach number%> +<?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%></td> - - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discountrate%></td> - <td align=right><%linetotal%></td> + <td align=right><?lsmb runningnumber ?></td> + + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td align=right><?lsmb sellprice ?></td> + <td align=right><?lsmb discountrate ?></td> + <td align=right><?lsmb linetotal ?></td> </tr> -<%end number%> +<?lsmb end number ?> <tr> <td colspan=8><hr noshade></td> </tr> <tr> -<%if taxincluded%> +<?lsmb if taxincluded ?> <th colspan=6 align=right>Totalt</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb invtotal ?></td> +<?lsmb end taxincluded ?> -<%if not taxincluded%> +<?lsmb if not taxincluded ?> <th colspan=6 align=right>Pris ex moms</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> + <td colspan=2 align=right><?lsmb subtotal ?></td> +<?lsmb end taxincluded ?> </tr> -<%foreach tax%> +<?lsmb foreach tax ?> <tr> - <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> + <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th> + <td colspan=2 align=right><?lsmb tax ?></td> </tr> -<%end tax%> +<?lsmb end tax ?> <tr> <td colspan=4> </td> @@ -163,12 +163,12 @@ <tr> <td colspan=4> -<%if terms%> - Terms Net <b><%terms%></b> days -<%end terms%> +<?lsmb if terms ?> + Terms Net <b><?lsmb terms ?></b> days +<?lsmb end terms ?> </td> <th colspan=2 align=right>Totalt</th> - <th colspan=2 align=right><%quototal%></th> + <th colspan=2 align=right><?lsmb quototal ?></th> </tr> <tr> @@ -181,14 +181,14 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> -<%if notes%> +<?lsmb if notes ?> <td>Notes</td> - <td><%notes%></td> -<%end notes%> + <td><?lsmb notes ?></td> +<?lsmb end notes ?> <td align=right> - Alla pricer r i <b><%currency%></b> + Alla pricer r i <b><?lsmb currency ?></b> </td> </tr> @@ -200,13 +200,13 @@ <tr> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td width=60%><font size=-3> + <td width=60 ?><font size=-3> Special orders produkter har en 10% avbestllnings kostnad </font> </td> - <td width=40%> + <td width=40 ?> X <hr noshade> </td> </tr> diff --git a/templates/Swedish-sales_quotation.tex b/templates/Swedish-sales_quotation.tex index 3b0fe791..0106b6ba 100755 --- a/templates/Swedish-sales_quotation.tex +++ b/templates/Swedish-sales_quotation.tex @@ -27,43 +27,43 @@ \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.5ex]{\textwidth}{0.5pt}
}
-<%pagebreak 65 27 48%>
+<?lsmb pagebreak 65 27 48 ?>
\end{tabular*}
\rule{\textwidth}{2pt}
\hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
+\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>}
\vspace*{-12pt}
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt \%} & \textbf{Belopp} \\
- & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\vspace*{0.5cm}
@@ -71,31 +71,31 @@ \parbox[t]{1cm}{\hfill}
\parbox[t]{.45\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}
-<%contact%>
+<?lsmb 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 ?>
}
\vspace{1cm}
@@ -108,7 +108,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
\textbf{Kvot \#} & \textbf{Datum} & \textbf{Giltig till} & \textbf{Kontakt} & \textbf{Fraktdestination} & \textbf{Fraktas via} \\ [0.5ex]
\hline
- <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
+ <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
\hline
\end{tabularx}
@@ -117,10 +117,10 @@ Fax: <%customerfax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt \%} & \textbf{Totalt} \\
-<%foreach number%>
- <%number%> & <%description%> & <%qty%> &
- <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
-<%end number%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\
+<?lsmb end number ?>
\end{tabular*}
@@ -131,22 +131,22 @@ Fax: <%customerfax%> \hfill
\begin{tabularx}{7cm}{Xr@{}}
- Subtotal & <%subtotal%> \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%>\\
-<%end tax%>
+ Subtotal & <?lsmb subtotal ?> \\
+<?lsmb foreach tax ?>
+ <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
+<?lsmb end tax ?>
\hline
- Total & <%quototal%>\\
+ Total & <?lsmb quototal ?>\\
\end{tabularx}
\vspace{0.3cm}
\hfill
- Alla pricer i \textbf{<%currency%>}.
+ Alla pricer i \textbf{<?lsmb currency ?>}.
\vspace{12pt}
-<%notes%>
+<?lsmb notes ?>
}
diff --git a/templates/Swedish-statement.html b/templates/Swedish-statement.html index 40fd5d7f..7ef6eb84 100755 --- a/templates/Swedish-statement.html +++ b/templates/Swedish-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th> <td align=right> <h4> - Telefon: <%tel%> - <br>Telefax: <%fax%> + Telefon: <?lsmb tel ?> + <br>Telefax: <?lsmb fax ?> </h4> </td> </tr> @@ -25,7 +25,7 @@ <th colspan=3><h4> V E R S I K T</h4></th> </tr> <tr> - <td colspan=3 align=right><%statementdate%></td> + <td colspan=3 align=right><?lsmb statementdate ?></td> </tr> </table> </td> @@ -33,27 +33,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> -<br><%address2%> -<%end address2%> - <br><%city%> <%state%> <%zipcode%> - <%if country%> -<%country%> -<%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> +<br><?lsmb address2 ?> +<?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> + <?lsmb if country ?> +<?lsmb country ?> +<?lsmb end country ?> <br> -<%if customerphone%> - <br>Telefon: <%customerphone%> -<%end customerphone%> -<%if customerfax%> - <br>Telefax: <%customerfax%> -<%end customerfax%> -<%if email%> - <br><%email%> -<%end email%> +<?lsmb if customerphone ?> + <br>Telefon: <?lsmb customerphone ?> +<?lsmb end customerphone ?> +<?lsmb if customerfax ?> + <br>Telefax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> +<?lsmb if email ?> + <br><?lsmb email ?> +<?lsmb end email ?> </td> </tr> </table> @@ -63,27 +63,27 @@ <tr> <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <th align=left>Faktura #</th> - <th width=15%>Datum</th> - <th width=15%>Betalningsfrist</th> - <th width=10%>Nuvarande</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> + <th width=15 ?>Datum</th> + <th width=15 ?>Betalningsfrist</th> + <th width=10 ?>Nuvarande</th> + <th width=10 ?>30</th> + <th width=10 ?>60</th> + <th width=10 ?>90+</th> </tr> -<%foreach invnumber%> +<?lsmb foreach invnumber ?> <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> + <td><?lsmb invnumber ?></td> + <td><?lsmb invdate ?></td> + <td><?lsmb duedate ?></td> + <td align=right><?lsmb c0 ?></td> + <td align=right><?lsmb c30 ?></td> + <td align=right><?lsmb c60 ?></td> + <td align=right><?lsmb c90 ?></td> </tr> -<%end invnumber%> +<?lsmb end invnumber ?> <tr> <td colspan=7><hr size=1></td> </tr> @@ -91,10 +91,10 @@ <td> </td> <td> </td> <td> </td> - <th align=right><%c0total%></td> - <th align=right><%c30total%></td> - <th align=right><%c60total%></td> - <th align=right><%c90total%></td> + <th align=right><?lsmb c0total ?></td> + <th align=right><?lsmb c30total ?></td> + <th align=right><?lsmb c60total ?></td> + <th align=right><?lsmb c90total ?></td> </tr> </table> </td> @@ -103,10 +103,10 @@ <tr> <td> </td> <td align=right> - <table width=50%> + <table width=50 ?> <tr> <th>Totalt utestende</th> - <th align=right><%total%></th> + <th align=right><?lsmb total ?></th> </tr> </table> </td> diff --git a/templates/Swedish-statement.tex b/templates/Swedish-statement.tex index e05c1232..3052deec 100755 --- a/templates/Swedish-statement.tex +++ b/templates/Swedish-statement.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{
\parbox[b]{12cm}{
- <%company%>
+ <?lsmb company ?>
- <%address%>}\hfill
+ <?lsmb address ?>}\hfill
\begin{tabular}[b]{rrr@{}}
- Tel. & <%tel%>\\
- Faks & <%fax%>
+ Tel. & <?lsmb tel ?>\\
+ Faks & <?lsmb fax ?>
\end{tabular}
\rule[1.5ex]{\textwidth}{0.5pt}
@@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont
-\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
+\markboth{<?lsmb company ?>\hfill <?lsmb statementdate ?>}{\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{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markright{<%company%>\hfill <%statementdate%>}
+\markright{<?lsmb company ?>\hfill <?lsmb statementdate ?>}
\vspace*{-12pt}
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
\textbf{Faktura \#} & \textbf{Datum} & \textbf{Frn} &
\textbf{Aktuell} & \textbf{30} & \textbf{60} & \textbf{90+} \\
- carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ carried forward from <?lsmb lastpage ?> & & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
@@ -74,31 +74,31 @@ \parbox[t]{1cm}{\hfill}
\parbox[t]{10.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 ?>
}
\parbox[t]{7.5cm}{
-<%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
@@ -106,18 +106,18 @@ Fax: <%customerfax%> \textbf{ V E R S I K T} \hfill
-\hfill <%statementdate%>
+\hfill <?lsmb statementdate ?>
\vspace{2cm}
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
\textbf{Faktura \#} & \textbf{Datum} & \textbf{Frist} &
\textbf{Skyldig} & \textbf{30} & \textbf{60} & \textbf{90+} \\
-<%foreach invnumber%>
- <%invnumber%> & <%invdate%> & <%duedate%> &
- <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
-\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
+<?lsmb foreach invnumber ?>
+ <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> &
+ <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\
+<?lsmb end invnumber ?>
+\textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?>
\end{tabular*}
\rule{\textwidth}{1pt}
@@ -125,7 +125,7 @@ Fax: <%customerfax%> \hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Total skuld} & <%total%>
+ \textbf{Total skuld} & <?lsmb total ?>
\end{tabularx}
\vfill
diff --git a/templates/Swedish-timecard.html b/templates/Swedish-timecard.html index ea4e7abc..0bb92b4e 100755 --- a/templates/Swedish-timecard.html +++ b/templates/Swedish-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -18,8 +18,8 @@ <td align=right>
<h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
+ Tel: <?lsmb tel ?>
+ <br>Fax: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -44,11 +44,11 @@ <table>
<tr>
<th align=left>Anstlld</th>
- <td><%employee%></td>
+ <td><?lsmb employee ?></td>
</tr>
<tr>
<th align=left>ID</th>
- <td><%employee_id%></td>
+ <td><?lsmb employee_id ?></td>
</tr>
</table>
</td>
@@ -57,23 +57,23 @@ <table>
<tr>
<th align=left nowrap>Kort ID</th>
- <td><%id%></td>
+ <td><?lsmb id ?></td>
</tr>
<tr>
<th align=left nowrap>Arbetat Datum</th>
- <td><%transdate%></td>
+ <td><?lsmb transdate ?></td>
</tr>
<tr>
<th align=left nowrap>Tid In</th>
- <td><%checkedin%></td>
+ <td><?lsmb checkedin ?></td>
</tr>
<tr>
<th align=left>Tid Ut</th>
- <td><%checkedout%></td>
+ <td><?lsmb checkedout ?></td>
</tr>
<tr>
<th align=left nowrap>Timmar</th>
- <td><%qty%></td>
+ <td><?lsmb qty ?></td>
</tr>
</table>
</td>
@@ -88,25 +88,25 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<table>
<tr valign=top>
<th align=left>Project/Jobb #</th>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
<tr>
<th align=left>Beskrivning</th>
- <td><%projectdescription%></td>
+ <td><?lsmb projectdescription ?></td>
</tr>
<tr valign=top>
<th align=left>Arbets/Service kod</th>
- <td><%partnumber%></td>
+ <td><?lsmb partnumber ?></td>
</tr>
<tr>
<th align=left>Beskrivning</th>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
</tr>
</table>
</td>
@@ -114,11 +114,11 @@ <table>
<tr>
<th align=right>Enhets Pris</th>
- <td><%sellprice%></td>
+ <td><?lsmb sellprice ?></td>
</tr>
<tr>
<th align=right>Totalt</th>
- <td><%total%></td>
+ <td><?lsmb total ?></td>
</tr>
</table>
</td>
@@ -127,17 +127,17 @@ </td>
</tr>
-<%if notes%>
+<?lsmb if notes ?>
<tr height=5></tr>
<tr>
<td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
diff --git a/templates/Swedish-timecard.tex b/templates/Swedish-timecard.tex index d6245fa9..8498a333 100755 --- a/templates/Swedish-timecard.tex +++ b/templates/Swedish-timecard.tex @@ -16,16 +16,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@{}}
- Tel: & <%tel%>\\
- Fax: & <%fax%>
+ Tel: & <?lsmb tel ?>\\
+ Fax: & <?lsmb fax ?>
\end{tabular}
\rule[1.5em]{\textwidth}{0.5pt}
@@ -36,35 +36,35 @@ \vspace*{0.5cm}
\begin{tabular}[t]{ll}
- \textbf{Anstld} & <%employee%> \\
- \textbf{ID} & <%employee_id%> \\
+ \textbf{Anstld} & <?lsmb employee ?> \\
+ \textbf{ID} & <?lsmb employee_id ?> \\
\end{tabular}
\hfill
\begin{tabular}[t]{ll}
- \textbf{Kort ID} & <%id%> \\
- \textbf{Datum Arbetat} & <%transdate%> \\
- \textbf{Tid In} & <%checkedin%> \\
- \textbf{Tid ut} & <%checkedout%> \\
- \textbf{Timmar Arbetat} & <%qty%> \\
+ \textbf{Kort ID} & <?lsmb id ?> \\
+ \textbf{Datum Arbetat} & <?lsmb transdate ?> \\
+ \textbf{Tid In} & <?lsmb checkedin ?> \\
+ \textbf{Tid ut} & <?lsmb checkedout ?> \\
+ \textbf{Timmar Arbetat} & <?lsmb qty ?> \\
\end{tabular}
\vspace{1cm}
\begin{tabular}[b]{ll}
- \textbf{Project/Jobb \#} & <%projectnumber%> \\
- \textbf{Beskrivning} & <%projectdescription%> \\
- \textbf{Arbete/Service kod} & <%partnumber%> \\
- \textbf{Beskrivning} & <%description%> \\
+ \textbf{Project/Jobb \#} & <?lsmb projectnumber ?> \\
+ \textbf{Beskrivning} & <?lsmb projectdescription ?> \\
+ \textbf{Arbete/Service kod} & <?lsmb partnumber ?> \\
+ \textbf{Beskrivning} & <?lsmb description ?> \\
\end{tabular}
\hfill
\begin{tabular}[b]{lr}
- \textbf{Enhetspris} & <%sellprice%> \\
- \textbf{Totalt} & <%total%> \\
+ \textbf{Enhetspris} & <?lsmb sellprice ?> \\
+ \textbf{Totalt} & <?lsmb total ?> \\
\end{tabular}
\vspace{0.3cm}
-<%notes%>
+<?lsmb notes ?>
\end{document}
diff --git a/templates/Swedish-work_order.html b/templates/Swedish-work_order.html index 5d292e8e..f35b4d21 100755 --- a/templates/Swedish-work_order.html +++ b/templates/Swedish-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff> -<table width=100%> +<table width=100 ?> <tr> <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr valign=bottom> <td> <h4> - <%company%> - <br><%address%> + <?lsmb company ?> + <br><?lsmb address ?> </h4> </td> @@ -19,8 +19,8 @@ <td align=right> <h4> - Tel: <%tel%> - <br>Fax: <%fax%> + Tel: <?lsmb tel ?> + <br>Fax: <?lsmb fax ?> </h4> </td> </tr> @@ -40,59 +40,59 @@ <td> <table width=100% callspacing=0 cellpadding=0> <tr bgcolor=000000> - <th align=left width=50%><font color=ffffff>Mottagare</th> - <th align=left width=50%><font color=ffffff>Snds Till</th> + <th align=left width=50 ?><font color=ffffff>Mottagare</th> + <th align=left width=50 ?><font color=ffffff>Snds Till</th> </tr> <tr valign=top> - <td><%name%> - <br><%address1%> - <%if address2%> - <br><%address2%> - <%end address2%> - <br><%city%> <%state%> - <br><%zipcode%> - <%if country%> - <br><%country%> - <%end country%> + <td><?lsmb name ?> + <br><?lsmb address1 ?> + <?lsmb if address2 ?> + <br><?lsmb address2 ?> + <?lsmb end address2 ?> + <br><?lsmb city ?> <?lsmb state ?> + <br><?lsmb zipcode ?> + <?lsmb if country ?> + <br><?lsmb country ?> + <?lsmb end country ?> <br> - <%if contact%> - <br>Attn: <%contact%> - <%end contact%> - <%if customerphone%> - <br>Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> - <br>Fax: <%customerfax%> - <%end customerfax%> - <%if email%> - <br><%email%> - <%end email%> + <?lsmb if contact ?> + <br>Attn: <?lsmb contact ?> + <?lsmb end contact ?> + <?lsmb if customerphone ?> + <br>Tel: <?lsmb customerphone ?> + <?lsmb end customerphone ?> + <?lsmb if customerfax ?> + <br>Fax: <?lsmb customerfax ?> + <?lsmb end customerfax ?> + <?lsmb if email ?> + <br><?lsmb email ?> + <?lsmb end email ?> </td> - <td><%shiptoname%> - <br><%shiptoaddress1%> - <%if shiptoaddress2%> - <br><%shiptoaddress2%> - <%end shiptoaddress2%> - <br><%shiptocity%> <%shiptostate%> - <br><%shiptozipcode%> - <%if shiptocountry%> - <br><%shiptocountry%> - <%end shiptocountry%> + <td><?lsmb shiptoname ?> + <br><?lsmb shiptoaddress1 ?> + <?lsmb if shiptoaddress2 ?> + <br><?lsmb shiptoaddress2 ?> + <?lsmb end shiptoaddress2 ?> + <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> + <br><?lsmb shiptozipcode ?> + <?lsmb if shiptocountry ?> + <br><?lsmb shiptocountry ?> + <?lsmb end shiptocountry ?> <br> - <%if shiptocontact%> - <br><%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> - <br>Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> - <br>Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> - <br><%shiptoemail%> - <%end shiptoemail%> + <?lsmb if shiptocontact ?> + <br><?lsmb shiptocontact ?> + <?lsmb end shiptocontact ?> + <?lsmb if shiptophone ?> + <br>Tel: <?lsmb shiptophone ?> + <?lsmb end shiptophone ?> + <?lsmb if shiptofax ?> + <br>Fax: <?lsmb shiptofax ?> + <?lsmb end shiptofax ?> + <?lsmb if shiptoemail ?> + <br><?lsmb shiptoemail ?> + <?lsmb end shiptoemail ?> </td> </tr> </table> @@ -116,12 +116,12 @@ </tr> <tr> - <td><%ordnumber%></td> - <td><%orddate%></td> - <td><%reqdate%></td> - <td><%employee%></td> - <td><%shippingpoint%> </td> - <td><%shipvia%> </td> + <td><?lsmb ordnumber ?></td> + <td><?lsmb orddate ?></td> + <td><?lsmb reqdate ?></td> + <td><?lsmb employee ?></td> + <td><?lsmb shippingpoint ?> </td> + <td><?lsmb shipvia ?> </td> </tr> </table> </td> @@ -131,7 +131,7 @@ <td> </td> <td> - <table width=100%> + <table width=100 ?> <tr bgcolor=000000> <th align=right><font color=ffffff>Nr.</th> <th align=left><font color=ffffff>Nummer</th> @@ -141,16 +141,16 @@ <th><font color=ffffff>Serie Nr.</th> </tr> - <%foreach number%> + <?lsmb foreach number ?> <tr valign=top> - <td align=right><%runningnumber%>.</td> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td><%serialnumber%></td> + <td align=right><?lsmb runningnumber ?>.</td> + <td><?lsmb number ?></td> + <td><?lsmb description ?></td> + <td align=right><?lsmb qty ?></td> + <td><?lsmb unit ?></td> + <td><?lsmb serialnumber ?></td> </tr> - <%end number%> + <?lsmb end number ?> <tr> <td colspan=6><hr noshade></td> @@ -163,9 +163,9 @@ <tr> <td> </td> - <%if notes%> - <td><%notes%></td> - <%end notes%> + <?lsmb if notes ?> + <td><?lsmb notes ?></td> + <?lsmb end notes ?> </tr> </table> diff --git a/templates/Swedish-work_order.tex b/templates/Swedish-work_order.tex index c9510592..ac7ffae5 100755 --- a/templates/Swedish-work_order.tex +++ b/templates/Swedish-work_order.tex @@ -27,35 +27,35 @@ \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@{}} - Telefon & <%tel%>\\ - Fax & <%fax%> + Telefon & <?lsmb tel ?>\\ + Fax & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} } -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \vspace*{-12pt} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -65,63 +65,63 @@ \textbf{To} \vspace{0.7cm} -<%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%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.45\textwidth}{ \textbf{Ship To} \vspace{0.7cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> +<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -135,7 +135,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Datum} & \textbf{} & \textbf{Sljare} & \textbf{Destination} & \textbf{Fraktas Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -144,10 +144,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{No.} & \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} & & \textbf{Serie Nummer} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,9 +156,9 @@ Fax: <%shiptofax%> \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +<?lsmb if notes ?> + <?lsmb notes ?> +<?lsmb end if ?> } diff --git a/templates/Traditional_Chinese_Big5-ap_transaction.html b/templates/Traditional_Chinese_Big5-ap_transaction.html index dad10af1..f3f095ba 100755 --- a/templates/Traditional_Chinese_Big5-ap_transaction.html +++ b/templates/Traditional_Chinese_Big5-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%><br>
- <%address%>
+ <?lsmb company ?><br>
+ <?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%><br>
- ǯuG <%fax%>
+ qܡG <?lsmb tel ?><br>
+ ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,72 +41,72 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%>
- <%if state%>
- , <%state%>
- <%end state%>
- <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?>
+ <?lsmb if state ?>
+ , <?lsmb state ?>
+ <?lsmb end state ?>
+ <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if vendorphone%>
- <br>qܡG <%vendorphone%>
- <%end vendorphone%>
+ <?lsmb if vendorphone ?>
+ <br>qܡG <?lsmb vendorphone ?>
+ <?lsmb end vendorphone ?>
- <%if vendorfax%>
- <br>ǯuG <%vendorfax%>
- <%end vendorfax%>
+ <?lsmb if vendorfax ?>
+ <br>ǯuG <?lsmb vendorfax ?>
+ <?lsmb end vendorfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
- <%if vendortaxnumber%>
- <p>|ȽsG <%vendortaxnumber%>
- <%end vendortaxnumber%>
+ <?lsmb if vendortaxnumber ?>
+ <p>|ȽsG <?lsmb vendortaxnumber ?>
+ <?lsmb end vendortaxnumber ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>os</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap></th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap></th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
- <%if ponumber%>
+ <?lsmb if ponumber ?>
<tr>
<th align=left>ʳs</th>
- <td><%ponumber%> </td>
+ <td><?lsmb ponumber ?> </td>
</tr>
- <%end ponumber%>
- <%if ordnumber%>
+ <?lsmb end ponumber ?>
+ <?lsmb if ordnumber ?>
<tr>
<th align=left>qs</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
- <%end ordnumber%>
+ <?lsmb end ordnumber ?>
<tr>
<th align=left nowrap>¾</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -122,48 +122,48 @@ <td>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
<td width=10> </td>
- <td align=right><%amount%></td>
+ <td align=right><?lsmb amount ?></td>
<td width=10> </td>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
<td width=10> </td>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>Xp</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>pp</th>
<td width=10> </td>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
<td width=10> </td>
- <td align=right><%tax%></td>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<tr>
<th colspan=2 align=right>Xp</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
+ <td align=right><?lsmb invtotal ?></td>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
</td>
</tr>
@@ -172,7 +172,7 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
@@ -180,11 +180,11 @@ <td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
<tr>
<td> </td>
@@ -210,30 +210,30 @@ <th>Ƶ</th>
<th>B</th>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td align=right><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb paymentmemo ?></td>
+ <td align=right><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
<tr height=10></tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -241,7 +241,7 @@ <tr>
<th colspan=3 align=left><font size=-2>Wz|w]Ab椺C</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Traditional_Chinese_Big5-ap_transaction.tex b/templates/Traditional_Chinese_Big5-ap_transaction.tex index 5cd134cc..31edf3ec 100755 --- a/templates/Traditional_Chinese_Big5-ap_transaction.tex +++ b/templates/Traditional_Chinese_Big5-ap_transaction.tex @@ -12,100 +12,100 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -\hspace{-0.1cm}, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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 ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} diff --git a/templates/Traditional_Chinese_Big5-ar_transaction.html b/templates/Traditional_Chinese_Big5-ar_transaction.html index ad05276a..54d8165d 100755 --- a/templates/Traditional_Chinese_Big5-ar_transaction.html +++ b/templates/Traditional_Chinese_Big5-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%><br>
- <%address%>
+ <?lsmb company ?><br>
+ <?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%><br>
- ǯuG <%fax%>
+ qܡG <?lsmb tel ?><br>
+ ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,72 +41,72 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%>
- <%if state%>
- , <%state%>
- <%end state%>
- <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?>
+ <?lsmb if state ?>
+ , <?lsmb state ?>
+ <?lsmb end state ?>
+ <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>qܡG <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>qܡG <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>ǯuG <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>ǯuG <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
- <%if customertaxnumber%>
- <br>|ȽsG <%customertaxnumber%>
- <%end customertaxnumber%>
+ <?lsmb if customertaxnumber ?>
+ <br>|ȽsG <?lsmb customertaxnumber ?>
+ <?lsmb end customertaxnumber ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>os</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap></th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap></th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
- <%if ponumber%>
+ <?lsmb if ponumber ?>
<tr>
<th align=left>ʳs</th>
- <td><%ponumber%> </td>
+ <td><?lsmb ponumber ?> </td>
</tr>
- <%end ponumber%>
- <%if ordnumber%>
+ <?lsmb end ponumber ?>
+ <?lsmb if ordnumber ?>
<tr>
<th align=left>qs</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
- <%end ordnumber%>
+ <?lsmb end ordnumber ?>
<tr>
<th align=left nowrap>PH</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -122,48 +122,48 @@ <td>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
<td width=10> </td>
- <td align=right><%amount%></td>
+ <td align=right><?lsmb amount ?></td>
<td width=10> </td>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
<td width=10> </td>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>Xp</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>pp</th>
<td width=10> </td>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
<td width=10> </td>
- <td align=right><%tax%></td>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<tr>
<th colspan=2 align=right>Xp</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
+ <td align=right><?lsmb invtotal ?></td>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
</td>
</tr>
@@ -172,7 +172,7 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
@@ -180,11 +180,11 @@ <td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
<tr>
<td> </td>
@@ -209,37 +209,37 @@ <th>ӷ</th>
<th>B</th>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td align=right><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td align=right><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
<tr height=10></tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> U <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> U <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -247,7 +247,7 @@ <tr>
<th colspan=3 align=left><font size=-2>Wz|w]Ab椺C</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Traditional_Chinese_Big5-ar_transaction.tex b/templates/Traditional_Chinese_Big5-ar_transaction.tex index 1c3c44f3..251df3b6 100755 --- a/templates/Traditional_Chinese_Big5-ar_transaction.tex +++ b/templates/Traditional_Chinese_Big5-ar_transaction.tex @@ -12,107 +12,107 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Traditional_Chinese_Big5-balance_sheet.html b/templates/Traditional_Chinese_Big5-balance_sheet.html index a31a41dd..103b0cf2 100755 --- a/templates/Traditional_Chinese_Big5-balance_sheet.html +++ b/templates/Traditional_Chinese_Big5-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>겣tŪ -<br> <%this_period%> +<br> <?lsmb this_period ?> </h2> -<%if department%> -<h4>G <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>G <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>겣<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>겣Xp</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>t<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>tŦXp</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>ѪFvq<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>ѪFvqXp</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>tŤΪѪFvqXp</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Traditional_Chinese_Big5-bin_list.html b/templates/Traditional_Chinese_Big5-bin_list.html index 050ee7de..6867ed4c 100755 --- a/templates/Traditional_Chinese_Big5-bin_list.html +++ b/templates/Traditional_Chinese_Big5-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <th align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,62 +40,62 @@ <td>
<table width=100% cellspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>q</th>
- <th align=left width=50%><font color=ffffff>IB</th>
+ <th align=left width=50 ?><font color=ffffff>q</th>
+ <th align=left width=50 ?><font color=ffffff>IB</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+<br><?lsmb address2 ?>
+<?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
<br>
- <%if contact%>
- <br>PG <%contact%>
- <%end contact%>
+ <?lsmb if contact ?>
+ <br>PG <?lsmb contact ?>
+ <?lsmb end contact ?>
- <%if vendorphone%>
- <br>qܡG <%vendorphone%>
- <%end vendorphone%>
+ <?lsmb if vendorphone ?>
+ <br>qܡG <?lsmb vendorphone ?>
+ <?lsmb end vendorphone ?>
- <%if vendorfax%>
- <br>ǯuG <%vendorfax%>
- <%end vendorfax%>
+ <?lsmb if vendorfax ?>
+ <br>ǯuG <?lsmb vendorfax ?>
+ <?lsmb end vendorfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+<br><?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br>PG <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>PG <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>qܡG <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>qܡG <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>ǯuG <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>ǯuG <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
</td>
</tr>
</table>
@@ -113,32 +113,32 @@ <th width=17% align=left nowrap>qs</th>
<th width=17% align=left nowrap></th>
<th width=17% align=left nowrap>pH</th>
- <%if warehouse%>
+ <?lsmb if warehouse ?>
<th width=17% align=left nowrap>ܮw</th>
- <%end warehouse%>
+ <?lsmb end warehouse ?>
<th width=17% align=left>IBI</th>
<th width=15% align=left>IBq</th>
</tr>
<tr>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb orddate ?></td>
+ <?lsmb end shippingdate ?>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
+ <?lsmb if warehouse ?>
+ <td><?lsmb warehouse ?></td>
+ <?lsmb end warehouse ?>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -148,7 +148,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>m</th>
<th align=left><font color=ffffff>X</th>
@@ -161,19 +161,19 @@ <th><font color=ffffff>c</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
+ <td><?lsmb runningnumber ?></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb serialnumber ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td align=right><?lsmb ship ?></td>
+ <td><?lsmb unit ?></td>
+ <td><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
diff --git a/templates/Traditional_Chinese_Big5-bin_list.tex b/templates/Traditional_Chinese_Big5-bin_list.tex index 1bc85d66..0883d69f 100755 --- a/templates/Traditional_Chinese_Big5-bin_list.tex +++ b/templates/Traditional_Chinese_Big5-bin_list.tex @@ -11,19 +11,19 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -32,37 +32,37 @@ \textbf{From} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \hfill @@ -75,24 +75,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -101,10 +101,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Traditional_Chinese_Big5-check.tex b/templates/Traditional_Chinese_Big5-check.tex index e1d5f566..17e853a9 100755 --- a/templates/Traditional_Chinese_Big5-check.tex +++ b/templates/Traditional_Chinese_Big5-check.tex @@ -12,66 +12,66 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice \#} & \textbf{Invoice Date} & \textbf{Amount Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Traditional_Chinese_Big5-income_statement.html b/templates/Traditional_Chinese_Big5-income_statement.html index 39bdad01..f16bf4e1 100755 --- a/templates/Traditional_Chinese_Big5-income_statement.html +++ b/templates/Traditional_Chinese_Big5-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>lq -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>G <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>G <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>sG <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>sG <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>J<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>JXp</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>O<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>OΦXp</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>J / (l)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Traditional_Chinese_Big5-invoice.html b/templates/Traditional_Chinese_Big5-invoice.html index 42fdfd14..4a228b97 100755 --- a/templates/Traditional_Chinese_Big5-invoice.html +++ b/templates/Traditional_Chinese_Big5-invoice.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,67 +40,67 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>P</th>
- <th align=left width=50%><font color=ffffff>IB</th>
+ <th align=left width=50 ?><font color=ffffff>P</th>
+ <th align=left width=50 ?><font color=ffffff>IB</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>qܡG <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>qܡG <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>ǯuG <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>ǯuG <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
<br>
- <%end shiptocontact%>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>qܡG <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>qܡG <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>ǯuG <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>ǯuG <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -125,13 +125,13 @@ </tr>
<tr>
- <td><%invnumber%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td><%ordnumber%> </td>
- <td><%employee%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td><?lsmb ordnumber ?> </td>
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -141,7 +141,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>s</th>
<th align=left><font color=ffffff>X</th>
@@ -154,19 +154,19 @@ <th align=right><font color=ffffff>`</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<!--
you can also use netprice instead of sellprice if you
@@ -179,43 +179,43 @@ netprice = sellprice - discount </tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=7 align=right>Xp</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=7 align=right>pp</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=7 align=right><%taxdescription%> <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=7 align=right><?lsmb taxdescription ?> <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<th colspan=7 align=right>wI</th>
- <td colspan=2 align=right>- <%paid%></td>
+ <td colspan=2 align=right>- <?lsmb paid ?></td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr>
<td colspan=5> </td>
<td colspan=4><hr noshade></td>
</tr>
- <%if total%>
+ <?lsmb if total ?>
<tr>
<td colspan=5> </td>
<th colspan=2 align=right nowrap>|B</th>
- <th colspan=2 align=right><%total%></th>
+ <th colspan=2 align=right><?lsmb total ?></th>
</tr>
- <%end total%>
+ <?lsmb end total ?>
<tr>
</table>
@@ -226,28 +226,28 @@ netprice = sellprice - discount <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
- <td><%text_amount%> ***** <%decimal%>/100</td>
+ <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>
<td align=right nowrap>
- All prices in <b><%currency%></b>
+ All prices in <b><?lsmb currency ?></b>
</td>
</tr>
</table>
</td>
</tr>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<td> </td>
<td colspan=9>
- <table width=60%>
+ <table width=60 ?>
<tr>
<th align=left>I</th>
@@ -265,22 +265,22 @@ netprice = sellprice - discount <th align=left>ӷ</th>
<th align=left>B</th>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid%>
+ <?lsmb if paid ?>
</table>
</td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr height=10></tr>
@@ -296,15 +296,15 @@ netprice = sellprice - discount <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
- Щ<%duedate%>eIڡCh^~I10%^OΡCYnh^~Ao<%company%>vCh^
-~BOMOIOۭtCYb~X{lpA<%company%>N|tdC
+ <td width=60 ?><font size=-3>
+ Щ<?lsmb duedate ?>eIڡCh^~I10%^OΡCYnh^~Ao<?lsmb company ?>vCh^
+~BOMOIOۭtCYb~X{lpA<?lsmb company ?>N|tdC
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
@@ -312,15 +312,15 @@ netprice = sellprice - discount </td>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> U <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> U <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -328,7 +328,7 @@ netprice = sellprice - discount <tr>
<th colspan=8 align=left><font size=-2>Wz|w]Ab椤C</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Traditional_Chinese_Big5-invoice.tex b/templates/Traditional_Chinese_Big5-invoice.tex index fa7145bf..e7f74697 100755 --- a/templates/Traditional_Chinese_Big5-invoice.tex +++ b/templates/Traditional_Chinese_Big5-invoice.tex @@ -16,15 +16,15 @@ \parbox{\textwidth}{ \tiny \rule[1.5em]{\textwidth}{0.5pt} -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <?lsmb duedate ?> until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \rule{\textwidth}{2pt} @@ -33,18 +33,18 @@ A return authorization must be obtained from <%company%> before goods are return \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] - & carried forward from page <%lastpage%> & & & & & & & <%sumcarriedforward%> \\ [0.5em] -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & & & <?lsmb sumcarriedforward ?> \\ [0.5em] +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -53,71 +53,71 @@ A return authorization must be obtained from <%company%> before goods are return \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -132,8 +132,8 @@ Fax: <%shiptofax%> \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Order \#} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -142,10 +142,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> & - <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb deliverydate ?> & + <?lsmb qty ?> & <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,44 +156,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - & Paid & - <%paid%> \\ -<%end paid%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + & Paid & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline -<%if total%> - & Balance Due & <%total%> -<%end total%> +<?lsmb if total ?> + & Balance Due & <?lsmb total ?> +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Payments} & & & \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabularx} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{1cm} diff --git a/templates/Traditional_Chinese_Big5-letterhead.html b/templates/Traditional_Chinese_Big5-letterhead.html index d59b8315..758681ad 100755 --- a/templates/Traditional_Chinese_Big5-letterhead.html +++ b/templates/Traditional_Chinese_Big5-letterhead.html @@ -2,21 +2,21 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> - <th><img src=../<%templates%>/logo.png border=0 width=84 height=58></th> + <th><img src=../<?lsmb templates ?>/logo.png border=0 width=84 height=58></th> <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> diff --git a/templates/Traditional_Chinese_Big5-letterhead.tex b/templates/Traditional_Chinese_Big5-letterhead.tex index 16d805af..24e29b4f 100755 --- a/templates/Traditional_Chinese_Big5-letterhead.tex +++ b/templates/Traditional_Chinese_Big5-letterhead.tex @@ -1,15 +1,15 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ - \includegraphics[scale=0.3]{../<%templates%>/logo} + \includegraphics[scale=0.3]{../<?lsmb templates ?>/logo} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} diff --git a/templates/Traditional_Chinese_Big5-packing_list.html b/templates/Traditional_Chinese_Big5-packing_list.html index 78ba4aac..45221a75 100755 --- a/templates/Traditional_Chinese_Big5-packing_list.html +++ b/templates/Traditional_Chinese_Big5-packing_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,35 +41,35 @@ <table width=100% cellspacing=0 cellpadding=0>
<tr bgcolor=000000>
<th width=50% align=left><font color=ffffff>IBG</th>
- <th width=50%> </th>
+ <th width=50 ?> </th>
</tr>
<tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
</td>
<td>
- <%if shiptocontact%>
- <br>PG<%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>PG<?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>qܡG <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>qܡG <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>ǯuG <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>ǯuG <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%shiptoemail%>
+ <?lsmb shiptoemail ?>
</td>
</tr>
</table>
@@ -88,33 +88,33 @@ <th width=17% align=left>qs</th>
<th width=17% align=left></th>
<th width=17% align=left nowrap>pH</th>
- <%if warehouse%>
+ <?lsmb if warehouse ?>
<th width=17% align=left>ܮw</th>
- <%end warehouse%>
+ <?lsmb end warehouse ?>
<th width=17% align=left>IBI</th>
<th width=15% align=left>IBq</th>
</tr>
<tr>
- <td><%invnumber%> </td>
- <td><%ordnumber%> </td>
+ <td><?lsmb invnumber ?> </td>
+ <td><?lsmb ordnumber ?> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb transdate ?></td>
+ <?lsmb end shippingdate ?>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
- <%if warehouse%>
- <td><%warehouse%> </td>
- <%end warehouse%>
+ <?lsmb if warehouse ?>
+ <td><?lsmb warehouse ?> </td>
+ <?lsmb end warehouse ?>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -124,7 +124,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>m</th>
<th align=left><font color=ffffff>s</th>
@@ -136,18 +136,18 @@ <th> </th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
+ <td><?lsmb runningnumber ?></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb serialnumber ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td align=right><?lsmb ship ?></td>
+ <td><?lsmb unit ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
@@ -163,10 +163,10 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td>Ƶ</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
</table>
</td>
@@ -176,14 +176,14 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%><font size=-3>
-h^~I10%^OΡCYnh^~Ao<%company%>vCh^
-~BOMOIOۭtCYb~X{lpA<%company%>N|tdC
+ <td width=70 ?><font size=-3>
+h^~I10%^OΡCYnh^~Ao<?lsmb company ?>vCh^
+~BOMOIOۭtCYb~X{lpA<?lsmb company ?>N|tdC
</font>
</td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-packing_list.tex b/templates/Traditional_Chinese_Big5-packing_list.tex index 2d3a1945..4798a92d 100755 --- a/templates/Traditional_Chinese_Big5-packing_list.tex +++ b/templates/Traditional_Chinese_Big5-packing_list.tex @@ -17,24 +17,24 @@ \tiny \rule[1.5em]{\textwidth}{0.5pt} Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -46,32 +46,32 @@ returned. Returns must be shipped prepaid and properly insured. \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -84,24 +84,24 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -110,10 +110,10 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -122,7 +122,7 @@ returned. Returns must be shipped prepaid and properly insured. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_Big5-pick_list.html b/templates/Traditional_Chinese_Big5-pick_list.html index 247f94ef..1543d306 100755 --- a/templates/Traditional_Chinese_Big5-pick_list.html +++ b/templates/Traditional_Chinese_Big5-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
<th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%> </th>
+ <th width=50 ?> </th>
</tr>
<tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
</td>
<td>
- <%if shiptocontact%>
- <br>PG <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>PG <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>qܡG <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>qܡG <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>ǯuG <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>ǯuG <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%shiptoemail%>
+ <?lsmb shiptoemail ?>
</td>
</tr>
</table>
@@ -94,20 +94,20 @@ </tr>
<tr>
- <td><%invnumber%> </td>
- <td><%ordnumber%> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%> </td>
- <td><%warehouse%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?> </td>
+ <td><?lsmb ordnumber ?> </td>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb transdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb warehouse ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -117,7 +117,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>m</th>
<th align=left><font color=ffffff>X</th>
@@ -128,17 +128,17 @@ <th><font color=ffffff>c</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
+ <td><?lsmb runningnumber ?>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
<td align=right>[ ]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-pick_list.tex b/templates/Traditional_Chinese_Big5-pick_list.tex index 2f82936a..cf8bb4fb 100755 --- a/templates/Traditional_Chinese_Big5-pick_list.tex +++ b/templates/Traditional_Chinese_Big5-pick_list.tex @@ -11,21 +11,21 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -37,32 +37,32 @@ \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -77,14 +77,14 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> & <%warehouse%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> & <?lsmb warehouse ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -93,10 +93,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Traditional_Chinese_Big5-pos_invoice.txt b/templates/Traditional_Chinese_Big5-pos_invoice.txt index cbc0055a..5cffdb3a 100755 --- a/templates/Traditional_Chinese_Big5-pos_invoice.txt +++ b/templates/Traditional_Chinese_Big5-pos_invoice.txt @@ -1,45 +1,45 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv #/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv #/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%totalqty%> -<%if taxincluded%> +Number of items: <?lsmb totalqty ?> +<?lsmb if taxincluded ?> --------------- - Total: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Total: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> -<%foreach payment%> - Paid: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> +<?lsmb foreach payment ?> + Paid: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> -<%discount%> % Discount applied -<%end discount%> +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Traditional_Chinese_Big5-purchase_order.html b/templates/Traditional_Chinese_Big5-purchase_order.html index 73366764..4b167dde 100755 --- a/templates/Traditional_Chinese_Big5-purchase_order.html +++ b/templates/Traditional_Chinese_Big5-purchase_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -20,8 +20,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,53 +39,53 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>PG</th>
- <th align=left width=50%><font color=ffffff>IBG</th>
+ <th align=left width=50 ?><font color=ffffff>PG</th>
+ <th align=left width=50 ?><font color=ffffff>IBG</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if contact%>
-<br>PG <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>qܡG <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>ǯuG <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>PG <?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>qܡG <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>ǯuG <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
-<%if shiptocontact%>
-<br>PG <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>qܡG <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>ǯuG <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>PG <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>qܡG <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>ǯuG <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
</tr>
</table>
</td>
@@ -106,12 +106,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -120,7 +120,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<!-- <th align=right><font color=ffffff>No.</th> -->
<th align=left><font color=ffffff>X</th>
@@ -132,80 +132,80 @@ <th><font color=ffffff>B</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></th>
- <td align=right><%linetotal%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></th>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
</tr>
<tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<th colspan=6 align=right>Xp</th>
- <th colspan=1 align=right><%ordtotal%></th>
-<%end taxincluded%>
+ <th colspan=1 align=right><?lsmb ordtotal ?></th>
+<?lsmb end taxincluded ?>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>pp</th>
- <td colspan=1 align=right><%subtotal%></td>
-<%end taxincluded%>
+ <td colspan=1 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=1 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=1 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=3> </td>
<td colspan=4><hr noshade></td>
</tr>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>Xp</th>
- <td colspan=1 align=right><%ordtotal%></td>
-<%end taxincluded%>
+ <td colspan=1 align=right><?lsmb ordtotal ?></td>
+<?lsmb end taxincluded ?>
-<%if terms%>
+<?lsmb if terms ?>
<tr>
- <td colspan=3>Ĵb<b><%terms%></b></td>
+ <td colspan=3>Ĵb<b><?lsmb terms ?></b></td>
<th colspan=3 align=right>Xp</th>
- <th colspan=1 align=right><%ordtotal%></th>
+ <th colspan=1 align=right><?lsmb ordtotal ?></th>
</tr>
-<%end terms%>
+<?lsmb end terms ?>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<tr>
<td colspan=2>w]|</td>
</tr>
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
<tr>
<td> </td>
</tr>
-<%if ordtotal%>
+<?lsmb if ordtotal ?>
<tr>
<td colspan=7 align=right>
- Ҧ欰<b><%currency%></b>
+ Ҧ欰<b><?lsmb currency ?></b>
</td>
</tr>
-<%end ordtotal%>
+<?lsmb end ordtotal ?>
</table>
</td>
@@ -213,13 +213,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
-<%if notes%>
+ <table width=100 ?>
+<?lsmb if notes ?>
<tr valign=top>
<td>Ƶ</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
</td>
@@ -229,11 +229,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%> </td>
+ <td width=70 ?> </td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-purchase_order.tex b/templates/Traditional_Chinese_Big5-purchase_order.tex index fe1e6428..260bec99 100755 --- a/templates/Traditional_Chinese_Big5-purchase_order.tex +++ b/templates/Traditional_Chinese_Big5-purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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 ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> +<?lsmb if contact ?> +Attn: <?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> +<?lsmb if shiptocontact ?> +Attn: <?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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{tabularx} @@ -142,22 +142,22 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_Big5-receipt.tex b/templates/Traditional_Chinese_Big5-receipt.tex index effc19b6..01e84022 100755 --- a/templates/Traditional_Chinese_Big5-receipt.tex +++ b/templates/Traditional_Chinese_Big5-receipt.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Traditional_Chinese_Big5-request_quotation.html b/templates/Traditional_Chinese_Big5-request_quotation.html index 8d921c52..92e880cc 100755 --- a/templates/Traditional_Chinese_Big5-request_quotation.html +++ b/templates/Traditional_Chinese_Big5-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -20,8 +20,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,53 +39,53 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>PG</th>
- <th align=left width=50%><font color=ffffff>IBG</th>
+ <th align=left width=50 ?><font color=ffffff>PG</th>
+ <th align=left width=50 ?><font color=ffffff>IBG</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if contact%>
-<br>PG<%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>qܡG <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>ǯuG <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>PG<?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>qܡG <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>ǯuG <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddr2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
-<%if shiptocontact%>
-<br>PG <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>qܡG <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>ǯuG <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>PG <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>qܡG <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>ǯuG <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
</tr>
</table>
</td>
@@ -106,12 +106,12 @@ </tr>
<tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb quonumber ?></td>
+ <td><?lsmb quodate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -127,7 +127,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<!-- <th align=right>No.</th> -->
<th align=left>X</th>
@@ -139,19 +139,19 @@ <th>`</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
-<%if notes%>
+ <table width=100 ?>
+<?lsmb if notes ?>
<tr valign=top>
<td>Ƶ</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
</td>
@@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%> </td>
+ <td width=70 ?> </td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-request_quotation.tex b/templates/Traditional_Chinese_Big5-request_quotation.tex index cf95dd89..e620c517 100755 --- a/templates/Traditional_Chinese_Big5-request_quotation.tex +++ b/templates/Traditional_Chinese_Big5-request_quotation.tex @@ -11,28 +11,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -41,71 +41,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -132,9 +132,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,7 +143,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_Big5-sales_order.html b/templates/Traditional_Chinese_Big5-sales_order.html index e65ab6a7..41cc918e 100755 --- a/templates/Traditional_Chinese_Big5-sales_order.html +++ b/templates/Traditional_Chinese_Big5-sales_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,59 +40,59 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>P</th>
- <th align=left width=50%><font color=ffffff>IB</th>
+ <th align=left width=50 ?><font color=ffffff>P</th>
+ <th align=left width=50 ?><font color=ffffff>IB</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?>
+ <br><?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>PG <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>qܡG <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>ǯuG <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>PG <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>qܡG <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>ǯuG <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+ <br><?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>qܡG <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>ǯuG <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>qܡG <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>ǯuG <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -116,12 +116,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>X</th>
<th align=left><font color=ffffff>X</th>
@@ -143,41 +143,41 @@ <th><font color=ffffff>B</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=6 align=right>Xp</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=6 align=right>pp</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
<tr>
<td colspan=4> </td>
@@ -186,13 +186,13 @@ <tr>
<td colspan=4>
- <%text_amount%> ***** <%decimal%>/100
- <%if terms%>
- <br>Ĵb<b><%terms%></b>
- <%end terms%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
+ <?lsmb if terms ?>
+ <br>Ĵb<b><?lsmb terms ?></b>
+ <?lsmb end terms ?>
</td>
<th colspan=2 align=right>Xp</th>
- <th colspan=2 align=right><%ordtotal%></th>
+ <th colspan=2 align=right><?lsmb ordtotal ?></th>
</tr>
<tr>
@@ -207,14 +207,14 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
+ <?lsmb if notes ?>
<td>Ƶ</td>
- <td><%notes%></td>
- <%end notes%>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
<td align=right nowrap>
- Ҧ槡<b><%currency%></b>
+ Ҧ槡<b><?lsmb currency ?></b>
</td>
</tr>
</table>
@@ -225,13 +225,13 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
YnqʯS~qAI10%qOΡC
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-sales_order.tex b/templates/Traditional_Chinese_Big5-sales_order.tex index 60f7bfeb..d3693af8 100755 --- a/templates/Traditional_Chinese_Big5-sales_order.tex +++ b/templates/Traditional_Chinese_Big5-sales_order.tex @@ -11,29 +11,29 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -120,7 +120,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,27 +143,27 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_Big5-sales_quotation.html b/templates/Traditional_Chinese_Big5-sales_quotation.html index f007284e..99f2c469 100755 --- a/templates/Traditional_Chinese_Big5-sales_quotation.html +++ b/templates/Traditional_Chinese_Big5-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,35 +39,35 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>PG <%contact%>
- <%end contact%>
+ <?lsmb if contact ?>
+ <br>PG <?lsmb contact ?>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>qܡG <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>qܡG <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>ǯuG <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>ǯuG <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
</tr>
@@ -90,12 +90,12 @@ </tr>
<tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb quonumber ?></td>
+ <td><?lsmb quodate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -107,7 +107,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>X</th>
<th align=left><font color=ffffff>X</th>
@@ -119,42 +119,42 @@ <th><font color=ffffff>B</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%></td>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?></td>
+
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<th colspan=6 align=right>Xp</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+<?lsmb end taxincluded ?>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>pp</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=4> </td>
@@ -163,12 +163,12 @@ <tr>
<td colspan=4>
-<%if terms%>
- Ĵb<b><%terms%></b>
-<%end terms%>
+<?lsmb if terms ?>
+ Ĵb<b><?lsmb terms ?></b>
+<?lsmb end terms ?>
</td>
<th colspan=2 align=right>Xp</th>
- <th colspan=2 align=right><%quototal%></th>
+ <th colspan=2 align=right><?lsmb quototal ?></th>
</tr>
<tr>
@@ -181,14 +181,14 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
<td>Ƶ</td>
- <td><%notes%></td>
-<%end notes%>
+ <td><?lsmb notes ?></td>
+<?lsmb end notes ?>
<td align=right>
- Ҧ槡<b><%currency%></b>
+ Ҧ槡<b><?lsmb currency ?></b>
</td>
</tr>
@@ -200,13 +200,13 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
YnqʯS~qAI10%qOΡC
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-sales_quotation.tex b/templates/Traditional_Chinese_Big5-sales_quotation.tex index 771fe6a3..162ee009 100755 --- a/templates/Traditional_Chinese_Big5-sales_quotation.tex +++ b/templates/Traditional_Chinese_Big5-sales_quotation.tex @@ -20,64 +20,64 @@ Special order items are subject to a 10\% cancellation fee. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \vspace{1cm} @@ -90,7 +90,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -99,10 +99,10 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -113,26 +113,26 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%quototal%>\\ + & Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_Big5-statement.html b/templates/Traditional_Chinese_Big5-statement.html index 0d19779b..eb937dc2 100755 --- a/templates/Traditional_Chinese_Big5-statement.html +++ b/templates/Traditional_Chinese_Big5-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
<th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=64 height=58></th>
<td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -25,7 +25,7 @@ <th colspan=3><h4>|pb</h4></th>
</tr>
<tr>
- <td colspan=3 align=right><%statementdate%></td>
+ <td colspan=3 align=right><?lsmb statementdate ?></td>
</tr>
</table>
</td>
@@ -33,27 +33,27 @@ <tr>
<td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if customerphone%>
- <br>qܡG <%customerphone%>
-<%end customerphone%>
-<%if customerfax%>
- <br>ǯuG <%customerfax%>
-<%end customerfax%>
-<%if email%>
- <br><%email%>
-<%end email%>
+<?lsmb if customerphone ?>
+ <br>qܡG <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
+<?lsmb if customerfax ?>
+ <br>ǯuG <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
+<?lsmb if email ?>
+ <br><?lsmb email ?>
+<?lsmb end email ?>
</td>
</tr>
</table>
@@ -63,31 +63,31 @@ <tr>
<td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<th align=left>os</th>
<th align=left>qs</th>
<th align=left>Ƶ</th>
- <th width=10%>o</th>
- <th width=10%></th>
- <th width=10%>ثe</th>
- <th width=10%>30</th>
- <th width=10%>60</th>
- <th width=10%>90+</th>
+ <th width=10 ?>o</th>
+ <th width=10 ?></th>
+ <th width=10 ?>ثe</th>
+ <th width=10 ?>30</th>
+ <th width=10 ?>60</th>
+ <th width=10 ?>90+</th>
</tr>
-<%foreach invnumber%>
+<?lsmb foreach invnumber ?>
<tr>
- <td><%invnumber%></td>
-<td><%ordnumber%></td>
-<td><%notes%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td align=right><%c0%></td>
- <td align=right><%c30%></td>
- <td align=right><%c60%></td>
- <td align=right><%c90%></td>
+ <td><?lsmb invnumber ?></td>
+<td><?lsmb ordnumber ?></td>
+<td><?lsmb notes ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td align=right><?lsmb c0 ?></td>
+ <td align=right><?lsmb c30 ?></td>
+ <td align=right><?lsmb c60 ?></td>
+ <td align=right><?lsmb c90 ?></td>
</tr>
-<%end invnumber%>
+<?lsmb end invnumber ?>
<tr>
<td colspan=9><hr size=1></td>
</tr>
@@ -97,10 +97,10 @@ <td> </td>
<td> </td>
<td> </td>
- <th align=right><%c0total%></td>
- <th align=right><%c30total%></td>
- <th align=right><%c60total%></td>
- <th align=right><%c90total%></td>
+ <th align=right><?lsmb c0total ?></td>
+ <th align=right><?lsmb c30total ?></td>
+ <th align=right><?lsmb c60total ?></td>
+ <th align=right><?lsmb c90total ?></td>
</tr>
</table>
</td>
@@ -109,10 +109,10 @@ <tr>
<td> </td>
<td align=right>
- <table width=50%>
+ <table width=50 ?>
<tr>
<th>XplB</th>
- <th align=right><%total%></th>
+ <th align=right><?lsmb total ?></th>
</tr>
</table>
</td>
@@ -123,7 +123,7 @@ </tr>
<tr>
<td> </td>
- <td>䲼Yмg<b><%company%></b>C
+ <td>䲼Yмg<b><?lsmb company ?></b>C
</td>
</tr>
diff --git a/templates/Traditional_Chinese_Big5-statement.tex b/templates/Traditional_Chinese_Big5-statement.tex index 0beb6c64..f700a750 100755 --- a/templates/Traditional_Chinese_Big5-statement.tex +++ b/templates/Traditional_Chinese_Big5-statement.tex @@ -11,39 +11,39 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -52,13 +52,13 @@ Fax: <%customerfax%> \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{8}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabular*} @@ -66,13 +66,13 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Total outstanding} & \textbf{<%total%>} + & \textbf{Total outstanding} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -All amounts in \textbf{<%currency%>} funds. +All amounts in \textbf{<?lsmb currency ?>} funds. -Please make check payable to \textbf{<%company%>} +Please make check payable to \textbf{<?lsmb company ?>} \end{document} diff --git a/templates/Traditional_Chinese_Big5-timecard.html b/templates/Traditional_Chinese_Big5-timecard.html index 0b69635a..3baa2b80 100755 --- a/templates/Traditional_Chinese_Big5-timecard.html +++ b/templates/Traditional_Chinese_Big5-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -18,8 +18,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -44,11 +44,11 @@ <table>
<tr>
<th align=left>¾</th>
- <td><%employee%></td>
+ <td><?lsmb employee ?></td>
</tr>
<tr>
<th align=left>s</th>
- <td><%employee_id%></td>
+ <td><?lsmb employee_id ?></td>
</tr>
</table>
</td>
@@ -57,23 +57,23 @@ <table>
<tr>
<th align=left nowrap>d</th>
- <td><%id%></td>
+ <td><?lsmb id ?></td>
</tr>
<tr>
<th align=left nowrap>WZ</th>
- <td><%transdate%></td>
+ <td><?lsmb transdate ?></td>
</tr>
<tr>
<th align=left nowrap>WZɶ</th>
- <td><%checkedin%></td>
+ <td><?lsmb checkedin ?></td>
</tr>
<tr>
<th align=left>UZɶ</th>
- <td><%checkedout%></td>
+ <td><?lsmb checkedout ?></td>
</tr>
<tr>
<th align=left nowrap>u@ɼ</th>
- <td><%qty%></td>
+ <td><?lsmb qty ?></td>
</tr>
</table>
</td>
@@ -88,25 +88,25 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<table>
<tr valign=top>
<th align=left>/u@s</th>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
<tr>
<th align=left>Kn</th>
- <td><%projectdescription%></td>
+ <td><?lsmb projectdescription ?></td>
</tr>
<tr valign=top>
<th align=left>Ҥu/AȥNX</th>
- <td><%partnumber%></td>
+ <td><?lsmb partnumber ?></td>
</tr>
<tr>
<th align=left>Kn</th>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
</tr>
</table>
</td>
@@ -114,11 +114,11 @@ <table>
<tr>
<th align=right></th>
- <td><%sellprice%></td>
+ <td><?lsmb sellprice ?></td>
</tr>
<tr>
<th align=right>Xp</th>
- <td><%total%></td>
+ <td><?lsmb total ?></td>
</tr>
</table>
</td>
@@ -127,17 +127,17 @@ </td>
</tr>
-<%if notes%>
+<?lsmb if notes ?>
<tr height=5></tr>
<tr>
<td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
diff --git a/templates/Traditional_Chinese_Big5-timecard.tex b/templates/Traditional_Chinese_Big5-timecard.tex index b7630a00..ab849993 100755 --- a/templates/Traditional_Chinese_Big5-timecard.tex +++ b/templates/Traditional_Chinese_Big5-timecard.tex @@ -11,42 +11,42 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{T I M E}\hspace{0.5cm}\textbf{C A R D}} \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date} & <%transdate%> \\ - \textbf{In} & <%checkedin%> \\ - \textbf{Out} & <%checkedout%> \\ - \textbf{Hours} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date} & <?lsmb transdate ?> \\ + \textbf{In} & <?lsmb checkedin ?> \\ + \textbf{Out} & <?lsmb checkedout ?> \\ + \textbf{Hours} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Job/Project \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Job/Project \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Traditional_Chinese_Big5-work_order.html b/templates/Traditional_Chinese_Big5-work_order.html index 933cf2c5..d60c4453 100755 --- a/templates/Traditional_Chinese_Big5-work_order.html +++ b/templates/Traditional_Chinese_Big5-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- qܡG <%tel%>
- <br>ǯuG <%fax%>
+ qܡG <?lsmb tel ?>
+ <br>ǯuG <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,59 +40,59 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>P</th>
- <th align=left width=50%><font color=ffffff>IB</th>
+ <th align=left width=50 ?><font color=ffffff>P</th>
+ <th align=left width=50 ?><font color=ffffff>IB</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?>
+ <br><?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>PG <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>qܡG <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>ǯuG <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>PG <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>qܡG <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>ǯuG <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+ <br><?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>qܡG <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>ǯuG <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>qܡG <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>ǯuG <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -116,12 +116,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>X</th>
<th align=left><font color=ffffff>X</th>
@@ -142,17 +142,17 @@ <th><font color=ffffff>Ǹ</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- <td><%serialnumber%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td><?lsmb bin ?></td>
+ <td><?lsmb serialnumber ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -165,9 +165,9 @@ <tr>
<td> </td>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
</tr>
</table>
diff --git a/templates/Traditional_Chinese_Big5-work_order.tex b/templates/Traditional_Chinese_Big5-work_order.tex index c8d48172..266459f2 100755 --- a/templates/Traditional_Chinese_Big5-work_order.tex +++ b/templates/Traditional_Chinese_Big5-work_order.tex @@ -11,20 +11,20 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -33,71 +33,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -111,7 +111,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -120,10 +120,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -132,7 +132,7 @@ Fax: <%shiptofax%> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill diff --git a/templates/Traditional_Chinese_UTF8-ap_transaction.html b/templates/Traditional_Chinese_UTF8-ap_transaction.html index c9643e45..2e7ab275 100755 --- a/templates/Traditional_Chinese_UTF8-ap_transaction.html +++ b/templates/Traditional_Chinese_UTF8-ap_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%><br>
- <%address%>
+ <?lsmb company ?><br>
+ <?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%><br>
- 傳真: <%fax%>
+ 電話: <?lsmb tel ?><br>
+ 傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,72 +41,72 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%>
- <%if state%>
- , <%state%>
- <%end state%>
- <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?>
+ <?lsmb if state ?>
+ , <?lsmb state ?>
+ <?lsmb end state ?>
+ <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if vendorphone%>
- <br>電話: <%vendorphone%>
- <%end vendorphone%>
+ <?lsmb if vendorphone ?>
+ <br>電話: <?lsmb vendorphone ?>
+ <?lsmb end vendorphone ?>
- <%if vendorfax%>
- <br>傳真: <%vendorfax%>
- <%end vendorfax%>
+ <?lsmb if vendorfax ?>
+ <br>傳真: <?lsmb vendorfax ?>
+ <?lsmb end vendorfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
- <%if vendortaxnumber%>
- <p>稅務編號: <%vendortaxnumber%>
- <%end vendortaxnumber%>
+ <?lsmb if vendortaxnumber ?>
+ <p>稅務編號: <?lsmb vendortaxnumber ?>
+ <?lsmb end vendortaxnumber ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>發票編號</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap>日期</th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap>到期日</th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
- <%if ponumber%>
+ <?lsmb if ponumber ?>
<tr>
<th align=left>採購單編號</th>
- <td><%ponumber%> </td>
+ <td><?lsmb ponumber ?> </td>
</tr>
- <%end ponumber%>
- <%if ordnumber%>
+ <?lsmb end ponumber ?>
+ <?lsmb if ordnumber ?>
<tr>
<th align=left>訂單編號</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
- <%end ordnumber%>
+ <?lsmb end ordnumber ?>
<tr>
<th align=left nowrap>職員</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -122,48 +122,48 @@ <td>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
<td width=10> </td>
- <td align=right><%amount%></td>
+ <td align=right><?lsmb amount ?></td>
<td width=10> </td>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
<td width=10> </td>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>合計</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>小計</th>
<td width=10> </td>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
<td width=10> </td>
- <td align=right><%tax%></td>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<tr>
<th colspan=2 align=right>合計</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
+ <td align=right><?lsmb invtotal ?></td>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
</td>
</tr>
@@ -172,7 +172,7 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
@@ -180,11 +180,11 @@ <td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
<tr>
<td> </td>
@@ -210,30 +210,30 @@ <th>備註</th>
<th>金額</th>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%paymentmemo%></td>
- <td align=right><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb paymentmemo ?></td>
+ <td align=right><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
<tr height=10></tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -241,7 +241,7 @@ <tr>
<th colspan=3 align=left><font size=-2>上述稅項已包括在價格內。</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Traditional_Chinese_UTF8-ap_transaction.tex b/templates/Traditional_Chinese_UTF8-ap_transaction.tex index 5cd134cc..31edf3ec 100755 --- a/templates/Traditional_Chinese_UTF8-ap_transaction.tex +++ b/templates/Traditional_Chinese_UTF8-ap_transaction.tex @@ -12,100 +12,100 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state> -\hspace{-0.1cm}, <%state%> -<%end state%> <%zipcode%> +<?lsmb city ?> +<?lsmb if state> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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 ?> -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> +<?lsmb if vendortaxnumber ?> +Tax Number: <?lsmb vendortaxnumber ?> +<?lsmb end vendortaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \end{document} diff --git a/templates/Traditional_Chinese_UTF8-ar_transaction.html b/templates/Traditional_Chinese_UTF8-ar_transaction.html index f885dfa6..b0c3d3f4 100755 --- a/templates/Traditional_Chinese_UTF8-ar_transaction.html +++ b/templates/Traditional_Chinese_UTF8-ar_transaction.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%><br>
- <%address%>
+ <?lsmb company ?><br>
+ <?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%><br>
- 傳真: <%fax%>
+ 電話: <?lsmb tel ?><br>
+ 傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,72 +41,72 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%>
- <%if state%>
- , <%state%>
- <%end state%>
- <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?>
+ <?lsmb if state ?>
+ , <?lsmb state ?>
+ <?lsmb end state ?>
+ <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>電話: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>電話: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>傳真: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>傳真: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
- <%if customertaxnumber%>
- <br>稅務編號: <%customertaxnumber%>
- <%end customertaxnumber%>
+ <?lsmb if customertaxnumber ?>
+ <br>稅務編號: <?lsmb customertaxnumber ?>
+ <?lsmb end customertaxnumber ?>
</td>
<td align=right>
<table>
<tr>
<th align=left nowrap>發票編號</th>
- <td><%invnumber%></td>
+ <td><?lsmb invnumber ?></td>
</tr>
<tr>
<th align=left nowrap>日期</th>
- <td><%invdate%></td>
+ <td><?lsmb invdate ?></td>
</tr>
<tr>
<th align=left nowrap>到期日</th>
- <td><%duedate%></td>
+ <td><?lsmb duedate ?></td>
</tr>
- <%if ponumber%>
+ <?lsmb if ponumber ?>
<tr>
<th align=left>採購單編號</th>
- <td><%ponumber%> </td>
+ <td><?lsmb ponumber ?> </td>
</tr>
- <%end ponumber%>
- <%if ordnumber%>
+ <?lsmb end ponumber ?>
+ <?lsmb if ordnumber ?>
<tr>
<th align=left>訂單編號</th>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
</tr>
- <%end ordnumber%>
+ <?lsmb end ordnumber ?>
<tr>
<th align=left nowrap>銷售人員</th>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
</tr>
</table>
</td>
@@ -122,48 +122,48 @@ <td>
<table>
- <%foreach account%>
+ <?lsmb foreach account ?>
<tr valign=top>
- <td><%accno%></td>
- <td><%account%></td>
+ <td><?lsmb accno ?></td>
+ <td><?lsmb account ?></td>
<td width=10> </td>
- <td align=right><%amount%></td>
+ <td align=right><?lsmb amount ?></td>
<td width=10> </td>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
<td width=10> </td>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
- <%end account%>
+ <?lsmb end account ?>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=2 align=right>合計</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=2 align=right>小計</th>
<td width=10> </td>
- <td align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
+ <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
<td width=10> </td>
- <td align=right><%tax%></td>
+ <td align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<tr>
<th colspan=2 align=right>合計</th>
<td width=10> </td>
- <td align=right><%invtotal%></td>
+ <td align=right><?lsmb invtotal ?></td>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
</td>
</tr>
@@ -172,7 +172,7 @@ <td> </td>
<td>
- <%text_amount%> ***** <%decimal%>/100 <%currency%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
</td>
</tr>
@@ -180,11 +180,11 @@ <td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
<tr>
<td> </td>
@@ -209,37 +209,37 @@ <th>來源</th>
<th>金額</th>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td align=right><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td align=right><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid_1%>
+ <?lsmb if paid_1 ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
- <%end paid_1%>
+ <?lsmb end paid_1 ?>
<tr height=10></tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> 註冊 <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> 註冊 <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -247,7 +247,7 @@ <tr>
<th colspan=3 align=left><font size=-2>上述稅項已包括在價格內。</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Traditional_Chinese_UTF8-ar_transaction.tex b/templates/Traditional_Chinese_UTF8-ar_transaction.tex index 1c3c44f3..251df3b6 100755 --- a/templates/Traditional_Chinese_UTF8-ar_transaction.tex +++ b/templates/Traditional_Chinese_UTF8-ar_transaction.tex @@ -12,107 +12,107 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}} \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> +<?lsmb if customertaxnumber ?> +Tax Number: <?lsmb customertaxnumber ?> +<?lsmb end customertaxnumber ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - <%if ponumber%> - \textbf{PO \#} & <%ponumber%> \\ - <%end ponumber%> - <%if ordnumber%> - \textbf{Order \#} & <%ordnumber%> \\ - <%end ordnumber%> - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + <?lsmb if ponumber ?> + \textbf{PO \#} & <?lsmb ponumber ?> \\ + <?lsmb end ponumber ?> + <?lsmb if ordnumber ?> + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + <?lsmb end ordnumber ?> + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?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} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> -<%if notes%> +<?lsmb if notes ?> \vspace{0.3cm} -<%notes%> -<%end notes%> +<?lsmb notes ?> +<?lsmb end notes ?> \vspace{0.3cm} -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabular}{@{}lllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabular} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> +<?lsmb foreach tax ?> +\textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\ +<?lsmb end tax ?> \end{document} diff --git a/templates/Traditional_Chinese_UTF8-balance_sheet.html b/templates/Traditional_Chinese_UTF8-balance_sheet.html index 4c3d708d..b19a3a4f 100755 --- a/templates/Traditional_Chinese_UTF8-balance_sheet.html +++ b/templates/Traditional_Chinese_UTF8-balance_sheet.html @@ -2,32 +2,32 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>資產負債表 -<br>期間 <%this_period%> +<br>期間 <?lsmb this_period ?> </h2> -<%if department%> -<h4>部門: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>部門: <?lsmb department ?></h4> +<?lsmb end department ?> <table border=0> <tr> <th align=left width=400 colspan=2>資產<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach asset_account%> +<?lsmb foreach asset_account ?> <tr> <td> </td> - <td><%asset_account%></td> - <td align=right><%asset_this_period%></td> - <td align=right><%asset_last_period%></td> + <td><?lsmb asset_account ?></td> + <td align=right><?lsmb asset_this_period ?></td> + <td align=right><?lsmb asset_last_period ?></td> </tr> -<%end asset_account%> +<?lsmb end asset_account ?> <tr> <td colspan=2> </td> @@ -37,22 +37,22 @@ <tr valign=top> <th align=left colspan=2>資產合計</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_assets_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_assets_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=4>負債<b><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach liability_account%> +<?lsmb foreach liability_account ?> <tr> <td></td> - <td><%liability_account%></td> - <td align=right><%liability_this_period%></td> - <td align=right><%liability_last_period%></td> + <td><?lsmb liability_account ?></td> + <td align=right><?lsmb liability_this_period ?></td> + <td align=right><?lsmb liability_last_period ?></td> </tr> -<%end liability_account%> +<?lsmb end liability_account ?> <tr> <td colspan=2> </td> @@ -63,22 +63,22 @@ <tr valign=top> <td></td> <th align=left>負債合計</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_liabilities_last_period ?><br><hr noshade size=2</td> </tr> <tr> <th align=left colspan=4>股東權益<br><hr align=left width=250 size=5 noshade></th> </tr> -<%foreach equity_account%> +<?lsmb foreach equity_account ?> <tr> <td></td> - <td><%equity_account%></td> - <td align=right><%equity_this_period%></td> - <td align=right><%equity_last_period%></td> + <td><?lsmb equity_account ?></td> + <td align=right><?lsmb equity_this_period ?></td> + <td align=right><?lsmb equity_last_period ?></td> </tr> -<%end equity_account%> +<?lsmb end equity_account ?> <tr> <td colspan=2> </td> @@ -89,14 +89,14 @@ <tr valign=top> <td></td> <th align=left>股東權益合計</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_equity_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>負債及股東權益合計</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Traditional_Chinese_UTF8-bin_list.html b/templates/Traditional_Chinese_UTF8-bin_list.html index 30bc86a9..34d93eb1 100755 --- a/templates/Traditional_Chinese_UTF8-bin_list.html +++ b/templates/Traditional_Chinese_UTF8-bin_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <th align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,62 +40,62 @@ <td>
<table width=100% cellspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>從</th>
- <th align=left width=50%><font color=ffffff>付運往</th>
+ <th align=left width=50 ?><font color=ffffff>從</th>
+ <th align=left width=50 ?><font color=ffffff>付運往</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
-<br><%address2%>
-<%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
-<%country%>
-<%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+<br><?lsmb address2 ?>
+<?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb end country ?>
<br>
- <%if contact%>
- <br>致: <%contact%>
- <%end contact%>
+ <?lsmb if contact ?>
+ <br>致: <?lsmb contact ?>
+ <?lsmb end contact ?>
- <%if vendorphone%>
- <br>電話: <%vendorphone%>
- <%end vendorphone%>
+ <?lsmb if vendorphone ?>
+ <br>電話: <?lsmb vendorphone ?>
+ <?lsmb end vendorphone ?>
- <%if vendorfax%>
- <br>傳真: <%vendorfax%>
- <%end vendorfax%>
+ <?lsmb if vendorfax ?>
+ <br>傳真: <?lsmb vendorfax ?>
+ <?lsmb end vendorfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
-<br><%shiptoaddress2%>
-<%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+<br><?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br>致: <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>致: <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>電話: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>電話: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>傳真: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>傳真: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
</td>
</tr>
</table>
@@ -113,32 +113,32 @@ <th width=17% align=left nowrap>訂單編號</th>
<th width=17% align=left nowrap>日期</th>
<th width=17% align=left nowrap>聯絡人</th>
- <%if warehouse%>
+ <?lsmb if warehouse ?>
<th width=17% align=left nowrap>倉庫</th>
- <%end warehouse%>
+ <?lsmb end warehouse ?>
<th width=17% align=left>付運點</th>
<th width=15% align=left>付運公司</th>
</tr>
<tr>
- <td><%ordnumber%> </td>
+ <td><?lsmb ordnumber ?> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
- <%if not shippingdate%>
- <td><%orddate%></td>
- <%end shippingdate%>
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb orddate ?></td>
+ <?lsmb end shippingdate ?>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
- <%if warehouse%>
- <td><%warehouse%></td>
- <%end warehouse%>
+ <?lsmb if warehouse ?>
+ <td><?lsmb warehouse ?></td>
+ <?lsmb end warehouse ?>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -148,7 +148,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>位置</th>
<th align=left><font color=ffffff>號碼</th>
@@ -161,19 +161,19 @@ <th><font color=ffffff>箱</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
- <td><%bin%></td>
+ <td><?lsmb runningnumber ?></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb serialnumber ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td align=right><?lsmb ship ?></td>
+ <td><?lsmb unit ?></td>
+ <td><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
diff --git a/templates/Traditional_Chinese_UTF8-bin_list.tex b/templates/Traditional_Chinese_UTF8-bin_list.tex index 1bc85d66..0883d69f 100755 --- a/templates/Traditional_Chinese_UTF8-bin_list.tex +++ b/templates/Traditional_Chinese_UTF8-bin_list.tex @@ -11,19 +11,19 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -32,37 +32,37 @@ \textbf{From} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \hfill @@ -75,24 +75,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%orddate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb orddate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -101,10 +101,10 @@ \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Traditional_Chinese_UTF8-check.tex b/templates/Traditional_Chinese_UTF8-check.tex index e1d5f566..17e853a9 100755 --- a/templates/Traditional_Chinese_UTF8-check.tex +++ b/templates/Traditional_Chinese_UTF8-check.tex @@ -12,66 +12,66 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice \#} & \textbf{Invoice Date} & \textbf{Amount Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill -<%message%> +<?lsmb message ?> \end{document} diff --git a/templates/Traditional_Chinese_UTF8-income_statement.html b/templates/Traditional_Chinese_UTF8-income_statement.html index 9e367c62..931800d4 100755 --- a/templates/Traditional_Chinese_UTF8-income_statement.html +++ b/templates/Traditional_Chinese_UTF8-income_statement.html @@ -2,36 +2,36 @@ <body> <h2 align=center> -<%company%> -<br><%address%> +<?lsmb company ?> +<br><?lsmb address ?> <p>損益表 -<br><%period%> +<br><?lsmb period ?> </h2> -<%if department%> -<h4>部門: <%department%></h4> -<%end department%> +<?lsmb if department ?> +<h4>部門: <?lsmb department ?></h4> +<?lsmb end department ?> -<%if projectnumber%> -<h4>方案編號: <%projectnumber%></h4> -<%end projectnumber%> +<?lsmb if projectnumber ?> +<h4>方案編號: <?lsmb projectnumber ?></h4> +<?lsmb end projectnumber ?> <table width=100% border=0> <tr> <th width=400 align=left colspan=2>收入<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> + <th><?lsmb this_period ?></th> + <th><?lsmb last_period ?></th> </tr> -<%foreach income_account%> +<?lsmb foreach income_account ?> <tr> <td width=4> </td> - <td><%income_account%></td> - <td align=right><%income_this_period%></td> - <td align=right><%income_last_period%></td> + <td><?lsmb income_account ?></td> + <td align=right><?lsmb income_this_period ?></td> + <td align=right><?lsmb income_last_period ?></td> </tr> -<%end income_account%> +<?lsmb end income_account ?> <tr> <td colspan=2> </td> @@ -42,22 +42,22 @@ <tr valign=top> <td> </td> <th align=left>收入合計</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> + <td align=right><?lsmb total_income_this_period ?><hr noshade size=2></td> + <td align=right><?lsmb total_income_last_period ?><hr noshade size=2></td> </tr> <tr> <th align=left colspan=2>費用<br><hr width=300 size=5 align=left noshade></th> </tr> -<%foreach expense_account%> +<?lsmb foreach expense_account ?> <tr> <td> </td> - <td><%expense_account%></td> - <td align=right><%expenses_this_period%></td> - <td align=right><%expenses_last_period%></td> + <td><?lsmb expense_account ?></td> + <td align=right><?lsmb expenses_this_period ?></td> + <td align=right><?lsmb expenses_last_period ?></td> </tr> -<%end expense_account%> +<?lsmb end expense_account ?> <tr> <td colspan=2> </td> @@ -68,14 +68,14 @@ <tr valign=top> <td> </td> <th align=left>費用合計</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_this_period ?><br><hr noshade size=2</td> + <td align=right><?lsmb total_expenses_last_period ?><br><hr noshade size=2</td> </tr> <tr valign=top> <th align=left colspan=2>收入 / (虧損)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> + <td align=right><?lsmb total_this_period ?><br><hr noshade size=2></td> + <td align=right><?lsmb total_last_period ?><br><hr noshade size=2></td> </tr> </table> diff --git a/templates/Traditional_Chinese_UTF8-invoice.html b/templates/Traditional_Chinese_UTF8-invoice.html index e75e0b8c..2835b708 100755 --- a/templates/Traditional_Chinese_UTF8-invoice.html +++ b/templates/Traditional_Chinese_UTF8-invoice.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,67 +40,67 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>致</th>
- <th align=left width=50%><font color=ffffff>付運到</th>
+ <th align=left width=50 ?><font color=ffffff>致</th>
+ <th align=left width=50 ?><font color=ffffff>付運到</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br><%contact%>
+ <?lsmb if contact ?>
+ <br><?lsmb contact ?>
<br>
- <%end contact%>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>電話: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>電話: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>傳真: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>傳真: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
<br>
- <%end shiptocontact%>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>電話: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>電話: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>傳真: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>傳真: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -125,13 +125,13 @@ </tr>
<tr>
- <td><%invnumber%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td><%ordnumber%> </td>
- <td><%employee%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td><?lsmb ordnumber ?> </td>
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -141,7 +141,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>編號</th>
<th align=left><font color=ffffff>號碼</th>
@@ -154,19 +154,19 @@ <th align=right><font color=ffffff>總價</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<!--
you can also use netprice instead of sellprice if you
@@ -179,43 +179,43 @@ netprice = sellprice - discount </tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=7 align=right>合計</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=7 align=right>小計</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=7 align=right><%taxdescription%> 基於 <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=7 align=right><?lsmb taxdescription ?> 基於 <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<th colspan=7 align=right>已支付</th>
- <td colspan=2 align=right>- <%paid%></td>
+ <td colspan=2 align=right>- <?lsmb paid ?></td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr>
<td colspan=5> </td>
<td colspan=4><hr noshade></td>
</tr>
- <%if total%>
+ <?lsmb if total ?>
<tr>
<td colspan=5> </td>
<th colspan=2 align=right nowrap>尚欠金額</th>
- <th colspan=2 align=right><%total%></th>
+ <th colspan=2 align=right><?lsmb total ?></th>
</tr>
- <%end total%>
+ <?lsmb end total ?>
<tr>
</table>
@@ -226,28 +226,28 @@ netprice = sellprice - discount <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
- <td><%text_amount%> ***** <%decimal%>/100</td>
+ <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>
<td align=right nowrap>
- All prices in <b><%currency%></b>
+ All prices in <b><?lsmb currency ?></b>
</td>
</tr>
</table>
</td>
</tr>
- <%if paid%>
+ <?lsmb if paid ?>
<tr>
<td> </td>
<td colspan=9>
- <table width=60%>
+ <table width=60 ?>
<tr>
<th align=left>付款</th>
@@ -265,22 +265,22 @@ netprice = sellprice - discount <th align=left>來源</th>
<th align=left>金額</th>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
- <%foreach payment%>
+ <?lsmb foreach payment ?>
<tr>
- <td><%paymentdate%></td>
- <td><%paymentaccount%></td>
- <td><%paymentsource%></td>
- <td><%payment%></td>
+ <td><?lsmb paymentdate ?></td>
+ <td><?lsmb paymentaccount ?></td>
+ <td><?lsmb paymentsource ?></td>
+ <td><?lsmb payment ?></td>
</tr>
- <%end payment%>
+ <?lsmb end payment ?>
- <%if paid%>
+ <?lsmb if paid ?>
</table>
</td>
</tr>
- <%end paid%>
+ <?lsmb end paid ?>
<tr height=10></tr>
@@ -296,15 +296,15 @@ netprice = sellprice - discount <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
- 請於<%duedate%>之前付款。退回的物品須支付10%的回收費用。若要退回物品,必須先取得<%company%>的授權。退回
-物品的運費和保險費自負。若在途中出現有損毀情況,<%company%>將不會負任何責任。
+ <td width=60 ?><font size=-3>
+ 請於<?lsmb duedate ?>之前付款。退回的物品須支付10%的回收費用。若要退回物品,必須先取得<?lsmb company ?>的授權。退回
+物品的運費和保險費自負。若在途中出現有損毀情況,<?lsmb company ?>將不會負任何責任。
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
@@ -312,15 +312,15 @@ netprice = sellprice - discount </td>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
<td> </td>
- <th colspan=9 align=left><font size=-2><%taxdescription%> 註冊 <%taxnumber%></th>
+ <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> 註冊 <?lsmb taxnumber ?></th>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<tr>
<td> </td>
</tr>
@@ -328,7 +328,7 @@ netprice = sellprice - discount <tr>
<th colspan=8 align=left><font size=-2>上述稅項已包括在價格中。</th>
</tr>
- <%end taxincluded%>
+ <?lsmb end taxincluded ?>
</table>
diff --git a/templates/Traditional_Chinese_UTF8-invoice.tex b/templates/Traditional_Chinese_UTF8-invoice.tex index fa7145bf..e7f74697 100755 --- a/templates/Traditional_Chinese_UTF8-invoice.tex +++ b/templates/Traditional_Chinese_UTF8-invoice.tex @@ -16,15 +16,15 @@ \parbox{\textwidth}{ \tiny \rule[1.5em]{\textwidth}{0.5pt} -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <%duedate%> until paid in full. Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +Payment due NET <?lsmb terms ?> Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from <?lsmb duedate ?> until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \rule{\textwidth}{2pt} @@ -33,18 +33,18 @@ A return authorization must be obtained from <%company%> before goods are return \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{<?lsmb company ?>\hfill <?lsmb invnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] - & carried forward from page <%lastpage%> & & & & & & & <%sumcarriedforward%> \\ [0.5em] -<%end pagebreak%> + & carried forward from page <?lsmb lastpage ?> & & & & & & & <?lsmb sumcarriedforward ?> \\ [0.5em] +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -53,71 +53,71 @@ A return authorization must be obtained from <%company%> before goods are return \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -132,8 +132,8 @@ Fax: <%shiptofax%> \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Order \#} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -142,10 +142,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}} \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em] -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%deliverydate%> & - <%qty%> & <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb deliverydate ?> & + <?lsmb qty ?> & <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -156,44 +156,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - & Paid & - <%paid%> \\ -<%end paid%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\ +<?lsmb end tax ?> +<?lsmb if paid ?> + & Paid & - <?lsmb paid ?> \\ +<?lsmb end paid ?> \hline -<%if total%> - & Balance Due & <%total%> -<%end total%> +<?lsmb if total ?> + & Balance Due & <?lsmb total ?> +<?lsmb end total ?> \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill -<%if paid_1%> +<?lsmb if paid_1 ?> \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Payments} & & & \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\ -<%end paid_1%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid_1%> +<?lsmb end paid_1 ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid_1 ?> \end{tabularx} -<%end paid_1%> +<?lsmb end paid_1 ?> \vspace{1cm} diff --git a/templates/Traditional_Chinese_UTF8-letterhead.html b/templates/Traditional_Chinese_UTF8-letterhead.html index d59b8315..758681ad 100755 --- a/templates/Traditional_Chinese_UTF8-letterhead.html +++ b/templates/Traditional_Chinese_UTF8-letterhead.html @@ -2,21 +2,21 @@ <td width=10> </td> <td> - <table width=100%> + <table width=100 ?> <tr> <td> <h4> - <%company%><br> - <%address%> + <?lsmb company ?><br> + <?lsmb address ?> </h4> </td> - <th><img src=../<%templates%>/logo.png border=0 width=84 height=58></th> + <th><img src=../<?lsmb templates ?>/logo.png border=0 width=84 height=58></th> <td align=right> <h4> - Tel: <%tel%><br> - Fax: <%fax%> + Tel: <?lsmb tel ?><br> + Fax: <?lsmb fax ?> </h4> </td> </tr> diff --git a/templates/Traditional_Chinese_UTF8-letterhead.tex b/templates/Traditional_Chinese_UTF8-letterhead.tex index 16d805af..24e29b4f 100755 --- a/templates/Traditional_Chinese_UTF8-letterhead.tex +++ b/templates/Traditional_Chinese_UTF8-letterhead.tex @@ -1,15 +1,15 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ - \includegraphics[scale=0.3]{../<%templates%>/logo} + \includegraphics[scale=0.3]{../<?lsmb templates ?>/logo} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & <?lsmb tel ?>\\ + Fax: & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} diff --git a/templates/Traditional_Chinese_UTF8-packing_list.html b/templates/Traditional_Chinese_UTF8-packing_list.html index 8eaa5381..b03d8eb9 100755 --- a/templates/Traditional_Chinese_UTF8-packing_list.html +++ b/templates/Traditional_Chinese_UTF8-packing_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,35 +41,35 @@ <table width=100% cellspacing=0 cellpadding=0>
<tr bgcolor=000000>
<th width=50% align=left><font color=ffffff>付運往:</th>
- <th width=50%> </th>
+ <th width=50 ?> </th>
</tr>
<tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
</td>
<td>
- <%if shiptocontact%>
- <br>致:<%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>致:<?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>電話: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>電話: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>傳真: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>傳真: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%shiptoemail%>
+ <?lsmb shiptoemail ?>
</td>
</tr>
</table>
@@ -88,33 +88,33 @@ <th width=17% align=left>訂單編號</th>
<th width=17% align=left>日期</th>
<th width=17% align=left nowrap>聯絡人</th>
- <%if warehouse%>
+ <?lsmb if warehouse ?>
<th width=17% align=left>倉庫</th>
- <%end warehouse%>
+ <?lsmb end warehouse ?>
<th width=17% align=left>付運點</th>
<th width=15% align=left>付運公司</th>
</tr>
<tr>
- <td><%invnumber%> </td>
- <td><%ordnumber%> </td>
+ <td><?lsmb invnumber ?> </td>
+ <td><?lsmb ordnumber ?> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb transdate ?></td>
+ <?lsmb end shippingdate ?>
- <td><%employee%> </td>
+ <td><?lsmb employee ?> </td>
- <%if warehouse%>
- <td><%warehouse%> </td>
- <%end warehouse%>
+ <?lsmb if warehouse ?>
+ <td><?lsmb warehouse ?> </td>
+ <?lsmb end warehouse ?>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -124,7 +124,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>位置</th>
<th align=left><font color=ffffff>編號</th>
@@ -136,18 +136,18 @@ <th> </th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%></td>
- <td><%number%></td>
- <td><%description%></td>
- <td><%serialnumber%></td>
- <td><%deliverydate%></td>
- <td align=right><%qty%></td>
- <td align=right><%ship%></td>
- <td><%unit%></td>
+ <td><?lsmb runningnumber ?></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td><?lsmb serialnumber ?></td>
+ <td><?lsmb deliverydate ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td align=right><?lsmb ship ?></td>
+ <td><?lsmb unit ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
@@ -163,10 +163,10 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td>備註</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
</table>
</td>
@@ -176,14 +176,14 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%><font size=-3>
-退回的物品須支付10%的回收費用。若要退回物品,必須先取得<%company%>的授權。退回
-物品的運費和保險費自負。若在途中出現有損毀情況,<%company%>將不會負任何責任。
+ <td width=70 ?><font size=-3>
+退回的物品須支付10%的回收費用。若要退回物品,必須先取得<?lsmb company ?>的授權。退回
+物品的運費和保險費自負。若在途中出現有損毀情況,<?lsmb company ?>將不會負任何責任。
</font>
</td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-packing_list.tex b/templates/Traditional_Chinese_UTF8-packing_list.tex index 2d3a1945..4798a92d 100755 --- a/templates/Traditional_Chinese_UTF8-packing_list.tex +++ b/templates/Traditional_Chinese_UTF8-packing_list.tex @@ -17,24 +17,24 @@ \tiny \rule[1.5em]{\textwidth}{0.5pt} Items returned are subject to a 10\% restocking charge. -A return authorization must be obtained from <%company%> before goods are +A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. +<?lsmb company ?> will not be responsible for damages during transit. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -46,32 +46,32 @@ returned. Returns must be shipped prepaid and properly insured. \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -84,24 +84,24 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + <?lsmb if warehouse ?> & \textbf{Warehouse} - <%end warehouse%> + <?lsmb end warehouse ?> & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> - <%if warehouse%> - & <%warehouse%> - <%end warehouse%> - & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> + <?lsmb if warehouse ?> + & <?lsmb warehouse ?> + <?lsmb end warehouse ?> + & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -110,10 +110,10 @@ returned. Returns must be shipped prepaid and properly insured. \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & - <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb serialnumber ?> & + <?lsmb deliverydate ?> & <?lsmb qty ?> & <?lsmb ship ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -122,7 +122,7 @@ returned. Returns must be shipped prepaid and properly insured. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_UTF8-pick_list.html b/templates/Traditional_Chinese_UTF8-pick_list.html index dc35de31..053e25a0 100755 --- a/templates/Traditional_Chinese_UTF8-pick_list.html +++ b/templates/Traditional_Chinese_UTF8-pick_list.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -41,35 +41,35 @@ <table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
<th width=50% align=left><font color=ffffff>Ship To:</th>
- <th width=50%> </th>
+ <th width=50 ?> </th>
</tr>
<tr valign=top>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
</td>
<td>
- <%if shiptocontact%>
- <br>致: <%shiptocontact%>
- <%end shiptocontact%>
+ <?lsmb if shiptocontact ?>
+ <br>致: <?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
- <%if shiptophone%>
- <br>電話: <%shiptophone%>
- <%end shiptophone%>
+ <?lsmb if shiptophone ?>
+ <br>電話: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
- <%if shiptofax%>
- <br>傳真: <%shiptofax%>
- <%end shiptofax%>
+ <?lsmb if shiptofax ?>
+ <br>傳真: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
- <%shiptoemail%>
+ <?lsmb shiptoemail ?>
</td>
</tr>
</table>
@@ -94,20 +94,20 @@ </tr>
<tr>
- <td><%invnumber%> </td>
- <td><%ordnumber%> </td>
- <%if shippingdate%>
- <td><%shippingdate%></td>
- <%end shippingdate%>
-
- <%if not shippingdate%>
- <td><%transdate%></td>
- <%end shippingdate%>
-
- <td><%employee%> </td>
- <td><%warehouse%> </td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb invnumber ?> </td>
+ <td><?lsmb ordnumber ?> </td>
+ <?lsmb if shippingdate ?>
+ <td><?lsmb shippingdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <?lsmb if not shippingdate ?>
+ <td><?lsmb transdate ?></td>
+ <?lsmb end shippingdate ?>
+
+ <td><?lsmb employee ?> </td>
+ <td><?lsmb warehouse ?> </td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -117,7 +117,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=left><font color=ffffff>位置</th>
<th align=left><font color=ffffff>號碼</th>
@@ -128,17 +128,17 @@ <th><font color=ffffff>箱</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td><%runningnumber%>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
+ <td><?lsmb runningnumber ?>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
<td align=right>[ ]</td>
- <td><%unit%></td>
- <td align=right><%bin%></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb bin ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
</table>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-pick_list.tex b/templates/Traditional_Chinese_UTF8-pick_list.tex index 2f82936a..cf8bb4fb 100755 --- a/templates/Traditional_Chinese_UTF8-pick_list.tex +++ b/templates/Traditional_Chinese_UTF8-pick_list.tex @@ -11,21 +11,21 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 37%> +<?lsmb pagebreak 65 27 37 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -37,32 +37,32 @@ \parbox[t]{.5\textwidth}{ -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + <?lsmb 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 @@ -77,14 +77,14 @@ \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact} & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em] \hline - <%invnumber%> & <%ordnumber%> - <%if shippingdate%> - & <%shippingdate%> - <%end shippingdate%> - <%if not shippingdate%> - & <%transdate%> - <%end shippingdate%> - & <%employee%> & <%warehouse%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb invnumber ?> & <?lsmb ordnumber ?> + <?lsmb if shippingdate ?> + & <?lsmb shippingdate ?> + <?lsmb end shippingdate ?> + <?lsmb if not shippingdate ?> + & <?lsmb transdate ?> + <?lsmb end shippingdate ?> + & <?lsmb employee ?> & <?lsmb warehouse ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -93,10 +93,10 @@ \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & - <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & + <?lsmb qty ?> & [\hspace{1cm}] & <?lsmb unit ?> & <?lsmb bin ?> \\ +<?lsmb end number ?> \end{tabularx} diff --git a/templates/Traditional_Chinese_UTF8-pos_invoice.txt b/templates/Traditional_Chinese_UTF8-pos_invoice.txt index cbc0055a..5cffdb3a 100755 --- a/templates/Traditional_Chinese_UTF8-pos_invoice.txt +++ b/templates/Traditional_Chinese_UTF8-pos_invoice.txt @@ -1,45 +1,45 @@ -<%company align=center width=40%> -<%address align=center width=40%> +<?lsmb company align=center width=40 ?> +<?lsmb address align=center width=40 ?> -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv #/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: <?lsmb till align=left width=3 ?> Phone#: <?lsmb tel ?> +Cashier: <?lsmb employee ?> +Inv #/Date: <?lsmb invnumber ?> / <?lsmb invdate ?> +Printed: <?lsmb dateprinted ?> Qty Description Amount -<%foreach number%> -<%qty align=right width=5%> <%description align=left width=24 offset=6%> <%linetotal align=right width=9%> - <%number%> @ <%sellprice%>/<%unit%> -<%end number%> +<?lsmb foreach number ?> +<?lsmb qty align=right width=5 ?> <?lsmb description align=left width=24 offset=6 ?> <?lsmb linetotal align=right width=9 ?> + <?lsmb number ?> @ <?lsmb sellprice ?>/<?lsmb unit ?> +<?lsmb end number ?> -Number of items: <%totalqty%> -<%if taxincluded%> +Number of items: <?lsmb totalqty ?> +<?lsmb if taxincluded ?> --------------- - Total: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Total: <?lsmb invtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb if not taxincluded ?> ------------ - Subtotal: <%subtotal align=right width=9%> -<%end taxincluded%> -<%foreach tax%> -<%taxdescription align=right width=23%> @ <%taxrate align=right width=2%>%: <%tax align=right width=9%> -<%end tax%> -<%foreach payment%> - Paid: <%payment align=right width=9%> <%currency%> -<%end payment%> -<%if change%> - Change: <%change align=right width=9%> -<%end change%> -<%if total%> - Balance Due: <%total align=right width=9%> -<%end total%> -<%if discount%> + Subtotal: <?lsmb subtotal align=right width=9 ?> +<?lsmb end taxincluded ?> +<?lsmb foreach tax ?> +<?lsmb taxdescription align=right width=23 ?> @ <?lsmb taxrate align=right width=2 ?>%: <?lsmb tax align=right width=9 ?> +<?lsmb end tax ?> +<?lsmb foreach payment ?> + Paid: <?lsmb payment align=right width=9 ?> <?lsmb currency ?> +<?lsmb end payment ?> +<?lsmb if change ?> + Change: <?lsmb change align=right width=9 ?> +<?lsmb end change ?> +<?lsmb if total ?> + Balance Due: <?lsmb total align=right width=9 ?> +<?lsmb end total ?> +<?lsmb if discount ?> -<%discount%> % Discount applied -<%end discount%> +<?lsmb discount ?> % Discount applied +<?lsmb end discount ?> Thank you for your valued business! -<%if taxincluded%> +<?lsmb if taxincluded ?> Taxes are included in price. -<%end taxincluded%> +<?lsmb end taxincluded ?> diff --git a/templates/Traditional_Chinese_UTF8-purchase_order.html b/templates/Traditional_Chinese_UTF8-purchase_order.html index 46d78389..805ac47c 100755 --- a/templates/Traditional_Chinese_UTF8-purchase_order.html +++ b/templates/Traditional_Chinese_UTF8-purchase_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -20,8 +20,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,53 +39,53 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>致:</th>
- <th align=left width=50%><font color=ffffff>付運往:</th>
+ <th align=left width=50 ?><font color=ffffff>致:</th>
+ <th align=left width=50 ?><font color=ffffff>付運往:</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if contact%>
-<br>致: <%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>電話: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>傳真: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>致: <?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>電話: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>傳真: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
-<%if shiptocontact%>
-<br>致: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>電話: <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>傳真: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>致: <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>電話: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>傳真: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
</tr>
</table>
</td>
@@ -106,12 +106,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -120,7 +120,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<!-- <th align=right><font color=ffffff>No.</th> -->
<th align=left><font color=ffffff>號碼</th>
@@ -132,80 +132,80 @@ <th><font color=ffffff>金額</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></th>
- <td align=right><%linetotal%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></th>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
</tr>
<tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<th colspan=6 align=right>合計</th>
- <th colspan=1 align=right><%ordtotal%></th>
-<%end taxincluded%>
+ <th colspan=1 align=right><?lsmb ordtotal ?></th>
+<?lsmb end taxincluded ?>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>小計</th>
- <td colspan=1 align=right><%subtotal%></td>
-<%end taxincluded%>
+ <td colspan=1 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> 基於 <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=1 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> 基於 <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=1 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=3> </td>
<td colspan=4><hr noshade></td>
</tr>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>合計</th>
- <td colspan=1 align=right><%ordtotal%></td>
-<%end taxincluded%>
+ <td colspan=1 align=right><?lsmb ordtotal ?></td>
+<?lsmb end taxincluded ?>
-<%if terms%>
+<?lsmb if terms ?>
<tr>
- <td colspan=3>有效期為淨<b><%terms%></b>日</td>
+ <td colspan=3>有效期為淨<b><?lsmb terms ?></b>日</td>
<th colspan=3 align=right>合計</th>
- <th colspan=1 align=right><%ordtotal%></th>
+ <th colspan=1 align=right><?lsmb ordtotal ?></th>
</tr>
-<%end terms%>
+<?lsmb end terms ?>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<tr>
<td colspan=2>已包稅項</td>
</tr>
-<%end taxincluded%>
+<?lsmb end taxincluded ?>
<tr>
<td> </td>
</tr>
-<%if ordtotal%>
+<?lsmb if ordtotal ?>
<tr>
<td colspan=7 align=right>
- 所有價格為<b><%currency%></b>
+ 所有價格為<b><?lsmb currency ?></b>
</td>
</tr>
-<%end ordtotal%>
+<?lsmb end ordtotal ?>
</table>
</td>
@@ -213,13 +213,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
-<%if notes%>
+ <table width=100 ?>
+<?lsmb if notes ?>
<tr valign=top>
<td>備註</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
</td>
@@ -229,11 +229,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%> </td>
+ <td width=70 ?> </td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-purchase_order.tex b/templates/Traditional_Chinese_UTF8-purchase_order.tex index fe1e6428..260bec99 100755 --- a/templates/Traditional_Chinese_UTF8-purchase_order.tex +++ b/templates/Traditional_Chinese_UTF8-purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & <?lsmb sumcarriedforward ?> \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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 ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> +<?lsmb if contact ?> +Attn: <?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> +<?lsmb if shiptocontact ?> +Attn: <?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \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{tabularx} @@ -142,22 +142,22 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{<?lsmb currency ?>}. \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_UTF8-receipt.tex b/templates/Traditional_Chinese_UTF8-receipt.tex index effc19b6..01e84022 100755 --- a/templates/Traditional_Chinese_UTF8-receipt.tex +++ b/templates/Traditional_Chinese_UTF8-receipt.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + <?lsmb company ?> - <%address%>} + <?lsmb address ?>} \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} +<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?> \vspace{0.5cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{1.8cm} -<%memo%> +<?lsmb memo ?> \vspace{0.8cm} -<%company%> +<?lsmb company ?> \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> +<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{Invoice No.} & \textbf{Invoice Date} & \textbf{Due} & \textbf{Applied} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> +<?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill + & <?lsmb due ?> & <?lsmb paid ?> \\ +<?lsmb end invnumber ?> \end{tabularx} \vspace{1cm} -<%memo%> +<?lsmb memo ?> \vfill diff --git a/templates/Traditional_Chinese_UTF8-request_quotation.html b/templates/Traditional_Chinese_UTF8-request_quotation.html index 7271c5a6..2f578b78 100755 --- a/templates/Traditional_Chinese_UTF8-request_quotation.html +++ b/templates/Traditional_Chinese_UTF8-request_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -20,8 +20,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,53 +39,53 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>致:</th>
- <th align=left width=50%><font color=ffffff>付運往:</th>
+ <th align=left width=50 ?><font color=ffffff>致:</th>
+ <th align=left width=50 ?><font color=ffffff>付運往:</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if contact%>
-<br>致:<%contact%>
-<%end contact%>
-<%if vendorphone%>
-<br>電話: <%vendorphone%>
-<%end vendorphone%>
-<%if vendorfax%>
-<br>傳真: <%vendorfax%>
-<%end vendorfax%>
+<?lsmb if contact ?>
+<br>致:<?lsmb contact ?>
+<?lsmb end contact ?>
+<?lsmb if vendorphone ?>
+<br>電話: <?lsmb vendorphone ?>
+<?lsmb end vendorphone ?>
+<?lsmb if vendorfax ?>
+<br>傳真: <?lsmb vendorfax ?>
+<?lsmb end vendorfax ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddr2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%> <%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddr2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
-<%if shiptocontact%>
-<br>致: <%shiptocontact%>
-<%end shiptocontact%>
-<%if shiptophone%>
-<br>電話: <%shiptophone%>
-<%end shiptophone%>
-<%if shiptofax%>
-<br>傳真: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptocontact ?>
+<br>致: <?lsmb shiptocontact ?>
+<?lsmb end shiptocontact ?>
+<?lsmb if shiptophone ?>
+<br>電話: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
+<?lsmb if shiptofax ?>
+<br>傳真: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
</tr>
</table>
</td>
@@ -106,12 +106,12 @@ </tr>
<tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb quonumber ?></td>
+ <td><?lsmb quodate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -127,7 +127,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<!-- <th align=right>No.</th> -->
<th align=left>號碼</th>
@@ -139,19 +139,19 @@ <th>總價</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-other per line item variables available <%reqdate%>
+<!-- <td align=right><?lsmb runningnumber ?>.</td>
+other per line item variables available <?lsmb reqdate ?>
adjust the colspan if you include this to shift subtotal one to the right
-->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -163,13 +163,13 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
-<%if notes%>
+ <table width=100 ?>
+<?lsmb if notes ?>
<tr valign=top>
<td>備註</td>
- <td><%notes%></td>
+ <td><?lsmb notes ?></td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
</td>
@@ -179,11 +179,11 @@ adjust the colspan if you include this to shift subtotal one to the right <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=70%> </td>
+ <td width=70 ?> </td>
- <td width=30%>
+ <td width=30 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-request_quotation.tex b/templates/Traditional_Chinese_UTF8-request_quotation.tex index cf95dd89..e620c517 100755 --- a/templates/Traditional_Chinese_UTF8-request_quotation.tex +++ b/templates/Traditional_Chinese_UTF8-request_quotation.tex @@ -11,28 +11,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -41,71 +41,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%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]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -132,9 +132,9 @@ Please provide price and delivery time for the following items: \begin{tabularx}{\textwidth}{@{}lXrllrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & <%unit%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,7 +143,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_UTF8-sales_order.html b/templates/Traditional_Chinese_UTF8-sales_order.html index 1f6e69fb..52039de6 100755 --- a/templates/Traditional_Chinese_UTF8-sales_order.html +++ b/templates/Traditional_Chinese_UTF8-sales_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,59 +40,59 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>致</th>
- <th align=left width=50%><font color=ffffff>付運往</th>
+ <th align=left width=50 ?><font color=ffffff>致</th>
+ <th align=left width=50 ?><font color=ffffff>付運往</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?>
+ <br><?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>致: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>電話: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>傳真: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>致: <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>電話: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>傳真: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+ <br><?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>電話: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>傳真: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>電話: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>傳真: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -116,12 +116,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>號碼</th>
<th align=left><font color=ffffff>號碼</th>
@@ -143,41 +143,41 @@ <th><font color=ffffff>金額</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
- <%if taxincluded%>
+ <?lsmb if taxincluded ?>
<th colspan=6 align=right>合計</th>
- <td colspan=2 align=right><%invtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+ <?lsmb end taxincluded ?>
- <%if not taxincluded%>
+ <?lsmb if not taxincluded ?>
<th colspan=6 align=right>小計</th>
- <td colspan=2 align=right><%subtotal%></td>
- <%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+ <?lsmb end taxincluded ?>
</tr>
- <%foreach tax%>
+ <?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> 基於 <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> 基於 <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
- <%end tax%>
+ <?lsmb end tax ?>
<tr>
<td colspan=4> </td>
@@ -186,13 +186,13 @@ <tr>
<td colspan=4>
- <%text_amount%> ***** <%decimal%>/100
- <%if terms%>
- <br>有效期為淨<b><%terms%></b>日
- <%end terms%>
+ <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
+ <?lsmb if terms ?>
+ <br>有效期為淨<b><?lsmb terms ?></b>日
+ <?lsmb end terms ?>
</td>
<th colspan=2 align=right>合計</th>
- <th colspan=2 align=right><%ordtotal%></th>
+ <th colspan=2 align=right><?lsmb ordtotal ?></th>
</tr>
<tr>
@@ -207,14 +207,14 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <%if notes%>
+ <?lsmb if notes ?>
<td>備註</td>
- <td><%notes%></td>
- <%end notes%>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
<td align=right nowrap>
- 所有價格均為<b><%currency%></b>
+ 所有價格均為<b><?lsmb currency ?></b>
</td>
</tr>
</table>
@@ -225,13 +225,13 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
若要取消訂購特價品的訂單,須支付10%的訂單取消費用。
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-sales_order.tex b/templates/Traditional_Chinese_UTF8-sales_order.tex index 60f7bfeb..d3693af8 100755 --- a/templates/Traditional_Chinese_UTF8-sales_order.tex +++ b/templates/Traditional_Chinese_UTF8-sales_order.tex @@ -11,29 +11,29 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -120,7 +120,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -129,10 +129,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -143,27 +143,27 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%ordtotal%>\\ + & Total & <?lsmb ordtotal ?>\\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_UTF8-sales_quotation.html b/templates/Traditional_Chinese_UTF8-sales_quotation.html index 2dc5c4b1..280b908a 100755 --- a/templates/Traditional_Chinese_UTF8-sales_quotation.html +++ b/templates/Traditional_Chinese_UTF8-sales_quotation.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr valign=bottom>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -39,35 +39,35 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>致: <%contact%>
- <%end contact%>
+ <?lsmb if contact ?>
+ <br>致: <?lsmb contact ?>
+ <?lsmb end contact ?>
- <%if customerphone%>
- <br>電話: <%customerphone%>
- <%end customerphone%>
+ <?lsmb if customerphone ?>
+ <br>電話: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
- <%if customerfax%>
- <br>傳真: <%customerfax%>
- <%end customerfax%>
+ <?lsmb if customerfax ?>
+ <br>傳真: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
</tr>
@@ -90,12 +90,12 @@ </tr>
<tr>
- <td><%quonumber%></td>
- <td><%quodate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb quonumber ?></td>
+ <td><?lsmb quodate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -107,7 +107,7 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>號碼</th>
<th align=left><font color=ffffff>號碼</th>
@@ -119,42 +119,42 @@ <th><font color=ffffff>金額</th>
</tr>
-<%foreach number%>
+<?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%></td>
-
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discountrate%></td>
- <td align=right><%linetotal%></td>
+ <td align=right><?lsmb runningnumber ?></td>
+
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td align=right><?lsmb sellprice ?></td>
+ <td align=right><?lsmb discountrate ?></td>
+ <td align=right><?lsmb linetotal ?></td>
</tr>
-<%end number%>
+<?lsmb end number ?>
<tr>
<td colspan=8><hr noshade></td>
</tr>
<tr>
-<%if taxincluded%>
+<?lsmb if taxincluded ?>
<th colspan=6 align=right>合計</th>
- <td colspan=2 align=right><%invtotal%></td>
-<%end taxincluded%>
+ <td colspan=2 align=right><?lsmb invtotal ?></td>
+<?lsmb end taxincluded ?>
-<%if not taxincluded%>
+<?lsmb if not taxincluded ?>
<th colspan=6 align=right>小計</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
+ <td colspan=2 align=right><?lsmb subtotal ?></td>
+<?lsmb end taxincluded ?>
</tr>
-<%foreach tax%>
+<?lsmb foreach tax ?>
<tr>
- <th colspan=6 align=right><%taxdescription%> 基於 <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
+ <th colspan=6 align=right><?lsmb taxdescription ?> 基於 <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
+ <td colspan=2 align=right><?lsmb tax ?></td>
</tr>
-<%end tax%>
+<?lsmb end tax ?>
<tr>
<td colspan=4> </td>
@@ -163,12 +163,12 @@ <tr>
<td colspan=4>
-<%if terms%>
- 有效期為淨<b><%terms%></b>日
-<%end terms%>
+<?lsmb if terms ?>
+ 有效期為淨<b><?lsmb terms ?></b>日
+<?lsmb end terms ?>
</td>
<th colspan=2 align=right>合計</th>
- <th colspan=2 align=right><%quototal%></th>
+ <th colspan=2 align=right><?lsmb quototal ?></th>
</tr>
<tr>
@@ -181,14 +181,14 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
-<%if notes%>
+<?lsmb if notes ?>
<td>備註</td>
- <td><%notes%></td>
-<%end notes%>
+ <td><?lsmb notes ?></td>
+<?lsmb end notes ?>
<td align=right>
- 所有價格均為<b><%currency%></b>
+ 所有價格均為<b><?lsmb currency ?></b>
</td>
</tr>
@@ -200,13 +200,13 @@ <tr>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td width=60%><font size=-3>
+ <td width=60 ?><font size=-3>
若要取消訂購特價品的訂單,須支付10%的訂單取消費用。
</font>
</td>
- <td width=40%>
+ <td width=40 ?>
X <hr noshade>
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-sales_quotation.tex b/templates/Traditional_Chinese_UTF8-sales_quotation.tex index 771fe6a3..162ee009 100755 --- a/templates/Traditional_Chinese_UTF8-sales_quotation.tex +++ b/templates/Traditional_Chinese_UTF8-sales_quotation.tex @@ -20,64 +20,64 @@ Special order items are subject to a 10\% cancellation fee. } } -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>} \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\ +<?lsmb end pagebreak ?> \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \vspace{1cm} @@ -90,7 +90,7 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -99,10 +99,10 @@ Fax: <%customerfax%> \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -113,26 +113,26 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & <?lsmb subtotal ?> \\ +<?lsmb foreach tax ?> + & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\ +<?lsmb end tax ?> \hline - & Total & <%quototal%>\\ + & Total & <?lsmb quototal ?>\\ \end{tabularx} \vspace{0.3cm} \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{<?lsmb currency ?>}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> +<?lsmb if terms ?> +Terms: <?lsmb terms ?> days +<?lsmb end terms ?> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } diff --git a/templates/Traditional_Chinese_UTF8-statement.html b/templates/Traditional_Chinese_UTF8-statement.html index 8a6ca9c9..b1591960 100755 --- a/templates/Traditional_Chinese_UTF8-statement.html +++ b/templates/Traditional_Chinese_UTF8-statement.html @@ -1,23 +1,23 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
<th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=64 height=58></th>
<td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -25,7 +25,7 @@ <th colspan=3><h4>會計帳</h4></th>
</tr>
<tr>
- <td colspan=3 align=right><%statementdate%></td>
+ <td colspan=3 align=right><?lsmb statementdate ?></td>
</tr>
</table>
</td>
@@ -33,27 +33,27 @@ <tr>
<td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%> <%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
-<%if customerphone%>
- <br>電話: <%customerphone%>
-<%end customerphone%>
-<%if customerfax%>
- <br>傳真: <%customerfax%>
-<%end customerfax%>
-<%if email%>
- <br><%email%>
-<%end email%>
+<?lsmb if customerphone ?>
+ <br>電話: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
+<?lsmb if customerfax ?>
+ <br>傳真: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
+<?lsmb if email ?>
+ <br><?lsmb email ?>
+<?lsmb end email ?>
</td>
</tr>
</table>
@@ -63,31 +63,31 @@ <tr>
<td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<th align=left>發票編號</th>
<th align=left>訂單編號</th>
<th align=left>備註</th>
- <th width=10%>發票日期</th>
- <th width=10%>到期日</th>
- <th width=10%>目前</th>
- <th width=10%>30</th>
- <th width=10%>60</th>
- <th width=10%>90+</th>
+ <th width=10 ?>發票日期</th>
+ <th width=10 ?>到期日</th>
+ <th width=10 ?>目前</th>
+ <th width=10 ?>30</th>
+ <th width=10 ?>60</th>
+ <th width=10 ?>90+</th>
</tr>
-<%foreach invnumber%>
+<?lsmb foreach invnumber ?>
<tr>
- <td><%invnumber%></td>
-<td><%ordnumber%></td>
-<td><%notes%></td>
- <td><%invdate%></td>
- <td><%duedate%></td>
- <td align=right><%c0%></td>
- <td align=right><%c30%></td>
- <td align=right><%c60%></td>
- <td align=right><%c90%></td>
+ <td><?lsmb invnumber ?></td>
+<td><?lsmb ordnumber ?></td>
+<td><?lsmb notes ?></td>
+ <td><?lsmb invdate ?></td>
+ <td><?lsmb duedate ?></td>
+ <td align=right><?lsmb c0 ?></td>
+ <td align=right><?lsmb c30 ?></td>
+ <td align=right><?lsmb c60 ?></td>
+ <td align=right><?lsmb c90 ?></td>
</tr>
-<%end invnumber%>
+<?lsmb end invnumber ?>
<tr>
<td colspan=9><hr size=1></td>
</tr>
@@ -97,10 +97,10 @@ <td> </td>
<td> </td>
<td> </td>
- <th align=right><%c0total%></td>
- <th align=right><%c30total%></td>
- <th align=right><%c60total%></td>
- <th align=right><%c90total%></td>
+ <th align=right><?lsmb c0total ?></td>
+ <th align=right><?lsmb c30total ?></td>
+ <th align=right><?lsmb c60total ?></td>
+ <th align=right><?lsmb c90total ?></td>
</tr>
</table>
</td>
@@ -109,10 +109,10 @@ <tr>
<td> </td>
<td align=right>
- <table width=50%>
+ <table width=50 ?>
<tr>
<th>合計餘額</th>
- <th align=right><%total%></th>
+ <th align=right><?lsmb total ?></th>
</tr>
</table>
</td>
@@ -123,7 +123,7 @@ </tr>
<tr>
<td> </td>
- <td>支票抬頭請寫<b><%company%></b>。
+ <td>支票抬頭請寫<b><?lsmb company ?></b>。
</td>
</tr>
diff --git a/templates/Traditional_Chinese_UTF8-statement.tex b/templates/Traditional_Chinese_UTF8-statement.tex index 0beb6c64..f700a750 100755 --- a/templates/Traditional_Chinese_UTF8-statement.tex +++ b/templates/Traditional_Chinese_UTF8-statement.tex @@ -11,39 +11,39 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> } \parbox[t]{.5\textwidth}{ -<%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 \vspace{1cm} -\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} +\textbf{S T A T E M E N T} \hfill \textbf{<?lsmb statementdate ?>} \vspace{2cm} @@ -52,13 +52,13 @@ Fax: <%customerfax%> \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Due} & \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90} \\ \hline -<%foreach invnumber%> - <%invnumber%> & <%ordnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> +<?lsmb foreach invnumber ?> + <?lsmb invnumber ?> & <?lsmb ordnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & + <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\ +<?lsmb end invnumber ?> \multicolumn{8}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\ \hline \end{tabular*} @@ -66,13 +66,13 @@ Fax: <%customerfax%> \hfill \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Total outstanding} & \textbf{<%total%>} + & \textbf{Total outstanding} & \textbf{<?lsmb total ?>} \end{tabularx} \vfill -All amounts in \textbf{<%currency%>} funds. +All amounts in \textbf{<?lsmb currency ?>} funds. -Please make check payable to \textbf{<%company%>} +Please make check payable to \textbf{<?lsmb company ?>} \end{document} diff --git a/templates/Traditional_Chinese_UTF8-timecard.html b/templates/Traditional_Chinese_UTF8-timecard.html index 1ffd89c1..239846c1 100755 --- a/templates/Traditional_Chinese_UTF8-timecard.html +++ b/templates/Traditional_Chinese_UTF8-timecard.html @@ -1,16 +1,16 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -18,8 +18,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -44,11 +44,11 @@ <table>
<tr>
<th align=left>職員</th>
- <td><%employee%></td>
+ <td><?lsmb employee ?></td>
</tr>
<tr>
<th align=left>編號</th>
- <td><%employee_id%></td>
+ <td><?lsmb employee_id ?></td>
</tr>
</table>
</td>
@@ -57,23 +57,23 @@ <table>
<tr>
<th align=left nowrap>卡號</th>
- <td><%id%></td>
+ <td><?lsmb id ?></td>
</tr>
<tr>
<th align=left nowrap>上班日期</th>
- <td><%transdate%></td>
+ <td><?lsmb transdate ?></td>
</tr>
<tr>
<th align=left nowrap>上班時間</th>
- <td><%checkedin%></td>
+ <td><?lsmb checkedin ?></td>
</tr>
<tr>
<th align=left>下班時間</th>
- <td><%checkedout%></td>
+ <td><?lsmb checkedout ?></td>
</tr>
<tr>
<th align=left nowrap>工作時數</th>
- <td><%qty%></td>
+ <td><?lsmb qty ?></td>
</tr>
</table>
</td>
@@ -88,25 +88,25 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<table>
<tr valign=top>
<th align=left>方案/工作編號</th>
- <td><%projectnumber%></td>
+ <td><?lsmb projectnumber ?></td>
</tr>
<tr>
<th align=left>摘要</th>
- <td><%projectdescription%></td>
+ <td><?lsmb projectdescription ?></td>
</tr>
<tr valign=top>
<th align=left>勞工/服務代碼</th>
- <td><%partnumber%></td>
+ <td><?lsmb partnumber ?></td>
</tr>
<tr>
<th align=left>摘要</th>
- <td><%description%></td>
+ <td><?lsmb description ?></td>
</tr>
</table>
</td>
@@ -114,11 +114,11 @@ <table>
<tr>
<th align=right>單價</th>
- <td><%sellprice%></td>
+ <td><?lsmb sellprice ?></td>
</tr>
<tr>
<th align=right>合計</th>
- <td><%total%></td>
+ <td><?lsmb total ?></td>
</tr>
</table>
</td>
@@ -127,17 +127,17 @@ </td>
</tr>
-<%if notes%>
+<?lsmb if notes ?>
<tr height=5></tr>
<tr>
<td> </td>
<td>
- <%notes%>
+ <?lsmb notes ?>
</td>
</tr>
-<%end notes%>
+<?lsmb end notes ?>
</table>
diff --git a/templates/Traditional_Chinese_UTF8-timecard.tex b/templates/Traditional_Chinese_UTF8-timecard.tex index b7630a00..ab849993 100755 --- a/templates/Traditional_Chinese_UTF8-timecard.tex +++ b/templates/Traditional_Chinese_UTF8-timecard.tex @@ -11,42 +11,42 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> \centerline{\textbf{T I M E}\hspace{0.5cm}\textbf{C A R D}} \vspace*{0.5cm} \begin{tabular}[t]{ll} - \textbf{Employee} & <%employee%> \\ - \textbf{ID} & <%employee_id%> \\ + \textbf{Employee} & <?lsmb employee ?> \\ + \textbf{ID} & <?lsmb employee_id ?> \\ \end{tabular} \hfill \begin{tabular}[t]{ll} - \textbf{Card ID} & <%id%> \\ - \textbf{Date} & <%transdate%> \\ - \textbf{In} & <%checkedin%> \\ - \textbf{Out} & <%checkedout%> \\ - \textbf{Hours} & <%qty%> \\ + \textbf{Card ID} & <?lsmb id ?> \\ + \textbf{Date} & <?lsmb transdate ?> \\ + \textbf{In} & <?lsmb checkedin ?> \\ + \textbf{Out} & <?lsmb checkedout ?> \\ + \textbf{Hours} & <?lsmb qty ?> \\ \end{tabular} \vspace{1cm} \begin{tabular}[b]{ll} - \textbf{Job/Project \#} & <%projectnumber%> \\ - \textbf{Description} & <%projectdescription%> \\ - \textbf{Labor/Service Code} & <%partnumber%> \\ - \textbf{Description} & <%description%> \\ + \textbf{Job/Project \#} & <?lsmb projectnumber ?> \\ + \textbf{Description} & <?lsmb projectdescription ?> \\ + \textbf{Labor/Service Code} & <?lsmb partnumber ?> \\ + \textbf{Description} & <?lsmb description ?> \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Rate} & <?lsmb sellprice ?> \\ + \textbf{Total} & <?lsmb total ?> \\ \end{tabular} \vspace{0.3cm} -<%notes%> +<?lsmb notes ?> \end{document} diff --git a/templates/Traditional_Chinese_UTF8-work_order.html b/templates/Traditional_Chinese_UTF8-work_order.html index 9fdbe3f2..5c92e863 100755 --- a/templates/Traditional_Chinese_UTF8-work_order.html +++ b/templates/Traditional_Chinese_UTF8-work_order.html @@ -1,17 +1,17 @@ <body bgcolor=ffffff>
-<table width=100%>
+<table width=100 ?>
<tr>
<td width=10> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr valign=bottom>
<td>
<h4>
- <%company%>
- <br><%address%>
+ <?lsmb company ?>
+ <br><?lsmb address ?>
</h4>
</td>
@@ -19,8 +19,8 @@ <td align=right>
<h4>
- 電話: <%tel%>
- <br>傳真: <%fax%>
+ 電話: <?lsmb tel ?>
+ <br>傳真: <?lsmb fax ?>
</h4>
</td>
</tr>
@@ -40,59 +40,59 @@ <td>
<table width=100% callspacing=0 cellpadding=0>
<tr bgcolor=000000>
- <th align=left width=50%><font color=ffffff>致</th>
- <th align=left width=50%><font color=ffffff>付運往</th>
+ <th align=left width=50 ?><font color=ffffff>致</th>
+ <th align=left width=50 ?><font color=ffffff>付運往</th>
</tr>
<tr valign=top>
- <td><%name%>
- <br><%address1%>
- <%if address2%>
- <br><%address2%>
- <%end address2%>
- <br><%city%> <%state%>
- <br><%zipcode%>
- <%if country%>
- <br><%country%>
- <%end country%>
+ <td><?lsmb name ?>
+ <br><?lsmb address1 ?>
+ <?lsmb if address2 ?>
+ <br><?lsmb address2 ?>
+ <?lsmb end address2 ?>
+ <br><?lsmb city ?> <?lsmb state ?>
+ <br><?lsmb zipcode ?>
+ <?lsmb if country ?>
+ <br><?lsmb country ?>
+ <?lsmb end country ?>
<br>
- <%if contact%>
- <br>致: <%contact%>
- <%end contact%>
- <%if customerphone%>
- <br>電話: <%customerphone%>
- <%end customerphone%>
- <%if customerfax%>
- <br>傳真: <%customerfax%>
- <%end customerfax%>
- <%if email%>
- <br><%email%>
- <%end email%>
+ <?lsmb if contact ?>
+ <br>致: <?lsmb contact ?>
+ <?lsmb end contact ?>
+ <?lsmb if customerphone ?>
+ <br>電話: <?lsmb customerphone ?>
+ <?lsmb end customerphone ?>
+ <?lsmb if customerfax ?>
+ <br>傳真: <?lsmb customerfax ?>
+ <?lsmb end customerfax ?>
+ <?lsmb if email ?>
+ <br><?lsmb email ?>
+ <?lsmb end email ?>
</td>
- <td><%shiptoname%>
- <br><%shiptoaddress1%>
- <%if shiptoaddress2%>
- <br><%shiptoaddress2%>
- <%end shiptoaddress2%>
- <br><%shiptocity%> <%shiptostate%>
- <br><%shiptozipcode%>
- <%if shiptocountry%>
- <br><%shiptocountry%>
- <%end shiptocountry%>
+ <td><?lsmb shiptoname ?>
+ <br><?lsmb shiptoaddress1 ?>
+ <?lsmb if shiptoaddress2 ?>
+ <br><?lsmb shiptoaddress2 ?>
+ <?lsmb end shiptoaddress2 ?>
+ <br><?lsmb shiptocity ?> <?lsmb shiptostate ?>
+ <br><?lsmb shiptozipcode ?>
+ <?lsmb if shiptocountry ?>
+ <br><?lsmb shiptocountry ?>
+ <?lsmb end shiptocountry ?>
<br>
- <%if shiptocontact%>
- <br><%shiptocontact%>
- <%end shiptocontact%>
- <%if shiptophone%>
- <br>電話: <%shiptophone%>
- <%end shiptophone%>
- <%if shiptofax%>
- <br>傳真: <%shiptofax%>
- <%end shiptofax%>
- <%if shiptoemail%>
- <br><%shiptoemail%>
- <%end shiptoemail%>
+ <?lsmb if shiptocontact ?>
+ <br><?lsmb shiptocontact ?>
+ <?lsmb end shiptocontact ?>
+ <?lsmb if shiptophone ?>
+ <br>電話: <?lsmb shiptophone ?>
+ <?lsmb end shiptophone ?>
+ <?lsmb if shiptofax ?>
+ <br>傳真: <?lsmb shiptofax ?>
+ <?lsmb end shiptofax ?>
+ <?lsmb if shiptoemail ?>
+ <br><?lsmb shiptoemail ?>
+ <?lsmb end shiptoemail ?>
</td>
</tr>
</table>
@@ -116,12 +116,12 @@ </tr>
<tr>
- <td><%ordnumber%></td>
- <td><%orddate%></td>
- <td><%reqdate%></td>
- <td><%employee%></td>
- <td><%shippingpoint%> </td>
- <td><%shipvia%> </td>
+ <td><?lsmb ordnumber ?></td>
+ <td><?lsmb orddate ?></td>
+ <td><?lsmb reqdate ?></td>
+ <td><?lsmb employee ?></td>
+ <td><?lsmb shippingpoint ?> </td>
+ <td><?lsmb shipvia ?> </td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@ <td> </td>
<td>
- <table width=100%>
+ <table width=100 ?>
<tr bgcolor=000000>
<th align=right><font color=ffffff>號碼</th>
<th align=left><font color=ffffff>號碼</th>
@@ -142,17 +142,17 @@ <th><font color=ffffff>序號</th>
</tr>
- <%foreach number%>
+ <?lsmb foreach number ?>
<tr valign=top>
- <td align=right><%runningnumber%>.</td>
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td><%bin%></td>
- <td><%serialnumber%></td>
+ <td align=right><?lsmb runningnumber ?>.</td>
+ <td><?lsmb number ?></td>
+ <td><?lsmb description ?></td>
+ <td align=right><?lsmb qty ?></td>
+ <td><?lsmb unit ?></td>
+ <td><?lsmb bin ?></td>
+ <td><?lsmb serialnumber ?></td>
</tr>
- <%end number%>
+ <?lsmb end number ?>
<tr>
<td colspan=7><hr noshade></td>
@@ -165,9 +165,9 @@ <tr>
<td> </td>
- <%if notes%>
- <td><%notes%></td>
- <%end notes%>
+ <?lsmb if notes ?>
+ <td><?lsmb notes ?></td>
+ <?lsmb end notes ?>
</tr>
</table>
diff --git a/templates/Traditional_Chinese_UTF8-work_order.tex b/templates/Traditional_Chinese_UTF8-work_order.tex index c8d48172..266459f2 100755 --- a/templates/Traditional_Chinese_UTF8-work_order.tex +++ b/templates/Traditional_Chinese_UTF8-work_order.tex @@ -11,20 +11,20 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> +<?lsmb include letterhead.tex ?> -<%pagebreak 65 27 48%> +<?lsmb pagebreak 65 27 48 ?> \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>} \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> +<?lsmb end pagebreak ?> \vspace*{0.5cm} @@ -33,71 +33,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> +<?lsmb city ?> +<?lsmb if state ?> +\hspace{-0.1cm}, <?lsmb state ?> +<?lsmb end state ?> +<?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> +<?lsmb if contact ?> +<?lsmb contact ?> \vspace{0.2cm} -<%end contact%> +<?lsmb end contact ?> -<%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 ?> } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> +<?lsmb shiptoname ?> -<%shiptoaddress1%> +<?lsmb shiptoaddress1 ?> -<%shiptoaddress2%> +<?lsmb shiptoaddress2 ?> -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> +<?lsmb shiptocity ?> +<?lsmb if shiptostate ?> +\hspace{-0.1cm}, <?lsmb shiptostate ?> +<?lsmb end shiptostate ?> +<?lsmb shiptozipcode ?> -<%shiptocountry%> +<?lsmb shiptocountry ?> \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> +<?lsmb if shiptocontact ?> +<?lsmb shiptocontact ?> \vspace{0.2cm} -<%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 @@ -111,7 +111,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\ \hline \end{tabularx} @@ -120,10 +120,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%foreach number%> - <%runningnumber%> & <%number%> & <%description%> & <%qty%> & - <%unit%> & <%serialnumber%> \\ -<%end number%> +<?lsmb foreach number ?> + <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> & + <?lsmb unit ?> & <?lsmb serialnumber ?> \\ +<?lsmb end number ?> \end{tabularx} @@ -132,7 +132,7 @@ Fax: <%shiptofax%> \vspace{12pt} -<%notes%> +<?lsmb notes ?> } \vfill |