From 1eb75f0d6e9074d96445c810267aebe415b1b2d7 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 24 Sep 2006 17:41:49 +0000 Subject: Changes templates from <% %> to git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@141 4979c152-3d1c-0410-bac9-87ea11338e46 --- templates/demo/ap_transaction.html | 150 +++++++++++----------- templates/demo/ap_transaction.tex | 102 +++++++-------- templates/demo/ar_transaction.html | 154 +++++++++++----------- templates/demo/ar_transaction.tex | 116 ++++++++--------- templates/demo/balance_sheet.html | 62 ++++----- templates/demo/bin_list.html | 156 +++++++++++------------ templates/demo/bin_list.tex | 80 ++++++------ templates/demo/check.tex | 46 +++---- templates/demo/income_statement.html | 54 ++++---- templates/demo/invoice.html | 232 +++++++++++++++++----------------- templates/demo/invoice.tex | 146 ++++++++++----------- templates/demo/letterhead.html | 12 +- templates/demo/letterhead.tex | 10 +- templates/demo/packing_list.html | 124 +++++++++--------- templates/demo/packing_list.tex | 84 ++++++------ templates/demo/pick_list.html | 98 +++++++------- templates/demo/pick_list.tex | 66 +++++----- templates/demo/pos_invoice.txt | 68 +++++----- templates/demo/purchase_order.html | 188 +++++++++++++-------------- templates/demo/purchase_order.tex | 112 ++++++++-------- templates/demo/receipt.tex | 46 +++---- templates/demo/request_quotation.html | 134 ++++++++++---------- templates/demo/request_quotation.tex | 98 +++++++------- templates/demo/sales_order.html | 188 +++++++++++++-------------- templates/demo/sales_order.tex | 120 +++++++++--------- templates/demo/sales_quotation.html | 134 ++++++++++---------- templates/demo/sales_quotation.tex | 80 ++++++------ templates/demo/statement.html | 102 +++++++-------- templates/demo/statement.tex | 52 ++++---- templates/demo/timecard.html | 38 +++--- templates/demo/timecard.tex | 30 ++--- templates/demo/work_order.html | 146 ++++++++++----------- templates/demo/work_order.tex | 96 +++++++------- 33 files changed, 1662 insertions(+), 1662 deletions(-) (limited to 'templates') diff --git a/templates/demo/ap_transaction.html b/templates/demo/ap_transaction.html index 2ab4d5e5..364dcaea 100644 --- a/templates/demo/ap_transaction.html +++ b/templates/demo/ap_transaction.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,72 +19,72 @@
  - @@ -100,48 +100,48 @@ @@ -150,7 +150,7 @@ @@ -158,11 +158,11 @@ - <%if paid_1%> + @@ -188,30 +188,30 @@ - <%end paid_1%> + - <%foreach payment%> + - - - - - + + + + + - <%end payment%> + - <%if paid_1%> +
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
<%contact%> + +

- <%end contact%> + - <%if vendorphone%> -
Tel: <%vendorphone%> - <%end vendorphone%> + +
Tel: + - <%if vendorfax%> -
Fax: <%vendorfax%> - <%end vendorfax%> + +
Fax: + - <%if email%> -
<%email%> - <%end email%> + +
+ - <%if vendortaxnumber%> -

Taxnumber: <%vendortaxnumber%> - <%end vendortaxnumber%> + +

Taxnumber: +

- + - + - + - <%if ponumber%> + - + - <%end ponumber%> - <%if ordnumber%> + + - + - <%end ordnumber%> + - +
Invoice #<%invnumber%>
Date<%invdate%>
Due<%duedate%>
PO #<%ponumber%>  
Order #<%ordnumber%>  
Employee<%employee%>  
- <%foreach account%> + - - + + - + - + - + - <%end account%> + - <%if taxincluded%> + - - <%end taxincluded%> + + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%foreach tax%> + - + - + - <%end tax%> + - <%if not taxincluded%> + - + - <%end taxincluded%> +
<%accno%><%account%> <%amount%> <%description%> <%projectnumber%>
Total <%invtotal%> Subtotal <%subtotal%>
<%taxdescription%> @ <%taxrate%> % @ % <%tax%>
Total <%invtotal%>
  - <%text_amount%> ***** <%decimal%>/100 <%currency%> + ***** /100
  - <%notes%> +
 Memo Amount
<%paymentdate%><%paymentaccount%><%paymentsource%><%paymentmemo%><%payment%>
- <%end paid_1%> + - <%if taxincluded%> +   @@ -219,7 +219,7 @@ Taxes shown are included in price. - <%end taxincluded%> + diff --git a/templates/demo/ap_transaction.tex b/templates/demo/ap_transaction.tex index 5cd134cc..31edf3ec 100644 --- a/templates/demo/ap_transaction.tex +++ b/templates/demo/ap_transaction.tex @@ -12,100 +12,100 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%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%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state> -\hspace{-0.1cm}, <%state%> -<%end state%> <%zipcode%> + + +\hspace{-0.1cm}, + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> + + \vspace{0.2cm} -<%end contact%> + -<%if vendorphone%> -Tel: <%vendorphone%> -<%end vendorphone%> + +Tel: + -<%if vendorfax%> -Fax: <%vendorfax%> -<%end vendorfax%> + +Fax: + -<%email%> + -<%if vendortaxnumber%> -Tax Number: <%vendortaxnumber%> -<%end vendortaxnumber%> + +Tax Number: + } \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 \#} & \\ + \textbf{Date} & \\ + \textbf{Due} & \\ + + \textbf{PO \#} & \\ + + + \textbf{Order \#} & \\ + + \textbf{Employee} & \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> + + & & & & \\ + - \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\ -<%foreach tax%> - \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\ -<%end tax%> + \multicolumn{2}{r}{\textbf{Subtotal}} & & \\ + + \multicolumn{2}{r}{\textbf{ @ \%}} & & \\ + - \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\ + \multicolumn{2}{r}{\textbf{Total}} & & \\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> + ***** /100 -<%if notes%> + \vspace{0.3cm} -<%notes%> -<%end notes%> + + \vspace{0.3cm} -<%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%> + + + & & & & \\ + + \end{tabular} -<%end paid_1%> + \end{document} diff --git a/templates/demo/ar_transaction.html b/templates/demo/ar_transaction.html index f8b8e95e..8422609f 100644 --- a/templates/demo/ar_transaction.html +++ b/templates/demo/ar_transaction.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,72 +19,72 @@
  - @@ -100,48 +100,48 @@ @@ -150,7 +150,7 @@ @@ -158,11 +158,11 @@ - <%if paid_1%> + @@ -187,37 +187,37 @@ - <%end paid_1%> + - <%foreach payment%> + - - - - + + + + - <%end payment%> + - <%if paid_1%> +
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
<%contact%> + +

- <%end contact%> + - <%if customerphone%> -
Tel: <%customerphone%> - <%end customerphone%> + +
Tel: + - <%if customerfax%> -
Fax: <%customerfax%> - <%end customerfax%> + +
Fax: + - <%if email%> -
<%email%> - <%end email%> + +
+ - <%if customertaxnumber%> -
Taxnumber: <%customertaxnumber%> - <%end customertaxnumber%> + +
Taxnumber: +
- + - + - + - <%if ponumber%> + - + - <%end ponumber%> - <%if ordnumber%> + + - + - <%end ordnumber%> + - +
Invoice #<%invnumber%>
Date<%invdate%>
Due<%duedate%>
PO #<%ponumber%>  
Order #<%ordnumber%>  
Salesperson<%employee%>  
- <%foreach account%> + - - + + - + - + - + - <%end account%> + - <%if taxincluded%> + - - <%end taxincluded%> + + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%foreach tax%> + - + - + - <%end tax%> + - <%if not taxincluded%> + - + - <%end taxincluded%> +
<%accno%><%account%>  <%amount%>  <%description%>  <%projectnumber%>
Total  <%invtotal%> Subtotal  <%subtotal%>
<%taxdescription%> @ <%taxrate%> % @ %  <%tax%>
Total  <%invtotal%>
  - <%text_amount%> ***** <%decimal%>/100 <%currency%> + ***** /100
  - <%notes%> +
 Source Amount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
- <%end paid_1%> + - <%foreach tax%> +   - <%taxdescription%> Registration <%taxnumber%> + Registration - <%end tax%> + - <%if taxincluded%> +   @@ -225,7 +225,7 @@ Taxes shown are included in price. - <%end taxincluded%> + diff --git a/templates/demo/ar_transaction.tex b/templates/demo/ar_transaction.tex index 31e20fdb..ea55c19e 100644 --- a/templates/demo/ar_transaction.tex +++ b/templates/demo/ar_transaction.tex @@ -13,16 +13,16 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + - <%address%> + } \parbox[b]{.2\textwidth}{ \includegraphics[scale=0.3]{ledger-smb} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & \\ + Fax: & \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -33,101 +33,101 @@ \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -, <%state%> -<%end state%> -<%zipcode%> + + +, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> -<%end contact%> + + + \vspace{0.2cm} -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> + +Tel: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%email%> + -<%if customertaxnumber%> -Tax Number: <%customertaxnumber%> -<%end customertaxnumber%> + +Tax Number: + } \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 \#} & \\ + \textbf{Date} & \\ + \textbf{Due} & \\ + + \textbf{PO \#} & \\ + + + \textbf{Order \#} & \\ + + \textbf{Employee} & \\ \end{tabular} \vspace{1cm} \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\ -<%end amount%> + + & & & & \\ + - \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\ -<%foreach tax%> - \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\ -<%end tax%> + \multicolumn{2}{r}{\textbf{Subtotal}} & & \\ + + \multicolumn{2}{r}{\textbf{ @ \%}} & & \\ + - \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\ + \multicolumn{2}{r}{\textbf{Total}} & & \\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> + ***** /100 -<%if notes%> + \vspace{0.3cm} -<%notes%> -<%end notes%> + + \vspace{0.3cm} -<%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%> + + + & & & \\ + + \end{tabular} -<%end paid_1%> + \vspace{0.5cm} -<%foreach tax%> -\textbf{\scriptsize <%taxdescription%> Registration <%taxnumber%>} \\ -<%end tax%> + +\textbf{\scriptsize Registration } \\ + \end{document} diff --git a/templates/demo/balance_sheet.html b/templates/demo/balance_sheet.html index 6ede0b9c..2ce532f8 100644 --- a/templates/demo/balance_sheet.html +++ b/templates/demo/balance_sheet.html @@ -2,32 +2,32 @@

-<%company%> -
<%address%> + +

BALANCE SHEET -
as at <%this_period%> +
as at

-<%if department%> -

Department: <%department%>

-<%end department%> + +

Department:

+ - - + + -<%foreach asset_account%> + - - - + + + -<%end asset_account%> + @@ -37,22 +37,22 @@ - - + + -<%foreach liability_account%> + - - - + + + -<%end liability_account%> + @@ -63,22 +63,22 @@ - -<%foreach equity_account%> + - - - + + + -<%end equity_account%> + @@ -89,14 +89,14 @@ - - - + +
ASSETS

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>
TOTAL ASSETS<%total_assets_this_period%>
<%total_assets_last_period%>


LIABILITIES
<%liability_account%><%liability_this_period%><%liability_last_period%>
TOTAL LIABILITIES<%total_liabilities_this_period%>

-
<%total_liabilities_last_period%>

+


+


SHAREHOLDER'S EQUITY

<%equity_account%><%equity_this_period%><%equity_last_period%>
TOTAL EQUITY<%total_equity_this_period%>

-
<%total_equity_last_period%>

+


+


TOTAL LIABILITIES & EQUITY<%total_this_period%>

<%total_last_period%>





diff --git a/templates/demo/bin_list.html b/templates/demo/bin_list.html index 93abb57d..543dc8dd 100644 --- a/templates/demo/bin_list.html +++ b/templates/demo/bin_list.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,70 +19,70 @@ - <%if warehouse%> + - <%end warehouse%> + - + - <%if shippingdate%> - - <%end shippingdate%> + + + - <%if not shippingdate%> - - <%end shippingdate%> + + + - + - <%if warehouse%> - - <%end warehouse%> + + + - - + +
  - - + + - -
FromShip ToFromShip To
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> - <%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + + +
- <%if contact%> -
Attn: <%contact%> - <%end contact%> + +
Attn: + - <%if vendorphone%> -
Tel: <%vendorphone%> - <%end vendorphone%> + +
Tel: + - <%if vendorfax%> -
Fax: <%vendorfax%> - <%end vendorfax%> + +
Fax: + - <%if email%> -
<%email%> - <%end email%> + +
+
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> - <%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + + +
- <%if shiptocontact%> -
Attn: <%shiptocontact%> - <%end shiptocontact%> + +
Attn: + - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> + +
Tel: + - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> + +
Fax: +
@@ -100,32 +100,32 @@
Order # Date Contact Warehouse Shipping Point Ship via
<%ordnumber%>  <%shippingdate%><%orddate%><%employee%>  <%warehouse%><%shippingpoint%> <%shipvia%>   
@@ -135,7 +135,7 @@   - +
@@ -148,19 +148,19 @@ - <%foreach number%> + - - - - - - - - - + + + + + + + + + - <%end number%> +
Item NumberBin
<%runningnumber%><%number%><%description%><%serialnumber%><%deliverydate%><%qty%><%ship%><%unit%><%bin%>
diff --git a/templates/demo/bin_list.tex b/templates/demo/bin_list.tex index 1bc85d66..0883d69f 100644 --- a/templates/demo/bin_list.tex +++ b/templates/demo/bin_list.tex @@ -11,19 +11,19 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 37%> + \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ -<%end pagebreak%> + \vspace*{0.5cm} @@ -32,37 +32,37 @@ \textbf{From} \vspace{0.3cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + } \hfill @@ -75,24 +75,24 @@ \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Contact} - <%if warehouse%> + & \textbf{Warehouse} - <%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%> \\ + + + & + + + & + + & + + & + + & & \\ \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%> + + & & & & + & & & & \\ + \end{tabularx} diff --git a/templates/demo/check.tex b/templates/demo/check.tex index 908f0e79..c6bef8b9 100644 --- a/templates/demo/check.tex +++ b/templates/demo/check.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + - <%address%>} + } \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill } \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} + \dotfill /100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill \makebox[2cm]{\hfill} % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% \vspace{0.5cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{1.8cm} -<%memo%> + \vspace{0.8cm} -<%company%> + \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> + \hfill \hfill \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%> + + & \dotfill + & & \\ + \end{tabularx} \vspace{1cm} -<%memo%> + \vfill diff --git a/templates/demo/income_statement.html b/templates/demo/income_statement.html index d5221d63..14b01219 100644 --- a/templates/demo/income_statement.html +++ b/templates/demo/income_statement.html @@ -2,36 +2,36 @@

-<%company%> -
<%address%> + +

INCOME STATEMENT -
<%period%> +

-<%if department%> -

Department: <%department%>

-<%end department%> + +

Department:

+ -<%if projectnumber%> -

Project Number: <%projectnumber%>

-<%end projectnumber%> + +

Project Number:

+ - - + + -<%foreach income_account%> + - - - + + + -<%end income_account%> + @@ -42,22 +42,22 @@ - - + + -<%foreach expense_account%> + - - - + + + -<%end expense_account%> + @@ -68,14 +68,14 @@ - - - + +
INCOME

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>
TOTAL INCOME<%total_income_this_period%>
<%total_income_last_period%>


EXPENSES

<%expense_account%><%expenses_this_period%><%expenses_last_period%>
TOTAL EXPENSES<%total_expenses_this_period%>

-
<%total_expenses_last_period%>

+


+


INCOME / (LOSS)<%total_this_period%>

<%total_last_period%>





diff --git a/templates/demo/invoice.html b/templates/demo/invoice.html index 3356aed6..3b15e0ee 100644 --- a/templates/demo/invoice.html +++ b/templates/demo/invoice.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,75 +19,75 @@ - - - - - - - + + + + + + +
  - - + + - -
ToShip ToToShip To
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
<%contact%> + +

- <%end contact%> + - <%if customerphone%> -
Tel: <%customerphone%> - <%end customerphone%> + +
Tel: + - <%if customerfax%> -
Fax: <%customerfax%> - <%end customerfax%> + +
Fax: + - <%if email%> -
<%email%> - <%end email%> + +
+
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
<%shiptocontact%> + +

- <%end shiptocontact%> + - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> + +
Tel: + - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> + +
Fax: + - <%if shiptoemail%> -
<%shiptoemail%> - <%end shiptoemail%> + +
+
@@ -112,13 +112,13 @@
<%invnumber%><%invdate%><%duedate%><%ordnumber%> <%employee%> <%shippingpoint%> <%shipvia%>     
@@ -128,7 +128,7 @@   - +
@@ -141,62 +141,62 @@ - <%foreach number%> + - - - - - - - - - + + + + + + + + + - <%end number%> + - <%if taxincluded%> + - - <%end taxincluded%> + + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%foreach tax%> + - - + + - <%end tax%> + - <%if paid%> + - + - <%end paid%> + - <%if total%> + - + - <%end total%> +
Item NumberExtended
<%runningnumber%>.<%number%><%description%><%deliverydate%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>.

Total<%invtotal%> Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%> on @ %
Paid- <%paid%>-
 
  Balance Due<%total%>
@@ -207,28 +207,28 @@   - +
- <%if notes%> - - <%end notes%> + + + - +
<%notes%><%text_amount%> ***** <%decimal%>/100 ***** /100 - All prices in <%currency%> + All prices in
- <%if paid_1%> +   - +
@@ -246,22 +246,22 @@ - <%end paid_1%> + - <%foreach payment%> + - - - - + + + + - <%end payment%> + - <%if paid_1%> +
PaymentsSource Amount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
- <%end paid_1%> + @@ -277,15 +277,15 @@   - +
- - @@ -293,15 +293,15 @@ - <%foreach tax%> + - + - <%end tax%> + - <%if taxincluded%> + @@ -309,7 +309,7 @@ - <%end taxincluded%> +
- 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. + + Payment due by . + Items returned are subject to a 10% restocking charge. A return authorization must be obtained from before goods are returned. Returns must be shipped prepaid and properly insured. will not be responsible for damages during transit. + X
 <%taxdescription%> Registration <%taxnumber%> Registration
 
Taxes shown are included in price.
diff --git a/templates/demo/invoice.tex b/templates/demo/invoice.tex index fa7145bf..e7f74697 100644 --- a/templates/demo/invoice.tex +++ b/templates/demo/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 Days from date of Invoice. Interest on overdue amounts will acrue at the rate of 12\% per annum starting from until paid in full. Items returned are subject to a 10\% restocking charge. +A return authorization must be obtained from before goods are returned. Returns must be shipped prepaid and properly insured. + will not be responsible for damages during transit. } } -<%include letterhead.tex%> + -<%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 & \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%invnumber%>} +\markboth{\hfill }{\hfill } \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 & & & & & & & \\ [0.5em] + \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%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> + + \vspace{0.2cm} -<%end contact%> + -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> + +Tel: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%email%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> + + \vspace{0.2cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%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%> \\ + & & & & + & & \\ \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%> + + & & & & + & & & & \\ + \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 & \\ + + & on & \\ + + + & Paid & - \\ + \hline -<%if total%> - & Balance Due & <%total%> -<%end total%> + + & Balance Due & + \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 + ***** /100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{}. \vspace{12pt} -<%notes%> + } \vfill -<%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%> + + + & & & \\ + + \end{tabularx} -<%end paid_1%> + \vspace{1cm} diff --git a/templates/demo/letterhead.html b/templates/demo/letterhead.html index ccac4c0f..1094bcf6 100644 --- a/templates/demo/letterhead.html +++ b/templates/demo/letterhead.html @@ -2,21 +2,21 @@   - +
- + diff --git a/templates/demo/letterhead.tex b/templates/demo/letterhead.tex index 16d1d16c..10ad0c44 100644 --- a/templates/demo/letterhead.tex +++ b/templates/demo/letterhead.tex @@ -1,15 +1,15 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + - <%address%> + } \parbox[b]{.2\textwidth}{ - \includegraphics[scale=0.3]{../<%templates%>/<%language_code%>/logo} + \includegraphics[scale=0.3]{..///logo} }\hfill \begin{tabular}[b]{rr@{}} - Tel: & <%tel%>\\ - Fax: & <%fax%> + Tel: & \\ + Fax: & \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} diff --git a/templates/demo/packing_list.html b/templates/demo/packing_list.html index 57286437..3a6683f8 100644 --- a/templates/demo/packing_list.html +++ b/templates/demo/packing_list.html @@ -1,9 +1,9 @@ -

- <%company%>
- <%address%> +
+

/<%language_code%>/logo.png border=0 height=58>//logo.png border=0 height=58>

- Tel: <%tel%>
- Fax: <%fax%> + Tel:
+ Fax:

+
- <%include letterhead.html%> + @@ -20,39 +20,39 @@
 
- + -
Ship To:  
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
Attn: <%shiptocontact%> - <%end shiptocontact%> + +
Attn: + - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> + +
Tel: + - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> + +
Fax: + - <%shiptoemail%> +
@@ -71,33 +71,33 @@ Order # Date Contact - <%if warehouse%> + Warehouse - <%end warehouse%> + Shipping Point Ship via - <%invnumber%>  - <%ordnumber%>  +   +   - <%if shippingdate%> - <%shippingdate%> - <%end shippingdate%> + + + - <%if not shippingdate%> - <%transdate%> - <%end shippingdate%> + + + - <%employee%>  +   - <%if warehouse%> - <%warehouse%>  - <%end warehouse%> + +   + - <%shippingpoint%>  - <%shipvia%>  +   +   @@ -107,7 +107,7 @@   - +
@@ -119,18 +119,18 @@ - <%foreach number%> + - - - - - - - - + + + + + + + + - <%end number%> +
Item Number 
<%runningnumber%><%number%><%description%><%serialnumber%><%deliverydate%><%qty%><%ship%><%unit%>
@@ -142,36 +142,36 @@
- <%if notes%> +   - +
- +
Notes<%notes%>
- <%end notes%> +   - +
- - diff --git a/templates/demo/packing_list.tex b/templates/demo/packing_list.tex index 2d3a1945..4798a92d 100644 --- a/templates/demo/packing_list.tex +++ b/templates/demo/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 before goods are returned. Returns must be shipped prepaid and properly insured. -<%company%> will not be responsible for damages during transit. + will not be responsible for damages during transit. } } -<%include letterhead.tex%> + -<%pagebreak 65 27 37%> + \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ -<%end pagebreak%> + \vspace*{0.5cm} @@ -46,32 +46,32 @@ returned. Returns must be shipped prepaid and properly insured. \parbox[t]{.5\textwidth}{ -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + - <%if shiptophone%> - Tel: <%shiptophone%> - <%end shiptophone%> + + Tel: + - <%if shiptofax%> - Fax: <%shiptofax%> - <%end shiptofax%> + + Fax: + - <%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%> + & \textbf{Warehouse} - <%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%> \\ + & + + & + + + & + + & + + & + + & & \\ \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%> + + & & & & + & & & \\ + \end{tabularx} @@ -122,7 +122,7 @@ returned. Returns must be shipped prepaid and properly insured. \vspace{12pt} -<%notes%> + } diff --git a/templates/demo/pick_list.html b/templates/demo/pick_list.html index c6055449..057c4944 100644 --- a/templates/demo/pick_list.html +++ b/templates/demo/pick_list.html @@ -1,9 +1,9 @@ -
+ 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 before goods are returned. Returns must be shipped + prepaid and properly insured. will not be responsible for damages during transit. + X
+
- <%include letterhead.html%> + @@ -20,39 +20,39 @@
 
- + -
Ship To:  
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
Attn: <%shiptocontact%> - <%end shiptocontact%> + +
Attn: + - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> + +
Tel: + - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> + +
Fax: + - <%shiptoemail%> +
@@ -77,20 +77,20 @@ - <%invnumber%>  - <%ordnumber%>  - <%if shippingdate%> - <%shippingdate%> - <%end shippingdate%> - - <%if not shippingdate%> - <%transdate%> - <%end shippingdate%> - - <%employee%>  - <%warehouse%>  - <%shippingpoint%>  - <%shipvia%>  +   +   + + + + + + + + +   +   +   +   @@ -100,7 +100,7 @@   - +
@@ -111,17 +111,17 @@ - <%foreach number%> + - - - + + + - - + + - <%end number%> +
Item NumberBin
<%runningnumber%> - <%number%><%description%><%qty%> + [      ]<%unit%><%bin%>
diff --git a/templates/demo/pick_list.tex b/templates/demo/pick_list.tex index 2f82936a..cf8bb4fb 100644 --- a/templates/demo/pick_list.tex +++ b/templates/demo/pick_list.tex @@ -11,21 +11,21 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 37%> + \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \begin{tabularx}{\textwidth}{@{}rlXrcll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ -<%end pagebreak%> + \vspace*{0.5cm} @@ -37,32 +37,32 @@ \parbox[t]{.5\textwidth}{ -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + } \parbox[t]{.5\textwidth}{ - <%shiptocontact%> + - <%if shiptophone%> - Tel: <%shiptophone%> - <%end shiptophone%> + + Tel: + - <%if shiptofax%> - Fax: <%shiptofax%> - <%end shiptofax%> + + Fax: + - <%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%> \\ + & + + & + + + & + + & & & & \\ \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%> + + & & & + & [\hspace{1cm}] & & \\ + \end{tabularx} diff --git a/templates/demo/pos_invoice.txt b/templates/demo/pos_invoice.txt index cbc0055a..5cffdb3a 100644 --- a/templates/demo/pos_invoice.txt +++ b/templates/demo/pos_invoice.txt @@ -1,45 +1,45 @@ -<%company align=center width=40%> -<%address align=center width=40%> + + -Till: <%till align=left width=3%> Phone#: <%tel%> -Cashier: <%employee%> -Inv #/Date: <%invnumber%> / <%invdate%> -Printed: <%dateprinted%> +Till: Phone#: +Cashier: +Inv #/Date: / +Printed: 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%> + + + @ / + -Number of items: <%totalqty%> -<%if taxincluded%> +Number of items: + --------------- - Total: <%invtotal align=right width=9%> -<%end taxincluded%> -<%if not taxincluded%> + Total: + + ------------ - 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: + + + @ %: + + + Paid: + + + Change: + + + Balance Due: + + -<%discount%> % Discount applied -<%end discount%> + % Discount applied + Thank you for your valued business! -<%if taxincluded%> + Taxes are included in price. -<%end taxincluded%> + diff --git a/templates/demo/purchase_order.html b/templates/demo/purchase_order.html index ba4c1d43..656f4527 100644 --- a/templates/demo/purchase_order.html +++ b/templates/demo/purchase_order.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,65 +19,65 @@ - - - - - - + + + + + +
  - - + + - -
To:Ship To:To:Ship To:
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
Attn: <%contact%> - <%end contact%> + +
Attn: + - <%if vendorphone%> -
Tel: <%vendorphone%> - <%end vendorphone%> + +
Tel: + - <%if vendorfax%> -
Fax: <%vendorfax%> - <%end vendorfax%> + +
Fax: +
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
Attn: <%shiptocontact%> - <%end shiptocontact%> + +
Attn: + - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> + +
Tel: + - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> + +
Fax: +
@@ -101,12 +101,12 @@
<%ordnumber%><%orddate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%>   
@@ -114,7 +114,7 @@ - +
@@ -126,107 +126,107 @@ - <%foreach number%> + - - - - - - - + + + + + + + - <%end number%> + - <%if taxincluded%> + - - <%end taxincluded%> + + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%foreach tax%> + - - + + - <%end tax%> + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%if terms%> + - + - + - <%end terms%> + - <%if taxincluded%> + - <%end taxincluded%> + - <%if ordtotal%> + - <%end ordtotal%> +
Item NumberAmount
<%runningnumber%>.<%number%><%description%><%qty%><%unit%><%sellprice%><%discountrate%> - <%linetotal%>. +

Total<%ordtotal%> Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%> on @ %
 
Total<%ordtotal%>
Terms Net <%terms%> daysTerms Net days Total<%ordtotal%>
Tax included
 
- All prices in <%currency%> Funds + All prices in Funds
- <%if notes%> +   - +
- +
Notes<%notes%>
- <%end notes%> +   - +
- + - diff --git a/templates/demo/purchase_order.tex b/templates/demo/purchase_order.tex index fe1e6428..260bec99 100644 --- a/templates/demo/purchase_order.tex +++ b/templates/demo/purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 48%> + \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \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 & & & & \\ + \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> + +Attn: \vspace{0.2cm} -<%end contact%> + -<%if vendorphone%> -Tel: <%vendorphone%> -<%end vendorphone%> + +Tel: + -<%if vendorfax%> -Fax: <%vendorfax%> -<%end vendorfax%> + +Fax: + -<%email%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> + +Attn: \vspace{0.2cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%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%> \\ + & & & & & \\ \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%> + + & & & + & & \\ + \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 & \\ + + & on & \\ + \hline - & Total & <%ordtotal%>\\ + & Total & \\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{}. \vspace{12pt} -<%notes%> + } diff --git a/templates/demo/receipt.tex b/templates/demo/receipt.tex index effc19b6..01e84022 100644 --- a/templates/demo/receipt.tex +++ b/templates/demo/receipt.tex @@ -12,64 +12,64 @@ \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ - <%company%> + - <%address%>} + } \hfill -\parbox[t]{6cm}{\hfill <%source%>} +\parbox[t]{6cm}{\hfill } \vspace*{0.6cm} -<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} + \dotfill /100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} -\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> +\hfill \makebox[2cm]{\hfill} % different date format for datepaid -% <%DD%><%MM%><%YYYY%> +% \vspace{0.5cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{1.8cm} -<%memo%> + \vspace{0.8cm} -<%company%> + \vspace{0.5cm} -<%name%> \hfill <%datepaid%> \hfill <%source%> + \hfill \hfill \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%> + + & \dotfill + & & \\ + \end{tabularx} \vspace{1cm} -<%memo%> + \vfill diff --git a/templates/demo/request_quotation.html b/templates/demo/request_quotation.html index 433b8e80..ef3121a9 100644 --- a/templates/demo/request_quotation.html +++ b/templates/demo/request_quotation.html @@ -1,9 +1,9 @@ -
   + X
+
- <%include letterhead.html%> + @@ -17,67 +17,67 @@ - - - - - - + + + + + +
   - +
- - + + - -
To:Ship To:To:Ship To:
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
Attn: <%contact%> - <%end contact%> + +
Attn: + - <%if vendorphone%> -
Tel: <%vendorphone%> - <%end vendorphone%> + +
Tel: + - <%if vendorfax%> -
Fax: <%vendorfax%> - <%end vendorfax%> + +
Fax: +
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddr2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
Attn: <%shiptocontact%> - <%end shiptocontact%> + +
Attn: + - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> + +
Tel: + - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> + +
Fax: +
@@ -101,12 +101,12 @@
<%quonumber%><%quodate%><%reqdate%> <%employee%><%shippingpoint%> <%shipvia%>    
@@ -126,7 +126,7 @@   - +
@@ -138,15 +138,15 @@ - <%foreach number%> + - - - - - + + + + + - <%end number%> + @@ -156,21 +156,21 @@ - <%if notes%> + - <%end notes%> +
Item NumberExtended
<%runningnumber%>.<%number%><%description%><%qty%><%unit%>.

  - +
- +
Notes<%notes%>
diff --git a/templates/demo/request_quotation.tex b/templates/demo/request_quotation.tex index cf95dd89..e620c517 100644 --- a/templates/demo/request_quotation.tex +++ b/templates/demo/request_quotation.tex @@ -11,28 +11,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 48%> + \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \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 & & & & \\ + \vspace*{0.5cm} @@ -41,71 +41,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> + + \vspace{0.2cm} -<%end contact%> + -<%if vendorphone%> -Tel: <%vendorphone%> -<%end vendorphone%> + +Tel: + -<%if vendorfax%> -Fax: <%vendorfax%> -<%end vendorfax%> + +Fax: + -<%email%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> + + \vspace{0.2cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%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%> \\ + & & & & & \\ \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%> + + & & & \\ + \end{tabularx} @@ -143,7 +143,7 @@ Please provide price and delivery time for the following items: \hfill -<%notes%> + } diff --git a/templates/demo/sales_order.html b/templates/demo/sales_order.html index 14c17e1e..e3ff7e13 100644 --- a/templates/demo/sales_order.html +++ b/templates/demo/sales_order.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,65 +19,65 @@ - - - - - - + + + + + +
  - - + + - -
ToShip ToToShip To
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
Attn: <%contact%> - <%end contact%> - <%if customerphone%> -
Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> -
Fax: <%customerfax%> - <%end customerfax%> - <%if email%> -
<%email%> - <%end email%> + +
Attn: + + +
Tel: + + +
Fax: + + +
+
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
<%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> -
<%shiptoemail%> - <%end shiptoemail%> + +
+ + +
Tel: + + +
Fax: + + +
+
@@ -101,12 +101,12 @@
<%ordnumber%><%orddate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%>   
@@ -116,7 +116,7 @@   - +
@@ -128,41 +128,41 @@ - <%foreach number%> + - - - - - - - - + + + + + + + + - <%end number%> + - <%if taxincluded%> + - - <%end taxincluded%> + + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%foreach tax%> + - - + + - <%end tax%> + @@ -171,13 +171,13 @@ - + @@ -192,14 +192,14 @@ @@ -116,7 +116,7 @@
Item NumberAmount
<%runningnumber%>.<%number%><%description%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>.

Total<%invtotal%> Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%> on @ %
 
- <%text_amount%> ***** <%decimal%>/100 - <%if terms%> -
Terms Net <%terms%> days - <%end terms%> + ***** /100 + +
Terms Net days +
Total<%ordtotal%>
  - +
- <%if notes%> + - - <%end notes%> + +
Notes<%notes%> - All prices in <%currency%> Funds + All prices in Funds
@@ -210,13 +210,13 @@
  - +
- - diff --git a/templates/demo/sales_order.tex b/templates/demo/sales_order.tex index 60f7bfeb..d3693af8 100644 --- a/templates/demo/sales_order.tex +++ b/templates/demo/sales_order.tex @@ -11,29 +11,29 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 48%> + \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \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 & & & & & \\ + \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> + + \vspace{0.2cm} -<%end contact%> + -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> + +Tel: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%email%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> + + \vspace{0.2cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%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%> \\ + & & & & & \\ \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%> + + & & & & + & & & \\ + \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 & \\ + + & on & \\ + \hline - & Total & <%ordtotal%>\\ + & Total & \\ \end{tabularx} \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 + ***** /100 \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> + +Terms: days + \vspace{12pt} -<%notes%> + } diff --git a/templates/demo/sales_quotation.html b/templates/demo/sales_quotation.html index 5d7f2699..b94f793d 100644 --- a/templates/demo/sales_quotation.html +++ b/templates/demo/sales_quotation.html @@ -1,9 +1,9 @@ -
+ Special order items are subject to a 10% order cancellation fee. + X
+
- <%include letterhead.html%> + @@ -17,39 +17,39 @@ @@ -87,7 +87,7 @@ @@ -66,25 +66,25 @@ @@ -105,17 +105,17 @@ - <%if notes%> + - <%end notes%> +
   - +
- @@ -72,12 +72,12 @@ - - - - - - + + + + + +
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
Attn: <%contact%> - <%end contact%> + +
Attn: + - <%if customerphone%> -
Tel: <%customerphone%> - <%end customerphone%> + +
Tel: + - <%if customerfax%> -
Fax: <%customerfax%> - <%end customerfax%> + +
Fax: + - <%if email%> -
<%email%> - <%end email%> + +
+
<%quonumber%><%quodate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%>   
  - +
@@ -99,41 +99,41 @@ - <%foreach number%> + - - - - - - - - + + + + + + + + - <%end number%> + - <%if taxincluded%> + - - <%end taxincluded%> + + - <%if not taxincluded%> + - - <%end taxincluded%> + + - <%foreach tax%> + - - + + - <%end tax%> + @@ -142,12 +142,12 @@ - + @@ -162,14 +162,14 @@ @@ -35,23 +35,23 @@
Item NumberAmount
<%runningnumber%><%number%><%description%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>

Total<%invtotal%> Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%> on @ %
 
  - <%if terms%> - Terms Net <%terms%> days - <%end terms%> + + Terms Net days + Total<%quototal%>
  - +
- <%if notes%> + - - <%end notes%> + +
Notes<%notes%> - All prices in <%currency%> Funds + All prices in Funds
@@ -180,13 +180,13 @@
  - +
- - diff --git a/templates/demo/sales_quotation.tex b/templates/demo/sales_quotation.tex index 771fe6a3..162ee009 100644 --- a/templates/demo/sales_quotation.tex +++ b/templates/demo/sales_quotation.tex @@ -20,64 +20,64 @@ Special order items are subject to a 10\% cancellation fee. } } -<%include letterhead.tex%> + -<%pagebreak 65 27 48%> + \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + & \textbf{Subtotal} & \textbf{} \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>} +\markboth{\hfill }{\hfill } \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 & & & & & \\ + \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> + + \vspace{0.2cm} -<%end contact%> + -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> + +Tel: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%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%> \\ + & & & & & \\ \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%> + + & & & + & & & \\ + \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 & \\ + + & on & \\ + \hline - & Total & <%quototal%>\\ + & Total & \\ \end{tabularx} \vspace{0.3cm} \hfill -All prices in \textbf{<%currency%>}. +All prices in \textbf{}. -<%if terms%> -Terms: <%terms%> days -<%end terms%> + +Terms: days + \vspace{12pt} -<%notes%> + } diff --git a/templates/demo/statement.html b/templates/demo/statement.html index 9a951a98..d90afab4 100644 --- a/templates/demo/statement.html +++ b/templates/demo/statement.html @@ -1,9 +1,9 @@ -
+ Special order items are subject to a 10% cancellation fee. + X
+
- <%include letterhead.html%> + @@ -15,38 +15,38 @@ - + @@ -108,10 +108,10 @@ @@ -125,8 +125,8 @@ - diff --git a/templates/demo/statement.tex b/templates/demo/statement.tex index 0beb6c64..f700a750 100644 --- a/templates/demo/statement.tex +++ b/templates/demo/statement.tex @@ -11,39 +11,39 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + \parbox[t]{.5\textwidth}{ -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + } \parbox[t]{.5\textwidth}{ -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> + +Tel: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%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{} \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%> + + & & & & + & & & \\ + \multicolumn{8}{|l|}{\mbox{}} \\ \hline - \textbf{Subtotal} & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\ + \textbf{Subtotal} & & & & & & & \\ \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{} \end{tabularx} \vfill -All amounts in \textbf{<%currency%>} funds. +All amounts in \textbf{} funds. -Please make check payable to \textbf{<%company%>} +Please make check payable to \textbf{} \end{document} diff --git a/templates/demo/timecard.html b/templates/demo/timecard.html index 73516e22..d9baa897 100644 --- a/templates/demo/timecard.html +++ b/templates/demo/timecard.html @@ -1,8 +1,8 @@ -
 
 <%statementdate%>
  - +
-
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if customerphone%> -
Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> -
Fax: <%customerfax%> - <%end customerfax%> - <%if email%> -
<%email%> - <%end email%> + +
Tel: + + +
Fax: + + +
+
@@ -59,30 +59,30 @@
  - +
- - - - - - + + + + + + - <%foreach invnumber%> + - - - - - - - - + + + + + + + + - <%end invnumber%> + @@ -93,10 +93,10 @@ -
Invoice # Order#DateDueCurrent306090DateDueCurrent306090
<%invnumber%><%ordnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

     <%c0total%> - <%c30total%> - <%c60total%> - <%c90total%> + + + +
  - +
- +
Total Outstanding<%total%>
 All amounts in <%currency%> funds. -
Please make check payable to <%company%>. +
All amounts in funds. +
Please make check payable to .
+
- <%include letterhead.html%> + @@ -22,11 +22,11 @@
 
- + - +
Employee<%employee%>
ID<%employee_id%>
- + - + - + - + - +
Card ID<%id%>
Date<%transdate%>
In<%checkedin%>
Out<%checkedout%>
Hours<%qty%>
  - +
@@ -92,11 +92,11 @@
- + - + - + - +
Job/Project #<%projectnumber%>
Description<%projectdescription%>
Labor/Service Code<%partnumber%>
Description<%description%>
- + - +
Rate<%sellprice%>
Total<%total%>
  - <%notes%> +
diff --git a/templates/demo/timecard.tex b/templates/demo/timecard.tex index b7630a00..ab849993 100644 --- a/templates/demo/timecard.tex +++ b/templates/demo/timecard.tex @@ -11,42 +11,42 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%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} & \\ + \textbf{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} & \\ + \textbf{Date} & \\ + \textbf{In} & \\ + \textbf{Out} & \\ + \textbf{Hours} & \\ \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 \#} & \\ + \textbf{Description} & \\ + \textbf{Labor/Service Code} & \\ + \textbf{Description} & \\ \end{tabular} \hfill \begin{tabular}[b]{lr} - \textbf{Rate} & <%sellprice%> \\ - \textbf{Total} & <%total%> \\ + \textbf{Rate} & \\ + \textbf{Total} & \\ \end{tabular} \vspace{0.3cm} -<%notes%> + \end{document} diff --git a/templates/demo/work_order.html b/templates/demo/work_order.html index 38fadacf..b0c4ee49 100644 --- a/templates/demo/work_order.html +++ b/templates/demo/work_order.html @@ -1,9 +1,9 @@ - +
- <%include letterhead.html%> + @@ -19,65 +19,65 @@ - - - - - - + + + + + +
  - - + + - -
ToShip ToToShip To
<%name%> -
<%address1%> - <%if address2%> -
<%address2%> - <%end address2%> -
<%city%> - <%if state%> - , <%state%> - <%end state%> - <%zipcode%> - <%if country%> -
<%country%> - <%end country%> +
+
+ +
+ +
+ + , + + + +
+
- <%if contact%> -
Attn: <%contact%> - <%end contact%> - <%if customerphone%> -
Tel: <%customerphone%> - <%end customerphone%> - <%if customerfax%> -
Fax: <%customerfax%> - <%end customerfax%> - <%if email%> -
<%email%> - <%end email%> + +
Attn: + + +
Tel: + + +
Fax: + + +
+
<%shiptoname%> -
<%shiptoaddress1%> - <%if shiptoaddress2%> -
<%shiptoaddress2%> - <%end shiptoaddress2%> -
<%shiptocity%> - <%if shiptostate%> - , <%shiptostate%> - <%end shiptostate%> - <%shiptozipcode%> - <%if shiptocountry%> -
<%shiptocountry%> - <%end shiptocountry%> +
+
+ +
+ +
+ + , + + + +
+
- <%if shiptocontact%> -
<%shiptocontact%> - <%end shiptocontact%> - <%if shiptophone%> -
Tel: <%shiptophone%> - <%end shiptophone%> - <%if shiptofax%> -
Fax: <%shiptofax%> - <%end shiptofax%> - <%if shiptoemail%> -
<%shiptoemail%> - <%end shiptoemail%> + +
+ + +
Tel: + + +
Fax: + + +
+
@@ -101,12 +101,12 @@
<%ordnumber%><%orddate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%>   
  - +
@@ -127,17 +127,17 @@ - <%foreach number%> + - - - - - - - + + + + + + + - <%end number%> + @@ -150,9 +150,9 @@ - <%if notes%> - - <%end notes%> + + +
Item NumberSerial #
<%runningnumber%>.<%number%><%description%><%qty%><%unit%><%bin%><%serialnumber%>.

 <%notes%>
diff --git a/templates/demo/work_order.tex b/templates/demo/work_order.tex index c8d48172..266459f2 100644 --- a/templates/demo/work_order.tex +++ b/templates/demo/work_order.tex @@ -11,20 +11,20 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 48%> + \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \begin{tabularx}{\textwidth}{@{}rlXrll@{}} \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & & \textbf{Serial Number} \\ -<%end pagebreak%> + \vspace*{0.5cm} @@ -33,71 +33,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -<%contact%> + + \vspace{0.2cm} -<%end contact%> + -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> + +Tel: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%email%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + \vspace{0.3cm} -<%if shiptocontact%> -<%shiptocontact%> + + \vspace{0.2cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%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%> \\ + & & & & & \\ \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%> + + & & & & + & \\ + \end{tabularx} @@ -132,7 +132,7 @@ Fax: <%shiptofax%> \vspace{12pt} -<%notes%> + } \vfill -- cgit v1.2.3