diff options
Diffstat (limited to 'templates/demo')
35 files changed, 5202 insertions, 0 deletions
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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>A P - T R A N S A C T I O N</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + + <%if contact%> + <br><%contact%> + <br> + <%end contact%> + + <%if vendorphone%> + <br>Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> + <br>Fax: <%vendorfax%> + <%end vendorfax%> + + <%if email%> + <br><%email%> + <%end email%> + + <%if vendortaxnumber%> + <p>Taxnumber: <%vendortaxnumber%> + <%end vendortaxnumber%> + </td> + + <td align=right> + <table> + <tr> + <th align=left nowrap>Invoice #</th> + <td><%invnumber%></td> + </tr> + <tr> + <th align=left nowrap>Date</th> + <td><%invdate%></td> + </tr> + <tr> + <th align=left nowrap>Due</th> + <td><%duedate%></td> + </tr> + <%if ponumber%> + <tr> + <th align=left>PO #</th> + <td><%ponumber%> </td> + </tr> + <%end ponumber%> + <%if ordnumber%> + <tr> + <th align=left>Order #</th> + <td><%ordnumber%> </td> + </tr> + <%end ordnumber%> + <tr> + <th align=left nowrap>Employee</th> + <td><%employee%> </td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table> + <%foreach account%> + <tr valign=top> + <td><%accno%></td> + <td><%account%></td> + <td width=10> </td> + <td align=right><%amount%></td> + <td width=10> </td> + <td><%description%></td> + <td width=10> </td> + <td><%projectnumber%></td> + </tr> + <%end account%> + + <tr> + <%if taxincluded%> + <th colspan=2 align=right>Total</th> + <td width=10> </td> + <td align=right><%invtotal%></td> + <%end taxincluded%> + + <%if not taxincluded%> + <th colspan=2 align=right>Subtotal</th> + <td width=10> </td> + <td align=right><%subtotal%></td> + <%end taxincluded%> + </tr> + + <%foreach tax%> + <tr> + <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <td width=10> </td> + <td align=right><%tax%></td> + </tr> + <%end tax%> + + <%if not taxincluded%> + <tr> + <th colspan=2 align=right>Total</th> + <td width=10> </td> + <td align=right><%invtotal%></td> + </tr> + <%end taxincluded%> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <%text_amount%> ***** <%decimal%>/100 <%currency%> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <%notes%> + </td> + </tr> + + <%if paid_1%> + <tr> + <td> </td> + + <td> + <table> + <tr> + <th>Payments</th> + </tr> + + <tr> + <td> + <hr noshade> + </td> + </tr> + + <tr> + <td> + <table> + <tr> + <th>Date</th> + <th> </th> + <th>Source</th> + <th>Memo</th> + <th>Amount</th> + </tr> + <%end paid_1%> + + <%foreach payment%> + <tr> + <td><%paymentdate%></td> + <td><%paymentaccount%></td> + <td><%paymentsource%></td> + <td><%paymentmemo%></td> + <td align=right><%payment%></td> + </tr> + <%end payment%> + + <%if paid_1%> + </table> + </td> + </tr> + </table> + </td> + </tr> + <%end paid_1%> + + <tr height=10></tr> + + <%if taxincluded%> + <tr> + <td> </td> + </tr> + + <tr> + <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> + </tr> + <%end taxincluded%> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>A R - T R A N S A C T I O N</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + + <%if contact%> + <br><%contact%> + <br> + <%end contact%> + + <%if customerphone%> + <br>Tel: <%customerphone%> + <%end customerphone%> + + <%if customerfax%> + <br>Fax: <%customerfax%> + <%end customerfax%> + + <%if email%> + <br><%email%> + <%end email%> + + <%if customertaxnumber%> + <br>Taxnumber: <%customertaxnumber%> + <%end customertaxnumber%> + </td> + + <td align=right> + <table> + <tr> + <th align=left nowrap>Invoice #</th> + <td><%invnumber%></td> + </tr> + <tr> + <th align=left nowrap>Date</th> + <td><%invdate%></td> + </tr> + <tr> + <th align=left nowrap>Due</th> + <td><%duedate%></td> + </tr> + <%if ponumber%> + <tr> + <th align=left>PO #</th> + <td><%ponumber%> </td> + </tr> + <%end ponumber%> + <%if ordnumber%> + <tr> + <th align=left>Order #</th> + <td><%ordnumber%> </td> + </tr> + <%end ordnumber%> + <tr> + <th align=left nowrap>Salesperson</th> + <td><%employee%> </td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table> + <%foreach account%> + <tr valign=top> + <td><%accno%></td> + <td><%account%></td> + <td width=10> </td> + <td align=right><%amount%></td> + <td width=10> </td> + <td><%description%></td> + <td width=10> </td> + <td><%projectnumber%></td> + </tr> + <%end account%> + + <tr> + <%if taxincluded%> + <th colspan=2 align=right>Total</th> + <td width=10> </td> + <td align=right><%invtotal%></td> + <%end taxincluded%> + + <%if not taxincluded%> + <th colspan=2 align=right>Subtotal</th> + <td width=10> </td> + <td align=right><%subtotal%></td> + <%end taxincluded%> + </tr> + + <%foreach tax%> + <tr> + <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th> + <td width=10> </td> + <td align=right><%tax%></td> + </tr> + <%end tax%> + + <%if not taxincluded%> + <tr> + <th colspan=2 align=right>Total</th> + <td width=10> </td> + <td align=right><%invtotal%></td> + </tr> + <%end taxincluded%> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <%text_amount%> ***** <%decimal%>/100 <%currency%> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <%notes%> + </td> + </tr> + + <%if paid_1%> + <tr> + <td> </td> + + <td> + <table> + <tr> + <th>Payments</th> + </tr> + + <tr> + <td> + <hr noshade> + </td> + </tr> + + <tr> + <td> + <table> + <tr> + <th>Date</th> + <th> </th> + <th>Source</th> + <th>Amount</th> + </tr> + <%end paid_1%> + + <%foreach payment%> + <tr> + <td><%paymentdate%></td> + <td><%paymentaccount%></td> + <td><%paymentsource%></td> + <td align=right><%payment%></td> + </tr> + <%end payment%> + + <%if paid_1%> + </table> + </td> + </tr> + </table> + </td> + </tr> + <%end paid_1%> + + <tr height=10></tr> + + <%foreach tax%> + <tr> + <td> </td> + + <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + </tr> + <%end tax%> + + <%if taxincluded%> + <tr> + <td> </td> + </tr> + + <tr> + <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th> + </tr> + <%end taxincluded%> + +</table> + +</body> +</html> + 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 @@ + +<body> + +<h2 align=center> +<%company%> +<br><%address%> + +<p>BALANCE SHEET +<br>as at <%this_period%> +</h2> + +<%if department%> +<h4>Department: <%department%></h4> +<%end department%> + +<table border=0> +<tr> + <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th> + <th><%this_period%></th> + <th><%last_period%></th> +</tr> + +<%foreach asset_account%> +<tr> + <td> </td> + <td><%asset_account%></td> + <td align=right><%asset_this_period%></td> + <td align=right><%asset_last_period%></td> +</tr> +<%end asset_account%> + +<tr> + <td colspan=2> </td> + <td><hr noshade size=1></td> + <td><hr noshade size=1></td> +</tr> + +<tr valign=top> + <th align=left colspan=2>TOTAL ASSETS</th> + <td align=right><%total_assets_this_period%><hr noshade size=2></td> + <td align=right><%total_assets_last_period%><hr noshade size=2></td> +</tr> + +<tr> + <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th> +</tr> + +<%foreach liability_account%> +<tr> + <td></td> + <td><%liability_account%></td> + <td align=right><%liability_this_period%></td> + <td align=right><%liability_last_period%></td> +</tr> +<%end liability_account%> + +<tr> + <td colspan=2> </td> + <td><hr noshade size=1></td> + <td><hr noshade size=1></td> +</tr> + +<tr valign=top> + <td></td> + <th align=left>TOTAL LIABILITIES</th> + <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> + <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> +</tr> + +<tr> + <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th> +</tr> + +<%foreach equity_account%> +<tr> + <td></td> + <td><%equity_account%></td> + <td align=right><%equity_this_period%></td> + <td align=right><%equity_last_period%></td> +</tr> +<%end equity_account%> + +<tr> + <td colspan=2> </td> + <td><hr noshade size=1></td> + <td><hr noshade size=1></td> +</tr> + +<tr valign=top> + <td></td> + <th align=left>TOTAL EQUITY</th> + <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> + <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> +</tr> + +<tr valign=top> + <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th> + <td align=right><%total_this_period%><br><hr noshade size=2></td> + <td align=right><%total_last_period%><br><hr noshade size=2></td> +</tr> +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>B I N L I S T</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% cellspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th align=left width=50%><font color=ffffff>From</th> + <th align=left width=50%><font color=ffffff>Ship To</th> + </tr> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <%country%> + <%end country%> + <br> + + <%if contact%> + <br>Attn: <%contact%> + <%end contact%> + + <%if vendorphone%> + <br>Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> + <br>Fax: <%vendorfax%> + <%end vendorfax%> + + <%if email%> + <br><%email%> + <%end email%> + + </td> + + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <%shiptocountry%> + <%end shiptocountry%> + + <br> + <%if shiptocontact%> + <br>Attn: <%shiptocontact%> + <%end shiptocontact%> + + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left nowrap>Order #</th> + <th width=17% align=left nowrap>Date</th> + <th width=17% align=left nowrap>Contact</th> + <%if warehouse%> + <th width=17% align=left nowrap>Warehouse</th> + <%end warehouse%> + <th width=17% align=left>Shipping Point</th> + <th width=15% align=left>Ship via</th> + </tr> + + <tr> + <td><%ordnumber%> </td> + + <%if shippingdate%> + <td><%shippingdate%></td> + <%end shippingdate%> + + <%if not shippingdate%> + <td><%orddate%></td> + <%end shippingdate%> + + <td><%employee%> </td> + + <%if warehouse%> + <td><%warehouse%></td> + <%end warehouse%> + + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=left><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th><font color=ffffff>Serialnumber</th> + <th> </th> + <th><font color=ffffff>Qty</th> + <th><font color=ffffff>Recd</th> + <th> </th> + <th><font color=ffffff>Bin</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td><%runningnumber%></td> + <td><%number%></td> + <td><%description%></td> + <td><%serialnumber%></td> + <td><%deliverydate%></td> + <td align=right><%qty%></td> + <td align=right><%ship%></td> + <td><%unit%></td> + <td><%bin%></td> + </tr> + <%end number%> + + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td><hr noshade></td> + </tr> + +</table> + +</body> +</html> + 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 @@ + +<body> + +<h2 align=center> +<%company%> +<br><%address%> + +<p>INCOME STATEMENT +<br><%period%> +</h2> + +<%if department%> +<h4>Department: <%department%></h4> +<%end department%> + +<%if projectnumber%> +<h4>Project Number: <%projectnumber%></h4> +<%end projectnumber%> + +<table width=100% border=0> +<tr> + <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th> + <th><%this_period%></th> + <th><%last_period%></th> +</tr> + +<%foreach income_account%> +<tr> + <td width=4> </td> + <td><%income_account%></td> + <td align=right><%income_this_period%></td> + <td align=right><%income_last_period%></td> +</tr> +<%end income_account%> + +<tr> + <td colspan=2> </td> + <td><hr noshade size=1></td> + <td><hr noshade size=1></td> +</tr> + +<tr valign=top> + <td> </td> + <th align=left>TOTAL INCOME</th> + <td align=right><%total_income_this_period%><hr noshade size=2></td> + <td align=right><%total_income_last_period%><hr noshade size=2></td> +</tr> + +<tr> + <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th> +</tr> + +<%foreach expense_account%> +<tr> + <td> </td> + <td><%expense_account%></td> + <td align=right><%expenses_this_period%></td> + <td align=right><%expenses_last_period%></td> +</tr> +<%end expense_account%> + +<tr> + <td colspan=2> </td> + <td><hr noshade size=1></td> + <td><hr noshade size=1></td> +</tr> + +<tr valign=top> + <td> </td> + <th align=left>TOTAL EXPENSES</th> + <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> + <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> +</tr> + +<tr valign=top> + <th align=left colspan=2>INCOME / (LOSS)</th> + <td align=right><%total_this_period%><br><hr noshade size=2></td> + <td align=right><%total_last_period%><br><hr noshade size=2></td> +</tr> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>I N V O I C E</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th align=left width=50%><font color=ffffff>To</th> + <th align=left width=50%><font color=ffffff>Ship To</th> + </tr> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + + <%if contact%> + <br><%contact%> + <br> + <%end contact%> + + <%if customerphone%> + <br>Tel: <%customerphone%> + <%end customerphone%> + + <%if customerfax%> + <br>Fax: <%customerfax%> + <%end customerfax%> + + <%if email%> + <br><%email%> + <%end email%> + </td> + + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + <br> + + <%if shiptocontact%> + <br><%shiptocontact%> + <br> + <%end shiptocontact%> + + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + + <%if shiptoemail%> + <br><%shiptoemail%> + <%end shiptoemail%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=14% align=left nowrap>Invoice #</th> + <th width=14% align=left nowrap>Date</th> + <th width=14% align=left nowrap>Due</th> + <th width=14% align=left>Order #</th> + <th width=14% align=left nowrap>Salesperson</th> + <th width=14% align=left nowrap>Shipping Point</th> + <th width=14% align=left nowrap>Ship via</th> + </tr> + + <tr> + <td><%invnumber%></td> + <td><%invdate%></td> + <td><%duedate%></td> + <td><%ordnumber%> </td> + <td><%employee%> </td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=right><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th> </th> + <th align=right><font color=ffffff>Qt'y</th> + <th> </th> + <th align=right><font color=ffffff>Unit Price</th> + <th align=right><font color=ffffff>Disc %</th> + <th align=right><font color=ffffff>Extended</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td align=right><%runningnumber%>.</td> + <td><%number%></td> + <td><%description%></td> + <td><%deliverydate%></td> + <td align=right><%qty%></td> + <td><%unit%></td> + <td align=right><%sellprice%></td> + <td align=right><%discountrate%></td> + <td align=right><%linetotal%></td> + </tr> + <%end number%> + + <tr> + <td colspan=9><hr noshade></td> + </tr> + + <tr> + <%if taxincluded%> + <th colspan=7 align=right>Total</th> + <td colspan=2 align=right><%invtotal%></td> + <%end taxincluded%> + + <%if not taxincluded%> + <th colspan=7 align=right>Subtotal</th> + <td colspan=2 align=right><%subtotal%></td> + <%end taxincluded%> + </tr> + + <%foreach tax%> + <tr> + <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> + <td colspan=2 align=right><%tax%></td> + </tr> + <%end tax%> + + <%if paid%> + <tr> + <th colspan=7 align=right>Paid</th> + <td colspan=2 align=right>- <%paid%></td> + </tr> + <%end paid%> + + <tr> + <td colspan=5> </td> + <td colspan=4><hr noshade></td> + </tr> + + <%if total%> + <tr> + <td colspan=5> </td> + <th colspan=2 align=right nowrap>Balance Due</th> + <th colspan=2 align=right><%total%></th> + </tr> + <%end total%> + + <tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <%if notes%> + <td><%notes%></td> + <%end notes%> + + <td><%text_amount%> ***** <%decimal%>/100</td> + + <td align=right nowrap> + All prices in <b><%currency%></b> + </td> + </tr> + </table> + </td> + </tr> + + <%if paid_1%> + <tr> + <td> </td> + + <td colspan=9> + <table width=60%> + + <tr> + <th align=left>Payments</th> + </tr> + + <tr> + <td colspan=4> + <hr noshade> + </td> + </tr> + + <tr> + <th align=left>Date</th> + <th align=left>Account</th> + <th align=left>Source</th> + <th align=left>Amount</th> + </tr> + <%end paid_1%> + + <%foreach payment%> + <tr> + <td><%paymentdate%></td> + <td><%paymentaccount%></td> + <td><%paymentsource%></td> + <td><%payment%></td> + </tr> + <%end payment%> + + <%if paid_1%> + </table> + </td> + </tr> + <%end paid_1%> + + <tr height=10></tr> + + <tr> + <td> </td> + + <th> + Thank you for your valued business! + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td width=60%><font size=-3> + Payment due by <%duedate%>. + Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit. + </font> + </td> + + <td width=40%> + X <hr noshade> + </td> + </tr> + </table> + </td> + </tr> + + <%foreach tax%> + <tr> + <td> </td> + + <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> + </tr> + <%end tax%> + + <%if taxincluded%> + <tr> + <td> </td> + </tr> + + <tr> + <th colspan=8 align=left><font size=-2>Taxes shown are included in price.</th> + </tr> + <%end taxincluded%> + +</table> + +</body> +</html> + 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 @@ + <tr> + <td width=10> </td> + + <td> + <table width=100%> + <tr> + <td> + <h4> + <%company%><br> + <%address%> + </h4> + </td> + + <th><img src=<%templates%>/<%language_code%>/logo.png border=0 height=58></th> + + <td align=right> + <h4> + Tel: <%tel%><br> + Fax: <%fax%> + </h4> + </td> + </tr> + + <tr> + <td colspan=3> + <hr noshade> + </td> + </tr> + </table> + </td> + </tr> + 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,~> +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,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/demo/logo.png b/templates/demo/logo.png Binary files differnew file mode 100644 index 00000000..e3a4ac13 --- /dev/null +++ b/templates/demo/logo.png 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>P A C K I N G L I S T</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% cellspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th width=50% align=left><font color=ffffff>Ship To:</th> + <th width=50%> </th> + </tr> + + <tr valign=top> + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + </td> + + <td> + <%if shiptocontact%> + <br>Attn: <%shiptocontact%> + <%end shiptocontact%> + + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + + <%shiptoemail%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left>Invoice #</th> + <th width=17% align=left>Order #</th> + <th width=17% align=left>Date</th> + <th width=17% align=left nowrap>Contact</th> + <%if warehouse%> + <th width=17% align=left>Warehouse</th> + <%end warehouse%> + <th width=17% align=left>Shipping Point</th> + <th width=15% align=left>Ship via</th> + </tr> + + <tr> + <td><%invnumber%> </td> + <td><%ordnumber%> </td> + + <%if shippingdate%> + <td><%shippingdate%></td> + <%end shippingdate%> + + <%if not shippingdate%> + <td><%transdate%></td> + <%end shippingdate%> + + <td><%employee%> </td> + + <%if warehouse%> + <td><%warehouse%> </td> + <%end warehouse%> + + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=left><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th align=left><font color=ffffff>Serial #</th> + <th> </th> + <th><font color=ffffff>Qty</th> + <th><font color=ffffff>Ship</th> + <th> </th> + </tr> + + <%foreach number%> + <tr valign=top> + <td><%runningnumber%></td> + <td><%number%></td> + <td><%description%></td> + <td><%serialnumber%></td> + <td><%deliverydate%></td> + <td align=right><%qty%></td> + <td align=right><%ship%></td> + <td><%unit%></td> + </tr> + <%end number%> + + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td><hr noshade></td> + </tr> + + <%if notes%> + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td>Notes</td> + <td><%notes%></td> + </tr> + </table> + </td> + </tr> + <%end notes%> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td width=70%><font size=-3> + Items returned are subject to + a 10% restocking charge. A return authorization must be obtained + from <%company%> before goods are returned. Returns must be shipped + prepaid and properly insured. <%company%> will not be responsible + for damages during transit. + </font> + </td> + <td width=30%> + X <hr noshade> + </td> + </tr> + </table> + </td> + </tr> +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>P I C K L I S T</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th width=50% align=left><font color=ffffff>Ship To:</th> + <th width=50%> </th> + </tr> + + <tr valign=top> + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + </td> + + <td> + <%if shiptocontact%> + <br>Attn: <%shiptocontact%> + <%end shiptocontact%> + + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + + <%shiptoemail%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=15% align=left>Invoice #</th> + <th width=15% align=left>Order #</th> + <th width=10% align=left>Date</th> + <th width=15% align=left nowrap>Contact</th> + <th width=15% align=left>Warehouse</th> + <th width=10% align=left>Shipping Point</th> + <th width=10% align=left>Ship via</th> + </tr> + + <tr> + <td><%invnumber%> </td> + <td><%ordnumber%> </td> + <%if shippingdate%> + <td><%shippingdate%></td> + <%end shippingdate%> + + <%if not shippingdate%> + <td><%transdate%></td> + <%end shippingdate%> + + <td><%employee%> </td> + <td><%warehouse%> </td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=left><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th><font color=ffffff>Qty</th> + <th><font color=ffffff>Ship</th> + <th> </th> + <th><font color=ffffff>Bin</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td><%runningnumber%> + <td><%number%></td> + <td><%description%></td> + <td align=right><%qty%></td> + <td align=right>[ ]</td> + <td><%unit%></td> + <td align=right><%bin%></td> + </tr> + <%end number%> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td><hr noshade></td> + </tr> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>P U R C H A S E O R D E R</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th align=left width=50%><font color=ffffff>To:</th> + <th align=left width=50%><font color=ffffff>Ship To:</th> + </tr> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + + <%if contact%> + <br>Attn: <%contact%> + <%end contact%> + + <%if vendorphone%> + <br>Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> + <br>Fax: <%vendorfax%> + <%end vendorfax%> + </td> + + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + <br> + + <%if shiptocontact%> + <br>Attn: <%shiptocontact%> + <%end shiptocontact%> + + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left>Order #</th> + <th width=17% align=left>Order Date</th> + <th width=17% align=left>Required by</th> + <th width=17% align=left>Contact</th> + <th width=17% align=left>Shipping Point</th> + <th width=15% align=left>Ship Via</th> + </tr> + + <tr> + <td><%ordnumber%></td> + <td><%orddate%></td> + <td><%reqdate%></td> + <td><%employee%></td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=right><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th><font color=ffffff>Qt'y</th> + <th> </th> + <th><font color=ffffff>Price</th> + <th><font color=ffffff>%</th> + <th><font color=ffffff>Amount</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td align=right><%runningnumber%>.</td> + <td><%number%></td> + <td><%description%></td> + <td align=right><%qty%></td> + <td><%unit%></td> + <td align=right><%sellprice%></td> + <td align=right><%discountrate%></th> + <td align=right><%linetotal%></td> + </tr> + <%end number%> + + <tr> + <td colspan=8><hr noshade></td> + </tr> + + <tr> + <%if taxincluded%> + <th colspan=7 align=right>Total</th> + <th colspan=1 align=right><%ordtotal%></th> + <%end taxincluded%> + + <%if not taxincluded%> + <th colspan=7 align=right>Subtotal</th> + <td colspan=1 align=right><%subtotal%></td> + <%end taxincluded%> + </tr> + + <%foreach tax%> + <tr> + <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> + <td colspan=1 align=right><%tax%></td> + </tr> + <%end tax%> + + <tr> + <td colspan=4> </td> + <td colspan=4><hr noshade></td> + </tr> + + <%if not taxincluded%> + <th colspan=7 align=right>Total</th> + <td colspan=1 align=right><%ordtotal%></td> + <%end taxincluded%> + + <%if terms%> + <tr> + <td colspan=4>Terms Net <b><%terms%></b> days</td> + <th colspan=3 align=right>Total</th> + <th colspan=1 align=right><%ordtotal%></th> + </tr> + <%end terms%> + + <%if taxincluded%> + <tr> + <td colspan=2>Tax included</td> + </tr> + <%end taxincluded%> + + <tr> + <td> </td> + </tr> + + <%if ordtotal%> + <tr> + <td colspan=8 align=right> + All prices in <b><%currency%></b> Funds + </td> + </tr> + <%end ordtotal%> + + </table> + </td> + </tr> + + <%if notes%> + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td>Notes</td> + <td><%notes%></td> + </tr> + + </table> + </td> + </tr> + <%end notes%> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td width=70%> </td> + + <td width=30%> + X <hr noshade> + </td> + </tr> + </table> + </td> + </tr> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>R E Q U E S T F O R Q U O T A T I O N</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=left width=50%><font color=ffffff>To:</th> + <th align=left width=50%><font color=ffffff>Ship To:</th> + </tr> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + + <%if contact%> + <br>Attn: <%contact%> + <%end contact%> + + <%if vendorphone%> + <br>Tel: <%vendorphone%> + <%end vendorphone%> + + <%if vendorfax%> + <br>Fax: <%vendorfax%> + <%end vendorfax%> + </td> + + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddr2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + <br> + + <%if shiptocontact%> + <br>Attn: <%shiptocontact%> + <%end shiptocontact%> + + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left>RFQ #</th> + <th width=17% align=left>Date</th> + <th width=17% align=left>Required by</th> + <th width=17% align=left>Contact</th> + <th width=17% align=left>Shipping Point</th> + <th width=15% align=left>Ship via</th> + </tr> + + <tr> + <td><%quonumber%></td> + <td><%quodate%></td> + <td><%reqdate%> </td> + <td><%employee%></td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr height="10"></tr> + + <tr> + <td> </td> + + <td>Please provide price and delivery time for the following items:</td> + </tr> + + <tr height="10"></tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr> + <th align=right>Item</th> + <th align=left>Number</th> + <th align=left><font color=ffffff>Description</th> + <th>Qt'y</th> + <th> </th> + <th>Delivery</th> + <th>Unit Price</th> + <th>Extended</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td align=right><%runningnumber%>.</td> + <td><%number%></td> + <td><%description%></td> + <td align=right><%qty%></td> + <td><%unit%></td> + </tr> + <%end number%> + + <tr> + <td colspan=8><hr noshade></td> + </tr> + + </table> + </td> + </tr> + + <%if notes%> + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td>Notes</td> + <td><%notes%></td> + </tr> + + </table> + </td> + </tr> + <%end notes%> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>S A L E S O R D E R</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th align=left width=50%><font color=ffffff>To</th> + <th align=left width=50%><font color=ffffff>Ship To</th> + </tr> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + <%if contact%> + <br>Attn: <%contact%> + <%end contact%> + <%if customerphone%> + <br>Tel: <%customerphone%> + <%end customerphone%> + <%if customerfax%> + <br>Fax: <%customerfax%> + <%end customerfax%> + <%if email%> + <br><%email%> + <%end email%> + </td> + + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + <br> + <%if shiptocontact%> + <br><%shiptocontact%> + <%end shiptocontact%> + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + <%if shiptoemail%> + <br><%shiptoemail%> + <%end shiptoemail%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left nowrap>Order #</th> + <th width=17% align=left>Order Date</th> + <th width=17% align=left>Required by</th> + <th width=17% align=left nowrap>Salesperson</th> + <th width=17% align=left nowrap>Shipping Point</th> + <th width=15% align=left nowrap>Ship Via</th> + </tr> + + <tr> + <td><%ordnumber%></td> + <td><%orddate%></td> + <td><%reqdate%></td> + <td><%employee%></td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=right><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th><font color=ffffff>Qt'y</th> + <th> </th> + <th><font color=ffffff>Price</th> + <th><font color=ffffff>Disc %</th> + <th><font color=ffffff>Amount</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td align=right><%runningnumber%>.</td> + <td><%number%></td> + <td><%description%></td> + <td align=right><%qty%></td> + <td><%unit%></td> + <td align=right><%sellprice%></td> + <td align=right><%discountrate%></td> + <td align=right><%linetotal%></td> + </tr> + <%end number%> + + <tr> + <td colspan=8><hr noshade></td> + </tr> + + <tr> + <%if taxincluded%> + <th colspan=6 align=right>Total</th> + <td colspan=2 align=right><%invtotal%></td> + <%end taxincluded%> + + <%if not taxincluded%> + <th colspan=6 align=right>Subtotal</th> + <td colspan=2 align=right><%subtotal%></td> + <%end taxincluded%> + </tr> + + <%foreach tax%> + <tr> + <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> + <td colspan=2 align=right><%tax%></td> + </tr> + <%end tax%> + + <tr> + <td colspan=4> </td> + <td colspan=4><hr noshade></td> + </tr> + + <tr> + <td colspan=4> + <%text_amount%> ***** <%decimal%>/100 + <%if terms%> + <br>Terms Net <b><%terms%></b> days + <%end terms%> + </td> + <th colspan=2 align=right>Total</th> + <th colspan=2 align=right><%ordtotal%></th> + </tr> + + <tr> + <td> </td> + </tr> + + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <%if notes%> + <td>Notes</td> + <td><%notes%></td> + <%end notes%> + <td align=right nowrap> + All prices in <%currency%> Funds</b> + </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td width=60%><font size=-3> + Special order items are subject to a 10% order cancellation fee. + </font> + </td> + <td width=40%> + X <hr noshade> + </td> + </tr> + </table> + </td> + </tr> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>Q U O T A T I O N</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + + <br> + <%if contact%> + <br>Attn: <%contact%> + <%end contact%> + + <%if customerphone%> + <br>Tel: <%customerphone%> + <%end customerphone%> + + <%if customerfax%> + <br>Fax: <%customerfax%> + <%end customerfax%> + + <%if email%> + <br><%email%> + <%end email%> + </td> + + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left nowrap>Number</th> + <th width=17% align=left>Date</th> + <th width=17% align=left>Valid until</th> + <th width=17% align=left nowrap>Contact</th> + <th width=17% align=left nowrap>Shipping Point</th> + <th width=15% align=left nowrap>Ship via</th> + </tr> + + <tr> + <td><%quonumber%></td> + <td><%quodate%></td> + <td><%reqdate%></td> + <td><%employee%></td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=right><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th><font color=ffffff>Qt'y</th> + <th> </th> + <th><font color=ffffff>Price</th> + <th><font color=ffffff>Disc %</th> + <th><font color=ffffff>Amount</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td align=right><%runningnumber%></td> + <td><%number%></td> + <td><%description%></td> + <td align=right><%qty%></td> + <td><%unit%></td> + <td align=right><%sellprice%></td> + <td align=right><%discountrate%></td> + <td align=right><%linetotal%></td> + </tr> + <%end number%> + + <tr> + <td colspan=8><hr noshade></td> + </tr> + + <tr> + <%if taxincluded%> + <th colspan=6 align=right>Total</th> + <td colspan=2 align=right><%invtotal%></td> + <%end taxincluded%> + + <%if not taxincluded%> + <th colspan=6 align=right>Subtotal</th> + <td colspan=2 align=right><%subtotal%></td> + <%end taxincluded%> + </tr> + + <%foreach tax%> + <tr> + <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> + <td colspan=2 align=right><%tax%></td> + </tr> + <%end tax%> + + <tr> + <td colspan=4> </td> + <td colspan=4><hr noshade></td> + </tr> + + <tr> + <td colspan=4> + <%if terms%> + Terms Net <b><%terms%></b> days + <%end terms%> + </td> + <th colspan=2 align=right>Total</th> + <th colspan=2 align=right><%quototal%></th> + </tr> + + <tr> + <td> </td> + </tr> + + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <%if notes%> + <td>Notes</td> + <td><%notes%></td> + <%end notes%> + <td align=right> + All prices in <b><%currency%></b> Funds + </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td width=60%><font size=-3> + Special order items are subject to a 10% cancellation fee. + </font> + </td> + <td width=40%> + X <hr noshade> + </td> + </tr> + </table> + </td> + </tr> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3><h4>S T A T E M E N T</h4></th> + + </tr> + + <tr> + <td> </td> + + <td colspan=3 align=right><%statementdate%></td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + <%if customerphone%> + <br>Tel: <%customerphone%> + <%end customerphone%> + <%if customerfax%> + <br>Fax: <%customerfax%> + <%end customerfax%> + <%if email%> + <br><%email%> + <%end email%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=10></tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr> + <th align=left>Invoice #</th> + <th align=left>Order#</th> + <th width=10%>Date</th> + <th width=10%>Due</th> + <th width=10%>Current</th> + <th width=10%>30</th> + <th width=10%>60</th> + <th width=10%>90</th> + </tr> + + <%foreach invnumber%> + <tr> + <td><%invnumber%></td> + <td><%ordnumber%></td> + <td><%invdate%></td> + <td><%duedate%></td> + <td align=right><%c0%></td> + <td align=right><%c30%></td> + <td align=right><%c60%></td> + <td align=right><%c90%></td> + </tr> + <%end invnumber%> + + <tr> + <td colspan=8><hr size=1></td> + </tr> + + <tr> + <td> </td> + <td> </td> + <td> </td> + <td> </td> + <th align=right><%c0total%></td> + <th align=right><%c30total%></td> + <th align=right><%c60total%></td> + <th align=right><%c90total%></td> + </tr> + </table> + </td> + </tr> + + <tr height=10></tr> + + <tr> + <td> </td> + + <td align=right> + <table width=50%> + <tr> + <th>Total Outstanding</th> + <th align=right><%total%></th> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td><hr noshade></td> + </tr> + + <tr> + <td> </td> + <td>All amounts in <b><%currency%></b> funds. + <br>Please make check payable to <b><%company%></b>. + </td> + </tr> + +</table> + +</body> +</html> + 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 @@ +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>T I M E C A R D</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr valign=top> + <td> + <table> + <tr> + <th align=left>Employee</th> + <td><%employee%></td> + </tr> + <tr> + <th align=left>ID</th> + <td><%employee_id%></td> + </tr> + </table> + </td> + + <td align=right> + <table> + <tr> + <th align=left nowrap>Card ID</th> + <td><%id%></td> + </tr> + <tr> + <th align=left nowrap>Date</th> + <td><%transdate%></td> + </tr> + <tr> + <th align=left nowrap>In</th> + <td><%checkedin%></td> + </tr> + <tr> + <th align=left>Out</th> + <td><%checkedout%></td> + </tr> + <tr> + <th align=left nowrap>Hours</th> + <td><%qty%></td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr valign=bottom> + <td> + <table> + <tr valign=top> + <th align=left>Job/Project #</th> + <td><%projectnumber%></td> + </tr> + <tr> + <th align=left>Description</th> + <td><%projectdescription%></td> + </tr> + <tr valign=top> + <th align=left>Labor/Service Code</th> + <td><%partnumber%></td> + </tr> + <tr> + <th align=left>Description</th> + <td><%description%></td> + </tr> + </table> + </td> + <td align=right> + <table> + <tr> + <th align=right>Rate</th> + <td><%sellprice%></td> + </tr> + <tr> + <th align=right>Total</th> + <td><%total%></td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + + <%if notes%> + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <%notes%> + </td> + </tr> + <%end notes%> + +</table> + +</body> +</html> + 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 @@ + +<body bgcolor=ffffff> + +<table width=100%> + + <%include letterhead.html%> + + <tr> + <td width=10> </td> + + <th colspan=3> + <h4>W O R K O R D E R</h4> + </th> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100% callspacing=0 cellpadding=0> + <tr bgcolor=000000> + <th align=left width=50%><font color=ffffff>To</th> + <th align=left width=50%><font color=ffffff>Ship To</th> + </tr> + + <tr valign=top> + <td><%name%> + <br><%address1%> + <%if address2%> + <br><%address2%> + <%end address2%> + <br><%city%> + <%if state%> + , <%state%> + <%end state%> + <%zipcode%> + <%if country%> + <br><%country%> + <%end country%> + <br> + <%if contact%> + <br>Attn: <%contact%> + <%end contact%> + <%if customerphone%> + <br>Tel: <%customerphone%> + <%end customerphone%> + <%if customerfax%> + <br>Fax: <%customerfax%> + <%end customerfax%> + <%if email%> + <br><%email%> + <%end email%> + </td> + + <td><%shiptoname%> + <br><%shiptoaddress1%> + <%if shiptoaddress2%> + <br><%shiptoaddress2%> + <%end shiptoaddress2%> + <br><%shiptocity%> + <%if shiptostate%> + , <%shiptostate%> + <%end shiptostate%> + <%shiptozipcode%> + <%if shiptocountry%> + <br><%shiptocountry%> + <%end shiptocountry%> + <br> + <%if shiptocontact%> + <br><%shiptocontact%> + <%end shiptocontact%> + <%if shiptophone%> + <br>Tel: <%shiptophone%> + <%end shiptophone%> + <%if shiptofax%> + <br>Fax: <%shiptofax%> + <%end shiptofax%> + <%if shiptoemail%> + <br><%shiptoemail%> + <%end shiptoemail%> + </td> + </tr> + </table> + </td> + </tr> + + <tr height=5></tr> + + <tr> + <td> </td> + + <td> + <table width=100% border=1> + <tr> + <th width=17% align=left nowrap>Order #</th> + <th width=17% align=left>Order Date</th> + <th width=17% align=left>Required by</th> + <th width=17% align=left nowrap>Salesperson</th> + <th width=17% align=left nowrap>Shipping Point</th> + <th width=15% align=left nowrap>Ship Via</th> + </tr> + + <tr> + <td><%ordnumber%></td> + <td><%orddate%></td> + <td><%reqdate%></td> + <td><%employee%></td> + <td><%shippingpoint%> </td> + <td><%shipvia%> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <td> </td> + + <td> + <table width=100%> + <tr bgcolor=000000> + <th align=right><font color=ffffff>Item</th> + <th align=left><font color=ffffff>Number</th> + <th align=left><font color=ffffff>Description</th> + <th><font color=ffffff>Qt'y</th> + <th> </th> + <th><font color=ffffff>Bin</th> + <th><font color=ffffff>Serial #</th> + </tr> + + <%foreach number%> + <tr valign=top> + <td align=right><%runningnumber%>.</td> + <td><%number%></td> + <td><%description%></td> + <td align=right><%qty%></td> + <td><%unit%></td> + <td><%bin%></td> + <td><%serialnumber%></td> + </tr> + <%end number%> + + <tr> + <td colspan=7><hr noshade></td> + </tr> + + </table> + </td> + </tr> + + <tr> + <td> </td> + + <%if notes%> + <td><%notes%></td> + <%end notes%> + </tr> +</table> + +</body> +</html> + 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} + |