[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3519] trunk/templates/demo



Revision: 3519
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3519&view=rev
Author:   einhverfr
Date:     2011-07-15 07:17:26 +0000 (Fri, 15 Jul 2011)

Log Message:
-----------
More LaTeX localized templates

Modified Paths:
--------------
    trunk/templates/demo/ar_transaction.tex
    trunk/templates/demo/bin_list.tex
    trunk/templates/demo/check_base.tex
    trunk/templates/demo/invoice.tex
    trunk/templates/demo/letterhead.tex
    trunk/templates/demo/packing_list.tex
    trunk/templates/demo/pick_list.tex

Modified: trunk/templates/demo/ar_transaction.tex
===================================================================
--- trunk/templates/demo/ar_transaction.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/ar_transaction.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -23,14 +23,14 @@
   %}
   \hfill
   ..hidden..
-  Tel: & <?lsmb tel ?>\\
-  Fax: & <?lsmb fax ?>
+  <?lsmb text('Tel:') ?> & <?lsmb tel ?>\\
+  <?lsmb text('Fax:') ?> & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5em]{\textwidth}{0.5pt}
 }
 
-\centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
+\centerline{\textbf{A R} \hspace{0.3cm} \textbf{<?lsmb text('Transaction') ?>}}
 
 \vspace*{0.5cm}
 
@@ -58,31 +58,31 @@
 \vspace{0.2cm}
 
 <?lsmb IF customerphone ?>
-Tel: <?lsmb customerphone ?>
+<?lsmb text('Tel: [_1]', customerphone) ?>
 <?lsmb END ?>
 
 <?lsmb IF customerfax ?>
-Fax: <?lsmb customerfax ?>
+<?lsmb text('Fax: [_1]', customerfax) ?>
 <?lsmb END ?>
 
 <?lsmb email ?>
 
 <?lsmb IF customertaxnumber ?>
-Tax Number: <?lsmb customertaxnumber ?>
+<?lsmb text('Tax Number: [_1]', customertaxnumber) ?>
 <?lsmb END ?>
 }
 \hfill
 \begin{tabular}[t]{ll}
-  \textbf{Invoice \#} & <?lsmb invnumber ?> \\
-  \textbf{Date} & <?lsmb invdate ?> \\
-  \textbf{Due} & <?lsmb duedate ?> \\
+  \textbf{<?lsmb text('Invoice #') ?>} & <?lsmb invnumber ?> \\
+  \textbf{<?lsmb text('Date') ?>} & <?lsmb invdate ?> \\
+  \textbf{<?lsmb text('Due') ?>} & <?lsmb duedate ?> \\
   <?lsmb IF ponumber ?>
     \textbf{PO \#} & <?lsmb ponumber ?> \\
   <?lsmb END ?>
   <?lsmb IF ordnumber ?>
-    \textbf{Order \#} & <?lsmb ordnumber ?> \\
+    \textbf{<?lsmb text('Order #') ?>} & <?lsmb ordnumber ?> \\
   <?lsmb END ?>
-  \textbf{Employee} & <?lsmb employee ?> \\
+  \textbf{<?lsmb text('Employee') ?>} & <?lsmb employee ?> \\
 \end{tabular}
 
 \vspace{1cm}
@@ -120,9 +120,10 @@
 
 <?lsmb IF paid_1 ?>
 ..hidden..@{}}
-  \multicolumn{5}{c}{\textbf{Payments}} \\
+  \multicolumn{5}{c}{\textbf{<?lsmb text('Payments') ?>}} \\
   \hline
-  \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\
+  \textbf{<?lsmb text('Date') ?>} & & \textbf{<?lsmb text('Source') ?>} & 
+        \textbf{<?lsmb text('Amount') ?>} \\
 <?lsmb END ?>
 <?lsmb FOREACH payment ?>
 <?lsmb lc = loop.count - 1 ?>
@@ -136,7 +137,7 @@
 
 <?lsmb FOREACH tax ?>
 <?lsmb lc = loop.count - 1 ?>
-\textbf{\scriptsize <?lsmb taxdescription.${lc} ?> Registration <?lsmb taxnumber.${lc} ?>} \\
+\textbf{\scriptsize <?lsmb taxdescription.${lc} _ ' ' _ text('Registration') _ ' ' _  taxnumber.${lc} ?>} \\
 <?lsmb END ?>
   
 \end{document}

Modified: trunk/templates/demo/bin_list.tex
===================================================================
--- trunk/templates/demo/bin_list.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/bin_list.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -31,7 +31,7 @@
 \vspace*{0.5cm}
 
 \parbox[t]{.5\textwidth}{
-\textbf{From}
+\textbf{<?lsmb text('From') ?>}
 \vspace{0.3cm}
 
 <?lsmb name ?>
@@ -49,7 +49,7 @@
 <?lsmb country ?>
 }
 \parbox[t]{.5\textwidth}{
-\textbf{Ship To}
+\textbf{<?lsmb text('Ship To') ?>}
 \vspace{0.3cm}
 
 <?lsmb shiptoname ?>
@@ -70,7 +70,7 @@
 
 \vspace{1cm}
 
-\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+\textbf{<?lsmb text('Bin List') ?>}
 \hfill
 
 \vspace{1cm}
@@ -78,9 +78,9 @@
 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
   \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
   <?lsmb IF warehouse ?>
-  & \textbf{Warehouse}
+  & \textbf{<?lsmb text('Warehouse') ?>}
   <?lsmb END ?>
-  & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
+  & \textbf{<?lsmb text('Shipping Point') ?>} & \textbf{<?lsmb text('Ship via') ?>} \\ [0.5em]
   \hline
   
   <?lsmb ordnumber ?>
@@ -101,7 +101,11 @@
 \vspace{1cm}
   
 ..hidden..@{}}
-  \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
+  \textbf{<?lsmb text('Item') ?>} & \textbf{<?lsmb text('Number') ?>} 
+     & \textbf{<?lsmb text('Description') ?>} & 
+     \textbf{<?lsmb text('Serial Number') ?>} & 
+    & \textbf{<?lsmb text('Qty'} ?>& \textbf{<?lsmb text('Recd') ?>} & 
+    & \textbf{<?lsmb text('Bin') ?>} \\
 
 <?lsmb FOREACH number ?>
 <?lsmb lc = loop.count - 1 ?>

Modified: trunk/templates/demo/check_base.tex
===================================================================
--- trunk/templates/demo/check_base.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/check_base.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -49,8 +49,8 @@
 
 \vspace{0.5cm}
 ..hidden..
-\textbf{Invoice \#} & \textbf{Invoice Date}
-  & \textbf{Amount Due} & \textbf{Applied} \\
+\textbf{<?lsmb text('Invoice #') ?>} & \textbf{<?lsmb text('Invoice Date') ?>}
+  & \textbf{<?lsmb text('Amount Due') ?>} & \textbf{<?lsmb text('Applied') ?>} \\
 <?lsmb FOR inv = invoices ?>
 <?lsmb inv.invnumber ?> & <?lsmb inv.invdate ?> \dotfill
   & <?lsmb inv.due ?> & <?lsmb inv.paid ?> \\

Modified: trunk/templates/demo/invoice.tex
===================================================================
--- trunk/templates/demo/invoice.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/invoice.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -17,9 +17,9 @@
   \parbox{\textwidth}{
   \tiny
   \rule[1.5em]{\textwidth}{0.5pt}
-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.
+<?lsmb text('Payment due NET [_1] Days from date of Invoice.', terms) ?>
+<?lsmb text('Interest on overdue amounts will acrue at the rate of 12\% per annum starting from [_1] until paid in full. Items returned are subject to a 10\% restocking charge.', duedate) ?>
+<?lsmb text('A return authorization must be obtained from [_1] before goods are returned. Returns must be shipped prepaid and properly insured. [_1] will not be responsible for damages during transit.', company) ?>
   }
 }
 
@@ -125,14 +125,17 @@
 
 \vspace{1cm}
 
-\textbf{I N V O I C E}
+\textbf{<?lsmb text('Invoice') ?>}
 \hfill
 
 \vspace{1cm}
 
 \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
-  \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & \textbf{Order \#}
-  & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
+  \textbf{<?lsmb text('Invoice #') ?>} & \textbf{<?lsmb text('Date') ?>} 
+      & \textbf{<?lsmb text('Due') ?>} & \textbf{<?lsmb text('Order #') ?>}
+      & \textbf{<?lsmb text('Salesperson') ?>} 
+      & \textbf{<?lsmb text('Shipping Point') ?>} 
+      & \textbf{<?lsmb text('Ship via'}) ?> \\ [0.5em]
   \hline
   <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?>
   & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
@@ -142,8 +145,11 @@
 \vspace{1cm}
 
 ..hidden..@{}}
-  \textbf{Pos} & \textbf{Number} & \textbf{Description} & & \textbf{Qt'y} &
-    \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\ [0.5em]
+  \textbf{<?lsmb text('Item') ?>} & \textbf{<?lsmb text('Number') ?>}
+  & \textbf{<?lsmb text('Description') ?>} & & \textbf{<?lsmb text('Qty') ?>} &
+    \textbf{<?lsmb text('Unit') ?>} & \textbf{<?lsmb text('Price') ?>} & 
+    \textbf{<?lsmb text('Disc %') ?>} 
+    & \textbf{<?lsmb text('Amount') ?>} \\ [0.5em]
 <?lsmb FOREACH number ?>
 <?lsmb lc = loop.count - 1 ?>
   <?lsmb runningnumber.${lc} ?> & 
@@ -172,11 +178,11 @@
   & <?lsmb taxdescription.${lc} ?> on <?lsmb taxbase.${lc} ?> & <?lsmb tax.${lc} ?> \\
 <?lsmb END ?>
 <?lsmb IF paid ?>
-  & Paid & - <?lsmb paid ?> \\
+  & <?lsmb text('Paid') ?> & - <?lsmb paid ?> \\
 <?lsmb END ?>
   \hline
 <?lsmb IF total ?>
-  & Balance Due & <?lsmb total ?>
+  & <?lsmb text('Balance Due') ?> & <?lsmb total ?>
 <?lsmb END ?>
 \end{tabularx}
 
@@ -184,7 +190,7 @@
 
 <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
 \hfill
-All prices in \textbf{<?lsmb currency ?>}.
+<?lsmb text('All prices in [_1].', currency) ?>
 
 \vspace{12pt}
 
@@ -195,9 +201,10 @@
 
 <?lsmb IF paid_1 ?>
 ..hidden..@{}}
-  \textbf{Payments} & & & \\
+  \textbf{<?lsmb text('Payments') ?>} & & & \\
   \hline
-  \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\
+  \textbf{<?lsmb text('Date') ?>} & & \textbf{<?lsmb text('Source') ?>} 
+  & \textbf{<?lsmb text('Amount') ?>} \\
 <?lsmb END ?>
 <?lsmb FOREACH payment ?>
 <?lsmb lc = loop.count - 1 ?>
@@ -209,7 +216,7 @@
 
 \vspace{1cm}
 
-\centerline{\textbf{Thank You for your valued business!}}
+\centerline{\textbf{<?lsmb text('Thank You for your valued business!') ?>}}
 
 \rule{\textwidth}{0.5pt}
 

Modified: trunk/templates/demo/letterhead.tex
===================================================================
--- trunk/templates/demo/letterhead.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/letterhead.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -10,8 +10,8 @@
     %\includegraphics[scale=0.3]{<?lsmb images ?>/logo}
   }\hfill
   ..hidden..
-  Tel: & <?lsmb tel ?>\\
-  Fax: & <?lsmb fax ?>
+  <?lsmb text('Tel:') ?> & <?lsmb tel ?>\\
+  <?lsmb text('Fax:') ?> & <?lsmb fax ?>
   \end{tabular}
 
   \rule[1.5em]{\textwidth}{0.5pt}

Modified: trunk/templates/demo/packing_list.tex
===================================================================
--- trunk/templates/demo/packing_list.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/packing_list.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -17,10 +17,8 @@
   \parbox{\textwidth}{
   \tiny
    \rule[1.5em]{\textwidth}{0.5pt}
-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.
+<?lsmb text('Items returned are subject to a 10% restocking charge.') ?>
+<?lsmb text('A return authorization must be obtained from [_1] before goods are returned. Returns must be shipped prepaid and properly insured. [_1] will not be responsible for damages during transit.', company) ?>
   }
 }
 
@@ -79,17 +77,19 @@
 
 \vspace{1cm}
 
-\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+\textbf{<?lsmb text('Packing List') ?>}
 \hfill
 
 \vspace{1cm}
 
 \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
-  \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
+  \textbf{<?lsmb text('Invoice #') ?>} & \textbf{<?lsmb text('Order #') ?>} 
+  & \textbf{<?lsmb text('Date') ?>} & \textbf{<?lsmb text('Contact') ?>}
   <?lsmb IF warehouse ?>
-  & \textbf{Warehouse}
+  & \textbf{<?lsmb text('Warehouse') ?>}
   <?lsmb END ?>
-  & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
+  & \textbf{<?lsmb text('Shipping Point') ?>} 
+  & \textbf{<?lsmb text('Ship via') ?>} \\ [0.5em]
   \hline
   
   <?lsmb invnumber ?> & <?lsmb ordnumber ?>
@@ -109,7 +109,10 @@
 \vspace{1cm}
   
 ..hidden..@{}}
-  \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
+  \textbf{<?lsmb text('Item') ?>} & \textbf{<?lsmb text('Number') ?>} 
+  & \textbf{<?lsmb text('Description') ?>} 
+  & \textbf{<?lsmb text('Serial Number') ?>} & 
+  & \textbf{<?lsmb text('Qty') ?>} & \textbf{<?lsmb text('Ship') ?>} & \\
 
 <?lsmb FOREACH number ?>
 <?lsmb lc = loop.count - 1 ?>

Modified: trunk/templates/demo/pick_list.tex
===================================================================
--- trunk/templates/demo/pick_list.tex	2011-07-15 06:04:04 UTC (rev 3518)
+++ trunk/templates/demo/pick_list.tex	2011-07-15 07:17:26 UTC (rev 3519)
@@ -70,14 +70,17 @@
 
 \vspace{1cm}
 
-\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
+\textbf{<?lsmb text('Pick List') ?>}
 \hfill
 
 \vspace{1cm}
 
 \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
-  \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
-  & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
+  \textbf{<?lsmb text('Invoice #') ?>} & \textbf{<?lsmb text('Order #') ?>} 
+   & \textbf{<?lsmb text('Date') ?>} & \textbf{<?lsmb text('Contact') ?>}
+  & \textbf{<?lsmb text('Warehouse') ?>} 
+  & \textbf{<?lsmb text('Shipping Point') ?>} 
+  & \textbf{<?lsmb text('Ship via') ?>} \\ [0.5em]
   \hline
   <?lsmb invnumber ?> & <?lsmb ordnumber ?>
   <?lsmb IF shippingdate ?>
@@ -92,8 +95,10 @@
 \vspace{1cm}
 
 ..hidden..@{}}
-  \textbf{Item} & \textbf{Number} & \textbf{Description} &
-  \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
+  \textbf{<?lsmb text('Item') ?>} & \textbf{<?lsmb text('Number') ?>} 
+   & \textbf{<?lsmb text('Description') ?>} &
+  \textbf{<?lsmb text('Qty') ?>} & \textbf{<?lsmb text('Ship') ?>} & 
+  & \textbf{<?lsmb text('Bin') ?>} \\
 <?lsmb FOREACH number ?>
 <?lsmb lc = loop.count - 1 ?>
   <?lsmb runningnumber.${lc} ?> &


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.