From ac5b087ea2d9ba7428d367aaeb288534158fee9a Mon Sep 17 00:00:00 2001 From: christopherm Date: Fri, 1 Sep 2006 01:16:38 +0000 Subject: Initial Import git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/ledger-smb@1 4979c152-3d1c-0410-bac9-87ea11338e46 --- templates/demo/ap_transaction.html | 228 ++++++++++++++++ templates/demo/ap_transaction.tex | 111 ++++++++ templates/demo/ar_transaction.html | 234 ++++++++++++++++ templates/demo/ar_transaction.tex | 118 ++++++++ templates/demo/balance_sheet.html | 105 +++++++ templates/demo/bin_list.html | 179 ++++++++++++ templates/demo/bin_list.tex | 114 ++++++++ templates/demo/check.tex | 77 ++++++ templates/demo/income_statement.html | 85 ++++++ templates/demo/invoice.html | 318 ++++++++++++++++++++++ templates/demo/invoice.tex | 207 ++++++++++++++ templates/demo/letterhead.html | 32 +++ templates/demo/letterhead.tex | 17 ++ templates/demo/logo.eps | 496 ++++++++++++++++++++++++++++++++++ templates/demo/logo.png | Bin 0 -> 3970 bytes templates/demo/packing_list.html | 185 +++++++++++++ templates/demo/packing_list.tex | 136 ++++++++++ templates/demo/pick_list.html | 139 ++++++++++ templates/demo/pick_list.tex | 108 ++++++++ templates/demo/pos_invoice.txt | 45 +++ templates/demo/purchase_order.html | 241 +++++++++++++++++ templates/demo/purchase_order.tex | 170 ++++++++++++ templates/demo/receipt.tex | 77 ++++++ templates/demo/request_quotation.html | 179 ++++++++++++ templates/demo/request_quotation.tex | 151 +++++++++++ templates/demo/sales_order.html | 231 ++++++++++++++++ templates/demo/sales_order.tex | 177 ++++++++++++ templates/demo/sales_quotation.html | 201 ++++++++++++++ templates/demo/sales_quotation.tex | 148 ++++++++++ templates/demo/statement.html | 137 ++++++++++ templates/demo/statement.tex | 78 ++++++ templates/demo/timecard.html | 124 +++++++++ templates/demo/timecard.tex | 52 ++++ templates/demo/work_order.html | 161 +++++++++++ templates/demo/work_order.tex | 141 ++++++++++ 35 files changed, 5202 insertions(+) create mode 100644 templates/demo/ap_transaction.html create mode 100644 templates/demo/ap_transaction.tex create mode 100644 templates/demo/ar_transaction.html create mode 100644 templates/demo/ar_transaction.tex create mode 100644 templates/demo/balance_sheet.html create mode 100644 templates/demo/bin_list.html create mode 100644 templates/demo/bin_list.tex create mode 100644 templates/demo/check.tex create mode 100644 templates/demo/income_statement.html create mode 100644 templates/demo/invoice.html create mode 100644 templates/demo/invoice.tex create mode 100644 templates/demo/letterhead.html create mode 100644 templates/demo/letterhead.tex create mode 100644 templates/demo/logo.eps create mode 100644 templates/demo/logo.png create mode 100644 templates/demo/packing_list.html create mode 100644 templates/demo/packing_list.tex create mode 100644 templates/demo/pick_list.html create mode 100644 templates/demo/pick_list.tex create mode 100644 templates/demo/pos_invoice.txt create mode 100644 templates/demo/purchase_order.html create mode 100644 templates/demo/purchase_order.tex create mode 100644 templates/demo/receipt.tex create mode 100644 templates/demo/request_quotation.html create mode 100644 templates/demo/request_quotation.tex create mode 100644 templates/demo/sales_order.html create mode 100644 templates/demo/sales_order.tex create mode 100644 templates/demo/sales_quotation.html create mode 100644 templates/demo/sales_quotation.tex create mode 100644 templates/demo/statement.html create mode 100644 templates/demo/statement.tex create mode 100644 templates/demo/timecard.html create mode 100644 templates/demo/timecard.tex create mode 100644 templates/demo/work_order.html create mode 100644 templates/demo/work_order.tex (limited to 'templates/demo') diff --git a/templates/demo/ap_transaction.html b/templates/demo/ap_transaction.html new file mode 100644 index 00000000..2ab4d5e5 --- /dev/null +++ b/templates/demo/ap_transaction.html @@ -0,0 +1,228 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if paid_1%> + + + + + + <%end paid_1%> + + + + <%if taxincluded%> + + + + + + + + <%end taxincluded%> + +
  +

A P - T R A N S A C T I O N

+
  + + + + + + +
<%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%> + + <%if vendorfax%> +
Fax: <%vendorfax%> + <%end vendorfax%> + + <%if email%> +
<%email%> + <%end email%> + + <%if vendortaxnumber%> +

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

+ + + + + + + + + + + + + + <%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%> +
  + <%notes%> +
  + + + + + + + + + + + + +
Payments
+
+
+ + + + + + + + + <%end paid_1%> + + <%foreach payment%> + + + + + + + + <%end payment%> + + <%if paid_1%> +
Date SourceMemoAmount
<%paymentdate%><%paymentaccount%><%paymentsource%><%paymentmemo%><%payment%>
+
+
 
Taxes shown are included in price.
+ + + + diff --git a/templates/demo/ap_transaction.tex b/templates/demo/ap_transaction.tex new file mode 100644 index 00000000..5cd134cc --- /dev/null +++ b/templates/demo/ap_transaction.tex @@ -0,0 +1,111 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} +\setlength{\parindent}{0pt} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\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%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if vendorphone%> +Tel: <%vendorphone%> +<%end vendorphone%> + +<%if vendorfax%> +Fax: <%vendorfax%> +<%end vendorfax%> + +<%email%> + +<%if vendortaxnumber%> +Tax Number: <%vendortaxnumber%> +<%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%> \\ +\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{Total}} & <%invtotal%> & \\ + +\end{tabularx} + +\vspace{0.3cm} + +<%text_amount%> ***** <%decimal%>/100 <%currency%> + +<%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 new file mode 100644 index 00000000..f8b8e95e --- /dev/null +++ b/templates/demo/ar_transaction.html @@ -0,0 +1,234 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if paid_1%> + + + + + + <%end paid_1%> + + + + <%foreach tax%> + + + + + + <%end tax%> + + <%if taxincluded%> + + + + + + + + <%end taxincluded%> + +
  +

A R - T R A N S A C T I O N

+
  + + + + + + +
<%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%> + + <%if customerfax%> +
Fax: <%customerfax%> + <%end customerfax%> + + <%if email%> +
<%email%> + <%end email%> + + <%if customertaxnumber%> +
Taxnumber: <%customertaxnumber%> + <%end customertaxnumber%> +
+ + + + + + + + + + + + + + <%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%> +
  + <%notes%> +
  + + + + + + + + + + + + +
Payments
+
+
+ + + + + + + + <%end paid_1%> + + <%foreach payment%> + + + + + + + <%end payment%> + + <%if paid_1%> +
Date SourceAmount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
+
+
 <%taxdescription%> Registration <%taxnumber%>
 
Taxes shown are included in price.
+ + + + diff --git a/templates/demo/ar_transaction.tex b/templates/demo/ar_transaction.tex new file mode 100644 index 00000000..1c3c44f3 --- /dev/null +++ b/templates/demo/ar_transaction.tex @@ -0,0 +1,118 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} +\setlength{\parindent}{0pt} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +<%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%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> + +<%if customertaxnumber%> +Tax Number: <%customertaxnumber%> +<%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%> \\ +\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{Total}} & <%invtotal%> & \\ + +\end{tabularx} + +\vspace{0.3cm} + +<%text_amount%> ***** <%decimal%>/100 <%currency%> + +<%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%> + +\end{document} + diff --git a/templates/demo/balance_sheet.html b/templates/demo/balance_sheet.html new file mode 100644 index 00000000..6ede0b9c --- /dev/null +++ b/templates/demo/balance_sheet.html @@ -0,0 +1,105 @@ + + + +

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

BALANCE SHEET +
as at <%this_period%> +

+ +<%if department%> +

Department: <%department%>

+<%end department%> + + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
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 new file mode 100644 index 00000000..93abb57d --- /dev/null +++ b/templates/demo/bin_list.html @@ -0,0 +1,179 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  +

B I N    L I S T

+
  + + + + + + + + + + + +
FromShip 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 vendorphone%> +
Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> +
Fax: <%vendorfax%> + <%end vendorfax%> + + <%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%> + + <%if shiptophone%> +
Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> +
+
  + + + + + + <%if warehouse%> + + <%end warehouse%> + + + + + + + + <%if shippingdate%> + + <%end shippingdate%> + + <%if not shippingdate%> + + <%end shippingdate%> + + + + <%if warehouse%> + + <%end warehouse%> + + + + +
Order #DateContactWarehouseShipping PointShip via
<%ordnumber%> <%shippingdate%><%orddate%><%employee%> <%warehouse%><%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + + + <%foreach number%> + + + + + + + + + + + + <%end number%> + +
ItemNumberDescriptionSerialnumber QtyRecd Bin
<%runningnumber%><%number%><%description%><%serialnumber%><%deliverydate%><%qty%><%ship%><%unit%><%bin%>
+
 
+ + + + diff --git a/templates/demo/bin_list.tex b/templates/demo/bin_list.tex new file mode 100644 index 00000000..1bc85d66 --- /dev/null +++ b/templates/demo/bin_list.tex @@ -0,0 +1,114 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +<%include letterhead.tex%> + + +<%pagebreak 65 27 37%> +\end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} + +\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} + \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\ +<%end pagebreak%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{From} +\vspace{0.3cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> +} +\parbox[t]{.5\textwidth}{ +\textbf{Ship To} +\vspace{0.3cm} + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> +} +\hfill + +\vspace{1cm} + +\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T} +\hfill + +\vspace{1cm} + +\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} + +\vspace{1cm} + +\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} + + +\rule{\textwidth}{2pt} + +\end{document} + diff --git a/templates/demo/check.tex b/templates/demo/check.tex new file mode 100644 index 00000000..908f0e79 --- /dev/null +++ b/templates/demo/check.tex @@ -0,0 +1,77 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont + +\parbox[t]{12cm}{ + <%company%> + + <%address%>} +\hfill +\parbox[t]{6cm}{\hfill <%source%>} + +\vspace*{0.6cm} + +<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} + +\vspace{0.5cm} + +\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> + +% different date format for datepaid +% <%DD%><%MM%><%YYYY%> + +\vspace{0.5cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{1.8cm} + +<%memo%> + +\vspace{0.8cm} + +<%company%> + +\vspace{0.5cm} + +<%name%> \hfill <%datepaid%> \hfill <%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%> +\end{tabularx} + +\vspace{1cm} + +<%memo%> + +\vfill + +\end{document} + diff --git a/templates/demo/income_statement.html b/templates/demo/income_statement.html new file mode 100644 index 00000000..d5221d63 --- /dev/null +++ b/templates/demo/income_statement.html @@ -0,0 +1,85 @@ + + + +

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

INCOME STATEMENT +
<%period%> +

+ +<%if department%> +

Department: <%department%>

+<%end department%> + +<%if projectnumber%> +

Project Number: <%projectnumber%>

+<%end projectnumber%> + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
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 new file mode 100644 index 00000000..3356aed6 --- /dev/null +++ b/templates/demo/invoice.html @@ -0,0 +1,318 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if paid_1%> + + + + + + <%end paid_1%> + + + + + + + + + + + + + + + + <%foreach tax%> + + + + + + <%end tax%> + + <%if taxincluded%> + + + + + + + + <%end taxincluded%> + +
  +

I N V O I C E

+
  + + + + + + + + + + + +
ToShip 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%> + + <%if customerfax%> +
Fax: <%customerfax%> + <%end customerfax%> + + <%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%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> + + <%if shiptoemail%> +
<%shiptoemail%> + <%end shiptoemail%> +
+
  + + + + + + + + + + + + + + + + + + + + +
Invoice #DateDueOrder #SalespersonShipping PointShip via
<%invnumber%><%invdate%><%duedate%><%ordnumber%> <%employee%> <%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + + + <%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%> + + +
ItemNumberDescription Qt'y Unit PriceDisc %Extended
<%runningnumber%>.<%number%><%description%><%deliverydate%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>

Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
Paid- <%paid%>
 
 Balance Due<%total%>
+
  + + + <%if notes%> + + <%end notes%> + + + + + +
<%notes%><%text_amount%> ***** <%decimal%>/100 + All prices in <%currency%> +
+
  + + + + + + + + + + + + + + + + + <%end paid_1%> + + <%foreach payment%> + + + + + + + <%end payment%> + + <%if paid_1%> +
Payments
+
+
DateAccountSourceAmount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
+
  + Thank you for your valued business! +
  + + + + + + +
+ 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. + + + X
+
+
 <%taxdescription%> Registration <%taxnumber%>
 
Taxes shown are included in price.
+ + + + diff --git a/templates/demo/invoice.tex b/templates/demo/invoice.tex new file mode 100644 index 00000000..fa7145bf --- /dev/null +++ b/templates/demo/invoice.tex @@ -0,0 +1,207 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +\newsavebox{\ftr} +\sbox{\ftr}{ + \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. + } +} + +<%include letterhead.tex%> + +<%pagebreak 65 27 37%> +\end{tabularx} + + \rule{\textwidth}{2pt} + + \vspace{0.2cm} + + \hfill + \begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} + & Subtotal & <%sumcarriedforward%> \\ + \end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%invnumber%>}{<%company%>\hfill <%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%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{To} +\vspace{0.3cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> +} +\parbox[t]{.5\textwidth}{ +\textbf{Ship To} +\vspace{0.3cm} + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> + +\vspace{0.3cm} + +<%if shiptocontact%> +<%shiptocontact%> +\vspace{0.2cm} +<%end shiptocontact%> + +<%if shiptophone%> +Tel: <%shiptophone%> +<%end shiptophone%> + +<%if shiptofax%> +Fax: <%shiptofax%> +<%end shiptofax%> + +<%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{I N V O I C E} +\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] + \hline + <%invnumber%> & <%invdate%> & <%duedate%> & <%ordnumber%> & <%employee%> + & <%shippingpoint%> & <%shipvia%> \\ + \hline +\end{tabularx} + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\vspace{0.2cm} + +\hfill +\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} + & Subtotal & <%subtotal%> \\ +<%foreach tax%> + & <%taxdescription%> on <%taxbase%> & <%tax%> \\ +<%end tax%> +<%if paid%> + & Paid & - <%paid%> \\ +<%end paid%> + \hline +<%if total%> + & Balance Due & <%total%> +<%end total%> +\end{tabularx} + +\vspace{0.3cm} + +<%text_amount%> ***** <%decimal%>/100 +\hfill +All prices in \textbf{<%currency%>}. + +\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} + +\centerline{\textbf{Thank You for your valued business!}} + +\rule{\textwidth}{0.5pt} + +\usebox{\ftr} + +\end{document} + diff --git a/templates/demo/letterhead.html b/templates/demo/letterhead.html new file mode 100644 index 00000000..ccac4c0f --- /dev/null +++ b/templates/demo/letterhead.html @@ -0,0 +1,32 @@ + +   + + + + + + + + + + + + + + +
+

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

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

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

+
+
+
+ + + diff --git a/templates/demo/letterhead.tex b/templates/demo/letterhead.tex new file mode 100644 index 00000000..16d1d16c --- /dev/null +++ b/templates/demo/letterhead.tex @@ -0,0 +1,17 @@ +\parbox{\textwidth}{% + \parbox[b]{.42\textwidth}{% + <%company%> + + <%address%> + } + \parbox[b]{.2\textwidth}{ + \includegraphics[scale=0.3]{../<%templates%>/<%language_code%>/logo} + }\hfill + \begin{tabular}[b]{rr@{}} + Tel: & <%tel%>\\ + Fax: & <%fax%> + \end{tabular} + + \rule[1.5em]{\textwidth}{0.5pt} +} + diff --git a/templates/demo/logo.eps b/templates/demo/logo.eps new file mode 100644 index 00000000..fb526310 --- /dev/null +++ b/templates/demo/logo.eps @@ -0,0 +1,496 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: GIMP PostScript file plugin V 1.17 by Peter Kirchgessner +%%Title: ledger-smb.eps +%%CreationDate: Mon Aug 28 22:43:40 2006 +%%DocumentData: Clean7Bit +%%LanguageLevel: 2 +%%Pages: 1 +%%BoundingBox: 14 14 219 151 +%%EndComments +%%BeginProlog +% Use own dictionary to avoid conflicts +10 dict begin +%%EndProlog +%%Page: 1 1 +% Translate for offset +14.173228346456694 14.173228346456694 translate +% Translate to begin of first scanline +0 135.98300212473441 translate +203.97450318710162 -135.98300212473441 scale +% Image geometry +204 136 8 +% Transformation matrix +[ 204 0 0 136 0 0 ] +% Strings to hold RGB-samples per scanline +/rstr 204 string def +/gstr 204 string def +/bstr 204 string def +{currentfile /ASCII85Decode filter /RunLengthDecode filter rstr readstring pop} +{currentfile /ASCII85Decode filter /RunLengthDecode filter gstr readstring pop} +{currentfile /ASCII85Decode filter /RunLengthDecode filter bstr readstring pop} +true 3 +%%BeginData: 14399 ASCII Bytes +colorimage +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~>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cE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +JcE.XJ,~> +%%EndData +showpage +%%Trailer +end +%%EOF diff --git a/templates/demo/logo.png b/templates/demo/logo.png new file mode 100644 index 00000000..e3a4ac13 Binary files /dev/null and b/templates/demo/logo.png differ diff --git a/templates/demo/packing_list.html b/templates/demo/packing_list.html new file mode 100644 index 00000000..57286437 --- /dev/null +++ b/templates/demo/packing_list.html @@ -0,0 +1,185 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if notes%> + + + + + + <%end notes%> + + + + + + +
  +

P A C K I N G    L I S T

+
  + + + + + + + + + + + +
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%> + + <%if shiptophone%> +
Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> + + <%shiptoemail%> +
+
  + + + + + + + <%if warehouse%> + + <%end warehouse%> + + + + + + + + + <%if shippingdate%> + + <%end shippingdate%> + + <%if not shippingdate%> + + <%end shippingdate%> + + + + <%if warehouse%> + + <%end warehouse%> + + + + +
Invoice #Order #DateContactWarehouseShipping PointShip via
<%invnumber%> <%ordnumber%> <%shippingdate%><%transdate%><%employee%> <%warehouse%> <%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + + <%foreach number%> + + + + + + + + + + + <%end number%> + +
ItemNumberDescriptionSerial # QtyShip 
<%runningnumber%><%number%><%description%><%serialnumber%><%deliverydate%><%qty%><%ship%><%unit%>
+
 
  + + + + + +
Notes<%notes%>
+
  + + + + + +
+ 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. + + + X
+
+
+ + + + diff --git a/templates/demo/packing_list.tex b/templates/demo/packing_list.tex new file mode 100644 index 00000000..2d3a1945 --- /dev/null +++ b/templates/demo/packing_list.tex @@ -0,0 +1,136 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +\newsavebox{\ftr} +\sbox{\ftr}{ + \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 <%company%> before goods are +returned. Returns must be shipped prepaid and properly insured. +<%company%> 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%>} + +\begin{tabularx}{\textwidth}{@{}rlXllrrl@{}} + \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\ +<%end pagebreak%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{Ship To}} \hfill + +\vspace{0.3cm} + +\parbox[t]{.5\textwidth}{ + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> +} +\parbox[t]{.5\textwidth}{ + <%shiptocontact%> + + <%if shiptophone%> + Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + Fax: <%shiptofax%> + <%end shiptofax%> + + <%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T} +\hfill + +\vspace{1cm} + +\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} + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\vspace{12pt} + +<%notes%> + +} + +\vfill + +\rule{\textwidth}{0.5pt} + +\usebox{\ftr} + +\end{document} + diff --git a/templates/demo/pick_list.html b/templates/demo/pick_list.html new file mode 100644 index 00000000..c6055449 --- /dev/null +++ b/templates/demo/pick_list.html @@ -0,0 +1,139 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  +

P I C K    L I S T

+
  + + + + + + + + + + + +
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%> + + <%if shiptophone%> +
Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> + + <%shiptoemail%> +
+
  + + + + + + + + + + + + + + + <%if shippingdate%> + + <%end shippingdate%> + + <%if not shippingdate%> + + <%end shippingdate%> + + + + + + +
Invoice #Order #DateContactWarehouseShipping PointShip via
<%invnumber%> <%ordnumber%> <%shippingdate%><%transdate%><%employee%> <%warehouse%> <%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + <%foreach number%> + + + + + + + + + <%end number%> +
ItemNumberDescriptionQtyShip Bin
<%runningnumber%> + <%number%><%description%><%qty%>[      ]<%unit%><%bin%>
+
 
+ + + + diff --git a/templates/demo/pick_list.tex b/templates/demo/pick_list.tex new file mode 100644 index 00000000..2f82936a --- /dev/null +++ b/templates/demo/pick_list.tex @@ -0,0 +1,108 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +<%include letterhead.tex%> + + +<%pagebreak 65 27 37%> +\end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} + +\begin{tabularx}{\textwidth}{@{}rlXrcll@{}} + \textbf{Item} & \textbf{Number} & \textbf{Description} & + \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\ + +<%end pagebreak%> + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ + \textbf{Ship To} +} \hfill + +\vspace{0.3cm} + +\parbox[t]{.5\textwidth}{ + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> +} +\parbox[t]{.5\textwidth}{ + <%shiptocontact%> + + <%if shiptophone%> + Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + Fax: <%shiptofax%> + <%end shiptofax%> + + <%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T} +\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] + \hline + <%invnumber%> & <%ordnumber%> + <%if shippingdate%> + & <%shippingdate%> + <%end shippingdate%> + <%if not shippingdate%> + & <%transdate%> + <%end shippingdate%> + & <%employee%> & <%warehouse%> & <%shippingpoint%> & <%shipvia%> \\ + \hline +\end{tabularx} + +\vspace{1cm} + +\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%> +\end{tabularx} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} +} + +\end{document} + diff --git a/templates/demo/pos_invoice.txt b/templates/demo/pos_invoice.txt new file mode 100644 index 00000000..cbc0055a --- /dev/null +++ b/templates/demo/pos_invoice.txt @@ -0,0 +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%> + + 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%> + --------------- + Total: <%invtotal align=right width=9%> +<%end taxincluded%> +<%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%> + +<%discount%> % Discount applied +<%end discount%> + + 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 new file mode 100644 index 00000000..ba4c1d43 --- /dev/null +++ b/templates/demo/purchase_order.html @@ -0,0 +1,241 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + <%if notes%> + + + + + + <%end notes%> + + + + + + + +
  +

P U R C H A S E    O R D E R

+
  + + + + + + + + + + + +
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%> + + <%if vendorphone%> +
Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> +
Fax: <%vendorfax%> + <%end vendorfax%> +
<%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%> + + <%if shiptophone%> +
Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> +
+
  + + + + + + + + + + + + + + + + + + +
Order #Order DateRequired byContactShipping PointShip Via
<%ordnumber%><%orddate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%> 
+
+ + + + + + + + + + + + + <%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%> + +
ItemNumberDescriptionQt'y Price%Amount
<%runningnumber%>.<%number%><%description%><%qty%><%unit%><%sellprice%><%discountrate%> + <%linetotal%>

Total<%ordtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
 
Total<%ordtotal%>
Terms Net <%terms%> daysTotal<%ordtotal%>
Tax included
 
+ All prices in <%currency%> Funds +
+
  + + + + + + +
Notes<%notes%>
+
  + + + + + + +
  + X
+
+
+ + + + diff --git a/templates/demo/purchase_order.tex b/templates/demo/purchase_order.tex new file mode 100644 index 00000000..fe1e6428 --- /dev/null +++ b/templates/demo/purchase_order.tex @@ -0,0 +1,170 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + + +\pagestyle{myheadings} +\thispagestyle{empty} + +\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%> \\ + \end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%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%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{To} +\vspace{0.3cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +Attn: <%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if vendorphone%> +Tel: <%vendorphone%> +<%end vendorphone%> + +<%if vendorfax%> +Fax: <%vendorfax%> +<%end vendorfax%> + +<%email%> +} +\parbox[t]{.5\textwidth}{ +\textbf{Ship To} +\vspace{0.3cm} + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> + +\vspace{0.3cm} + +<%if shiptocontact%> +Attn: <%shiptocontact%> +\vspace{0.2cm} +<%end shiptocontact%> + +<%if shiptophone%> +Tel: <%shiptophone%> +<%end shiptophone%> + +<%if shiptofax%> +Fax: <%shiptofax%> +<%end shiptofax%> + +<%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R} +\hfill + +\vspace{1cm} +\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} + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\vspace{0.2cm} + +\hfill +\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} + & Subtotal & <%subtotal%> \\ +<%foreach tax%> + & <%taxdescription%> on <%taxbase%> & <%tax%>\\ +<%end tax%> + \hline + & Total & <%ordtotal%>\\ +\end{tabularx} + +\vspace{0.3cm} + +\hfill + All prices in \textbf{<%currency%>}. + +\vspace{12pt} + +<%notes%> + +} + + +%\renewcommand{\thefootnote}{\fnsymbol{footnote}} + +%\footnotetext[1]{\tiny } + +\end{document} + diff --git a/templates/demo/receipt.tex b/templates/demo/receipt.tex new file mode 100644 index 00000000..effc19b6 --- /dev/null +++ b/templates/demo/receipt.tex @@ -0,0 +1,77 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont + +\parbox[t]{12cm}{ + <%company%> + + <%address%>} +\hfill +\parbox[t]{6cm}{\hfill <%source%>} + +\vspace*{0.6cm} + +<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill} + +\vspace{0.5cm} + +\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%> + +% different date format for datepaid +% <%DD%><%MM%><%YYYY%> + +\vspace{0.5cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{1.8cm} + +<%memo%> + +\vspace{0.8cm} + +<%company%> + +\vspace{0.5cm} + +<%name%> \hfill <%datepaid%> \hfill <%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%> +\end{tabularx} + +\vspace{1cm} + +<%memo%> + +\vfill + +\end{document} + diff --git a/templates/demo/request_quotation.html b/templates/demo/request_quotation.html new file mode 100644 index 00000000..433b8e80 --- /dev/null +++ b/templates/demo/request_quotation.html @@ -0,0 +1,179 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if notes%> + + + + + + <%end notes%> + +
  +

R E Q U E S T    F O R    Q U O T A T I O N

+
  + + + + + + + + + + + +
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%> + + <%if vendorphone%> +
Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> +
Fax: <%vendorfax%> + <%end vendorfax%> +
<%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%> + + <%if shiptophone%> +
Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> +
+
  + + + + + + + + + + + + + + + + + + +
RFQ #DateRequired byContactShipping PointShip via
<%quonumber%><%quodate%><%reqdate%> <%employee%><%shippingpoint%> <%shipvia%> 
+
 Please provide price and delivery time for the following items:
  + + + + + + + + + + + + + <%foreach number%> + + + + + + + + <%end number%> + + + + + +
ItemNumberDescriptionQt'y DeliveryUnit PriceExtended
<%runningnumber%>.<%number%><%description%><%qty%><%unit%>

+
  + + + + + + +
Notes<%notes%>
+
+ + + + diff --git a/templates/demo/request_quotation.tex b/templates/demo/request_quotation.tex new file mode 100644 index 00000000..cf95dd89 --- /dev/null +++ b/templates/demo/request_quotation.tex @@ -0,0 +1,151 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\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%>} \\ + \end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%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%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{To} +\vspace{0.3cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if vendorphone%> +Tel: <%vendorphone%> +<%end vendorphone%> + +<%if vendorfax%> +Fax: <%vendorfax%> +<%end vendorfax%> + +<%email%> +} +\parbox[t]{.5\textwidth}{ +\textbf{Ship To} +\vspace{0.3cm} + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> + +\vspace{0.3cm} + +<%if shiptocontact%> +<%shiptocontact%> +\vspace{0.2cm} +<%end shiptocontact%> + +<%if shiptophone%> +Tel: <%shiptophone%> +<%end shiptophone%> + +<%if shiptofax%> +Fax: <%shiptofax%> +<%end shiptofax%> + +<%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{R E Q U E S T for Q U O T A T I O N} +\hfill + +\vspace{1cm} + +\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} + +\vspace{1cm} + +Please provide price and delivery time for the following items: + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\hfill + +<%notes%> + +} + +\end{document} + diff --git a/templates/demo/sales_order.html b/templates/demo/sales_order.html new file mode 100644 index 00000000..14c17e1e --- /dev/null +++ b/templates/demo/sales_order.html @@ -0,0 +1,231 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  +

S A L E S    O R D E R

+
  + + + + + + + + + + + +
ToShip 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%> +
<%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%> +
+
  + + + + + + + + + + + + + + + + + + +
Order #Order DateRequired bySalespersonShipping PointShip Via
<%ordnumber%><%orddate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + + <%foreach number%> + + + + + + + + + + + <%end number%> + + + + + + + <%if taxincluded%> + + + <%end taxincluded%> + + <%if not taxincluded%> + + + <%end taxincluded%> + + + <%foreach tax%> + + + + + <%end tax%> + + + + + + + + + + + + + + + + +
ItemNumberDescriptionQt'y PriceDisc %Amount
<%runningnumber%>.<%number%><%description%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>

Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
 
+ <%text_amount%> ***** <%decimal%>/100 + <%if terms%> +
Terms Net <%terms%> days + <%end terms%> +
Total<%ordtotal%>
 
+
  + + + <%if notes%> + + + <%end notes%> + + +
Notes<%notes%> + All prices in <%currency%> Funds +
+
  + + + + + +
+ Special order items are subject to a 10% order cancellation fee. + + + X
+
+
+ + + + diff --git a/templates/demo/sales_order.tex b/templates/demo/sales_order.tex new file mode 100644 index 00000000..60f7bfeb --- /dev/null +++ b/templates/demo/sales_order.tex @@ -0,0 +1,177 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\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%>} \\ + \end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%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%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{To} +\vspace{0.3cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> +} +\parbox[t]{.5\textwidth}{ +\textbf{Ship To} +\vspace{0.3cm} + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> + +\vspace{0.3cm} + +<%if shiptocontact%> +<%shiptocontact%> +\vspace{0.2cm} +<%end shiptocontact%> + +<%if shiptophone%> +Tel: <%shiptophone%> +<%end shiptophone%> + +<%if shiptofax%> +Fax: <%shiptofax%> +<%end shiptofax%> + +<%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R} +\hfill + +\vspace{1cm} + +\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} + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\vspace{0.2cm} + +\hfill +\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} + & Subtotal & <%subtotal%> \\ +<%foreach tax%> + & <%taxdescription%> on <%taxbase%> & <%tax%>\\ +<%end tax%> + \hline + & Total & <%ordtotal%>\\ +\end{tabularx} + +\vspace{0.3cm} + +<%text_amount%> ***** <%decimal%>/100 +\hfill +All prices in \textbf{<%currency%>}. + +<%if terms%> +Terms: <%terms%> days +<%end terms%> + +\vspace{12pt} + +<%notes%> + +} + +\vfill + +\centerline{\textbf{Thank You for your valued business!}} + +\rule{\textwidth}{0.5pt} + +\end{document} + diff --git a/templates/demo/sales_quotation.html b/templates/demo/sales_quotation.html new file mode 100644 index 00000000..5d7f2699 --- /dev/null +++ b/templates/demo/sales_quotation.html @@ -0,0 +1,201 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  +

Q U O T A T I O N

+
  + + + + + + +
<%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%> +
+
  + + + + + + + + + + + + + + + + + + +
NumberDateValid untilContactShipping PointShip via
<%quonumber%><%quodate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + + <%foreach number%> + + + + + + + + + + + <%end number%> + + + + + + + <%if taxincluded%> + + + <%end taxincluded%> + + <%if not taxincluded%> + + + <%end taxincluded%> + + + <%foreach tax%> + + + + + <%end tax%> + + + + + + + + + + + + + + + + +
ItemNumberDescriptionQt'y PriceDisc %Amount
<%runningnumber%><%number%><%description%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>

Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
 
  + <%if terms%> + Terms Net <%terms%> days + <%end terms%> + Total<%quototal%>
 
+
  + + + <%if notes%> + + + <%end notes%> + + +
Notes<%notes%> + All prices in <%currency%> Funds +
+
  + + + + + +
+ Special order items are subject to a 10% cancellation fee. + + + X
+
+
+ + + + diff --git a/templates/demo/sales_quotation.tex b/templates/demo/sales_quotation.tex new file mode 100644 index 00000000..771fe6a3 --- /dev/null +++ b/templates/demo/sales_quotation.tex @@ -0,0 +1,148 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +\newsavebox{\ftr} +\sbox{\ftr}{ + \parbox{\textwidth}{ + \tiny + \rule[1.5em]{\textwidth}{0.5pt} +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%>} \\ + \end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%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%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> +} + +\vspace{1cm} + +\textbf{Q U O T A T I O N} +\hfill + +\vspace{1cm} + +\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} + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\vspace{0.2cm} + +\hfill +\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} + & Subtotal & <%subtotal%> \\ +<%foreach tax%> + & <%taxdescription%> on <%taxbase%> & <%tax%>\\ +<%end tax%> + \hline + & Total & <%quototal%>\\ +\end{tabularx} + +\vspace{0.3cm} + +\hfill +All prices in \textbf{<%currency%>}. + +<%if terms%> +Terms: <%terms%> days +<%end terms%> + +\vspace{12pt} + +<%notes%> + +} + +\vfill + +\hfill \parbox{7cm}{X \rule{6.5cm}{0.5pt}} + +\rule{\textwidth}{0.5pt} + +\usebox{\ftr} + +\end{document} + diff --git a/templates/demo/statement.html b/templates/demo/statement.html new file mode 100644 index 00000000..9a951a98 --- /dev/null +++ b/templates/demo/statement.html @@ -0,0 +1,137 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 

S T A T E M E N T

 <%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%> +
+
  + + + + + + + + + + + + + <%foreach invnumber%> + + + + + + + + + + + <%end invnumber%> + + + + + + + + + + + +
Invoice #Order#DateDueCurrent306090
<%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%>. +
+ + + + diff --git a/templates/demo/statement.tex b/templates/demo/statement.tex new file mode 100644 index 00000000..0beb6c64 --- /dev/null +++ b/templates/demo/statement.tex @@ -0,0 +1,78 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\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%> + +<%country%> +} +\parbox[t]{.5\textwidth}{ +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> +} +\hfill + +\vspace{1cm} + +\textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>} + +\vspace{2cm} + +\begin{tabular*}{\textwidth}{|ll@{\extracolsep\fill}ccrrrr|} + \hline + \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%> \\ + \hline +\end{tabular*} + +\vspace{0.5cm} + +\hfill +\begin{tabularx}{\textwidth}{Xr@{\hspace{1cm}}r@{}} + & \textbf{Total outstanding} & \textbf{<%total%>} +\end{tabularx} + +\vfill +All amounts in \textbf{<%currency%>} funds. + +Please make check payable to \textbf{<%company%>} + +\end{document} + diff --git a/templates/demo/timecard.html b/templates/demo/timecard.html new file mode 100644 index 00000000..73516e22 --- /dev/null +++ b/templates/demo/timecard.html @@ -0,0 +1,124 @@ + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + <%if notes%> + + + + + + + + <%end notes%> + +
  +

T I M E    C A R D

+
  + + + + + + +
+ + + + + + + + + +
Employee<%employee%>
ID<%employee_id%>
+
+ + + + + + + + + + + + + + + + + + + + + +
Card ID<%id%>
Date<%transdate%>
In<%checkedin%>
Out<%checkedout%>
Hours<%qty%>
+
+
  + + + + + +
+ + + + + + + + + + + + + + + + + +
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 new file mode 100644 index 00000000..b7630a00 --- /dev/null +++ b/templates/demo/timecard.tex @@ -0,0 +1,52 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\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%> \\ +\end{tabular} +\hfill +\begin{tabular}[t]{ll} + \textbf{Card ID} & <%id%> \\ + \textbf{Date} & <%transdate%> \\ + \textbf{In} & <%checkedin%> \\ + \textbf{Out} & <%checkedout%> \\ + \textbf{Hours} & <%qty%> \\ +\end{tabular} + +\vspace{1cm} + +\begin{tabular}[b]{ll} + \textbf{Job/Project \#} & <%projectnumber%> \\ + \textbf{Description} & <%projectdescription%> \\ + \textbf{Labor/Service Code} & <%partnumber%> \\ + \textbf{Description} & <%description%> \\ +\end{tabular} +\hfill +\begin{tabular}[b]{lr} + \textbf{Rate} & <%sellprice%> \\ + \textbf{Total} & <%total%> \\ +\end{tabular} + +\vspace{0.3cm} + +<%notes%> + +\end{document} + diff --git a/templates/demo/work_order.html b/templates/demo/work_order.html new file mode 100644 index 00000000..38fadacf --- /dev/null +++ b/templates/demo/work_order.html @@ -0,0 +1,161 @@ + + + + + + <%include letterhead.html%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if notes%> + + <%end notes%> + +
  +

W O R K    O R D E R

+
  + + + + + + + + + + + +
ToShip 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%> +
<%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%> +
+
  + + + + + + + + + + + + + + + + + + +
Order #Order DateRequired bySalespersonShipping PointShip Via
<%ordnumber%><%orddate%><%reqdate%><%employee%><%shippingpoint%> <%shipvia%> 
+
  + + + + + + + + + + + + <%foreach number%> + + + + + + + + + + <%end number%> + + + + + +
ItemNumberDescriptionQt'y BinSerial #
<%runningnumber%>.<%number%><%description%><%qty%><%unit%><%bin%><%serialnumber%>

+
 <%notes%>
+ + + + diff --git a/templates/demo/work_order.tex b/templates/demo/work_order.tex new file mode 100644 index 00000000..c8d48172 --- /dev/null +++ b/templates/demo/work_order.tex @@ -0,0 +1,141 @@ +\documentclass{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{tabularx} +\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry} +\usepackage{graphicx} + +\begin{document} + +\pagestyle{myheadings} +\thispagestyle{empty} + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +<%include letterhead.tex%> + + +<%pagebreak 65 27 48%> +\end{tabularx} + +\newpage + +\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} + +\begin{tabularx}{\textwidth}{@{}rlXrll@{}} + \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & + & \textbf{Serial Number} \\ +<%end pagebreak%> + + +\vspace*{0.5cm} + +\parbox[t]{.5\textwidth}{ +\textbf{To} +\vspace{0.3cm} + +<%name%> + +<%address1%> + +<%address2%> + +<%city%> +<%if state%> +\hspace{-0.1cm}, <%state%> +<%end state%> +<%zipcode%> + +<%country%> + +\vspace{0.3cm} + +<%if contact%> +<%contact%> +\vspace{0.2cm} +<%end contact%> + +<%if customerphone%> +Tel: <%customerphone%> +<%end customerphone%> + +<%if customerfax%> +Fax: <%customerfax%> +<%end customerfax%> + +<%email%> +} +\parbox[t]{.5\textwidth}{ +\textbf{Ship To} +\vspace{0.3cm} + +<%shiptoname%> + +<%shiptoaddress1%> + +<%shiptoaddress2%> + +<%shiptocity%> +<%if shiptostate%> +\hspace{-0.1cm}, <%shiptostate%> +<%end shiptostate%> +<%shiptozipcode%> + +<%shiptocountry%> + +\vspace{0.3cm} + +<%if shiptocontact%> +<%shiptocontact%> +\vspace{0.2cm} +<%end shiptocontact%> + +<%if shiptophone%> +Tel: <%shiptophone%> +<%end shiptophone%> + +<%if shiptofax%> +Fax: <%shiptofax%> +<%end shiptofax%> + +<%shiptoemail%> +} +\hfill + +\vspace{1cm} + +\textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R} +\hfill + +\vspace{1cm} + +\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} + +\vspace{1cm} + +\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} + + +\parbox{\textwidth}{ +\rule{\textwidth}{2pt} + +\vspace{12pt} + +<%notes%> +} + +\vfill + +\end{document} + -- cgit v1.2.3