diff options
Diffstat (limited to 'sql-ledger/templates')
140 files changed, 0 insertions, 19184 deletions
diff --git a/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html b/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html deleted file mode 100644 index 20c3c51..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html +++ /dev/null @@ -1,103 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - - <p>BALANÇO<br> - <%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>VALORES<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</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>BALANÇO<b> - <hr align=left width=250 size=5 noshade></b></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</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>SÓCIOS (%)<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</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>TOTAIS</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> - - - diff --git a/sql-ledger/templates/Brazilian_Portuguese-check.tex b/sql-ledger/templates/Brazilian_Portuguese-check.tex deleted file mode 100644 index ea62b00..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.8cm} - -<%company%> - -\vspace{0.5cm} - -<%name%> \hfill <%datepaid%> \hfill <%source%> - -\vspace{0.5cm} -\begin{tabularx}{\textwidth}{lXrr@{}} -\textbf{Número da Fatura} & \textbf{Data da Fatura} - & \textbf{Prazo} & \textbf{Aplicação} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> -\end{tabularx} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Brazilian_Portuguese-income_statement.html b/sql-ledger/templates/Brazilian_Portuguese-income_statement.html deleted file mode 100644 index 3531122..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-income_statement.html +++ /dev/null @@ -1,77 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - - <p>DECLARAÇÃO DE RENDIMENTOS<br> - <%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>RENDIMENTOS<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</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>DESPESAS<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</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>RENDIMENTOS / (PREJUIZO)</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> - diff --git a/sql-ledger/templates/Brazilian_Portuguese-invoice.html b/sql-ledger/templates/Brazilian_Portuguese-invoice.html deleted file mode 100644 index 2871238..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-invoice.html +++ /dev/null @@ -1,315 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> Telefone: - <%tel%> - <br> - Fax: - <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>FATURA</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right> Data</th> - <td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Entrega</th> - <td width=10> </td><td><%duedate%></td> - </tr> - - <tr> - <th align=right>Número</th> - <td> </td><td><%invnumber%></td></tr> - </table></tr> - -<!-- - <tr> - <th align=right>Clerk:</th><td> </td><td><%employee%></td> - </tr> ---> - - <tr> - <td> </td> - </tr> - </table></td> - </table> - - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color="ffffff">Para:</font></th> - <th align=left><font color="ffffff">Transportar Para:</font></th> - </tr> - -<!-- - other variables which can be use: - contact, shiptocontact, shiptophone, shiptofax ---> - - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Número</font></th> - <th align=left><font color=ffffff>Descrição</font></th> - <th><font color=ffffff>Quant.</font></th> - <th> </th> - <th><font color=ffffff>Preço</font></th> - <th><font color=ffffff>Disc.</font></th> - <th><font color="ffffff">Total</font></th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -you can also use netprice instead of sellprice if you -don't want to show the discount -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right> - <%taxdescription%> - em - <%taxbase%> - @ - <%taxrate%> - %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Pago</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Fatura para<b> - <%terms%> - </b> dias</td> - <th colspan=2 align=right>Pendente</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Obs.:</td> - <td><%notes%></td> -<%end notes%> - <td align=right> Preços em<b> - <%currency%> - </b> <br> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<%if paid%> -<tr> - <td colspan=7> - <table width=60%> - <tr> - <th align=left>Pagamentos</th> - </tr> - <tr> - <td colspan=4> - <hr noshade> - </td> - </tr> - <tr> - <th align=left>Data</th> - <th align=left>Conta</th> - <th align=left>Origem</th> - <th align=left>Total</th> - </tr> -<%end paid%> - -<%foreach payment%> - <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> - </tr> -<%end payment%> - -<%if paid%> - </table> - </td> -</tr> - -<tr> - <td> </td> -</tr> -<%end paid%> - -<tr> - <th colspan=7> - <br> - Obrigado por estarmos fazendo negócio! </th> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> </font> </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<%foreach tax%> - <tr> - - <th colspan=7 align=left><font size=-2> - <%taxdescription%> - Registro - <%taxnumber%> - </font></th> - </tr> -<%end tax%> - -<%if taxincluded%> - <tr> - - <th colspan=7 align=left><font size="-2">Impostos Inclusos.</font></th> - </tr> -<%end taxincluded%> - -<!-- business number - <tr> - <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th> - </tr> ---> - -<!-- banking information - <tr> - <th colspan=7 align=left>Banking Information: - <br>Bank - <br>Transit No. - <br>Account No. - </td> - </tr> ---> - - -</body> -</html> - diff --git a/sql-ledger/templates/Brazilian_Portuguese-invoice.tex b/sql-ledger/templates/Brazilian_Portuguese-invoice.tex deleted file mode 100644 index 15c407b..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-invoice.tex +++ /dev/null @@ -1,223 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefone & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{0.5cm} - -\parbox[t]{1cm}{\hfill} - \parbox[t]{10.5cm}{ - \textbf{To} - \vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{0.3cm} - -%<%if contact%> -%Attn: <%contact%> -%\vspace{0.3cm} -%<%end contact%> -\vspace{0.5cm} - -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> - -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> - -<%email%> -} -\parbox[t]{7.5cm}{ -\textbf{Ship To} -\vspace{0.5cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{0.3cm} - -\vspace{0.3cm} - -<%if shiptocontact%> -Attn: <%shiptocontact%> -\vspace{0.3cm} -<%end shiptocontact%> - -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> - -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> - -<%shiptoemail%> -} -\hfill - -\vspace{1cm} - -\textbf{F A T U R A} -\hfill - -\vspace{1cm} - -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%invdate%> \\ - \textbf{Número} & <%invnumber%> \\ - \textbf{Pedido} & <%ordnumber%> \\ - \textbf{Produto} & <%employee%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} & - \textbf{Unid.} & \textbf{Preço} & \textbf{Disc.} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> em <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Pago} & - <%paid%> \\ -<%end paid%> - \hline - \textbf{Pendente} & \textbf{<%total%>} \\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Preços em \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill - -<%if paid%> -\begin{tabularx}{10cm}{@{}lXlr@{}} - \textbf{Pagamentos} & & & \\ - \hline - \textbf{Data} & \textbf{Conta} & \textbf{Origem} & \textbf{Total} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> -\end{tabularx} -<%end paid%> - -\vspace{1cm} - -\centerline{\textbf{Obrigado por estarmos fazendo negócio!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - - - diff --git a/sql-ledger/templates/Brazilian_Portuguese-packing_list.html b/sql-ledger/templates/Brazilian_Portuguese-packing_list.html deleted file mode 100644 index 4cdee74..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-packing_list.html +++ /dev/null @@ -1,143 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>LISTA DE PRODUTOS</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Data</th> - <td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Número</th> - <td></td><td><%invnumber%></td></tr> - </table></tr> - - <tr> - <td> - </td> - </tr> - </table></td> - </table> - - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color="ffffff">Para:</font></th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Obs.: - <%shiptocontact%> - <%end shiptocontact%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Número</font></th> - <th align=left><font color=ffffff>Descrição</font></th> - <th><font color="ffffff">Quant.</font></th> - <th> </th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Obs.:</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> </font> </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - - - - - - - -</body> -</html> - diff --git a/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex b/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex deleted file mode 100644 index 4810230..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex +++ /dev/null @@ -1,116 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Bin} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{LISTA DE PRODUTOS} \parbox{0.3cm}{\hfill} \textbf{L I S T} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%invdate%> \\ - \textbf{Número} & <%invnumber%> \\ - \textbf{Cliente} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} & - \textbf{Unid.} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{ }} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html deleted file mode 100644 index 54b25f3..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html +++ /dev/null @@ -1,187 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4> O R D E M D E C O M P R A</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Data</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Requerido por</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Número</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Para:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Número</th> - <th align=left><font color=ffffff>Descrição</th> - <th><font color=ffffff>Quant.</th> - <th> </th> - <th><font color=ffffff>Preço (unit.)</th> - <th><font color=ffffff>Total</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Faturado em <b><%terms%></b> dias</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> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Obs.:</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Todos os preços em <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex deleted file mode 100644 index 61bb518..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex +++ /dev/null @@ -1,198 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefone & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{0.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ -\textbf{To} -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{0.3cm} - -<%if contact%> -Attn: <%contact%> -\vspace{0.3cm} -<%end contact%> - -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> - -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> - -<%email%> -} -\parbox[t]{7.5cm}{ -\textbf{Ship To} -\vspace{0.3cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{0.3cm} - -<%if shiptocontact%> -Attn: <%shiptocontact%> -\vspace{0.3cm} -<%end shiptocontact%> - -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> - -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> - -<%shiptoemail%> -} -\hfill - -\vspace{1cm} - -\textbf{ORDEM DE COMPRA} \parbox{0.3cm}{\hfill} \textbf{O R D E R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%orddate%> \\ -<%if reqdate%> - \textbf{Requerido por} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Número} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} & - \textbf{Unid.} & \textbf{Preço} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> em <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Preços em \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} - - diff --git a/sql-ledger/templates/Brazilian_Portuguese-receipt.tex b/sql-ledger/templates/Brazilian_Portuguese-receipt.tex deleted file mode 100644 index ea62b00..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.8cm} - -<%company%> - -\vspace{0.5cm} - -<%name%> \hfill <%datepaid%> \hfill <%source%> - -\vspace{0.5cm} -\begin{tabularx}{\textwidth}{lXrr@{}} -\textbf{Número da Fatura} & \textbf{Data da Fatura} - & \textbf{Prazo} & \textbf{Aplicação} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> -\end{tabularx} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_order.html b/sql-ledger/templates/Brazilian_Portuguese-sales_order.html deleted file mode 100644 index 480dc63..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-sales_order.html +++ /dev/null @@ -1,221 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> Telefone: - <%tel%> - <br> - Fax: - <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>ORDEM DE VENDA</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Data</th> - <td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Requerido por</th> - <td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Número</th> - <td> </td><td><%ordnumber%></td></tr> - </table></tr> - - <tr> - <td> </td> - </tr> - </table></td> - </table> - - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color="ffffff">Para:</font></th> - <th align=left><font color="ffffff">Transportar para:</font></th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Número</font></th> - <th align=left><font color=ffffff>Descrição</font></th> - <th><font color=ffffff>Quant.</font></th> - <th> </th> - <th><font color=ffffff>Preço</font></th> - <th><font color=ffffff>Disc.</font></th> - <th><font color="ffffff">Total</font></th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> - -<%if not taxincluded%> - <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right> - <%taxdescription%> - em - <%taxbase%> - @ - <%taxrate%> - %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=5><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Faturar para<b> - <%terms%> - </b> dias</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> - </tr> -<%if taxincluded%> - <tr> - <td colspan=3>Impostos inclusos do total</td> - </tr> -<%end taxincluded%> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Obs.:</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> Preços em<b> - <%currency%> - </b><br> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> </font> </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - - - - - - - -</body> -</html> - diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex b/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex deleted file mode 100644 index 4267143..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefone & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{ORDEM DE VENDA} \parbox{0.3cm}{\hfill} \textbf{O R D E R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data} & <%orddate%> \\ - \textbf{Número} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} & - \textbf{Unid.} & \textbf{Preço} & \textbf{Disc.} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> em <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Preços em \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Brazilian_Portuguese-statement.html b/sql-ledger/templates/Brazilian_Portuguese-statement.html deleted file mode 100644 index 963f658..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-statement.html +++ /dev/null @@ -1,125 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3> - <h4>RELATÓRIO</h4> - </th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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>Número da Fatura</th> - <th width=15%>Data</th> - <th width=15%>Prazo</th> - <th width=10%>Atual</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <td> </td> - <td> </td> - <td> </td> - <th align=right><%c0total%></table></td> - <th align=right><%c30total%> - <th align=right><%c60total%> - <th align=right><%c90total%> - </tr> - </table> - - - <tr height=10></tr> - <tr> - <td> </td> - <td align=right> - <table width=50%> - <tr> - <th>Total</th> - <th align=right><%total%></th> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - <tr> - <td> </td> - - <td>Porfavor pagar com<b> - <%company%> - </b>. </td> - </tr> - <tr height=20></tr> - - diff --git a/sql-ledger/templates/Brazilian_Portuguese-statement.tex b/sql-ledger/templates/Brazilian_Portuguese-statement.tex deleted file mode 100644 index fbc5b03..0000000 --- a/sql-ledger/templates/Brazilian_Portuguese-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> - -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> - -<%email%> -} -\hfill - -\vspace{1cm} - -\textbf{RELATÓRIO} \hfill - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Número da Fatura \#} & \textbf{Data} & \textbf{Prazo} & - \textbf{Atual} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Totais} & <%total%> -\end{tabularx} - -\vfill - -Favor pagar com <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Danish-balance_sheet.html b/sql-ledger/templates/Danish-balance_sheet.html deleted file mode 100644 index 61929ed..0000000 --- a/sql-ledger/templates/Danish-balance_sheet.html +++ /dev/null @@ -1,96 +0,0 @@ -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>STATUS -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>AKTIVER<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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>SAMLEDE AKTIVER</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=4>PASSIVER<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>Samlet gæld</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>KAPITAL<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>Samlet egenkapital</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>SAMLET GÆLD OG EGENKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> -</table> diff --git a/sql-ledger/templates/Danish-check.tex b/sql-ledger/templates/Danish-check.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Danish-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Danish-income_statement.html b/sql-ledger/templates/Danish-income_statement.html deleted file mode 100644 index c065297..0000000 --- a/sql-ledger/templates/Danish-income_statement.html +++ /dev/null @@ -1,73 +0,0 @@ -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>DRIFTSREGNSKAB -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>INDTÆGTER<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>Samlede indtægter</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>UDGIFTER<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>Samlede udgifter</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>RESULTAT</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> diff --git a/sql-ledger/templates/Danish-invoice.html b/sql-ledger/templates/Danish-invoice.html deleted file mode 100644 index d150a84..0000000 --- a/sql-ledger/templates/Danish-invoice.html +++ /dev/null @@ -1,273 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tlf.: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>F A K T U R A</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Fakturadato</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Betalingsdato</th><td width=10> </td><td><%duedate%></td> - </tr> - - <tr> - <th align=right>Fakturanummer</th><td> </td><td><%invnumber%></td></tr> - </tr> - -<!-- - <tr> - <th align=right>Ekspederet af:</th><td> </td><td><%username%></td> - </tr> ---> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Faktureringsadresse:</th> - <%if shiptoname%> - <th align=left><font color=ffffff>Leveringsadresse:</th> - <%end shiptoname%> - </tr> - -<!-- - other variables which can be use: - contact, shiptocontact, shiptophone, shiptofax ---> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <%if shiptoname%> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - <%end shiptoname%> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Varenummer</th> - <th align=left><font color=ffffff>Beskrivelse</th> - <th><font color=ffffff>Antal</th> - <th> </th> - <th><font color=ffffff>Pris</th> - <th><font color=ffffff>Rabat</th> - <th><font color=ffffff>Beløb</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -you can also use netprice instead of sellprice if you -don't want to show the discount -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> på <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Allerede betalt</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Betalingsfrist <b><%terms%></b> dage</td> - <th colspan=2 align=right>At betale</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemærkninger</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - Alle priser i <b><%currency%></b>. - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <th colspan=7> - <br>Tak for handelen! - </th> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes - 1.5% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb - er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr. - Et returnummer skal tildeles af <%company%> før varer returneres. - Returvarer skal forsendes forudbetalt og forsvarligt forsikret. - <%company%> kan ikke drages til ansvar for skade under transport. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<%foreach tax%> - <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> noteret som <%taxnumber%></th> - </tr> -<%end tax%> - -<%if taxincluded%> - <tr> - <th colspan=7 align=left><font size=-2>Alle beløb er inklusive moms.</th> - </tr> -<%end taxincluded%> - -<!-- business number - <tr> - <th colspan=7 align=left><font size=-2>CVR-nummer: <%businessnumber%></font></th> - </tr> ---> - -<!-- banking information - <tr> - <th colspan=7 align=left>Bank-oplysninger: - <br>Bank - <br>Banknummer - <br>Kontonummer - </td> - </tr> ---> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Danish-invoice.tex b/sql-ledger/templates/Danish-invoice.tex deleted file mode 100644 index 6c3fa8b..0000000 --- a/sql-ledger/templates/Danish-invoice.tex +++ /dev/null @@ -1,152 +0,0 @@ -\documentclass[a4paper,twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[danish]{babel} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\ - & overført fra side <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{F A K T U R A} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ - \textbf{Kunde} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> på <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Betalt} & - <%paid%> \\ -<%end paid%> - \hline - \textbf{At betale} & \textbf{<%total%>} \\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle priser i \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Tak for handelen!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes -1.5\% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb -er betalt. Returnerede varer modregnes 10\% i ekspeditionsgebyr. -Et returnummer skal tildeles af <%company%> før varer returneres. -Returvarer skal forsendes forudbetalt og forsvarligt forsikret. -<%company%> kan ikke drages til ansvar for skade under transport.} - -\end{document} diff --git a/sql-ledger/templates/Danish-packing_list.html b/sql-ledger/templates/Danish-packing_list.html deleted file mode 100644 index 76e02b4..0000000 --- a/sql-ledger/templates/Danish-packing_list.html +++ /dev/null @@ -1,145 +0,0 @@ -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>F Ø L G E S E D D E L</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Dato</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Leveringsadresse:</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Att.: <%shiptocontact%> -<%end shiptocontact%> - - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Varenummer</th> - <th align=left><font color=ffffff>Beskrivelse</th> - <th><font color=ffffff>Antal</th> - <th> </th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemærkninger</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Returnerede varer modregnes 10% i ekspeditionsgebyr. - Et returnummer skal tildeles af <%company%> før varer returneres. - Returvarer skal forsendes forudbetalt og forsvarligt forsikret. - <%company%> kan ikke drages til ansvar for skade under transport. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> diff --git a/sql-ledger/templates/Danish-packing_list.tex b/sql-ledger/templates/Danish-packing_list.tex deleted file mode 100644 index 0d6bfc4..0000000 --- a/sql-ledger/templates/Danish-packing_list.tex +++ /dev/null @@ -1,123 +0,0 @@ -\documentclass[a4paper,twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[danish]{babel} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Varelager} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{F Ø L G E S E D D E L} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ - \textbf{Kunde} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Varelager} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Tak for ordren!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Returnerede varer modregnes 10\% i ekspeditionsgebyr. -Et returnummer skal tildeles af <%company%> før varer returneres. -Returvarer skal forsendes forudbetalt og forsvarligt forsikret. -<%company%> kan ikke drages til ansvar for skade under transport.} - -\end{document} diff --git a/sql-ledger/templates/Danish-purchase_order.html b/sql-ledger/templates/Danish-purchase_order.html deleted file mode 100644 index f9f21cd..0000000 --- a/sql-ledger/templates/Danish-purchase_order.html +++ /dev/null @@ -1,191 +0,0 @@ -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tlf.: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>I N D K Ø B S O R D R E</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Ordredato</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Ønsket leveringsdato</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Ordrenummer</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Til:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Varenummer</th> - <th align=left><font color=ffffff>Beskrivelse</th> - <th><font color=ffffff>Antal</th> - <th> </th> - <th><font color=ffffff>Pris</th> - <th><font color=ffffff>Beløb</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Betalingsfrist <b><%terms%></b> dage</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemærkninger</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Alle priser i <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Betalingsfrist <%terms%> dage fra fakturadato. Betaling herefter påregnes - 1.5% per påbegyndt måned startende <%duedate%> og indtil det fulde beløb - er betalt. Returnerede varer modregnes 10% i ekspeditionsgebyr. - Et returnummer skal tildeles af <%company%> før varer returneres. - Returvarer skal forsendes forudbetalt og forsvarligt forsikret. - <%company%> kan ikke drages til ansvar for skade under transport. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> diff --git a/sql-ledger/templates/Danish-purchase_order.tex b/sql-ledger/templates/Danish-purchase_order.tex deleted file mode 100644 index bdd7416..0000000 --- a/sql-ledger/templates/Danish-purchase_order.tex +++ /dev/null @@ -1,143 +0,0 @@ -\documentclass[a4paper,twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[danish]{babel} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Pris} & \textbf{Beløb} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{I N D K Ø B S O R D R E} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%orddate%> \\ -<%if reqdate%> - \textbf{Ønsket leveringsdato} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Ordrenummer} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Varenummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Pris} & \textbf{Beløb} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle priser i \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} diff --git a/sql-ledger/templates/Danish-receipt.tex b/sql-ledger/templates/Danish-receipt.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Danish-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Danish-sales_order.html b/sql-ledger/templates/Danish-sales_order.html deleted file mode 100644 index f256522..0000000 --- a/sql-ledger/templates/Danish-sales_order.html +++ /dev/null @@ -1,210 +0,0 @@ -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tlf.: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>S A L G S O R D R E</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Ordredato</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Ønsket leveringsdato</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Ordrenummer</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Til:</th> - <th align=left><font color=ffffff>Leveringsadresse:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Varenummer</th> - <th align=left><font color=ffffff>Beskrivelse</th> - <th><font color=ffffff>Antal</th> - <th> </th> - <th><font color=ffffff>Pris</th> - <th><font color=ffffff>Rabat</th> - <th><font color=ffffff>Beløb</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> - -<%if not taxincluded%> - <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> på <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=5><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Betalingsfrist netto <b><%terms%></b> dage</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> - </tr> -<%if taxincluded%> - <tr> - <td colspan=3>Total er inklusive moms</td> - </tr> -<%end taxincluded%> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemærkninger</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Alle priser i <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Et gebyr for annullering af ordre på 10% vil blive tillagt alle specialtilbud - og produkter som er blevet tilpasset, forbedret eller opgraderet på kundens anmodning.<br> - Varer som ikke kan returneres er anført ovenfor. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> diff --git a/sql-ledger/templates/Danish-sales_order.tex b/sql-ledger/templates/Danish-sales_order.tex deleted file mode 100644 index d7307cd..0000000 --- a/sql-ledger/templates/Danish-sales_order.tex +++ /dev/null @@ -1,144 +0,0 @@ -\documentclass[a4paper,twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage[T1]{fontenc} -\usepackage[danish]{babel} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\ - & Overført fra side <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{S A L G S O R D R E} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Dato} & <%orddate%> \\ - \textbf{Ordrenummer} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Varenummer} & \textbf{Beskrivelse} & \textbf{Antal} & - \textbf{Enhed} & \textbf{Pris} & \textbf{Rabat} & \textbf{Beløb} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> på <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle priser i \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Et gebyr for annullering af ordre på 10\% vil blive tillagt alle specialtilbud -og produkter som er blevet tilpasset, forbedret eller opgraderet på kundens anmodning. -Varer som ikke kan returneres er anført ovenfor. -} - -\end{document} diff --git a/sql-ledger/templates/Danish-statement.html b/sql-ledger/templates/Danish-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/Danish-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Danish-statement.tex b/sql-ledger/templates/Danish-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/Danish-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Default-balance_sheet.html b/sql-ledger/templates/Default-balance_sheet.html deleted file mode 100644 index 478caab..0000000 --- a/sql-ledger/templates/Default-balance_sheet.html +++ /dev/null @@ -1,100 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BALANCE SHEET -<br><%period%> -</h2> - -<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> - - - diff --git a/sql-ledger/templates/Default-check.tex b/sql-ledger/templates/Default-check.tex deleted file mode 100644 index a1ab201..0000000 --- a/sql-ledger/templates/Default-check.tex +++ /dev/null @@ -1,77 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{1.8cm} - -<%notes%> - -\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} - -\vfill - -\end{document} - - - diff --git a/sql-ledger/templates/Default-income_statement.html b/sql-ledger/templates/Default-income_statement.html deleted file mode 100644 index e9d6a40..0000000 --- a/sql-ledger/templates/Default-income_statement.html +++ /dev/null @@ -1,82 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>INCOME STATEMENT -<br><%period%> -</h2> - - -<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> - - - - - - - - diff --git a/sql-ledger/templates/Default-invoice.html b/sql-ledger/templates/Default-invoice.html deleted file mode 100644 index 0ba06cc..0000000 --- a/sql-ledger/templates/Default-invoice.html +++ /dev/null @@ -1,309 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telephone: <%tel%> - <br>Facsimile: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>I N V O I C E</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Invoice Date</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Due Date</th><td width=10> </td><td><%duedate%></td> - </tr> - - <tr> - <th align=right>Number</th><td> </td><td><%invnumber%></td></tr> - </tr> - -<!-- - <tr> - <th align=right>Clerk:</th><td> </td><td><%employee%></td> - </tr> ---> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>To:</th> - <th align=left><font color=ffffff>Ship To:</th> - </tr> - -<!-- - other variables which can be use: - contact, shiptocontact, shiptophone, shiptofax ---> - - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</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> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -you can also use netprice instead of sellprice if you -don't want to show the discount -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Paid</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Terms Net <b><%terms%></b> days</td> - <th colspan=2 align=right>Outstanding</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <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 - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<%if paid%> -<tr> - <td colspan=7> - <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%> - -<%foreach payment%> - <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> - </tr> -<%end payment%> - -<%if paid%> - </table> - </td> -</tr> - -<tr> - <td> </td> -</tr> -<%end paid%> - -<tr> - <th colspan=7> - <br>Thank you for your valued business! - </th> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<%foreach tax%> - <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> - </tr> -<%end tax%> - -<%if taxincluded%> - <tr> - <th colspan=7 align=left><font size=-2>Taxes shown are included in price.</th> - </tr> -<%end taxincluded%> - -<!-- business number - <tr> - <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th> - </tr> ---> - -<!-- banking information - <tr> - <th colspan=7 align=left>Banking Information: - <br>Bank - <br>Transit No. - <br>Account No. - </td> - </tr> ---> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Default-invoice.tex b/sql-ledger/templates/Default-invoice.tex deleted file mode 100644 index 58a340d..0000000 --- a/sql-ledger/templates/Default-invoice.tex +++ /dev/null @@ -1,231 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{0.5cm} - -\parbox[t]{1cm}{\hfill} - \parbox[t]{10.5cm}{ - \textbf{To} - \vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{0.3cm} - -%<%if contact%> -%Attn: <%contact%> -%\vspace{0.3cm} -%<%end contact%> -\vspace{0.5cm} - -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> - -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> - -<%email%> -} -\parbox[t]{7.5cm}{ -\textbf{Ship To} -\vspace{0.5cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{0.3cm} - -\vspace{0.3cm} - -<%if shiptocontact%> -Attn: <%shiptocontact%> -\vspace{0.3cm} -<%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{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Order} & <%ordnumber%> \\ - \textbf{Clerk} & <%employee%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Paid} & - <%paid%> \\ -<%end paid%> - \hline - \textbf{Balance Owing} & \textbf{<%total%>} \\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - All prices in \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill - -<%if paid%> -\begin{tabularx}{10cm}{@{}lXlr@{}} - \textbf{Payments} & & & \\ - \hline - \textbf{Date} & \textbf{Account} & \textbf{Source} & \textbf{Amount} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> -\end{tabularx} -<%end paid%> - -\vspace{1cm} - -\centerline{\textbf{Thank You for your valued business!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue -amounts will acrue at the rate of 1.5\% per month starting <%duedate%> -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.} - -\end{document} - - - diff --git a/sql-ledger/templates/Default-packing_list.html b/sql-ledger/templates/Default-packing_list.html deleted file mode 100644 index 07ba8d6..0000000 --- a/sql-ledger/templates/Default-packing_list.html +++ /dev/null @@ -1,148 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>P A C K I N G L I S T</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Ship To:</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Attn: <%shiptocontact%> -<%end shiptocontact%> - - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <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> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Default-packing_list.tex b/sql-ledger/templates/Default-packing_list.tex deleted file mode 100644 index fce1782..0000000 --- a/sql-ledger/templates/Default-packing_list.tex +++ /dev/null @@ -1,122 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Bin} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Customer} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Thank You for your valued business!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -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.} - -\end{document} - diff --git a/sql-ledger/templates/Default-purchase_order.html b/sql-ledger/templates/Default-purchase_order.html deleted file mode 100644 index 7df399e..0000000 --- a/sql-ledger/templates/Default-purchase_order.html +++ /dev/null @@ -1,224 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telephone: <%tel%> - <br>Facsimile: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>P U R C H A S E O R D E R</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Order Date</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <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><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - -<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><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - -<br> -<%if shiptocontact%> -<br>Attn: <%shiptocontact%> -<%end shiptocontact%> -<%if shiptophone%> -<br>Tel: <%shiptophone%> -<%end shiptophone%> -<%if shiptofax%> -<br>Fax: <%shiptofax%> -<%end shiptofax%> - - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</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>Amount</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Terms Net <b><%terms%></b> days</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> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - All prices in <b><%currency%></b> Funds - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Default-purchase_order.tex b/sql-ledger/templates/Default-purchase_order.tex deleted file mode 100644 index 4e1deb2..0000000 --- a/sql-ledger/templates/Default-purchase_order.tex +++ /dev/null @@ -1,198 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{0.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ -\textbf{To} -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{0.3cm} - -<%if contact%> -Attn: <%contact%> -\vspace{0.3cm} -<%end contact%> - -<%if vendorphone%> -Tel: <%vendorphone%> -<%end vendorphone%> - -<%if vendorfax%> -Fax: <%vendorfax%> -<%end vendorfax%> - -<%email%> -} -\parbox[t]{7.5cm}{ -\textbf{Ship To} -\vspace{0.3cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{0.3cm} - -<%if shiptocontact%> -Attn: <%shiptocontact%> -\vspace{0.3cm} -<%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 -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%orddate%> \\ -<%if reqdate%> - \textbf{Required by} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Number} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - All prices in \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} - - diff --git a/sql-ledger/templates/Default-receipt.tex b/sql-ledger/templates/Default-receipt.tex deleted file mode 100644 index 24427b3..0000000 --- a/sql-ledger/templates/Default-receipt.tex +++ /dev/null @@ -1,74 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{1.8cm} - -<%notes%> - -\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} - -\vfill - -\end{document} diff --git a/sql-ledger/templates/Default-sales_order.html b/sql-ledger/templates/Default-sales_order.html deleted file mode 100644 index c09e13a..0000000 --- a/sql-ledger/templates/Default-sales_order.html +++ /dev/null @@ -1,212 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telephone: <%tel%> - <br>Facsimile: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>S A L E S O R D E R</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Order Date</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>To:</th> - <th align=left><font color=ffffff>Ship To:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</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> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> - -<%if not taxincluded%> - <th colspan=5 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=5><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Terms Net <b><%terms%></b> days</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> - </tr> -<%if taxincluded%> - <tr> - <td colspan=3>Tax is included in Total</td> - </tr> -<%end taxincluded%> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - All prices in <b><%currency%></b> Funds - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - A 10% order cancellation fee will be applied for any special order - products or products that have been customized, enhanced or - upgraded at customers request. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Default-sales_order.tex b/sql-ledger/templates/Default-sales_order.tex deleted file mode 100644 index d5ac40c..0000000 --- a/sql-ledger/templates/Default-sales_order.tex +++ /dev/null @@ -1,143 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%orddate%> \\ - \textbf{Number} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - All prices in \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -A 10\% order cancellation fee will be applied for any special order products or -products that have been customized, enhanced or upgraded at customers request. -Items which are non-returnable are indicated above. -} - -\end{document} - diff --git a/sql-ledger/templates/Default-statement.html b/sql-ledger/templates/Default-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/Default-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Default-statement.tex b/sql-ledger/templates/Default-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/Default-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Dutch-balance_sheet.html b/sql-ledger/templates/Dutch-balance_sheet.html deleted file mode 100644 index 16ede70..0000000 --- a/sql-ledger/templates/Dutch-balance_sheet.html +++ /dev/null @@ -1,104 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BALANS -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>ACTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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>Totaal Activa</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=4>PASSIVA<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>Totaal Passiva</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> -</tr> - -<tr> - <th align=left colspan=4>ONVERDEELD RESULTAAT<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>Totaal Opbrengst</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>TOTAAL PASSIVA & RESULTAAT</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> - - - - - - - diff --git a/sql-ledger/templates/Dutch-check.tex b/sql-ledger/templates/Dutch-check.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Dutch-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Dutch-income_statement.html b/sql-ledger/templates/Dutch-income_statement.html deleted file mode 100644 index ce4fd24..0000000 --- a/sql-ledger/templates/Dutch-income_statement.html +++ /dev/null @@ -1,83 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>INKOMSTEN OVERZICHT -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>INKOMSTEN<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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>Totaal Inkomsten</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=2>ONKOSTEN<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>Totaal Onkosten</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>WINST / (VERLIES)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> - - - - - - - - - diff --git a/sql-ledger/templates/Dutch-invoice.html b/sql-ledger/templates/Dutch-invoice.html deleted file mode 100644 index 9dc656c..0000000 --- a/sql-ledger/templates/Dutch-invoice.html +++ /dev/null @@ -1,239 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>F A C T U U R</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Factuurdatum</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Vervaldatum</th><td width=10> </td><td><%duedate%></td> - </tr> - - <tr> - <th align=right>Factuurnummer</th><td> </td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Factuuradres:</th> - <th align=left><font color=ffffff>Verzendadres:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>Regel</th> --> - <th align=left><font color=ffffff>Artikelnummer</th> - <th align=left><font color=ffffff>Omschrijving</th> - <th><font color=ffffff>Aantal</th> - <th> </th> - <th><font color=ffffff>Prijs</th> - <th><font color=ffffff>Korting</th> - <th><font color=ffffff>Totaal</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -you can also use netprice instead of sellprice if you -don't want to show the discount -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> - <th colspan=5 align=right>Subtotaal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right>BTW <%taxrate%>%</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Betaald</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Betalen binnen <b><%terms%></b> dagen</td> - <th colspan=2 align=right>Openstaand</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Opmerkingen</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Alle prijzen in <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <th colspan=7> - Gaarne u betaling overmaken op onderstaande giro- of bankrekening - <br>ten name van <%company%> - <br>onder vermelding van het factuurnummer. - </th> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Op al onze aanbiedingen/leveringen zijn, met uitsluiting van eventuele inkoop- of andere voorwaarden van de opdrachtgever, -<br>de Algemene Voorwaarden van <%company%> van toepassing. -<br>Deze Algemene Voorwaarden zijn gedeponeerd bij de Kamer van Koophandel te ........ - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - - <tr> - <th colspan=7 align=left><font size=-2>BTW nummer:<%taxnumber%></th> - </tr> - - <tr> - <th colspan=7 align=left><font size=-2>Kamer van Koophandel te ...... nummer:<%businessnumber%></th> - </tr> - - <tr> - <th colspan=7 align=left><font size=-2>Girorekening:.........</th> - </tr> - - <tr> - <th colspan=7 align=left><font size=-2>Bankrekening:..........</th> - </tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Dutch-invoice.tex b/sql-ledger/templates/Dutch-invoice.tex deleted file mode 100644 index c19d8e2..0000000 --- a/sql-ledger/templates/Dutch-invoice.tex +++ /dev/null @@ -1,138 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{F A K T U U R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Faktuurnummer} & <%invnumber%> \\ - \textbf{Klantnummer} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Artikelnr} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Totaal} & \textbf{<%total%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle prijzen in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Dank voor uw gewaardeerde klandizie!}} - -\end{document} - diff --git a/sql-ledger/templates/Dutch-packing_list.html b/sql-ledger/templates/Dutch-packing_list.html deleted file mode 100644 index aea6ba7..0000000 --- a/sql-ledger/templates/Dutch-packing_list.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>P A K B O N</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Factuurdatum</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Factuurnummer</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Verzendadres:</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Artikelnummer</th> - <th align=left><font color=ffffff>Omschrijving</th> - <th><font color=ffffff>Aantal</th> - <th> </th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Opmerkingen</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - - diff --git a/sql-ledger/templates/Dutch-packing_list.tex b/sql-ledger/templates/Dutch-packing_list.tex deleted file mode 100644 index 84289bc..0000000 --- a/sql-ledger/templates/Dutch-packing_list.tex +++ /dev/null @@ -1,114 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefoon & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Bin} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{P A K B O N} \parbox{0.3cm}{\hfill} \textbf{L I S T} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Faktuurnummer} & <%invnumber%> \\ - \textbf{Klantnummer} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Dank voor uw gewaardeerde klandizie!}} - -\end{document} - diff --git a/sql-ledger/templates/Dutch-purchase_order.html b/sql-ledger/templates/Dutch-purchase_order.html deleted file mode 100644 index 0cb58d7..0000000 --- a/sql-ledger/templates/Dutch-purchase_order.html +++ /dev/null @@ -1,186 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>I N K O O P B E S T E L L I N G</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Bestel Datum</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Lever datum</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Bestel nummer</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>To:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Nummer</th> - <th align=left><font color=ffffff>Omschrijving</th> - <th><font color=ffffff>Aantal</th> - <th> </th> - <th><font color=ffffff>Prijs</th> - <th><font color=ffffff>Bedrag</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Subtotaal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Betalings termijn <b><%terms%></b> dagen</td> - <th colspan=2 align=right>Totaal</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Alle prijzen in <b><%currency%></b>'s - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Dutch-purchase_order.tex b/sql-ledger/templates/Dutch-purchase_order.tex deleted file mode 100644 index c6c68d1..0000000 --- a/sql-ledger/templates/Dutch-purchase_order.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefoon & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Bestel Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Prijs} & \textbf{Bedrag} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{I N K O O P B E S T E L L I N G} \parbox{0.3cm}{\hfill} \textbf{O R D E R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Gewenste Leverdatum} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Bestel Nummer} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Prijs} & \textbf{Bedrag} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle prijzen in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\end{document} - diff --git a/sql-ledger/templates/Dutch-receipt.tex b/sql-ledger/templates/Dutch-receipt.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Dutch-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Dutch-sales_order.html b/sql-ledger/templates/Dutch-sales_order.html deleted file mode 100644 index 42b20a9..0000000 --- a/sql-ledger/templates/Dutch-sales_order.html +++ /dev/null @@ -1,208 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>V E R K O O P B E S T E L L I N G</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Bestel Datum</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Gewenste Leverdatum</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Bestel Nummer</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Aan:</th> - <th align=left><font color=ffffff>Verzenden aan:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Nummer</th> - <th align=left><font color=ffffff>Omschrijving</th> - <th><font color=ffffff>Aantal</th> - <th> </th> - <th><font color=ffffff>Prijs</th> - <th><font color=ffffff>Korting</th> - <th><font color=ffffff>Bedrag</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Totaal</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> - -<%if not taxincluded%> - <th colspan=5 align=right>Subtotaal</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> over <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=5><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Betalingstermijn <b><%terms%></b> dagen</td> - <th colspan=2 align=right>Totaal</th> - <th colspan=2 align=right><%ordtotal%></th> - </tr> -<%if taxincluded%> - <tr> - <td colspan=3>Totaal bedrag is inclusief BTW.</td> - </tr> -<%end taxincluded%> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Opmerkingen:</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Alle prijzen in <b><%currency%></b>'s - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Dutch-sales_order.tex b/sql-ledger/templates/Dutch-sales_order.tex deleted file mode 100644 index 79acb4d..0000000 --- a/sql-ledger/templates/Dutch-sales_order.tex +++ /dev/null @@ -1,134 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefoon & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\ - & Transport van <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{V E R K O O P} \parbox{0.3cm}{\hfill} \textbf{B E S T E L L I N G} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%orddate%> \\ - \textbf{Bestel Nummer} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Omschrijving} & \textbf{Aantal} & - \textbf{Eenheid} & \textbf{Prijs} & \textbf{Korting} & \textbf{Bedrag} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotaal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> over <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Totaal} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle prijzen in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\end{document} - diff --git a/sql-ledger/templates/Dutch-statement.html b/sql-ledger/templates/Dutch-statement.html deleted file mode 100644 index 599a2f5..0000000 --- a/sql-ledger/templates/Dutch-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>O P E N S T A A N D E F A C T U R E N</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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>Factuur #</th> - <th width=15%>Datum</th> - <th width=15%>Vervaldatum</th> - <th width=10%>Huidig</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Totaal Openstaand</th> - <th align=right><%total%></th> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - <tr> - <td> </td> - <td>Maak de betalingen over aan<b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Dutch-statement.tex b/sql-ledger/templates/Dutch-statement.tex deleted file mode 100644 index 470bb1b..0000000 --- a/sql-ledger/templates/Dutch-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Factuur \#} & \textbf{Datum} & \textbf{Vervaldatum} & - \textbf{Huidig} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> - -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> - -<%email%> -} -\hfill - -\vspace{1cm} - -\textbf{O P E N S T A A N D E F A C T U R E N} \hfill - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Factuur \#} & \textbf{Datum} & \textbf{Vervaldatum} & - \textbf{Huidig} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Totaal openstaand} & <%total%> -\end{tabularx} - -\vfill - -Maak U betalingen over aan <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Estonian-balance_sheet.html b/sql-ledger/templates/Estonian-balance_sheet.html deleted file mode 100644 index dcfa40b..0000000 --- a/sql-ledger/templates/Estonian-balance_sheet.html +++ /dev/null @@ -1,103 +0,0 @@ -<head> - <title>Bilanss</title> -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BILANSS -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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>AKTIVA KOKKU</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=4>PASSIVA<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>Passiva kokku</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> -</tr> - -<tr> - <th align=left colspan=4>AKTSIAKAPITAL<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>Aktsiakapital kokku</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>KOKKU PASSIVA JA AKTSIAKAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> -</table> - - - diff --git a/sql-ledger/templates/Estonian-check.tex b/sql-ledger/templates/Estonian-check.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Estonian-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Estonian-income_statement.html b/sql-ledger/templates/Estonian-income_statement.html deleted file mode 100644 index b0594ea..0000000 --- a/sql-ledger/templates/Estonian-income_statement.html +++ /dev/null @@ -1,84 +0,0 @@ -<head> - <title>Kasumiaruanne</title> -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>KASUMIARUANNE -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>TULUD<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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>Tulud kokku</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=2>KULUD<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>Kulud kokku</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>KASUM / (KAHJUM)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> - - - - - - - diff --git a/sql-ledger/templates/Estonian-invoice.html b/sql-ledger/templates/Estonian-invoice.html deleted file mode 100644 index 8660fb8..0000000 --- a/sql-ledger/templates/Estonian-invoice.html +++ /dev/null @@ -1,215 +0,0 @@ -<head> - <title>Arve</title> -</head> - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>A R V E</h4> - </th> - </tr> - - </table> - -<!-- other variables you can use include -tel, fax, signature, username, businessnumber --> - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Kuupäev</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Arve Nr.</th><td></td><td><%invnumber%></td></tr> - </tr> - - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Arve aadress:</th> - <th align=left><font color=ffffff>Tarneaadress:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Kood</th> - <th align=left><font color=ffffff>Selgitus</th> - <th colspan=2><font color=ffffff>Kogus</th> - <th><font color=ffffff>Hind</th> - <th><font color=ffffff>Alh%</th> - <th><font color=ffffff>Kogus</th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -you can also use netprice instead of sellprice if you -don't want to show the discount -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> - <th colspan=5 align=right>Summa</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Makstud</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Maksetingimus <b><%terms%></b> päeva</td> - <th colspan=2 align=right>Lõppsumma</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> - </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Märkused</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Kõik hinnad: <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td colspan=7 align=right>Summa sõnadega: <%sum_as_words_ee%> </td></tr> - -<tr><td> </td></tr> - -<tr> - <th colspan=7> - Palun märkige pangatsheki saajaks <%company%> - <br>Täname meeldiva koostöö eest! - </th> -</tr> - - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Maksetähtaeg <%terms%> päeva alates arve kuupäevast. - Intress tasumata summadelt on 1.5% kuus kuni arve täeliku tasumiseni. - Tagastatud toodetele kehtib 10% tagastamistasu. Enne toodete tagastamist on vajalik -<%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, -<%company%> ei vastuta transpordi käigus tekkinud kahjude eest. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<%foreach tax%> -<tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> -</tr> -<%end tax%> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Estonian-invoice.tex b/sql-ledger/templates/Estonian-invoice.tex deleted file mode 100644 index bfa2f7a..0000000 --- a/sql-ledger/templates/Estonian-invoice.tex +++ /dev/null @@ -1,147 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Faks & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Vahesumma} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Hind} & \textbf{Alh} & \textbf{Kokku} \\ - & edasi kantud lehelt <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{A R V E} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Kuupäev} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Klient} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Hind} & \textbf{Alh} & \textbf{Kokku} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Vahesumma} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Summa} & \textbf{<%total%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Kõik hinnad \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Täname meeldiva koostöö eest!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Maksetähtaeg <%terms%> päeva alates arve kuupäevast. - Intress tasumata summadelt on 1.5\% kuus kuni arve täeliku tasumiseni. - Tagastatud toodetele kehtib 10\% tagastamistasu. Enne toodete tagastamist on vajalik <%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.} - -\end{document} - - - diff --git a/sql-ledger/templates/Estonian-packing_list.html b/sql-ledger/templates/Estonian-packing_list.html deleted file mode 100644 index 0006307..0000000 --- a/sql-ledger/templates/Estonian-packing_list.html +++ /dev/null @@ -1,147 +0,0 @@ -<head> - <title>Saateleht</title> -</head> - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>S A A T E L E H T</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Kuupäev</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Tarneaadress:</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Kood</th> - <th align=left><font color=ffffff>Selgitus</th> - <th><font color=ffffff>Kogus</th> - <th> </th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Märkused</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Tagastatud toodetele kehtib 10% tagastamistasu. Enne toodete tagastamist on vajalik -<%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, - <%company%> ei vastuta transpordi käigus tekkinud kahjude eest. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - - - - - - - diff --git a/sql-ledger/templates/Estonian-packing_list.tex b/sql-ledger/templates/Estonian-packing_list.tex deleted file mode 100644 index 06c763a..0000000 --- a/sql-ledger/templates/Estonian-packing_list.tex +++ /dev/null @@ -1,119 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Faks & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Bin} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{S A A T E L E H T} \parbox{0.3cm}{\hfill} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Customer} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Kood} & \textbf{Selgitus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Täname meeldiva koostöö eest!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny - Tagastatud toodetele kehtib 10\% tagastamistasu. Enne toodete tagastamist on vajalik <%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.} - -\end{document} - diff --git a/sql-ledger/templates/Estonian-purchase_order.html b/sql-ledger/templates/Estonian-purchase_order.html deleted file mode 100644 index 7ee0073..0000000 --- a/sql-ledger/templates/Estonian-purchase_order.html +++ /dev/null @@ -1,195 +0,0 @@ -<head>
- <title>Ostutellimus</title>
-</head>
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10> </td>
- <td>
-
- <table width=100%>
- <tr>
- <td>
- <h4>
- <%company%>
- <br><%address%>
- </h4>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>O S T U T E L L I M U S</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Tellimuse Kpv</th><td width=10> </td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr>
- </tr>
-
- <tr>
- <td> </td>
- </tr>
- </td>
- </table>
- </tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>To:</th>
- </tr>
-
- <tr>
- <td><%name%>
- <br><%addr1%>
- <br><%addr2%>
- <br><%addr3%>
- <br><%addr4%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td> </td>
- </tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr bgcolor=000000>
-<!-- <th align=right><font color=ffffff>No.</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>Amount</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-adjust the colspan if you include this to shift subtotal one to the right
--->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=6><hr noshade></td>
- </tr>
-
- <tr>
- <th colspan=4 align=right>Vahesumma</th>
- <td colspan=2 align=right><%subtotal%></td>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=2> </td>
- <td colspan=4><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=2>Maksetähtaeg <b><%terms%></b> tööpäeva</td>
- <th colspan=2 align=right>Kokku</th>
- <th colspan=2 align=right><%total%></th>
- </tr>
-
- <tr>
- <td> </td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
-<%if notes%>
- <td>Märkused</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
- Kõik hinnad: <b><%currency%></b>
- <br><%shippingpoint%>
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td> </td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td><font size=-3>
- Maksetähtaeg <%terms%> päeva alates arve kuupäevast.
- Intress tasumata summadelt on 1.5% kuus kuni arve täeliku tasumiseni.
- Tagastatud toodetele kehtib 10% tagastamistasu. Enne toodete tagastamist on vajalik
-<%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud,
-<%company%> ei vastuta transpordi käigus tekkinud kahjude eest.
- </font>
- </td>
- <td width=150>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Estonian-purchase_order.tex b/sql-ledger/templates/Estonian-purchase_order.tex deleted file mode 100644 index ee1d778..0000000 --- a/sql-ledger/templates/Estonian-purchase_order.tex +++ /dev/null @@ -1,143 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Faks & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Vahesumma} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Hind} & \textbf{Kogus} \\ - & üle kantud lehelt <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{O S T U T E L L I M U S} \parbox{0.3cm}{\hfill} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%orddate%> \\ -<%if reqdate%> - \textbf{Required by} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Number} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Hind} & \textbf{Kokku} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Vahesumma} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Summa} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Kõik hinnad \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} - - diff --git a/sql-ledger/templates/Estonian-receipt.tex b/sql-ledger/templates/Estonian-receipt.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Estonian-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Estonian-sales_order.html b/sql-ledger/templates/Estonian-sales_order.html deleted file mode 100644 index d608b73..0000000 --- a/sql-ledger/templates/Estonian-sales_order.html +++ /dev/null @@ -1,214 +0,0 @@ -<head>
- <title>Müügitellimus</title>
-</head>
-
-<body bgcolor=ffffff>
-
-<table width=100%>
-<tr valign=bottom>
- <td width=10> </td>
- <td>
-
- <table width=100%>
- <tr>
- <td>
- <h4>
- <%company%>
- <br><%address%>
- </h4>
- </td>
-
- <td align=right>
- <h4>
- Tel: <%tel%>
- <br>Fax: <%fax%>
- </h4>
- </td>
- </tr>
-
- <tr>
- <th colspan=3>
- <h4>M Ü Ü G I T E L L I M U S</h4>
- </th>
- </tr>
-
- </table>
-
-
- <table width=100% callspacing=0 cellpadding=0>
-
- <tr>
- <td align=right>
- <table>
- <tr>
- <th align=right>Tellimuse kpv</th><td width=10> </td><td><%orddate%></td>
- </tr>
-
- <tr>
- <th align=right>Tarnekuupäev</th><td width=10> </td><td><%reqdate%></td>
- </tr>
-
- <tr>
- <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr>
- </tr>
-
- <tr>
- <td> </td>
- </tr>
- </td>
- </table>
- </tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr bgcolor=000000>
- <th align=left><font color=ffffff>Tellija aadress:</th>
- <th align=left><font color=ffffff>Tarneaadress:</th>
- </tr>
-
- <tr>
- <td><%name%>
- <br><%addr1%>
- <br><%addr2%>
- <br><%addr3%>
- <br><%addr4%>
- </td>
-
- <td><%shiptoname%>
- <br><%shiptoaddr1%>
- <br><%shiptoaddr2%>
- <br><%shiptoaddr3%>
- <br><%shiptoaddr4%>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td> </td>
- </tr>
-
- <tr>
- <td>
- <table width=100%>
- <tr bgcolor=000000>
-<!-- <th align=right><font color=ffffff>Nr.</th> -->
- <th align=left><font color=ffffff>Kood</th>
- <th align=left><font color=ffffff>Selgitus</th>
- <th><font color=ffffff>Kogus</th>
- <th> </th>
- <th><font color=ffffff>Hind</th>
- <th><font color=ffffff>Allh%</th>
- <th><font color=ffffff>Summa</th>
- </tr>
-
-<%foreach number%>
- <tr valign=top>
-<!-- <td align=right><%runningnumber%>.</td>
-adjust the colspan if you include this to shift subtotal one to the right
--->
- <td><%number%></td>
- <td><%description%></td>
- <td align=right><%qty%></td>
- <td><%unit%></td>
- <td align=right><%sellprice%></td>
- <td align=right><%discount%></td>
- <td align=right><%linetotal%></td>
- </tr>
-<%end number%>
-
- <tr>
- <td colspan=7><hr noshade></td>
- </tr>
-
- <tr>
-<%if taxincluded%>
- <th colspan=5 align=right>Kokku</th>
- <td colspan=2 align=right><%ordtotal%></td>
-<%end taxincluded%>
-
-<%if not taxincluded%>
- <th colspan=5 align=right>Vahesumma</th>
- <td colspan=2 align=right><%subtotal%></td>
-<%end taxincluded%>
- </tr>
-
-<%foreach tax%>
- <tr>
- <th colspan=5 align=right><%taxdescription%> <%taxbase%> @ <%taxrate%> %</th>
- <td colspan=2 align=right><%tax%></td>
- </tr>
-<%end tax%>
-
- <tr>
- <td colspan=2> </td>
- <td colspan=5><hr noshade></td>
- </tr>
-
- <tr>
- <td colspan=3>Maksetähtaeg <b><%terms%></b> päeva</td>
- <th colspan=2 align=right>Kokku</th>
- <th colspan=2 align=right><%ordtotal%></th>
- </tr>
-<%if taxincluded%>
- <tr>
- <td colspan=3>Summa sisaldab käibemaksu</td>
- </tr>
-<%end taxincluded%>
-
- <tr>
- <td> </td>
- </tr>
-
- </table>
- </td>
- </tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
-<%if notes%>
- <td>Märkused</td>
- <td><pre><%notes%></pre></td>
-<%end notes%>
- <td align=right>
- Kõik hinnad <b><%currency%></b>
- <br><%shippingpoint%>
- </td>
- </tr>
-
- </table>
- </td>
-</tr>
-
-<tr><td> </td></tr>
-
-<tr>
- <td>
- <table width=100%>
- <tr valign=top>
- <td><font size=-3>
- Eritellimusel tehtud toodetel ning toodetel mida on kliendi soovil
- kohandatud või täiendatud on tellimuse katkestamise tasu 10% tellimuse hinnast.
- </font>
- </td>
- <td width=150>
- X <hr noshade>
- </td>
- </tr>
- </table>
- </td>
-</tr>
-
-</table>
-
-</td>
-</tr>
-</table>
-
-</body>
-</html>
-
diff --git a/sql-ledger/templates/Estonian-sales_order.tex b/sql-ledger/templates/Estonian-sales_order.tex deleted file mode 100644 index beb32c5..0000000 --- a/sql-ledger/templates/Estonian-sales_order.tex +++ /dev/null @@ -1,141 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Faks & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Vahesumma} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Hind} & \textbf{Kirjeldus} & \textbf{Kokku} \\ - & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{M Ü Ü G I T E L L I M U S} \parbox{0.3cm}{\hfill} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Kuupäev} & <%orddate%> \\ - \textbf{Number} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Kood} & \textbf{Kirjeldus} & \textbf{Kogus} & - \textbf{Ühik} & \textbf{Hind} & \textbf{Alh} & \textbf{Kokku} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Vahesumma} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Summa} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Kõik hinnad \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny - Tagastatud toodetele kehtib 10\% tagastamistasu. Enne toodete tagastamist on vajalik <%company%> nõusolek. Tagastavad tooted peavad olema makstud ning kindlustatud, <%company%> ei vastuta transpordi käigus tekkinud kahjude eest.} -} - -\end{document} - diff --git a/sql-ledger/templates/Estonian-statement.html b/sql-ledger/templates/Estonian-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/Estonian-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Estonian-statement.tex b/sql-ledger/templates/Estonian-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/Estonian-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/French-balance_sheet.html b/sql-ledger/templates/French-balance_sheet.html deleted file mode 100644 index 56748d6..0000000 --- a/sql-ledger/templates/French-balance_sheet.html +++ /dev/null @@ -1,109 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>Bilan</title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BILAN DE VÉRIFICATION -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>ACTIF<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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 Actif</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=4>PASSIF<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 Passif</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> -</tr> - -<tr> - <th align=left colspan=4>BENEFICES NON DISTRIBUÉS<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 Capital</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>TOTAL PASSIF & CAPITAL</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> -</table> -</body> -</html> diff --git a/sql-ledger/templates/French-check.tex b/sql-ledger/templates/French-check.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/French-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/French-income_statement.html b/sql-ledger/templates/French-income_statement.html deleted file mode 100644 index e76df09..0000000 --- a/sql-ledger/templates/French-income_statement.html +++ /dev/null @@ -1,86 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>Compte de Résultat</title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>Compte de Résultat -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>RECETTES<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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 Recettes</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=2>DÉPENSES<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 Dépenses</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>BENEFICES / PERTES (en <%currency%> )</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> -</body> -</html> diff --git a/sql-ledger/templates/French-invoice.html b/sql-ledger/templates/French-invoice.html deleted file mode 100644 index 901a317..0000000 --- a/sql-ledger/templates/French-invoice.html +++ /dev/null @@ -1,309 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>A2A <%invnumber%> <%name%></title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - -<body bgcolor="ffffff"> - -<table width="100%"> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width="100%"> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tél : <%tel%> - <br>Fax : <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>F A C T U R E</h4> - </th> - </tr> - - </table> - - - <table width="100%" cellspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date de facture</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Date d'échéance</th><td width=10> </td><td><%duedate%></td> - </tr> - - <tr> - <th align=right>N° de facture</th><td> </td><td><%invnumber%></td></tr> - </tr> - -<!-- - <tr> - <th align=right>Correspondant</th><td>&nbsp;</td><td><%employee%></td> - </tr> ---> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width="100%"> - <tr bgcolor="000000"> - <th align=left><font color=ffffff>Adresse de facturation</font></th> - <th align=left><font color=ffffff>Adresse d'envoi</font></th> - </tr> - -<!-- - d'autres variables pouvant être utilisées ici : - contact, shiptocontact, shiptophone, shiptofax ---> - - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width="100%"> - <tr bgcolor="000000"> -<!-- <th align=right><font color="ffffff">N°</font></th> --> - <th align=left><font color="ffffff">N°</font></th> - <th align=left><font color="ffffff">Description</font></th> - <th><font color="ffffff">Qté</font></th> - <th> </th> - <th><font color="ffffff">Prix</font></th> - <th><font color="ffffff">Remise</font></th> - <th><font color="ffffff">Montant</font></th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -veuillez adapter le colspan si vous comptez inclure ce poste. -ceci permettra de décaler le poste sous-total vers la gauche. ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -vous pouvez également utiliser netprice à la place de sellprice -si vous ne voulez pas afficher la remise -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th colspan=5 align=right>Sous-total</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%></th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Déjà payé</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>À régler dans <b><%terms%></b> jours au plus tard.</td> - <th colspan=2 align=right>Solde à régler</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>À noter :</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - Tous prix indiqués en <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<%if paid%> -<tr> - <td colspan=7> - <table width="60%"> - <tr> - <th align=left>Détail règlements</th> - </tr> - <tr> - <td colspan=4> - <hr noshade> - </td> - </tr> - <tr> - <th align=left>Date</th> - <th align=left>Compte</th> - <th align=left>Source</th> - <th align=left>Montant</th> - </tr> -<%end paid%> - -<%foreach payment%> - <tr> - <td><%paymentdate%></td> - <td><%paymentaccount%></td> - <td><%paymentsource%></td> - <td><%payment%></td> - </tr> -<%end payment%> - -<%if paid%> - </table> - </td> -</tr> - -<tr> - <td> </td> -</tr> -<%end paid%> - -<tr> - <th colspan=7> - <!-- <br>Merci beaucoup&nbsp;! --> - </th> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width="100%"> - <tr valign=top> - <td><font size=-3> - - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<!-- <%foreach tax%> - <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Numéro de TVA <%taxnumber%></font></th> - </tr> -<%end tax%> --> - -<%if taxincluded%> - <tr> - <th colspan=7 align=left><font size=-2>Les taxes affichés sont inclus dans le prix.</font></th> - </tr> -<%end taxincluded%> - -<!-- business number - <tr> - <th colspan=7 align=left><font size=-2>Régistre de Commerce&nbsp;: <%businessnumber%></font></th> - </tr> ---> - -<!-- information banquaire --> - <tr><td> - <h6><center>N° TVA : Banque : N° de compte : Code SWIFT : </center> - </h6> - </td> - </tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> diff --git a/sql-ledger/templates/French-invoice.tex b/sql-ledger/templates/French-invoice.tex deleted file mode 100644 index 2896fc9..0000000 --- a/sql-ledger/templates/French-invoice.tex +++ /dev/null @@ -1,151 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage[frenchb]{babel} -\usepackage[latin1]{inputenc} -\usepackage{tabularx} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Téléphone & <%tel%>\\ - Télécopieur & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ - & reporté de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{F A C T U R E} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de facturation} & <%invdate%> \\ - \textbf{Numéro de facture} & <%invnumber%> \\ - \textbf{Numéro de client} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> de <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%total%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Tous les prix indiqués sont en \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Merci de faire affaire avec nous!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Le paiement doit être acquitté au plus tard <%terms%> jours à partir de -la date de facturation. Des intérêts seront perçus à raison de 1.5\% par -mois après <%duedate%> jusqu'à ce que le paiement soit complet. Les -éléments retournés seront sujets à un supplément de remmagasinnage de -10\%. Une autorisation de renvoi doit être obtenue au préalable auprès de -<%company%>. Les frais de transports et d'assurance sur les éléments -retournés devront être couvert par le client de façon appropriée. -<%company%> ne peut être tenue responsable des dommages survenus pendant -le transit.} - -\end{document} diff --git a/sql-ledger/templates/French-packing_list.html b/sql-ledger/templates/French-packing_list.html deleted file mode 100644 index 3fa2fec..0000000 --- a/sql-ledger/templates/French-packing_list.html +++ /dev/null @@ -1,152 +0,0 @@ -CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>A2A <%invnumber%> <%name%></title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>L I S T E D ' E N V O I</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date de facture :</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Numéro de facture :</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Adresse d'envoi</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>N°</th> - <th align=left><font color=ffffff>Description</th> - <th><font color=ffffff>Qté</th> - <th> </th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=center><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>À noter :</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right><b>EXPÉDIÉ PAR : - <%shippingpoint%></b> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3><!-- - Conditions d'envoi : - Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. --> - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> -</body> -</html> diff --git a/sql-ledger/templates/French-packing_list.tex b/sql-ledger/templates/French-packing_list.tex deleted file mode 100644 index 87113de..0000000 --- a/sql-ledger/templates/French-packing_list.tex +++ /dev/null @@ -1,125 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage[frenchb]{babel} -\usepackage[latin1]{inputenc} -\usepackage{tabularx} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Téléphone & <%tel%>\\ - Télécopieur & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Bin} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{L I S T E} \parbox{0.3cm}{\hfill} \textbf{D E} -\parbox{0.3cm}{\hfill} \textbf{P A Q U E T A G E} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de facture} & <%invdate%> \\ - \textbf{Numéro de facture} & <%invnumber%> \\ - \textbf{Numéro de client} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Bin} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Merci de faire affaire avec nous!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Les éléments retournés seront sujets à un supplément de remmagasinnage de -10\%. Une autorisation de renvoi doit être obtenue au préalable auprès de -<%company%>. Les frais de transports et d'assurance sur les éléments -retournés devront être couvert par le client de façon appropriée. -<%company%> ne peut être tenue responsable des dommages survenus pendant -le transit.} - -\end{document} diff --git a/sql-ledger/templates/French-purchase_order.html b/sql-ledger/templates/French-purchase_order.html deleted file mode 100644 index a5da0ad..0000000 --- a/sql-ledger/templates/French-purchase_order.html +++ /dev/null @@ -1,207 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>Commande <%ordnumber%> <%name%></title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tél : <%tel%> - <br>Fax : <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>B O N D E C O M M A N D E</h4> - </th> - </tr> - - </table> - - - <table width=100% cellspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date commande</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Requis pour</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>N° commande</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Commandé par</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>N°</th> - <th align=left><font color=ffffff>Description</th> - <th><font color=ffffff>Qté</th> - <th> </th> - <th><font color=ffffff>Prix</th> - <th><font color=ffffff>Montant</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -veuillez ajuster le colspan si vous voulez inclure ce poste pour décaler le sous-total vers la droite. ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Sous-total</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>À régler dans <b><%terms%></b> jours au plus tard</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>À noter :</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - Tous prix indiqués en <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td> -<!-- -<font size=-3> - Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> ---> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/French-purchase_order.tex b/sql-ledger/templates/French-purchase_order.tex deleted file mode 100644 index 670d59c..0000000 --- a/sql-ledger/templates/French-purchase_order.tex +++ /dev/null @@ -1,143 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage[frenchb]{babel} -\usepackage[latin1]{inputenc} -\usepackage{tabularx} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Téléphone & <%tel%>\\ - Télécopieur & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & reporté de la page <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{B O N} \parbox{0.3cm}{\hfill} \textbf{D E} \parbox{0.3cm}{\hfill} -\textbf{C O M M A N D E} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de la commande} & <%orddate%> \\ -<%if reqdate%> - \textbf{Livrable le} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Numéro de commande} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Prix} & \textbf{Montant} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> de <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Tous les prix indiqués sont en \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} diff --git a/sql-ledger/templates/French-receipt.tex b/sql-ledger/templates/French-receipt.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/French-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/French-sales_order.html b/sql-ledger/templates/French-sales_order.html deleted file mode 100644 index 492e75e..0000000 --- a/sql-ledger/templates/French-sales_order.html +++ /dev/null @@ -1,229 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>Commande <%ordnumber%> <%name%></title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - -<body bgcolor="ffffff"> - -<table width="100%"> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width="100%"> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Tél : <%tel%> - <br>Fax : <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>B O N D E C O M M A N D E</h4> - </th> - </tr> - - </table> - - - <table width=100% cellspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date commande</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Requis pour</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>N° commande</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width="100%"> - <tr bgcolor="000000"> - <th align=left><font color="ffffff">Commandé par</th> - <th align=left><font color="ffffff">Adresse d'envoi</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width="100%"> - <tr bgcolor="000000"> -<!-- <th align=right><font color="ffffff">N°</th> --> - <th align=left><font color="ffffff">N°</th> - <th align=left><font color="ffffff">Description</th> - <th><font color="ffffff">Qté</th> - <th> </th> - <th><font color="ffffff">Prix</th> - <th><font color="ffffff">Remise</th> - <th><font color="ffffff">Montant</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> -<%end taxincluded%> - -<%if not taxincluded%> - <th colspan=5 align=right>Sous-total</th> - <td colspan=2 align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%></th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=5><hr noshade></td> - </tr> - - <tr> - <td colspan=3>À régler dans <b><%terms%></b> jours au plus tard</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> - </tr> -<%if taxincluded%> - <tr> - <td colspan=3>Taxe comprise dans Total</td> - </tr> -<%end taxincluded%> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>À noter :</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - Tous prix indiqués en <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width="100%"> - <tr valign=top> - <td><font size=-3> -<!-- - A 10% order cancellation fee will be applied for any special order - products or products that have been customized, enhanced or - upgraded at customers request. ---> - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - <tr> - <td colspan=5> - <h6><center>N° TVA : Banque : N° de compte : Code SWIFT : </center> - </h6> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> diff --git a/sql-ledger/templates/French-sales_order.tex b/sql-ledger/templates/French-sales_order.tex deleted file mode 100644 index 88e142f..0000000 --- a/sql-ledger/templates/French-sales_order.tex +++ /dev/null @@ -1,144 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage[frenchb]{babel} -\usepackage[latin1]{inputenc} -\usepackage{tabularx} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Téléphone & <%tel%>\\ - Télécopieur & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ - & reporté de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{C O M M A N D E} \parbox{0.3cm}{\hfill} \textbf{C L I E N T} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date de la commande} & <%orddate%> \\ - \textbf{Numéro de commande} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Numéro} & \textbf{Description} & \textbf{Qté} & - \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Sous-total} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> de <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Tous les prix indiqués sont en \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Un supplément de 10% sera appliqué à toute commande spécifique et à tout -produit adapté, amélioré ou mis-à-jour à la demande du client. Les -éléments non-retournables sont indiqués ci-dessus. -} - -\end{document} - diff --git a/sql-ledger/templates/French-statement.html b/sql-ledger/templates/French-statement.html deleted file mode 100644 index c2c9a5d..0000000 --- a/sql-ledger/templates/French-statement.html +++ /dev/null @@ -1,133 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> - -<html> - -<head> - -<title>Extrait de compte pour <%name%></title> -<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15"> - -</head> - - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th></th> - <td align=right> - <h4> - Tél : <%tel%> - <br>Fax : <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>E X T R A I T D E C O M P T E</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <br> -<%if customerphone%> - <br>Tél : <%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>Facture n°</th> - <th width=15%>Date</th> - <th width=15%>Echeance</th> - <th width=10%>Actuel</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Solde impayé</th> - <th align=right><%total%></th> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - <tr> - <td> </td> - <td>Tout paiement au nom de <b><%company%></b> - </td> - </tr> - <tr height=20></tr> -</table> -</body> -</html> diff --git a/sql-ledger/templates/French-statement.tex b/sql-ledger/templates/French-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/French-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/German-balance_sheet.html b/sql-ledger/templates/German-balance_sheet.html deleted file mode 100644 index f0d6f5e..0000000 --- a/sql-ledger/templates/German-balance_sheet.html +++ /dev/null @@ -1,100 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BILANZ -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>AKTIVA<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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</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>PASSIVA<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</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>EIGENTUM<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</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 PASSIVA & EIGETNTUM</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> -</table> - - - diff --git a/sql-ledger/templates/German-check.tex b/sql-ledger/templates/German-check.tex deleted file mode 100644 index d6256e7..0000000 --- a/sql-ledger/templates/German-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.8cm} - -<%company%> - -\vspace{0.5cm} - -<%name%> \hfill <%datepaid%> \hfill <%source%> - -\vspace{0.5cm} -\begin{tabularx}{\textwidth}{lXrr@{}} -\textbf{Rechnung} & \textbf{Ausgestellt} - & \textbf{Fällig} & \textbf{Verrechnet} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> -\end{tabularx} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/German-income_statement.html b/sql-ledger/templates/German-income_statement.html deleted file mode 100644 index aa3c22f..0000000 --- a/sql-ledger/templates/German-income_statement.html +++ /dev/null @@ -1,78 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>GEWINN & VERLUST -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>EINNAHMEN<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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>Totale Einnahmen</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=2>AUSGABEN<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>Totale Ausgaben</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>GEWINN / (VERLUST)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/German-invoice.html b/sql-ledger/templates/German-invoice.html deleted file mode 100644 index b2128c9..0000000 --- a/sql-ledger/templates/German-invoice.html +++ /dev/null @@ -1,265 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telefon <%tel%> - <br>Telefax <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>R E C H N U N G</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Ausgestellt am</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Bezahlbar bis</th><td width=10> </td><td><%duedate%></td> - </tr> - - <tr> - <th align=right>Nummer</th><td> </td><td><%invnumber%></td></tr> - </tr> - -<!-- - <tr> - <th align=right>Clerk:</th><td> </td><td><%username%></td> - </tr> ---> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>An:</th> - <th align=left><font color=ffffff>Lieferaddresse:</th> - </tr> - -<!-- - other variables which can be use: - contact, shiptocontact, shiptophone, shiptofax ---> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Nummer</th> - <th align=left><font color=ffffff>Beschreibung</th> - <th><font color=ffffff>Anz.</th> - <th> </th> - <th><font color=ffffff>Preis</th> - <th><font color=ffffff>Rab</th> - <th><font color=ffffff>Total</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - -<!-- -you can also use netprice instead of sellprice if you -don't want to show the discount -netprice = sellprice - discount ---> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - -<%if taxincluded%> - <tr> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%invtotal%></td> - </tr> -<%end taxincluded%> -<%if not taxincluded%> - <tr> - <th colspan=5 align=right>Zwischensumme</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> -<%end taxincluded%> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> auf <%taxbase%></th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th colspan=5 align=right>Bezahlt</th> - <td colspan=2 align=right>- <%paid%></td> - </tr> -<%end paid%> - - <tr> - <td colspan=3> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Bezahlbar innerhalb von <b><%terms%></b> Tagen</td> -<%if total%> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> -<%end total%> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemerkungen:</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - Alle Preise in <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Rechnung ist bezahlbar innerhalb von <%terms%> Tagen. - Nach dem <%duedate%> werden Zinsen zu einem - monatlichen Satz von 1.5% verrechnet. - Waren bleiben im Besitz von <%company%> bis die Rechnung voll bezahlt ist. - Rückgaben werden mit 10% Lagergebühren belastet. Beschädigte Waren - und Waren ohne eine Rückgabenummer werden nicht entgegengenommen. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<%foreach tax%> - <tr> - <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> - </tr> -<%end tax%> - -<%if taxincluded%> - <tr> - <th colspan=7 align=left><font size=-2>Steuern sind im Preis inbegriffen.</th> - </tr> -<%end taxincluded%> - -<!-- business number - <tr> - <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th> - </tr> ---> - - <tr> - <th colspan=7 align=left> - <hr> - <br>Bankverbindung - <br>Bank - <br>Bankleitzahl - <br>Konto No. - </td> - </tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/German-invoice.tex b/sql-ledger/templates/German-invoice.tex deleted file mode 100644 index 0b38bb5..0000000 --- a/sql-ledger/templates/German-invoice.tex +++ /dev/null @@ -1,155 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ - & Übertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{R E C H N U N G} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> auf <%taxbase%> & <%tax%> \\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%invtotal%>} \\ -<%if paid%> - \textbf{Bezahlt} & <%paid%> \\ -<%end paid%> -<%if total%> - \textbf{Bezahlbar} & \textbf{<%total%>} \\ -<%end total%> -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle Preise in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -%\vfill -%\centerline{\textbf{salute}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Rechnung ist bezahlbar innerhalb von <%terms%> Tagen. -Nach dem <%duedate%> werden Zinsen zu einem -monatlichen Satz von 1.5\% verrechnet. -Waren bleiben im Besitz von <%company%> bis die Rechnung voll bezahlt ist. -Rückgaben werden mit 10 Prozent Lagergebühren belastet. Beschädigte Waren -und Waren ohne eine Rückgabenummer werden nicht entgegengenommen. -} - -\end{document} - - diff --git a/sql-ledger/templates/German-packing_list.html b/sql-ledger/templates/German-packing_list.html deleted file mode 100644 index 09ef402..0000000 --- a/sql-ledger/templates/German-packing_list.html +++ /dev/null @@ -1,146 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>V E R P P A C K U N G S L I S T E</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Datum</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Nummer</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Zustellung an:</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>An: <%shiptocontact%> -<%end shiptocontact%> - - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Nummer</th> - <th align=left><font color=ffffff>Artikel</th> - <th><font color=ffffff>Anz</th> - <th> </th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemerkungen</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Beschädigte Waren und Waren ohne Rückgabenummer werden nicht - entgegengenommen. Lagerkosten werden mit 10% berrechnet. - Waren müssen ausreichended verpackt und versichert sein. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/German-packing_list.tex b/sql-ledger/templates/German-packing_list.tex deleted file mode 100644 index dbfc93b..0000000 --- a/sql-ledger/templates/German-packing_list.tex +++ /dev/null @@ -1,118 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Steige} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%invdate%> \\ - \textbf{Nummer} & <%invnumber%> \\ -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Steige} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%bin%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Beschädigte Waren und Waren ohne Rückgabenummer werden nicht -entgegengenommen. Lagerkosten werden mit 10\% berrechnet. -Waren müssen ausreichended verpackt und versichert sein. -} - -\end{document} - diff --git a/sql-ledger/templates/German-purchase_order.html b/sql-ledger/templates/German-purchase_order.html deleted file mode 100644 index 9771d02..0000000 --- a/sql-ledger/templates/German-purchase_order.html +++ /dev/null @@ -1,188 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telefon <%tel%> - <br>Telefax <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>B E S T E L L U N G</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Bestellungsdatum</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Lieferbar bis</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Bestellnummer</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>An:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Nummer</th> - <th align=left><font color=ffffff>Artikel</th> - <th><font color=ffffff>Anz</th> - <th> </th> - <th><font color=ffffff>Preis</th> - <th><font color=ffffff>Total</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Zwischensumme</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Netto <b><%terms%></b> Tage</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemerkungen</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - Alle Preise in <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/German-purchase_order.tex b/sql-ledger/templates/German-purchase_order.tex deleted file mode 100644 index f56f1a3..0000000 --- a/sql-ledger/templates/German-purchase_order.tex +++ /dev/null @@ -1,143 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\ - & Übertrag von <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{B E S T E L L U N G} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Lieferung bis} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Nummer} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle Preise in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} - - diff --git a/sql-ledger/templates/German-receipt.tex b/sql-ledger/templates/German-receipt.tex deleted file mode 100644 index d6256e7..0000000 --- a/sql-ledger/templates/German-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.8cm} - -<%company%> - -\vspace{0.5cm} - -<%name%> \hfill <%datepaid%> \hfill <%source%> - -\vspace{0.5cm} -\begin{tabularx}{\textwidth}{lXrr@{}} -\textbf{Rechnung} & \textbf{Ausgestellt} - & \textbf{Fällig} & \textbf{Verrechnet} \\ -<%foreach invnumber%> -<%invnumber%> & <%invdate%> \dotfill - & <%due%> & <%paid%> \\ -<%end invnumber%> -\end{tabularx} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/German-sales_order.html b/sql-ledger/templates/German-sales_order.html deleted file mode 100644 index edb8b90..0000000 --- a/sql-ledger/templates/German-sales_order.html +++ /dev/null @@ -1,213 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telefon <%tel%> - <br>Telefax <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>B E S T E L L U N G</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Datum</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Lieferbar bei</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Bestellnummer</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Verrechnet An:</th> - <th align=left><font color=ffffff>Lieferaddresse:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</th> --> - <th align=left><font color=ffffff>Nummer</th> - <th align=left><font color=ffffff>Artikel</th> - <th><font color=ffffff>Anz</th> - <th> </th> - <th><font color=ffffff>Preis</th> - <th><font color=ffffff>Rab</th> - <th><font color=ffffff>Total</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%discount%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=7><hr noshade></td> - </tr> - -<%if taxincluded%> - <tr> - <th colspan=5 align=right>Total</th> - <td colspan=2 align=right><%ordtotal%></td> - </tr> -<%end taxincluded%> - -<%if not taxincluded%> - <tr> - <th colspan=5 align=right>Zwischensumme</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> -<%end taxincluded%> - -<%foreach tax%> - <tr> - <th colspan=5 align=right><%taxdescription%> auf <%taxbase%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=5><hr noshade></td> - </tr> - - <tr> - <td colspan=3>Netto <b><%terms%></b> Tage</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%ordtotal%></th> - </tr> -<%if taxincluded%> - <tr> - <td colspan=3>Steuern sind im Preis inbegriffen</td> - </tr> -<%end taxincluded%> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Bemerkungen</td> - <td><%notes%></td> -<%end notes%> - <td align=right> - Alle Preise in <b><%currency%></b> - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren - wird eine 10% Stornogebühr verrechnet. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/German-sales_order.tex b/sql-ledger/templates/German-sales_order.tex deleted file mode 100644 index 21948c6..0000000 --- a/sql-ledger/templates/German-sales_order.tex +++ /dev/null @@ -1,142 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ - & Übertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{B E S T E L L U N G} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%orddate%> \\ - \textbf{Nummer} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> auf <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - Alle Preise in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren -wird eine 10\% Stornogebühr verrechnet. -} - -\end{document} - diff --git a/sql-ledger/templates/German-statement.html b/sql-ledger/templates/German-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/German-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/German-statement.tex b/sql-ledger/templates/German-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/German-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Service-balance_sheet.html b/sql-ledger/templates/Service-balance_sheet.html deleted file mode 100644 index 478caab..0000000 --- a/sql-ledger/templates/Service-balance_sheet.html +++ /dev/null @@ -1,100 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BALANCE SHEET -<br><%period%> -</h2> - -<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> - - - diff --git a/sql-ledger/templates/Service-check.tex b/sql-ledger/templates/Service-check.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Service-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Service-income_statement.html b/sql-ledger/templates/Service-income_statement.html deleted file mode 100644 index e9d6a40..0000000 --- a/sql-ledger/templates/Service-income_statement.html +++ /dev/null @@ -1,82 +0,0 @@ - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>INCOME STATEMENT -<br><%period%> -</h2> - - -<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> - - - - - - - - diff --git a/sql-ledger/templates/Service-invoice.html b/sql-ledger/templates/Service-invoice.html deleted file mode 100644 index 8ae6897..0000000 --- a/sql-ledger/templates/Service-invoice.html +++ /dev/null @@ -1,226 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - <br>Tel/Fax <%tel%> / <%fax%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>I N V O I C E</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td></td><td><%invnumber%></td></tr> - </tr> - -<!-- prepared by: <%username%> ---> - - </table> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>To:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Description</th> - <th> </th> - <th><font color=ffffff>Amount</th> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%description%></td> - <td> </td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=3><hr noshade></td> - </tr> - - <tr> -<%if taxincluded%> - <td> </td> - <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <td> </td> - <th align=right>Subtotal</th> - <td align=right><%subtotal%></td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th colspan=2 align=right><%taxdescription%></th> - <td align=right><%tax%></td> - </tr> -<%end tax%> - -<!-- - <%taxbase%> = total netamount for each tax bracket - <%taxrate%> = taxrate in percent ---> - -<%if paid%> - <tr> - <td> </td> - <th align=right>Paid</th> - <td align=right><%paid%></td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td colspan=2><hr noshade></td> - </tr> - - <tr> - <td> -<%if terms%> -Terms Net <b><%terms%></b> days -<%end terms%> -</td> - <th align=right>Total</th> - <th align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<%if notes%> -<tr> - <td> - <table width=100%> - <tr valign=top> - <td>Notes</td> - <td><pre><%notes%></pre></td> - <td align=right> - - </td> - </tr> - - </table> - </td> -</tr> -<%end notes%> - -<tr><td> </td></tr> - -<tr> - <th colspan=3> - Please make check payable to <%company%> - <br>Thank you for your valued business! - </th> -</tr> - - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -<%foreach tax%> - <tr> - <th colspan=3 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th> - </tr> -<%end tax%> - -<!-- - %username% = user name - %businessnumber% = business number ---> - -<!-- banking information - <tr> - <th colspan=3 align=left><font size=-2>Banking Information: - <br>Bank - <br>Transit No. - <br>Account No. - </th> - </tr> ---> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Service-invoice.tex b/sql-ledger/templates/Service-invoice.tex deleted file mode 100644 index 810a50e..0000000 --- a/sql-ledger/templates/Service-invoice.tex +++ /dev/null @@ -1,151 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{I N V O I C E} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Customer} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Paid} & - <%paid%> \\ -<%end paid%> - \hline - \textbf{Balance Owing} & \textbf{<%total%>} \\ - -\end{tabularx} - -\vspace{0.3cm} - -\hfill - All prices in \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -\vfill -\centerline{\textbf{Thank You for your valued business!}} - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -Payment due NET <%terms%> Days from date of Invoice. Interest on overdue -amounts will acrue at the rate of 1.5\% per month starting <%duedate%> -until paid in full. -} - -\end{document} - - diff --git a/sql-ledger/templates/Service-packing_list.html b/sql-ledger/templates/Service-packing_list.html deleted file mode 100644 index 07ba8d6..0000000 --- a/sql-ledger/templates/Service-packing_list.html +++ /dev/null @@ -1,148 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr> - <td width=10> - </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <th colspan=2> - <h4 align=center>P A C K I N G L I S T</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Date</th><td width=10> </td><td><%invdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td></td><td><%invnumber%></td></tr> - </tr> - - <tr> - <td> - </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>Ship To:</th> - </tr> - - <tr> - <td><%shiptoname%> - <br><%shiptoaddr1%> - <br><%shiptoaddr2%> - <br><%shiptoaddr3%> - <br><%shiptoaddr4%> -<%if shiptocontact%> - <p>Attn: <%shiptocontact%> -<%end shiptocontact%> - - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> - </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <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> - </tr> - -<%foreach number%> - <tr valign=top> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - </tr> -<%end number%> - - <tr> - <td colspan=4><hr noshade></td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - <%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Service-packing_list.tex b/sql-ledger/templates/Service-packing_list.tex deleted file mode 100644 index b5a6a8a..0000000 --- a/sql-ledger/templates/Service-packing_list.tex +++ /dev/null @@ -1,120 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - -\newpage - -\markright{<%company%>\hfill <%invnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}} - \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> - -\vspace{3.5cm} - -\textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T} - -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%invdate%> \\ - \textbf{Number} & <%invnumber%> \\ - \textbf{Customer} & <%customer_id%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}} - \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} \\ -<%foreach number%> - <%description%> & <%qty%> & <%unit%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - -%\vfill -%\centerline{\textbf{Thank You for your valued business!}} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny -%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.} - -\end{document} - diff --git a/sql-ledger/templates/Service-purchase_order.html b/sql-ledger/templates/Service-purchase_order.html deleted file mode 100644 index f2e9f7e..0000000 --- a/sql-ledger/templates/Service-purchase_order.html +++ /dev/null @@ -1,194 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telephone: <%tel%> - <br>Facsimile: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>P U R C H A S E O R D E R</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Order Date</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>To:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</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>Amount</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Terms Net <b><%terms%></b> days</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - All prices in <b><%currency%></b> Funds - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Service-purchase_order.tex b/sql-ledger/templates/Service-purchase_order.tex deleted file mode 100644 index e6cc92c..0000000 --- a/sql-ledger/templates/Service-purchase_order.tex +++ /dev/null @@ -1,143 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%orddate%> \\ -<%if reqdate%> - \textbf{Required by} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Number} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - All prices in \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} - - diff --git a/sql-ledger/templates/Service-receipt.tex b/sql-ledger/templates/Service-receipt.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Service-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Service-sales_order.html b/sql-ledger/templates/Service-sales_order.html deleted file mode 100644 index 319cc3b..0000000 --- a/sql-ledger/templates/Service-sales_order.html +++ /dev/null @@ -1,198 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> -<tr valign=bottom> - <td width=10> </td> - <td> - - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - - <td align=right> - <h4> - Telelephone: <%tel%> - <br>Facsimile: <%fax%> - </h4> - </td> - </tr> - - <tr> - <th colspan=3> - <h4>S A L E S O R D E R</h4> - </th> - </tr> - - </table> - - - <table width=100% callspacing=0 cellpadding=0> - - <tr> - <td align=right> - <table> - <tr> - <th align=right>Order Date</th><td width=10> </td><td><%orddate%></td> - </tr> - - <tr> - <th align=right>Required by</th><td width=10> </td><td><%reqdate%></td> - </tr> - - <tr> - <th align=right>Number</th><td> </td><td><%ordnumber%></td></tr> - </tr> - - <tr> - <td> </td> - </tr> - </td> - </table> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <th align=left><font color=ffffff>To:</th> - </tr> - - <tr> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> -<%if contact%> - <p>Attn: <%contact%> -%end contact%> - - </td> - </tr> - </table> - </td> - </tr> - - <tr> - <td> </td> - </tr> - - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> -<!-- <th align=right><font color=ffffff>No.</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>Amount</th> - </tr> - -<%foreach number%> - <tr valign=top> -<!-- <td align=right><%runningnumber%>.</td> -adjust the colspan if you include this to shift subtotal one to the right ---> - <td><%number%></td> - <td><%description%></td> - <td align=right><%qty%></td> - <td><%unit%></td> - <td align=right><%sellprice%></td> - <td align=right><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan=6><hr noshade></td> - </tr> - - <tr> - <th colspan=4 align=right>Subtotal</th> - <td colspan=2 align=right><%subtotal%></td> - </tr> - -<%foreach tax%> - <tr> - <th colspan=4 align=right><%taxdescription%> @ <%taxrate%> %</th> - <td colspan=2 align=right><%tax%></td> - </tr> -<%end tax%> - - <tr> - <td colspan=2> </td> - <td colspan=4><hr noshade></td> - </tr> - - <tr> - <td colspan=2>Terms Net <b><%terms%></b> days</td> - <th colspan=2 align=right>Total</th> - <th colspan=2 align=right><%total%></th> - </tr> - - <tr> - <td> </td> - </tr> - - </table> - </td> - </tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> -<%if notes%> - <td>Notes</td> - <td><pre><%notes%></pre></td> -<%end notes%> - <td align=right> - All prices in <b><%currency%></b> Funds - <br><%shippingpoint%> - </td> - </tr> - - </table> - </td> -</tr> - -<tr><td> </td></tr> - -<tr> - <td> - <table width=100%> - <tr valign=top> - <td><font size=-3> - Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - </font> - </td> - <td width=150> - X <hr noshade> - </td> - </tr> - </table> - </td> -</tr> - -</table> - -</td> -</tr> -</table> - -</body> -</html> - diff --git a/sql-ledger/templates/Service-sales_order.tex b/sql-ledger/templates/Service-sales_order.tex deleted file mode 100644 index c5664e0..0000000 --- a/sql-ledger/templates/Service-sales_order.tex +++ /dev/null @@ -1,139 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{2cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{3.5cm} - -\textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Date} & <%orddate%> \\ - \textbf{Number} & <%ordnumber%> -\end{tabular} - -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Description} & \textbf{Qt'y} & - \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - - -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} - -\vspace{0.2cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} - -\vspace{0.3cm} - -\hfill - All prices in \textbf{<%currency%>} funds. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } - -\end{document} - diff --git a/sql-ledger/templates/Service-statement.html b/sql-ledger/templates/Service-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/Service-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Service-statement.tex b/sql-ledger/templates/Service-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/Service-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-balance_sheet.html b/sql-ledger/templates/Spanish_A4-balance_sheet.html deleted file mode 100644 index aef74d0..0000000 --- a/sql-ledger/templates/Spanish_A4-balance_sheet.html +++ /dev/null @@ -1,100 +0,0 @@ -<head> - <title>Hoja de Balance</title> -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>HOJA DE BALANCE -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>ACTIVOS<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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 de activos</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=4>PASIVOS<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 de pasivos</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> -</tr> - -<tr> - <th align=left colspan=4>CAPITAL<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>Capital total</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>Total de pasivos y capital</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> -</table> diff --git a/sql-ledger/templates/Spanish_A4-check.tex b/sql-ledger/templates/Spanish_A4-check.tex deleted file mode 100644 index a1ef969..0000000 --- a/sql-ledger/templates/Spanish_A4-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-income_statement.html b/sql-ledger/templates/Spanish_A4-income_statement.html deleted file mode 100644 index fbb5653..0000000 --- a/sql-ledger/templates/Spanish_A4-income_statement.html +++ /dev/null @@ -1,77 +0,0 @@ -<head> - <title>Balance de Situación</title> -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BALANCE DE SITUACIÓN -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>INGRESOS<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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 de ingresos</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=2>GASTOS<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 de gastos</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>GANANCIA/(PERDIDA)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> diff --git a/sql-ledger/templates/Spanish_A4-invoice.html b/sql-ledger/templates/Spanish_A4-invoice.html deleted file mode 100644 index d274936..0000000 --- a/sql-ledger/templates/Spanish_A4-invoice.html +++ /dev/null @@ -1,153 +0,0 @@ -<head> - <title>Factura de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="4"> </th> - <th align="left"> - <h4>F A C T U R A</h4> - </th> - </tr> - - <tr> - <td colspan="5"> </td> - </tr> - - <tr> - <td colspan="4"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Fecha</td> - <td>Cód. Cliente</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_A4-invoice.tex b/sql-ledger/templates/Spanish_A4-invoice.tex deleted file mode 100644 index 1d0619e..0000000 --- a/sql-ledger/templates/Spanish_A4-invoice.tex +++ /dev/null @@ -1,108 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ - -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Fecha} & C. Cliente\\ -\centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{F A C T U R A} -\vspace{1cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%invtotal%>} \EUR\\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-packing_list.html b/sql-ledger/templates/Spanish_A4-packing_list.html deleted file mode 100644 index c34d189..0000000 --- a/sql-ledger/templates/Spanish_A4-packing_list.html +++ /dev/null @@ -1,155 +0,0 @@ -<head> - <title>Albarán de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="5"> </th> - <th align="left"> - <h4>A L B A R Á N</h4> - </th> - </tr> - - <tr> - <td colspan="6"> </td> - </tr> - - <tr> - <td colspan="5"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Factura</td> - <td>Fecha</td> - <td>Cód. Cliente</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%ordnumber%></b></td> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="5"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="5"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_A4-packing_list.tex b/sql-ledger/templates/Spanish_A4-packing_list.tex deleted file mode 100644 index 312c349..0000000 --- a/sql-ledger/templates/Spanish_A4-packing_list.tex +++ /dev/null @@ -1,108 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ - -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Número} & \centering{Fecha} & C. Cliente\\ - \centering{<%ordnumber%>} & \centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{A L B A R Á N} -\vspace{1cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -\vspace{0.5cm} - -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%invtotal%>} \EUR\\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-purchase_order.html b/sql-ledger/templates/Spanish_A4-purchase_order.html deleted file mode 100644 index 693fe65..0000000 --- a/sql-ledger/templates/Spanish_A4-purchase_order.html +++ /dev/null @@ -1,153 +0,0 @@ -<head> - <title>Pedido de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="4"> </th> - <th align="left"> - <h4>P E D I D O</h4> - </th> - </tr> - - <tr> - <td colspan="5"> </td> - </tr> - - <tr> - <td colspan="4"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Fecha</td> - <td>Cód. Proveedor</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%vendor_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align="right">Total</th> - <td align="right"><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_A4-purchase_order.tex b/sql-ledger/templates/Spanish_A4-purchase_order.tex deleted file mode 100644 index f8300ae..0000000 --- a/sql-ledger/templates/Spanish_A4-purchase_order.tex +++ /dev/null @@ -1,107 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Fecha} & C. Cliente\\ -\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{P E D I D O} -\vspace{1cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>} \EUR\\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-receipt.tex b/sql-ledger/templates/Spanish_A4-receipt.tex deleted file mode 100644 index a1ef969..0000000 --- a/sql-ledger/templates/Spanish_A4-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-sales_order.html b/sql-ledger/templates/Spanish_A4-sales_order.html deleted file mode 100644 index d54f375..0000000 --- a/sql-ledger/templates/Spanish_A4-sales_order.html +++ /dev/null @@ -1,153 +0,0 @@ -<head> - <title>Presupuesto de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="4"> </th> - <th align="left"> - <h4>P R E S U P U E S T O</h4> - </th> - </tr> - - <tr> - <td colspan="5"> </td> - </tr> - - <tr> - <td colspan="4"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Fecha</td> - <td>Cód. Cliente</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%customer_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align=right>Total</th> - <td align=right><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_A4-sales_order.tex b/sql-ledger/templates/Spanish_A4-sales_order.tex deleted file mode 100644 index f8300ae..0000000 --- a/sql-ledger/templates/Spanish_A4-sales_order.tex +++ /dev/null @@ -1,107 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Fecha} & C. Cliente\\ -\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{P E D I D O} -\vspace{1cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \EUR \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \EUR\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>} \EUR\\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_A4-statement.html b/sql-ledger/templates/Spanish_A4-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/Spanish_A4-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Spanish_A4-statement.tex b/sql-ledger/templates/Spanish_A4-statement.tex deleted file mode 100644 index 268bb1a..0000000 --- a/sql-ledger/templates/Spanish_A4-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-balance_sheet.html b/sql-ledger/templates/Spanish_Letter-balance_sheet.html deleted file mode 100644 index aef74d0..0000000 --- a/sql-ledger/templates/Spanish_Letter-balance_sheet.html +++ /dev/null @@ -1,100 +0,0 @@ -<head> - <title>Hoja de Balance</title> -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>HOJA DE BALANCE -<br><%period%> -</h2> - -<table border=0> -<tr> - <th align=left width=400 colspan=2>ACTIVOS<br><hr align=left width=250 size=5 noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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 de activos</th> - <td align=right><%total_assets_this_period%><hr noshade size=2></td> - <td align=right><%total_assets_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=4>PASIVOS<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 de pasivos</th> - <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td> - <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td> -</tr> - -<tr> - <th align=left colspan=4>CAPITAL<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>Capital total</th> - <td align=right><%total_equity_this_period%><br><hr noshade size=2</td> - <td align=right><%total_equity_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>Total de pasivos y capital</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> -</table> diff --git a/sql-ledger/templates/Spanish_Letter-check.tex b/sql-ledger/templates/Spanish_Letter-check.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Spanish_Letter-check.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-income_statement.html b/sql-ledger/templates/Spanish_Letter-income_statement.html deleted file mode 100644 index fbb5653..0000000 --- a/sql-ledger/templates/Spanish_Letter-income_statement.html +++ /dev/null @@ -1,77 +0,0 @@ -<head> - <title>Balance de Situación</title> -</head> - -<body bgcolor=ffffff> - -<h2 align=center> -<%company%> -<br><%address%> - -<p>BALANCE DE SITUACIÓN -<br><%period%> -</h2> - - -<table width=100% border=0> -<tr> - <th width=400 align=left colspan=2>INGRESOS<br><hr width=300 size=5 align=left noshade></th> - <th><%this_period%></th> - <th><%last_period%></th> -</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 de ingresos</th> - <td align=right><%total_income_this_period%><hr noshade size=2></td> - <td align=right><%total_income_last_period%><hr noshade size=2></td> -</tr> - -<tr> - <th align=left colspan=2>GASTOS<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 de gastos</th> - <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td> - <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td> -</tr> - -<tr valign=top> - <th align=left colspan=2>GANANCIA/(PERDIDA)</th> - <td align=right><%total_this_period%><br><hr noshade size=2></td> - <td align=right><%total_last_period%><br><hr noshade size=2></td> -</tr> - -</table> diff --git a/sql-ledger/templates/Spanish_Letter-invoice.html b/sql-ledger/templates/Spanish_Letter-invoice.html deleted file mode 100644 index d274936..0000000 --- a/sql-ledger/templates/Spanish_Letter-invoice.html +++ /dev/null @@ -1,153 +0,0 @@ -<head> - <title>Factura de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="4"> </th> - <th align="left"> - <h4>F A C T U R A</h4> - </th> - </tr> - - <tr> - <td colspan="5"> </td> - </tr> - - <tr> - <td colspan="4"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Fecha</td> - <td>Cód. Cliente</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_Letter-invoice.tex b/sql-ledger/templates/Spanish_Letter-invoice.tex deleted file mode 100644 index 8fdd38a..0000000 --- a/sql-ledger/templates/Spanish_Letter-invoice.tex +++ /dev/null @@ -1,110 +0,0 @@ -% ve-invoice.tex -\documentclass[letterpaper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -%\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -%Or whatever font you want! -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ - -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Fecha} & C. Cliente\\ -\centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{F A C T U R A} -\vspace{1cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%invtotal%>} \\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-packing_list.html b/sql-ledger/templates/Spanish_Letter-packing_list.html deleted file mode 100644 index c34d189..0000000 --- a/sql-ledger/templates/Spanish_Letter-packing_list.html +++ /dev/null @@ -1,155 +0,0 @@ -<head> - <title>Albarán de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="5"> </th> - <th align="left"> - <h4>A L B A R Á N</h4> - </th> - </tr> - - <tr> - <td colspan="6"> </td> - </tr> - - <tr> - <td colspan="5"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Factura</td> - <td>Fecha</td> - <td>Cód. Cliente</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%ordnumber%></b></td> - <td><b><%invnumber%></b></td> - <td><b><%invdate%></b></td> - <td><b><%customer_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="5"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="5"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align=right>Total</th> - <td align=right><%invtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%invtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_Letter-packing_list.tex b/sql-ledger/templates/Spanish_Letter-packing_list.tex deleted file mode 100644 index bf146ca..0000000 --- a/sql-ledger/templates/Spanish_Letter-packing_list.tex +++ /dev/null @@ -1,108 +0,0 @@ -\documentclass[letterpaper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -%\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ - -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Número} & \centering{Fecha} & C. Cliente\\ - \centering{<%ordnumber%>} & \centering{<%invnumber%>} & \centering{<%invdate%>} & \centering{<%customer_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{A L B A R Á N} -\vspace{1cm} - -<%shiptoname%> - -<%shiptoaddr1%> - -<%shiptoaddr2%> - -<%shiptoaddr3%> - -<%shiptoaddr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -\vspace{0.5cm} - -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%invtotal%>} \\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-purchase_order.html b/sql-ledger/templates/Spanish_Letter-purchase_order.html deleted file mode 100644 index 693fe65..0000000 --- a/sql-ledger/templates/Spanish_Letter-purchase_order.html +++ /dev/null @@ -1,153 +0,0 @@ -<head> - <title>Pedido de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="4"> </th> - <th align="left"> - <h4>P E D I D O</h4> - </th> - </tr> - - <tr> - <td colspan="5"> </td> - </tr> - - <tr> - <td colspan="4"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Fecha</td> - <td>Cód. Proveedor</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%vendor_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align="right">Total</th> - <td align="right"><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_Letter-purchase_order.tex b/sql-ledger/templates/Spanish_Letter-purchase_order.tex deleted file mode 100644 index 177f4b8..0000000 --- a/sql-ledger/templates/Spanish_Letter-purchase_order.tex +++ /dev/null @@ -1,107 +0,0 @@ -\documentclass[letterpaper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -%\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Fecha} & C. Cliente\\ -\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{O R D E N \quad D E \quad C O M P R A} -\vspace{1cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>} \\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-receipt.tex b/sql-ledger/templates/Spanish_Letter-receipt.tex deleted file mode 100644 index 5b64e81..0000000 --- a/sql-ledger/templates/Spanish_Letter-receipt.tex +++ /dev/null @@ -1,71 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.4cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.0cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - - -\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%> - -\vspace{0.5cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -\vspace{2.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} - -\vfill - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-sales_order.html b/sql-ledger/templates/Spanish_Letter-sales_order.html deleted file mode 100644 index d54f375..0000000 --- a/sql-ledger/templates/Spanish_Letter-sales_order.html +++ /dev/null @@ -1,153 +0,0 @@ -<head> - <title>Presupuesto de Instalaciones Industriales San José</title> -</head> - -<body bgcolor="ffffff"> - <!-- Cabecera --> - <table width="100%"> - <tr valign=bottom> - <td width="10"> </td> - <td> - <table width=100%> - <tr> - <th colspan="4"> </th> - <th align="left"> - <h4>P R E S U P U E S T O</h4> - </th> - </tr> - - <tr> - <td colspan="5"> </td> - </tr> - - <tr> - <td colspan="4"> </td> - <td align="left"><%name%></td> - </tr> - - <tr> - <td>Número</td> - <td>Fecha</td> - <td>Cód. Cliente</td> - <td width="10%"> </td> - <td><%addr1%></td> - </tr> - <tr> - <td><b><%ordnumber%></b></td> - <td><b><%orddate%></b></td> - <td><b><%customer_id%></b></td> - <td> </td> - <td><%addr2%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr3%></td> - </tr> - <tr> - <td colspan="4"> - <td><%addr4%></td> - </tr> - </table> - </table> - - <!-- Cuerpo --> - <table width=100% cellspacing=0 cellpadding=0> - <tr> - <td> - <table width=100%> - <tr bgcolor=000000> - <!-- <th align=left><font color=ffffff>Número</th> --> - <!-- <th><font color=ffffff>Cant.</th> --> - <th align="left"><font color="ffffff">Cant.</th> - <th align="left"><font color="ffffff">Descripción</th> - <th align="left"><font color="ffffff">Precio</th> - <!-- <th align="left"><font color="ffffff">Dto.</th> --> - <th align="left"><font color="ffffff">Importe</th> - </tr> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - -<%foreach number%> - <tr valign=top> - <!-- <td><%number%></td> --> - <!-- <td><%unit%></td> --> - <td align="right"><%qty%></td> - <td align="left"><%description%></td> - <td align="right"><%sellprice%></td> - <!-- <td align=right><%discount%></td> --> - <td align="right"><%linetotal%></td> - </tr> -<%end number%> - - <tr> - <td colspan="4"><hr noshade></td> - </tr> - </table> - - <!-- Subtotales, impuestos y totales --> - <table width="100%"> - <tr> -<%if taxincluded%> - <th align=right>Total</th> - <td align=right><%ordtotal%></td> -<%end taxincluded%> -<%if not taxincluded%> - <th align="right">Base imponible</th> - <td align="right"><%subtotal%> €</td> -<%end taxincluded%> - </tr> - -<%foreach tax%> - <tr> - <th align="right">IVA (<%taxrate%>%) sobre <%taxbase%>:</th> - <td align="right"><%tax%> €</td> - </tr> -<%end tax%> - -<%if paid%> - <tr> - <th align="right">Pagado:</th> - <td align="right"><%paid%> €</td> - </tr> -<%end paid%> - - <tr> - <td> </td> - <td><hr noshade></td> - </tr> - - <tr> - <th align="right">Total:</th> - <th align="right"><%ordtotal%> €</th> - </tr> - - <tr> - <td colspan="4"> </td> - </tr> - - </table> - - - <!-- Pie --> - <table width="100%"> - <tr valign=top> -<%if notes%> - <td>Notas</td> - <td><%notes%></td> -<%end notes%> - </tr> - -<%if taxincluded%> - <tr> - <th colspan="2" align="left"><font size=-2>Los precios incluyen impuestos.</th> - </tr> -<%end taxincluded%> - - </table> - - -</body> -</html> - diff --git a/sql-ledger/templates/Spanish_Letter-sales_order.tex b/sql-ledger/templates/Spanish_Letter-sales_order.tex deleted file mode 100644 index fd51cb6..0000000 --- a/sql-ledger/templates/Spanish_Letter-sales_order.tex +++ /dev/null @@ -1,107 +0,0 @@ -\documentclass[letterpaper,oneside]{article} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -%\usepackage{marvosym} % Euro \EUR -\usepackage{fancyhdr} -\setlength{\topmargin}{0cm} -\setlength{\topskip}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0.5cm} -\setlength{\textheight}{24.2cm} -\setlength{\textwidth}{19cm} -\setlength{\oddsidemargin}{-1.4cm} -\setlength{\evensidemargin}{-1.4cm} -\setlength{\footskip}{1cm} - -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{13.0cm} - -\newsavebox{\hdr} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\sbox{\hdr}{ -\begin{minipage}[t]{0.6\linewidth} -\vspace{2.2cm} - -\begin{tabular}[t]{p{1.7cm}p{2.4cm}p{1.7cm}}\\ -\centering{Número} & \centering{Fecha} & C. Cliente\\ -\centering{<%ordnumber%>} & \centering{<%orddate%>} & \centering{<%vendor_id%>} -\end{tabular} -\end{minipage} - -\begin{minipage}[t]{0.4\linewidth} -\textbf{P E D I D O} -\vspace{1cm} - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> -\end{minipage} - -} - -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0cm} -\renewcommand{\footrulewidth}{0cm} -\cfoot{\thepage} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -%\thispagestyle{empty} %use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} -\newpage -\usebox{\hdr} -%\markboth{\usebox{\hdr}}{\usebox{\hdr}} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%end pagebreak%> - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\usebox{\hdr} -\vspace{0.5cm} - -\begin{tabular*}{\textwidth}{rp{\descrwidth}rr} - \textbf{Cant.} & \textbf{Descripción} & \textbf{Precio} & \textbf{Importe} \\ \hline -<%foreach number%> - <%qty%> & <%description%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} - -\parbox{\textwidth}{ -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> -} - -\vfill - -\begin{flushright} -\begin{tabularx}{10cm}{Xr@{}} - \textbf{Base imponible} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - IVA (<%taxrate%>\%) sobre <%taxbase%> & <%tax%> \\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>} \\ -\end{tabularx} -\end{flushright} - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\end{document} - diff --git a/sql-ledger/templates/Spanish_Letter-statement.html b/sql-ledger/templates/Spanish_Letter-statement.html deleted file mode 100644 index 6fca322..0000000 --- a/sql-ledger/templates/Spanish_Letter-statement.html +++ /dev/null @@ -1,121 +0,0 @@ - -<body bgcolor=ffffff> - -<table width=100%> - <tr> - <td width=10> </td> - <td> - <table width=100%> - <tr> - <td> - <h4> - <%company%> - <br><%address%> - </h4> - </td> - <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=64 height=58></th> - <td align=right> - <h4> - Tel: <%tel%> - <br>Fax: <%fax%> - </h4> - </td> - </tr> - <tr> - <th colspan=3><h4>S T A T E M E N T</h4></th> - </tr> - <tr> - <td colspan=3 align=right><%statementdate%></td> - </tr> - </table> - </td> - </tr> - <tr> - <td> </td> - <td> - <table width=100%> - <tr valign=top> - <td><%name%> - <br><%addr1%> - <br><%addr2%> - <br><%addr3%> - <br><%addr4%> - <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 width=15%>Date</th> - <th width=15%>Due</th> - <th width=10%>Current</th> - <th width=10%>30</th> - <th width=10%>60</th> - <th width=10%>90+</th> - </tr> -<%foreach invnumber%> - <tr> - <td><%invnumber%></td> - <td><%invdate%></td> - <td><%duedate%></td> - <td align=right><%c0%></td> - <td align=right><%c30%></td> - <td align=right><%c60%></td> - <td align=right><%c90%></td> - </tr> -<%end invnumber%> - <tr> - <td colspan=7><hr size=1></td> - </tr> - <tr> - <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>Please make check payable to <b><%company%></b>. - </td> - </tr> - <tr height=20></tr> -</table> - diff --git a/sql-ledger/templates/Spanish_Letter-statement.tex b/sql-ledger/templates/Spanish_Letter-statement.tex deleted file mode 100644 index 0b63f75..0000000 --- a/sql-ledger/templates/Spanish_Letter-statement.tex +++ /dev/null @@ -1,137 +0,0 @@ -\documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} -\usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} -\begin{document} - -\newlength{\descrwidth}\setlength{\descrwidth}{10cm} - -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rrr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} - -\newpage - -\markright{<%company%>\hfill <%statementdate%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ - carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> - - -\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - -\vspace*{1.5cm} - -\parbox[t]{1cm}{\hfill} -\parbox[t]{10.5cm}{ - -<%name%> - -<%addr1%> - -<%addr2%> - -<%addr3%> - -<%addr4%> - -} -\parbox[t]{7.5cm}{ -<%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 - -\hfill <%statementdate%> - -\vspace{2cm} - -\begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}} - \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} & - \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\ -<%foreach invnumber%> - <%invnumber%> & <%invdate%> & <%duedate%> & - <%c0%> & <%c30%> & <%c60%> & <%c90%> \\ -<%end invnumber%> -\textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> -\end{tabular*} -\rule{\textwidth}{1pt} - -\vspace{1cm} - -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Total outstanding} & <%total%> -\end{tabularx} - -\vfill - -Please make check payable to <%company%> - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -\footnotetext[1]{\tiny -} - -\end{document} - |