From f6c9088e16c4c083174dd1130ae58d213923cdef Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2003 11:45:14 +0000 Subject: import of sql-ledger 2.0.8 --- .../Brazilian_Portuguese-balance_sheet.html | 103 +++++++ .../templates/Brazilian_Portuguese-check.tex | 71 +++++ .../Brazilian_Portuguese-income_statement.html | 77 +++++ .../templates/Brazilian_Portuguese-invoice.html | 315 +++++++++++++++++++++ .../templates/Brazilian_Portuguese-invoice.tex | 223 +++++++++++++++ .../Brazilian_Portuguese-packing_list.html | 143 ++++++++++ .../Brazilian_Portuguese-packing_list.tex | 116 ++++++++ .../Brazilian_Portuguese-purchase_order.html | 187 ++++++++++++ .../Brazilian_Portuguese-purchase_order.tex | 198 +++++++++++++ .../templates/Brazilian_Portuguese-receipt.tex | 71 +++++ .../Brazilian_Portuguese-sales_order.html | 221 +++++++++++++++ .../templates/Brazilian_Portuguese-sales_order.tex | 137 +++++++++ .../templates/Brazilian_Portuguese-statement.html | 125 ++++++++ .../templates/Brazilian_Portuguese-statement.tex | 137 +++++++++ sql-ledger/templates/Danish-balance_sheet.html | 96 +++++++ sql-ledger/templates/Danish-check.tex | 71 +++++ sql-ledger/templates/Danish-income_statement.html | 73 +++++ sql-ledger/templates/Danish-invoice.html | 273 ++++++++++++++++++ sql-ledger/templates/Danish-invoice.tex | 152 ++++++++++ sql-ledger/templates/Danish-packing_list.html | 145 ++++++++++ sql-ledger/templates/Danish-packing_list.tex | 123 ++++++++ sql-ledger/templates/Danish-purchase_order.html | 191 +++++++++++++ sql-ledger/templates/Danish-purchase_order.tex | 143 ++++++++++ sql-ledger/templates/Danish-receipt.tex | 71 +++++ sql-ledger/templates/Danish-sales_order.html | 210 ++++++++++++++ sql-ledger/templates/Danish-sales_order.tex | 144 ++++++++++ sql-ledger/templates/Danish-statement.html | 121 ++++++++ sql-ledger/templates/Danish-statement.tex | 137 +++++++++ sql-ledger/templates/Default-balance_sheet.html | 100 +++++++ sql-ledger/templates/Default-check.tex | 77 +++++ sql-ledger/templates/Default-income_statement.html | 82 ++++++ sql-ledger/templates/Default-invoice.html | 309 ++++++++++++++++++++ sql-ledger/templates/Default-invoice.tex | 231 +++++++++++++++ sql-ledger/templates/Default-packing_list.html | 148 ++++++++++ sql-ledger/templates/Default-packing_list.tex | 122 ++++++++ sql-ledger/templates/Default-purchase_order.html | 224 +++++++++++++++ sql-ledger/templates/Default-purchase_order.tex | 198 +++++++++++++ sql-ledger/templates/Default-receipt.tex | 74 +++++ sql-ledger/templates/Default-sales_order.html | 212 ++++++++++++++ sql-ledger/templates/Default-sales_order.tex | 143 ++++++++++ sql-ledger/templates/Default-statement.html | 121 ++++++++ sql-ledger/templates/Default-statement.tex | 137 +++++++++ sql-ledger/templates/Dutch-balance_sheet.html | 104 +++++++ sql-ledger/templates/Dutch-check.tex | 71 +++++ sql-ledger/templates/Dutch-income_statement.html | 83 ++++++ sql-ledger/templates/Dutch-invoice.html | 239 ++++++++++++++++ sql-ledger/templates/Dutch-invoice.tex | 138 +++++++++ sql-ledger/templates/Dutch-packing_list.html | 121 ++++++++ sql-ledger/templates/Dutch-packing_list.tex | 114 ++++++++ sql-ledger/templates/Dutch-purchase_order.html | 186 ++++++++++++ sql-ledger/templates/Dutch-purchase_order.tex | 137 +++++++++ sql-ledger/templates/Dutch-receipt.tex | 71 +++++ sql-ledger/templates/Dutch-sales_order.html | 208 ++++++++++++++ sql-ledger/templates/Dutch-sales_order.tex | 134 +++++++++ sql-ledger/templates/Dutch-statement.html | 121 ++++++++ sql-ledger/templates/Dutch-statement.tex | 137 +++++++++ sql-ledger/templates/Estonian-balance_sheet.html | 103 +++++++ sql-ledger/templates/Estonian-check.tex | 71 +++++ .../templates/Estonian-income_statement.html | 84 ++++++ sql-ledger/templates/Estonian-invoice.html | 215 ++++++++++++++ sql-ledger/templates/Estonian-invoice.tex | 147 ++++++++++ sql-ledger/templates/Estonian-packing_list.html | 147 ++++++++++ sql-ledger/templates/Estonian-packing_list.tex | 119 ++++++++ sql-ledger/templates/Estonian-purchase_order.html | 195 +++++++++++++ sql-ledger/templates/Estonian-purchase_order.tex | 143 ++++++++++ sql-ledger/templates/Estonian-receipt.tex | 71 +++++ sql-ledger/templates/Estonian-sales_order.html | 214 ++++++++++++++ sql-ledger/templates/Estonian-sales_order.tex | 141 +++++++++ sql-ledger/templates/Estonian-statement.html | 121 ++++++++ sql-ledger/templates/Estonian-statement.tex | 137 +++++++++ sql-ledger/templates/French-balance_sheet.html | 109 +++++++ sql-ledger/templates/French-check.tex | 71 +++++ sql-ledger/templates/French-income_statement.html | 86 ++++++ sql-ledger/templates/French-invoice.html | 309 ++++++++++++++++++++ sql-ledger/templates/French-invoice.tex | 151 ++++++++++ sql-ledger/templates/French-packing_list.html | 152 ++++++++++ sql-ledger/templates/French-packing_list.tex | 125 ++++++++ sql-ledger/templates/French-purchase_order.html | 207 ++++++++++++++ sql-ledger/templates/French-purchase_order.tex | 143 ++++++++++ sql-ledger/templates/French-receipt.tex | 71 +++++ sql-ledger/templates/French-sales_order.html | 229 +++++++++++++++ sql-ledger/templates/French-sales_order.tex | 144 ++++++++++ sql-ledger/templates/French-statement.html | 133 +++++++++ sql-ledger/templates/French-statement.tex | 137 +++++++++ sql-ledger/templates/German-balance_sheet.html | 100 +++++++ sql-ledger/templates/German-check.tex | 71 +++++ sql-ledger/templates/German-income_statement.html | 78 +++++ sql-ledger/templates/German-invoice.html | 265 +++++++++++++++++ sql-ledger/templates/German-invoice.tex | 155 ++++++++++ sql-ledger/templates/German-packing_list.html | 146 ++++++++++ sql-ledger/templates/German-packing_list.tex | 118 ++++++++ sql-ledger/templates/German-purchase_order.html | 188 ++++++++++++ sql-ledger/templates/German-purchase_order.tex | 143 ++++++++++ sql-ledger/templates/German-receipt.tex | 71 +++++ sql-ledger/templates/German-sales_order.html | 213 ++++++++++++++ sql-ledger/templates/German-sales_order.tex | 142 ++++++++++ sql-ledger/templates/German-statement.html | 121 ++++++++ sql-ledger/templates/German-statement.tex | 137 +++++++++ sql-ledger/templates/Service-balance_sheet.html | 100 +++++++ sql-ledger/templates/Service-check.tex | 71 +++++ sql-ledger/templates/Service-income_statement.html | 82 ++++++ sql-ledger/templates/Service-invoice.html | 226 +++++++++++++++ sql-ledger/templates/Service-invoice.tex | 151 ++++++++++ sql-ledger/templates/Service-packing_list.html | 148 ++++++++++ sql-ledger/templates/Service-packing_list.tex | 120 ++++++++ sql-ledger/templates/Service-purchase_order.html | 194 +++++++++++++ sql-ledger/templates/Service-purchase_order.tex | 143 ++++++++++ sql-ledger/templates/Service-receipt.tex | 71 +++++ sql-ledger/templates/Service-sales_order.html | 198 +++++++++++++ sql-ledger/templates/Service-sales_order.tex | 139 +++++++++ sql-ledger/templates/Service-statement.html | 121 ++++++++ sql-ledger/templates/Service-statement.tex | 137 +++++++++ sql-ledger/templates/Spanish_A4-balance_sheet.html | 100 +++++++ sql-ledger/templates/Spanish_A4-check.tex | 71 +++++ .../templates/Spanish_A4-income_statement.html | 77 +++++ sql-ledger/templates/Spanish_A4-invoice.html | 153 ++++++++++ sql-ledger/templates/Spanish_A4-invoice.tex | 108 +++++++ sql-ledger/templates/Spanish_A4-packing_list.html | 155 ++++++++++ sql-ledger/templates/Spanish_A4-packing_list.tex | 108 +++++++ .../templates/Spanish_A4-purchase_order.html | 153 ++++++++++ sql-ledger/templates/Spanish_A4-purchase_order.tex | 107 +++++++ sql-ledger/templates/Spanish_A4-receipt.tex | 71 +++++ sql-ledger/templates/Spanish_A4-sales_order.html | 153 ++++++++++ sql-ledger/templates/Spanish_A4-sales_order.tex | 107 +++++++ sql-ledger/templates/Spanish_A4-statement.html | 121 ++++++++ sql-ledger/templates/Spanish_A4-statement.tex | 137 +++++++++ .../templates/Spanish_Letter-balance_sheet.html | 100 +++++++ sql-ledger/templates/Spanish_Letter-check.tex | 71 +++++ .../templates/Spanish_Letter-income_statement.html | 77 +++++ sql-ledger/templates/Spanish_Letter-invoice.html | 153 ++++++++++ sql-ledger/templates/Spanish_Letter-invoice.tex | 110 +++++++ .../templates/Spanish_Letter-packing_list.html | 155 ++++++++++ .../templates/Spanish_Letter-packing_list.tex | 108 +++++++ .../templates/Spanish_Letter-purchase_order.html | 153 ++++++++++ .../templates/Spanish_Letter-purchase_order.tex | 107 +++++++ sql-ledger/templates/Spanish_Letter-receipt.tex | 71 +++++ .../templates/Spanish_Letter-sales_order.html | 153 ++++++++++ .../templates/Spanish_Letter-sales_order.tex | 107 +++++++ sql-ledger/templates/Spanish_Letter-statement.html | 121 ++++++++ sql-ledger/templates/Spanish_Letter-statement.tex | 137 +++++++++ 140 files changed, 19184 insertions(+) create mode 100644 sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-check.tex create mode 100644 sql-ledger/templates/Brazilian_Portuguese-income_statement.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-invoice.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-invoice.tex create mode 100644 sql-ledger/templates/Brazilian_Portuguese-packing_list.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-packing_list.tex create mode 100644 sql-ledger/templates/Brazilian_Portuguese-purchase_order.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex create mode 100644 sql-ledger/templates/Brazilian_Portuguese-receipt.tex create mode 100644 sql-ledger/templates/Brazilian_Portuguese-sales_order.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-sales_order.tex create mode 100644 sql-ledger/templates/Brazilian_Portuguese-statement.html create mode 100644 sql-ledger/templates/Brazilian_Portuguese-statement.tex create mode 100644 sql-ledger/templates/Danish-balance_sheet.html create mode 100644 sql-ledger/templates/Danish-check.tex create mode 100644 sql-ledger/templates/Danish-income_statement.html create mode 100644 sql-ledger/templates/Danish-invoice.html create mode 100644 sql-ledger/templates/Danish-invoice.tex create mode 100644 sql-ledger/templates/Danish-packing_list.html create mode 100644 sql-ledger/templates/Danish-packing_list.tex create mode 100644 sql-ledger/templates/Danish-purchase_order.html create mode 100644 sql-ledger/templates/Danish-purchase_order.tex create mode 100644 sql-ledger/templates/Danish-receipt.tex create mode 100644 sql-ledger/templates/Danish-sales_order.html create mode 100644 sql-ledger/templates/Danish-sales_order.tex create mode 100644 sql-ledger/templates/Danish-statement.html create mode 100644 sql-ledger/templates/Danish-statement.tex create mode 100644 sql-ledger/templates/Default-balance_sheet.html create mode 100644 sql-ledger/templates/Default-check.tex create mode 100644 sql-ledger/templates/Default-income_statement.html create mode 100644 sql-ledger/templates/Default-invoice.html create mode 100644 sql-ledger/templates/Default-invoice.tex create mode 100644 sql-ledger/templates/Default-packing_list.html create mode 100644 sql-ledger/templates/Default-packing_list.tex create mode 100644 sql-ledger/templates/Default-purchase_order.html create mode 100644 sql-ledger/templates/Default-purchase_order.tex create mode 100644 sql-ledger/templates/Default-receipt.tex create mode 100644 sql-ledger/templates/Default-sales_order.html create mode 100644 sql-ledger/templates/Default-sales_order.tex create mode 100644 sql-ledger/templates/Default-statement.html create mode 100644 sql-ledger/templates/Default-statement.tex create mode 100644 sql-ledger/templates/Dutch-balance_sheet.html create mode 100644 sql-ledger/templates/Dutch-check.tex create mode 100644 sql-ledger/templates/Dutch-income_statement.html create mode 100644 sql-ledger/templates/Dutch-invoice.html create mode 100644 sql-ledger/templates/Dutch-invoice.tex create mode 100644 sql-ledger/templates/Dutch-packing_list.html create mode 100644 sql-ledger/templates/Dutch-packing_list.tex create mode 100644 sql-ledger/templates/Dutch-purchase_order.html create mode 100644 sql-ledger/templates/Dutch-purchase_order.tex create mode 100644 sql-ledger/templates/Dutch-receipt.tex create mode 100644 sql-ledger/templates/Dutch-sales_order.html create mode 100644 sql-ledger/templates/Dutch-sales_order.tex create mode 100644 sql-ledger/templates/Dutch-statement.html create mode 100644 sql-ledger/templates/Dutch-statement.tex create mode 100644 sql-ledger/templates/Estonian-balance_sheet.html create mode 100644 sql-ledger/templates/Estonian-check.tex create mode 100644 sql-ledger/templates/Estonian-income_statement.html create mode 100644 sql-ledger/templates/Estonian-invoice.html create mode 100644 sql-ledger/templates/Estonian-invoice.tex create mode 100644 sql-ledger/templates/Estonian-packing_list.html create mode 100644 sql-ledger/templates/Estonian-packing_list.tex create mode 100644 sql-ledger/templates/Estonian-purchase_order.html create mode 100644 sql-ledger/templates/Estonian-purchase_order.tex create mode 100644 sql-ledger/templates/Estonian-receipt.tex create mode 100644 sql-ledger/templates/Estonian-sales_order.html create mode 100644 sql-ledger/templates/Estonian-sales_order.tex create mode 100644 sql-ledger/templates/Estonian-statement.html create mode 100644 sql-ledger/templates/Estonian-statement.tex create mode 100644 sql-ledger/templates/French-balance_sheet.html create mode 100644 sql-ledger/templates/French-check.tex create mode 100644 sql-ledger/templates/French-income_statement.html create mode 100644 sql-ledger/templates/French-invoice.html create mode 100644 sql-ledger/templates/French-invoice.tex create mode 100644 sql-ledger/templates/French-packing_list.html create mode 100644 sql-ledger/templates/French-packing_list.tex create mode 100644 sql-ledger/templates/French-purchase_order.html create mode 100644 sql-ledger/templates/French-purchase_order.tex create mode 100644 sql-ledger/templates/French-receipt.tex create mode 100644 sql-ledger/templates/French-sales_order.html create mode 100644 sql-ledger/templates/French-sales_order.tex create mode 100644 sql-ledger/templates/French-statement.html create mode 100644 sql-ledger/templates/French-statement.tex create mode 100644 sql-ledger/templates/German-balance_sheet.html create mode 100644 sql-ledger/templates/German-check.tex create mode 100644 sql-ledger/templates/German-income_statement.html create mode 100644 sql-ledger/templates/German-invoice.html create mode 100644 sql-ledger/templates/German-invoice.tex create mode 100644 sql-ledger/templates/German-packing_list.html create mode 100644 sql-ledger/templates/German-packing_list.tex create mode 100644 sql-ledger/templates/German-purchase_order.html create mode 100644 sql-ledger/templates/German-purchase_order.tex create mode 100644 sql-ledger/templates/German-receipt.tex create mode 100644 sql-ledger/templates/German-sales_order.html create mode 100644 sql-ledger/templates/German-sales_order.tex create mode 100644 sql-ledger/templates/German-statement.html create mode 100644 sql-ledger/templates/German-statement.tex create mode 100644 sql-ledger/templates/Service-balance_sheet.html create mode 100644 sql-ledger/templates/Service-check.tex create mode 100644 sql-ledger/templates/Service-income_statement.html create mode 100644 sql-ledger/templates/Service-invoice.html create mode 100644 sql-ledger/templates/Service-invoice.tex create mode 100644 sql-ledger/templates/Service-packing_list.html create mode 100644 sql-ledger/templates/Service-packing_list.tex create mode 100644 sql-ledger/templates/Service-purchase_order.html create mode 100644 sql-ledger/templates/Service-purchase_order.tex create mode 100644 sql-ledger/templates/Service-receipt.tex create mode 100644 sql-ledger/templates/Service-sales_order.html create mode 100644 sql-ledger/templates/Service-sales_order.tex create mode 100644 sql-ledger/templates/Service-statement.html create mode 100644 sql-ledger/templates/Service-statement.tex create mode 100644 sql-ledger/templates/Spanish_A4-balance_sheet.html create mode 100644 sql-ledger/templates/Spanish_A4-check.tex create mode 100644 sql-ledger/templates/Spanish_A4-income_statement.html create mode 100644 sql-ledger/templates/Spanish_A4-invoice.html create mode 100644 sql-ledger/templates/Spanish_A4-invoice.tex create mode 100644 sql-ledger/templates/Spanish_A4-packing_list.html create mode 100644 sql-ledger/templates/Spanish_A4-packing_list.tex create mode 100644 sql-ledger/templates/Spanish_A4-purchase_order.html create mode 100644 sql-ledger/templates/Spanish_A4-purchase_order.tex create mode 100644 sql-ledger/templates/Spanish_A4-receipt.tex create mode 100644 sql-ledger/templates/Spanish_A4-sales_order.html create mode 100644 sql-ledger/templates/Spanish_A4-sales_order.tex create mode 100644 sql-ledger/templates/Spanish_A4-statement.html create mode 100644 sql-ledger/templates/Spanish_A4-statement.tex create mode 100644 sql-ledger/templates/Spanish_Letter-balance_sheet.html create mode 100644 sql-ledger/templates/Spanish_Letter-check.tex create mode 100644 sql-ledger/templates/Spanish_Letter-income_statement.html create mode 100644 sql-ledger/templates/Spanish_Letter-invoice.html create mode 100644 sql-ledger/templates/Spanish_Letter-invoice.tex create mode 100644 sql-ledger/templates/Spanish_Letter-packing_list.html create mode 100644 sql-ledger/templates/Spanish_Letter-packing_list.tex create mode 100644 sql-ledger/templates/Spanish_Letter-purchase_order.html create mode 100644 sql-ledger/templates/Spanish_Letter-purchase_order.tex create mode 100644 sql-ledger/templates/Spanish_Letter-receipt.tex create mode 100644 sql-ledger/templates/Spanish_Letter-sales_order.html create mode 100644 sql-ledger/templates/Spanish_Letter-sales_order.tex create mode 100644 sql-ledger/templates/Spanish_Letter-statement.html create mode 100644 sql-ledger/templates/Spanish_Letter-statement.tex (limited to 'sql-ledger/templates') diff --git a/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html b/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html new file mode 100644 index 000000000..20c3c5123 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-balance_sheet.html @@ -0,0 +1,103 @@ + + + +

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

BALANÇO
+ <%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + + + +
VALORES
+
<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


TOTAL<%total_assets_this_period%>
<%total_assets_last_period%>
BALANÇO +
<%liability_account%><%liability_this_period%><%liability_last_period%>


Total<%total_liabilities_this_period%>

<%total_liabilities_last_period%>

SÓCIOS (%)
+
<%equity_account%><%equity_this_period%><%equity_last_period%>


Total<%total_equity_this_period%>

<%total_equity_last_period%>

TOTAIS<%total_this_period%>

<%total_last_period%>

+ + + diff --git a/sql-ledger/templates/Brazilian_Portuguese-check.tex b/sql-ledger/templates/Brazilian_Portuguese-check.tex new file mode 100644 index 000000000..ea62b003b --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..35311224f --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-income_statement.html @@ -0,0 +1,77 @@ + + + +

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

DECLARAÇÃO DE RENDIMENTOS
+ <%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + + + +
RENDIMENTOS
+
<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Total<%total_income_this_period%>
<%total_income_last_period%>
DESPESAS
+
<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Total<%total_expenses_this_period%>

<%total_expenses_last_period%>

RENDIMENTOS / (PREJUIZO)<%total_this_period%>

<%total_last_period%>

+ diff --git a/sql-ledger/templates/Brazilian_Portuguese-invoice.html b/sql-ledger/templates/Brazilian_Portuguese-invoice.html new file mode 100644 index 000000000..287123833 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-invoice.html @@ -0,0 +1,315 @@ + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

FATURA

+
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + +
Data <%invdate%>
Entrega <%duedate%>
Número <%invnumber%>
 
+ + + + + + + + + + + + + + + + + +
Para:Transportar Para:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+ + + + +   + + + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
NúmeroDescriçãoQuant. PreçoDisc.Total
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%invtotal%>Subtotal<%subtotal%>
+ <%taxdescription%> + em + <%taxbase%> + @ + <%taxrate%> + %<%tax%>
Pago- <%paid%>
 
Fatura para + <%terms%> + diasPendente<%total%>
 
+ + + + + + + +<%if notes%> + + +<%end notes%> + + + +
Obs.:<%notes%> Preços em + <%currency%> +
+ <%shippingpoint%> +
+ + + +  + +<%if paid%> + + + + + + + + + + + + + + + +<%end paid%> + +<%foreach payment%> + + + + + + +<%end payment%> + +<%if paid%> +
Pagamentos
+
+
DataContaOrigemTotal
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
+ + + + +   + +<%end paid%> + + + +
+ Obrigado por estarmos fazendo negócio! + + +  + + + + + + + + +
+ X
+
+ + + +<%foreach tax%> + + + + <%taxdescription%> + Registro + <%taxnumber%> + + +<%end tax%> + +<%if taxincluded%> + + + Impostos Inclusos. + +<%end taxincluded%> + + + + + + + + + diff --git a/sql-ledger/templates/Brazilian_Portuguese-invoice.tex b/sql-ledger/templates/Brazilian_Portuguese-invoice.tex new file mode 100644 index 000000000..15c407b89 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-invoice.tex @@ -0,0 +1,223 @@ +\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 new file mode 100644 index 000000000..4cdee7457 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-packing_list.html @@ -0,0 +1,143 @@ + + + + + + + +
+ + + + + + + + + +
+

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

+
+

LISTA DE PRODUTOS

+
+ + + + + + + + + + +
+ + + + + + + + + +
Data <%invdate%>
Número<%invnumber%>
+
+ + + + + + + + + + + + +
Para:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +<%if shiptocontact%> +

Obs.: + <%shiptocontact%> + <%end shiptocontact%> +

+ + + + + + + + + + + + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
NúmeroDescriçãoQuant. 
<%number%><%description%><%qty%><%unit%>

+ + + + + + + +<%if notes%> + + +<%end notes%> + + + +
Obs.:
<%notes%>
+ <%shippingpoint%> +
+ + + + + + + + + + +
+ X
+
+ + + + + + + + + + + + diff --git a/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex b/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex new file mode 100644 index 000000000..48102302f --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-packing_list.tex @@ -0,0 +1,116 @@ +\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 new file mode 100644 index 000000000..54b25f380 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.html @@ -0,0 +1,187 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

O R D E M    D E    C O M P R A

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Data <%orddate%>
Requerido por <%reqdate%>
Número <%ordnumber%>
 
+
+ + + + + + + + +
Para:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NúmeroDescriçãoQuant. Preço (unit.)Total
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Subtotal<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Faturado em <%terms%> diasTotal<%ordtotal%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Obs.:
<%notes%>
+ Todos os preços em <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex new file mode 100644 index 000000000..61bb5183c --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-purchase_order.tex @@ -0,0 +1,198 @@ +\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 new file mode 100644 index 000000000..ea62b003b --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..480dc6351 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-sales_order.html @@ -0,0 +1,221 @@ + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

ORDEM DE VENDA

+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + +
Data <%orddate%>
Requerido por <%reqdate%>
Número <%ordnumber%>
 
+ + + + + + + + + + + + + + + +
Para:Transportar para:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+ + + + +   + + + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> + +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
NúmeroDescriçãoQuant. PreçoDisc.Total
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%ordtotal%>Subtotal<%subtotal%>
+ <%taxdescription%> + em + <%taxbase%> + @ + <%taxrate%> + %<%tax%>
 
Faturar para + <%terms%> + diasTotal<%ordtotal%>
Impostos inclusos do total
 
+ + + + + + + +<%if notes%> + + +<%end notes%> + + + +
Obs.:
<%notes%>
Preços em + <%currency%> +
+ <%shippingpoint%> +
+ + + +  + + + + + + + + +
+ X
+
+ + + + + + + + + + + + diff --git a/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex b/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex new file mode 100644 index 000000000..4267143e7 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-sales_order.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..963f65868 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-statement.html @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

RELATÓRIO

+
<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + +
Número da FaturaDataPrazoAtual306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%>
<%c30total%> + <%c60total%> + <%c90total%> +
+ + + + +   + + + + + + +
Total<%total%>
+ + + +   +
+ + +   + + Porfavor pagar com + <%company%> + . + + + + diff --git a/sql-ledger/templates/Brazilian_Portuguese-statement.tex b/sql-ledger/templates/Brazilian_Portuguese-statement.tex new file mode 100644 index 000000000..fbc5b0350 --- /dev/null +++ b/sql-ledger/templates/Brazilian_Portuguese-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..61929eddd --- /dev/null +++ b/sql-ledger/templates/Danish-balance_sheet.html @@ -0,0 +1,96 @@ + + +

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

STATUS +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
AKTIVER

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


SAMLEDE AKTIVER<%total_assets_this_period%>
<%total_assets_last_period%>
PASSIVER
<%liability_account%><%liability_this_period%><%liability_last_period%>


Samlet gæld<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
KAPITAL

<%equity_account%><%equity_this_period%><%equity_last_period%>


Samlet egenkapital<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
SAMLET GÆLD OG EGENKAPITAL<%total_this_period%>

<%total_last_period%>

diff --git a/sql-ledger/templates/Danish-check.tex b/sql-ledger/templates/Danish-check.tex new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Danish-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..c0652977e --- /dev/null +++ b/sql-ledger/templates/Danish-income_statement.html @@ -0,0 +1,73 @@ + + +

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

DRIFTSREGNSKAB +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
INDTÆGTER

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Samlede indtægter<%total_income_this_period%>
<%total_income_last_period%>
UDGIFTER

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Samlede udgifter<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
RESULTAT<%total_this_period%>

<%total_last_period%>

diff --git a/sql-ledger/templates/Danish-invoice.html b/sql-ledger/templates/Danish-invoice.html new file mode 100644 index 000000000..d150a8475 --- /dev/null +++ b/sql-ledger/templates/Danish-invoice.html @@ -0,0 +1,273 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tlf.: <%tel%> +
Fax: <%fax%> +

+
+

F A K T U R A

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%foreach tax%> + + + +<%end tax%> + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Fakturadato <%invdate%>
Betalingsdato <%duedate%>
Fakturanummer <%invnumber%>
 
+
+ + + + <%if shiptoname%> + + <%end shiptoname%> + + + + + + + + <%if shiptoname%> + + <%end shiptoname%> + +
Faktureringsadresse:Leveringsadresse:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
VarenummerBeskrivelseAntal PrisRabatBeløb
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> på <%taxbase%> @ <%taxrate%> %<%tax%>
Allerede betalt- <%paid%>
 
Betalingsfrist <%terms%> dageAt betale<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemærkninger<%notes%> + Alle priser i <%currency%>. +
<%shippingpoint%> +
+
 
+
Tak for handelen! +
 
+ + + + + +
+ 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. + + + X
+
+
<%taxdescription%> noteret som <%taxnumber%>
Alle beløb er inklusive moms.
+ +
+ + + + diff --git a/sql-ledger/templates/Danish-invoice.tex b/sql-ledger/templates/Danish-invoice.tex new file mode 100644 index 000000000..6c3fa8b43 --- /dev/null +++ b/sql-ledger/templates/Danish-invoice.tex @@ -0,0 +1,152 @@ +\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 new file mode 100644 index 000000000..76e02b457 --- /dev/null +++ b/sql-ledger/templates/Danish-packing_list.html @@ -0,0 +1,145 @@ + + + + + + + +
+ + + + + + + + + +
+

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

+
+

F Ø L G E S E D D E L

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Dato <%invdate%>
Nummer<%invnumber%>
+
+
+ + + + + + + + +
Leveringsadresse:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +<%if shiptocontact%> +

Att.: <%shiptocontact%> +<%end shiptocontact%> + +

+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
VarenummerBeskrivelseAntal 
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemærkninger
<%notes%>
+ <%shippingpoint%> +
+
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + diff --git a/sql-ledger/templates/Danish-packing_list.tex b/sql-ledger/templates/Danish-packing_list.tex new file mode 100644 index 000000000..0d6bfc47d --- /dev/null +++ b/sql-ledger/templates/Danish-packing_list.tex @@ -0,0 +1,123 @@ +\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 new file mode 100644 index 000000000..f9f21cd79 --- /dev/null +++ b/sql-ledger/templates/Danish-purchase_order.html @@ -0,0 +1,191 @@ + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tlf.: <%tel%> +
Fax: <%fax%> +

+
+

I N D K Ø B S O R D R E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Ordredato <%orddate%>
Ønsket leveringsdato <%reqdate%>
Ordrenummer <%ordnumber%>
 
+
+ + + + + + + + +
Til:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
VarenummerBeskrivelseAntal PrisBeløb
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Subtotal<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Betalingsfrist <%terms%> dageTotal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemærkninger
<%notes%>
+ Alle priser i <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + diff --git a/sql-ledger/templates/Danish-purchase_order.tex b/sql-ledger/templates/Danish-purchase_order.tex new file mode 100644 index 000000000..bdd741622 --- /dev/null +++ b/sql-ledger/templates/Danish-purchase_order.tex @@ -0,0 +1,143 @@ +\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 new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Danish-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..f25652223 --- /dev/null +++ b/sql-ledger/templates/Danish-sales_order.html @@ -0,0 +1,210 @@ + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tlf.: <%tel%> +
Fax: <%fax%> +

+
+

S A L G S O R D R E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Ordredato <%orddate%>
Ønsket leveringsdato <%reqdate%>
Ordrenummer <%ordnumber%>
 
+
+ + + + + + + + + + + +
Til:Leveringsadresse:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> + +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
VarenummerBeskrivelseAntal PrisRabatBeløb
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%ordtotal%>Subtotal<%subtotal%>
<%taxdescription%> på <%taxbase%> @ <%taxrate%> %<%tax%>
 
Betalingsfrist netto <%terms%> dageTotal<%ordtotal%>
Total er inklusive moms
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemærkninger
<%notes%>
+ Alle priser i <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. +
+
+ X
+
+
+ +
+ + + diff --git a/sql-ledger/templates/Danish-sales_order.tex b/sql-ledger/templates/Danish-sales_order.tex new file mode 100644 index 000000000..d7307cd76 --- /dev/null +++ b/sql-ledger/templates/Danish-sales_order.tex @@ -0,0 +1,144 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/Danish-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/Danish-statement.tex b/sql-ledger/templates/Danish-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/Danish-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..478caabca --- /dev/null +++ b/sql-ledger/templates/Default-balance_sheet.html @@ -0,0 +1,100 @@ + + + +

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

BALANCE SHEET +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
ASSETS

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


TOTAL ASSETS<%total_assets_this_period%>
<%total_assets_last_period%>
LIABILITIES
<%liability_account%><%liability_this_period%><%liability_last_period%>


Total Liabilities<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
SHAREHOLDER'S EQUITY

<%equity_account%><%equity_this_period%><%equity_last_period%>


Total Equity<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
TOTAL LIABILITIES & EQUITY<%total_this_period%>

<%total_last_period%>

+ + + diff --git a/sql-ledger/templates/Default-check.tex b/sql-ledger/templates/Default-check.tex new file mode 100644 index 000000000..a1ab20169 --- /dev/null +++ b/sql-ledger/templates/Default-check.tex @@ -0,0 +1,77 @@ +\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 new file mode 100644 index 000000000..e9d6a4002 --- /dev/null +++ b/sql-ledger/templates/Default-income_statement.html @@ -0,0 +1,82 @@ + + + +

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

INCOME STATEMENT +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
INCOME

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Total Income<%total_income_this_period%>
<%total_income_last_period%>
EXPENSES

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Total Expenses<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
INCOME / (LOSS)<%total_this_period%>

<%total_last_period%>

+ + + + + + + + diff --git a/sql-ledger/templates/Default-invoice.html b/sql-ledger/templates/Default-invoice.html new file mode 100644 index 000000000..0ba06cc32 --- /dev/null +++ b/sql-ledger/templates/Default-invoice.html @@ -0,0 +1,309 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telephone: <%tel%> +
Facsimile: <%fax%> +

+
+

I N V O I C E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +<%if paid%> + + + + + + + +<%end paid%> + + + + + + + + + + + +<%foreach tax%> + + + +<%end tax%> + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Invoice Date <%invdate%>
Due Date <%duedate%>
Number <%invnumber%>
 
+
+ + + + + + + + + + + + + +
To:Ship To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
NumberDescriptionQt'y PriceDiscAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
Paid- <%paid%>
 
Terms Net <%terms%> daysOutstanding<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes<%notes%> + All prices in <%currency%> Funds +
<%shippingpoint%> +
+
 
+ + + + + + + + + + + + + +<%end paid%> + +<%foreach payment%> + + + + + + +<%end payment%> + +<%if paid%> +
Payments
+
+
DateAccountSourceAmount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
+
 
+
Thank you for your valued business! +
 
+ + + + + +
+ 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. + + + X
+
+
<%taxdescription%> Registration <%taxnumber%>
Taxes shown are included in price.
+ +
+ + + + diff --git a/sql-ledger/templates/Default-invoice.tex b/sql-ledger/templates/Default-invoice.tex new file mode 100644 index 000000000..58a340d5e --- /dev/null +++ b/sql-ledger/templates/Default-invoice.tex @@ -0,0 +1,231 @@ +\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 new file mode 100644 index 000000000..07ba8d61d --- /dev/null +++ b/sql-ledger/templates/Default-packing_list.html @@ -0,0 +1,148 @@ + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

P A C K I N G    L I S T

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Date <%invdate%>
Number<%invnumber%>
+
+
+ + + + + + + + +
Ship To:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +<%if shiptocontact%> +

Attn: <%shiptocontact%> +<%end shiptocontact%> + +

+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
NumberDescriptionQt'y 
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ <%shippingpoint%> +
+
+ + + + + +
+ Items returned are subject to + a 10% restocking charge. A return authorization must be obtained + from <%company%> before goods are returned. Returns must be shipped + prepaid and properly insured. <%company%> will not be responsible + for damages during transit. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Default-packing_list.tex b/sql-ledger/templates/Default-packing_list.tex new file mode 100644 index 000000000..fce17823c --- /dev/null +++ b/sql-ledger/templates/Default-packing_list.tex @@ -0,0 +1,122 @@ +\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 new file mode 100644 index 000000000..7df399ed6 --- /dev/null +++ b/sql-ledger/templates/Default-purchase_order.html @@ -0,0 +1,224 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telephone: <%tel%> +
Facsimile: <%fax%> +

+
+

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

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Order Date <%orddate%>
Required by <%reqdate%>
Number <%ordnumber%>
 
+
+ + + + + + + + + + +
To:Ship To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> + +
+<%if contact%> +
Attn: <%contact%> +<%end contact%> +<%if vendorphone%> +
Tel: <%vendorphone%> +<%end vendorphone%> +<%if vendorfax%> +
Fax: <%vendorfax%> +<%end vendorfax%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> + +
+<%if shiptocontact%> +
Attn: <%shiptocontact%> +<%end shiptocontact%> +<%if shiptophone%> +
Tel: <%shiptophone%> +<%end shiptophone%> +<%if shiptofax%> +
Fax: <%shiptofax%> +<%end shiptofax%> + +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NumberDescriptionQt'y PriceAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Subtotal<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Terms Net <%terms%> daysTotal<%ordtotal%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ All prices in <%currency%> Funds +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Default-purchase_order.tex b/sql-ledger/templates/Default-purchase_order.tex new file mode 100644 index 000000000..4e1deb2f0 --- /dev/null +++ b/sql-ledger/templates/Default-purchase_order.tex @@ -0,0 +1,198 @@ +\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 new file mode 100644 index 000000000..24427b369 --- /dev/null +++ b/sql-ledger/templates/Default-receipt.tex @@ -0,0 +1,74 @@ +\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 new file mode 100644 index 000000000..c09e13a1c --- /dev/null +++ b/sql-ledger/templates/Default-sales_order.html @@ -0,0 +1,212 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telephone: <%tel%> +
Facsimile: <%fax%> +

+
+

S A L E S    O R D E R

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Order Date <%orddate%>
Required by <%reqdate%>
Number <%ordnumber%>
 
+
+ + + + + + + + + + + +
To:Ship To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> + +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
NumberDescriptionQt'y PriceDiscAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%ordtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
 
Terms Net <%terms%> daysTotal<%ordtotal%>
Tax is included in Total
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ All prices in <%currency%> Funds +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Default-sales_order.tex b/sql-ledger/templates/Default-sales_order.tex new file mode 100644 index 000000000..d5ac40c67 --- /dev/null +++ b/sql-ledger/templates/Default-sales_order.tex @@ -0,0 +1,143 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/Default-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/Default-statement.tex b/sql-ledger/templates/Default-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/Default-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..16ede7037 --- /dev/null +++ b/sql-ledger/templates/Dutch-balance_sheet.html @@ -0,0 +1,104 @@ + + + +

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

BALANS +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
ACTIVA

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


Totaal Activa<%total_assets_this_period%>
<%total_assets_last_period%>
PASSIVA
<%liability_account%><%liability_this_period%><%liability_last_period%>


Totaal Passiva<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
ONVERDEELD RESULTAAT

<%equity_account%><%equity_this_period%><%equity_last_period%>


Totaal Opbrengst<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
TOTAAL PASSIVA & RESULTAAT<%total_this_period%>

<%total_last_period%>

+ + + + + + + diff --git a/sql-ledger/templates/Dutch-check.tex b/sql-ledger/templates/Dutch-check.tex new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Dutch-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..ce4fd2462 --- /dev/null +++ b/sql-ledger/templates/Dutch-income_statement.html @@ -0,0 +1,83 @@ + + + +

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

INKOMSTEN OVERZICHT +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
INKOMSTEN

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Totaal Inkomsten<%total_income_this_period%>
<%total_income_last_period%>
ONKOSTEN

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Totaal Onkosten<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
WINST / (VERLIES)<%total_this_period%>

<%total_last_period%>

+ + + + + + + + + diff --git a/sql-ledger/templates/Dutch-invoice.html b/sql-ledger/templates/Dutch-invoice.html new file mode 100644 index 000000000..9dc656c88 --- /dev/null +++ b/sql-ledger/templates/Dutch-invoice.html @@ -0,0 +1,239 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

F A C T U U R

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Factuurdatum <%invdate%>
Vervaldatum <%duedate%>
Factuurnummer <%invnumber%>
 
+
+ + + + + + + + + + + +
Factuuradres:Verzendadres:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
ArtikelnummerOmschrijvingAantal PrijsKortingTotaal
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Subtotaal<%subtotal%>
BTW <%taxrate%>%<%tax%>
Betaald- <%paid%>
 
Betalen binnen <%terms%> dagenOpenstaand<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Opmerkingen
<%notes%>
+ Alle prijzen in <%currency%> +
<%shippingpoint%> +
+
 
+ Gaarne u betaling overmaken op onderstaande giro- of bankrekening +
ten name van <%company%> +
onder vermelding van het factuurnummer. +
 
+ + + + + +
+ Op al onze aanbiedingen/leveringen zijn, met uitsluiting van eventuele inkoop- of andere voorwaarden van de opdrachtgever, +
de Algemene Voorwaarden van <%company%> van toepassing. +
Deze Algemene Voorwaarden zijn gedeponeerd bij de Kamer van Koophandel te ........ +
+
+ X
+
+
BTW nummer:<%taxnumber%>
Kamer van Koophandel te ...... nummer:<%businessnumber%>
Girorekening:.........
Bankrekening:..........
+ +
+ + + + diff --git a/sql-ledger/templates/Dutch-invoice.tex b/sql-ledger/templates/Dutch-invoice.tex new file mode 100644 index 000000000..c19d8e2cf --- /dev/null +++ b/sql-ledger/templates/Dutch-invoice.tex @@ -0,0 +1,138 @@ +\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 new file mode 100644 index 000000000..aea6ba7ba --- /dev/null +++ b/sql-ledger/templates/Dutch-packing_list.html @@ -0,0 +1,121 @@ + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

P A K B O N

+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Factuurdatum <%invdate%>
Factuurnummer<%invnumber%>
+
+
+ + + + + + + + +
Verzendadres:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
ArtikelnummerOmschrijvingAantal 
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
Opmerkingen
<%notes%>
+ <%shippingpoint%> +
+
+ +
+ + diff --git a/sql-ledger/templates/Dutch-packing_list.tex b/sql-ledger/templates/Dutch-packing_list.tex new file mode 100644 index 000000000..84289bc33 --- /dev/null +++ b/sql-ledger/templates/Dutch-packing_list.tex @@ -0,0 +1,114 @@ +\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 new file mode 100644 index 000000000..0cb58d7e4 --- /dev/null +++ b/sql-ledger/templates/Dutch-purchase_order.html @@ -0,0 +1,186 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

I N K O O P  B E S T E L L I N G

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Bestel Datum <%orddate%>
Lever datum <%reqdate%>
Bestel nummer <%ordnumber%>
 
+
+ + + + + + + + +
To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NummerOmschrijvingAantal PrijsBedrag
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Subtotaal<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Betalings termijn <%terms%> dagenTotaal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ Alle prijzen in <%currency%>'s +
<%shippingpoint%> +
+
 
+ + + + + +
  + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Dutch-purchase_order.tex b/sql-ledger/templates/Dutch-purchase_order.tex new file mode 100644 index 000000000..c6c68d12c --- /dev/null +++ b/sql-ledger/templates/Dutch-purchase_order.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Dutch-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..42b20a9c0 --- /dev/null +++ b/sql-ledger/templates/Dutch-sales_order.html @@ -0,0 +1,208 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

V E R K O O P  B E S T E L L I N G

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Bestel Datum <%orddate%>
Gewenste Leverdatum <%reqdate%>
Bestel Nummer <%ordnumber%>
 
+
+ + + + + + + + + + + +
Aan:Verzenden aan:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> + +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
NummerOmschrijvingAantal PrijsKortingBedrag
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Totaal<%ordtotal%>Subtotaal<%subtotal%>
<%taxdescription%> over <%taxbase%> @ <%taxrate%> %<%tax%>
 
Betalingstermijn <%terms%> dagenTotaal<%ordtotal%>
Totaal bedrag is inclusief BTW.
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Opmerkingen:
<%notes%>
+ Alle prijzen in <%currency%>'s +
<%shippingpoint%> +
+
 
+ + + + + +
  + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Dutch-sales_order.tex b/sql-ledger/templates/Dutch-sales_order.tex new file mode 100644 index 000000000..79acb4d32 --- /dev/null +++ b/sql-ledger/templates/Dutch-sales_order.tex @@ -0,0 +1,134 @@ +\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 new file mode 100644 index 000000000..599a2f5ca --- /dev/null +++ b/sql-ledger/templates/Dutch-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

O P E N S T A A N D E   F A C T U R E N

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Factuur #DatumVervaldatumHuidig306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Totaal Openstaand<%total%>
+
 
 Maak de betalingen over aan<%company%>. +
+ diff --git a/sql-ledger/templates/Dutch-statement.tex b/sql-ledger/templates/Dutch-statement.tex new file mode 100644 index 000000000..470bb1bf1 --- /dev/null +++ b/sql-ledger/templates/Dutch-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..dcfa40bb4 --- /dev/null +++ b/sql-ledger/templates/Estonian-balance_sheet.html @@ -0,0 +1,103 @@ + + Bilanss + + + + +

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

BILANSS +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
AKTIVA

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


AKTIVA KOKKU<%total_assets_this_period%>
<%total_assets_last_period%>
PASSIVA
<%liability_account%><%liability_this_period%><%liability_last_period%>


Passiva kokku<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
AKTSIAKAPITAL

<%equity_account%><%equity_this_period%><%equity_last_period%>


Aktsiakapital kokku<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
KOKKU PASSIVA JA AKTSIAKAPITAL<%total_this_period%>

<%total_last_period%>

+ + + diff --git a/sql-ledger/templates/Estonian-check.tex b/sql-ledger/templates/Estonian-check.tex new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Estonian-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..b0594ea5e --- /dev/null +++ b/sql-ledger/templates/Estonian-income_statement.html @@ -0,0 +1,84 @@ + + Kasumiaruanne + + + + +

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

KASUMIARUANNE +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
TULUD

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Tulud kokku<%total_income_this_period%>
<%total_income_last_period%>
KULUD

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Kulud kokku<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
KASUM / (KAHJUM)<%total_this_period%>

<%total_last_period%>

+ + + + + + + diff --git a/sql-ledger/templates/Estonian-invoice.html b/sql-ledger/templates/Estonian-invoice.html new file mode 100644 index 000000000..8660fb866 --- /dev/null +++ b/sql-ledger/templates/Estonian-invoice.html @@ -0,0 +1,215 @@ + + Arve + + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

A R V E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%foreach tax%> + + + +<%end tax%> + +
+ + + + + + + + + + +
Kuupäev <%invdate%>
Arve Nr.<%invnumber%>
+
+ + + + + + + + + + + +
Arve aadress:Tarneaadress:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
+ + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
KoodSelgitusKogusHindAlh%Kogus
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Summa<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
Makstud- <%paid%>

Maksetingimus <%terms%> päevaLõppsumma<%total%>
+
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Märkused
<%notes%>
+ Kõik hinnad: <%currency%> +
<%shippingpoint%> +
+
Summa sõnadega: <%sum_as_words_ee%>
+ Palun märkige pangatsheki saajaks <%company%> +
Täname meeldiva koostöö eest! +
+ + + + + +
+ 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. + + + X
+
+
<%taxdescription%> Registration <%taxnumber%>
+ +
+ + + + diff --git a/sql-ledger/templates/Estonian-invoice.tex b/sql-ledger/templates/Estonian-invoice.tex new file mode 100644 index 000000000..bfa2f7ad6 --- /dev/null +++ b/sql-ledger/templates/Estonian-invoice.tex @@ -0,0 +1,147 @@ +\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 new file mode 100644 index 000000000..000630758 --- /dev/null +++ b/sql-ledger/templates/Estonian-packing_list.html @@ -0,0 +1,147 @@ + + Saateleht + + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

S A A T E L E H T

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Kuupäev <%invdate%>
Number<%invnumber%>
+
+
+ + + + + + + + +
Tarneaadress:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
KoodSelgitusKogus
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
Märkused
<%notes%>
+ <%shippingpoint%> +
+
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + + + + + diff --git a/sql-ledger/templates/Estonian-packing_list.tex b/sql-ledger/templates/Estonian-packing_list.tex new file mode 100644 index 000000000..06c763a44 --- /dev/null +++ b/sql-ledger/templates/Estonian-packing_list.tex @@ -0,0 +1,119 @@ +\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 new file mode 100644 index 000000000..7ee0073e8 --- /dev/null +++ b/sql-ledger/templates/Estonian-purchase_order.html @@ -0,0 +1,195 @@ + + Ostutellimus + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

O S T U T E L L I M U S

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Tellimuse Kpv <%orddate%>
Required by <%reqdate%>
Number <%ordnumber%>
 
+
+ + + + + + + + +
To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NumberDescriptionQt'y PriceAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Vahesumma<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Maksetähtaeg <%terms%> tööpäevaKokku<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Märkused
<%notes%>
+ Kõik hinnad: <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Estonian-purchase_order.tex b/sql-ledger/templates/Estonian-purchase_order.tex new file mode 100644 index 000000000..ee1d77871 --- /dev/null +++ b/sql-ledger/templates/Estonian-purchase_order.tex @@ -0,0 +1,143 @@ +\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 new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Estonian-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..d608b730b --- /dev/null +++ b/sql-ledger/templates/Estonian-sales_order.html @@ -0,0 +1,214 @@ + + Müügitellimus + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+
+

M Ü Ü G I T E L L I M U S

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Tellimuse kpv <%orddate%>
Tarnekuupäev <%reqdate%>
Number <%ordnumber%>
 
+
+ + + + + + + + + + + +
Tellija aadress:Tarneaadress:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> + +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
KoodSelgitusKogus HindAllh%Summa
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Kokku<%ordtotal%>Vahesumma<%subtotal%>
<%taxdescription%> <%taxbase%> @ <%taxrate%> %<%tax%>
 
Maksetähtaeg <%terms%> päevaKokku<%ordtotal%>
Summa sisaldab käibemaksu
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Märkused
<%notes%>
+ Kõik hinnad <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ Eritellimusel tehtud toodetel ning toodetel mida on kliendi soovil + kohandatud või täiendatud on tellimuse katkestamise tasu 10% tellimuse hinnast. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Estonian-sales_order.tex b/sql-ledger/templates/Estonian-sales_order.tex new file mode 100644 index 000000000..beb32c52d --- /dev/null +++ b/sql-ledger/templates/Estonian-sales_order.tex @@ -0,0 +1,141 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/Estonian-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/Estonian-statement.tex b/sql-ledger/templates/Estonian-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/Estonian-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..56748d690 --- /dev/null +++ b/sql-ledger/templates/French-balance_sheet.html @@ -0,0 +1,109 @@ + + + + + + +Bilan + + + + + + +

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

BILAN DE VÉRIFICATION +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
ACTIF

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


Total Actif<%total_assets_this_period%>
<%total_assets_last_period%>
PASSIF
<%liability_account%><%liability_this_period%><%liability_last_period%>


Total Passif<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
BENEFICES NON DISTRIBUÉS

<%equity_account%><%equity_this_period%><%equity_last_period%>


Total Capital<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
TOTAL PASSIF & CAPITAL<%total_this_period%>

<%total_last_period%>

+ + diff --git a/sql-ledger/templates/French-check.tex b/sql-ledger/templates/French-check.tex new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/French-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..e76df09a1 --- /dev/null +++ b/sql-ledger/templates/French-income_statement.html @@ -0,0 +1,86 @@ + + + + + + +Compte de Résultat + + + + + + +

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

Compte de Résultat +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
RECETTES

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Total Recettes<%total_income_this_period%>
<%total_income_last_period%>
DÉPENSES

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Total Dépenses<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
BENEFICES / PERTES (en <%currency%> )<%total_this_period%>

<%total_last_period%>

+ + diff --git a/sql-ledger/templates/French-invoice.html b/sql-ledger/templates/French-invoice.html new file mode 100644 index 000000000..901a31737 --- /dev/null +++ b/sql-ledger/templates/French-invoice.html @@ -0,0 +1,309 @@ + + + + + + +A2A <%invnumber%> <%name%> + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tél : <%tel%> +
Fax : <%fax%> +

+
+

F A C T U R E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +<%if paid%> + + + + + + + +<%end paid%> + + + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Date de facture <%invdate%>
Date d'échéance <%duedate%>
N° de facture <%invnumber%>
 
+
+ + + + + + + + + + + + + +
Adresse de facturationAdresse d'envoi
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
DescriptionQté PrixRemiseMontant
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%invtotal%>Sous-total<%subtotal%>
<%taxdescription%><%tax%>
Déjà payé- <%paid%>
 
À régler dans <%terms%> jours au plus tard.Solde à régler<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
À noter :<%notes%> + Tous prix indiqués en <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + + + + + + + + + +<%end paid%> + +<%foreach payment%> + + + + + + +<%end payment%> + +<%if paid%> +
Détail règlements
+
+
DateCompteSourceMontant
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
+
 
+ +
 
+ + + + + +
+   + + X
+
+
Les taxes affichés sont inclus dans le prix.
+
N° TVA :   Banque :   N° de compte :   Code SWIFT :
+
+
+ +
+ + + diff --git a/sql-ledger/templates/French-invoice.tex b/sql-ledger/templates/French-invoice.tex new file mode 100644 index 000000000..2896fc936 --- /dev/null +++ b/sql-ledger/templates/French-invoice.tex @@ -0,0 +1,151 @@ +\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 new file mode 100644 index 000000000..3fa2fec93 --- /dev/null +++ b/sql-ledger/templates/French-packing_list.html @@ -0,0 +1,152 @@ +CTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"> + + + + + +A2A <%invnumber%> <%name%> + + + + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

L I S T E  D ' E N V O I

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Date de facture : <%invdate%>
Numéro de facture :<%invnumber%>
+
+
+ + + + + + + + +
Adresse d'envoi
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
DescriptionQté 
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
À noter :
<%notes%>
EXPÉDIÉ PAR : + <%shippingpoint%> +
+
+ + + + + +
+ + + X
+
+
+ +
+ + diff --git a/sql-ledger/templates/French-packing_list.tex b/sql-ledger/templates/French-packing_list.tex new file mode 100644 index 000000000..87113deab --- /dev/null +++ b/sql-ledger/templates/French-packing_list.tex @@ -0,0 +1,125 @@ +\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 new file mode 100644 index 000000000..a5da0ad67 --- /dev/null +++ b/sql-ledger/templates/French-purchase_order.html @@ -0,0 +1,207 @@ + + + + + + +Commande <%ordnumber%> <%name%> + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tél : <%tel%> +
Fax : <%fax%> +

+
+

B O N  D E  C O M M A N D E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Date commande <%orddate%>
Requis pour <%reqdate%>
N° commande <%ordnumber%>
 
+
+ + + + + + + + +
Commandé par
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
DescriptionQté PrixMontant
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Sous-total<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
À régler dans <%terms%> jours au plus tardTotal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
À noter :
<%notes%>
+ Tous prix indiqués en <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/French-purchase_order.tex b/sql-ledger/templates/French-purchase_order.tex new file mode 100644 index 000000000..670d59ca4 --- /dev/null +++ b/sql-ledger/templates/French-purchase_order.tex @@ -0,0 +1,143 @@ +\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 new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/French-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..492e75e6c --- /dev/null +++ b/sql-ledger/templates/French-sales_order.html @@ -0,0 +1,229 @@ + + + + + + +Commande <%ordnumber%> <%name%> + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tél : <%tel%> +
Fax : <%fax%> +

+
+

B O N   D E   C O M M A N D E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Date commande <%orddate%>
Requis pour <%reqdate%>
N° commande <%ordnumber%>
 
+
+ + + + + + + + + + + +
Commandé parAdresse d'envoi
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + +<%end taxincluded%> + +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
DescriptionQté PrixRemiseMontant
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%ordtotal%>Sous-total<%subtotal%>
<%taxdescription%><%tax%>
 
À régler dans <%terms%> jours au plus tardTotal<%ordtotal%>
Taxe comprise dans Total
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
À noter :<%notes%> + Tous prix indiqués en <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + + + + +
+ + + + X
+
+
N° TVA :   Banque :   N° de compte :   Code SWIFT :
+
+
+
+ +
+ + + diff --git a/sql-ledger/templates/French-sales_order.tex b/sql-ledger/templates/French-sales_order.tex new file mode 100644 index 000000000..88e142fce --- /dev/null +++ b/sql-ledger/templates/French-sales_order.tex @@ -0,0 +1,144 @@ +\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 new file mode 100644 index 000000000..c2c9a5d07 --- /dev/null +++ b/sql-ledger/templates/French-statement.html @@ -0,0 +1,133 @@ + + + + + + +Extrait de compte pour <%name%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Tél : <%tel%> +
Fax : <%fax%> +

+

E X T R A I T  D E  C O M P T E

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tél : <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax : <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Facture n°DateEcheanceActuel306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Solde impayé<%total%>
+
 
 Tout paiement au nom de <%company%> +
+ + diff --git a/sql-ledger/templates/French-statement.tex b/sql-ledger/templates/French-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/French-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..f0d6f5e18 --- /dev/null +++ b/sql-ledger/templates/German-balance_sheet.html @@ -0,0 +1,100 @@ + + + +

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

BILANZ +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
AKTIVA

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


TOTAL<%total_assets_this_period%>
<%total_assets_last_period%>
PASSIVA
<%liability_account%><%liability_this_period%><%liability_last_period%>


TOTAL<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
EIGENTUM

<%equity_account%><%equity_this_period%><%equity_last_period%>


TOTAL<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
TOTAL PASSIVA & EIGETNTUM<%total_this_period%>

<%total_last_period%>

+ + + diff --git a/sql-ledger/templates/German-check.tex b/sql-ledger/templates/German-check.tex new file mode 100644 index 000000000..d6256e7dc --- /dev/null +++ b/sql-ledger/templates/German-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..aa3c22fbf --- /dev/null +++ b/sql-ledger/templates/German-income_statement.html @@ -0,0 +1,78 @@ + + + +

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

GEWINN & VERLUST +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
EINNAHMEN

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Totale Einnahmen<%total_income_this_period%>
<%total_income_last_period%>
AUSGABEN

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Totale Ausgaben<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
GEWINN / (VERLUST)<%total_this_period%>

<%total_last_period%>

+ + + + diff --git a/sql-ledger/templates/German-invoice.html b/sql-ledger/templates/German-invoice.html new file mode 100644 index 000000000..b2128c959 --- /dev/null +++ b/sql-ledger/templates/German-invoice.html @@ -0,0 +1,265 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telefon <%tel%> +
Telefax <%fax%> +

+
+

R E C H N U N G

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%foreach tax%> + + + +<%end tax%> + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Ausgestellt am <%invdate%>
Bezahlbar bis <%duedate%>
Nummer <%invnumber%>
 
+
+ + + + + + + + + + + + + +
An:Lieferaddresse:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + + + +<%if taxincluded%> + + + + +<%end taxincluded%> +<%if not taxincluded%> + + + + +<%end taxincluded%> + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + +<%if total%> + + +<%end total%> + + + + + + +
NummerBeschreibungAnz. PreisRabTotal
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%invtotal%>
Zwischensumme<%subtotal%>
<%taxdescription%> auf <%taxbase%><%tax%>
Bezahlt- <%paid%>
 
Bezahlbar innerhalb von <%terms%> TagenTotal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemerkungen:<%notes%> + Alle Preise in <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
<%taxdescription%> Registration <%taxnumber%>
Steuern sind im Preis inbegriffen.
+
+
Bankverbindung +
Bank +
Bankleitzahl +
Konto No. + +
+ +
+ + + + diff --git a/sql-ledger/templates/German-invoice.tex b/sql-ledger/templates/German-invoice.tex new file mode 100644 index 000000000..0b38bb51a --- /dev/null +++ b/sql-ledger/templates/German-invoice.tex @@ -0,0 +1,155 @@ +\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 new file mode 100644 index 000000000..09ef40218 --- /dev/null +++ b/sql-ledger/templates/German-packing_list.html @@ -0,0 +1,146 @@ + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

V E R P P A C K U N G S L I S T E

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Datum <%invdate%>
Nummer<%invnumber%>
+
+
+ + + + + + + + +
Zustellung an:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +<%if shiptocontact%> +

An: <%shiptocontact%> +<%end shiptocontact%> + +

+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
NummerArtikelAnz 
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemerkungen<%notes%> + <%shippingpoint%> +
+
+ + + + + +
+ Beschädigte Waren und Waren ohne Rückgabenummer werden nicht + entgegengenommen. Lagerkosten werden mit 10% berrechnet. + Waren müssen ausreichended verpackt und versichert sein. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/German-packing_list.tex b/sql-ledger/templates/German-packing_list.tex new file mode 100644 index 000000000..dbfc93b61 --- /dev/null +++ b/sql-ledger/templates/German-packing_list.tex @@ -0,0 +1,118 @@ +\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 new file mode 100644 index 000000000..9771d02d9 --- /dev/null +++ b/sql-ledger/templates/German-purchase_order.html @@ -0,0 +1,188 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telefon <%tel%> +
Telefax <%fax%> +

+
+

B E S T E L L U N G

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Bestellungsdatum <%orddate%>
Lieferbar bis <%reqdate%>
Bestellnummer <%ordnumber%>
 
+
+ + + + + + + + +
An:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NummerArtikelAnz PreisTotal
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Zwischensumme<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Netto <%terms%> TageTotal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemerkungen<%notes%> + Alle Preise in <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+   + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/German-purchase_order.tex b/sql-ledger/templates/German-purchase_order.tex new file mode 100644 index 000000000..f56f1a3bc --- /dev/null +++ b/sql-ledger/templates/German-purchase_order.tex @@ -0,0 +1,143 @@ +\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 new file mode 100644 index 000000000..d6256e7dc --- /dev/null +++ b/sql-ledger/templates/German-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..edb8b9076 --- /dev/null +++ b/sql-ledger/templates/German-sales_order.html @@ -0,0 +1,213 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telefon <%tel%> +
Telefax <%fax%> +

+
+

B E S T E L L U N G

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Datum <%orddate%>
Lieferbar bei <%reqdate%>
Bestellnummer <%ordnumber%>
 
+
+ + + + + + + + + + + +
Verrechnet An:Lieferaddresse:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +
+
 
+ + + + + + + + + + + + +<%foreach number%> + + + + + + + + + + +<%end number%> + + + + + +<%if taxincluded%> + + + + +<%end taxincluded%> + +<%if not taxincluded%> + + + + +<%end taxincluded%> + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> + + + + + +
NummerArtikelAnz PreisRabTotal
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>

Total<%ordtotal%>
Zwischensumme<%subtotal%>
<%taxdescription%> auf <%taxbase%> @ <%taxrate%> %<%tax%>
 
Netto <%terms%> TageTotal<%ordtotal%>
Steuern sind im Preis inbegriffen
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Bemerkungen<%notes%> + Alle Preise in <%currency%> +
<%shippingpoint%> +
+
 
+ + + + + +
+ Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren + wird eine 10% Stornogebühr verrechnet. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/German-sales_order.tex b/sql-ledger/templates/German-sales_order.tex new file mode 100644 index 000000000..21948c682 --- /dev/null +++ b/sql-ledger/templates/German-sales_order.tex @@ -0,0 +1,142 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/German-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/German-statement.tex b/sql-ledger/templates/German-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/German-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..478caabca --- /dev/null +++ b/sql-ledger/templates/Service-balance_sheet.html @@ -0,0 +1,100 @@ + + + +

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

BALANCE SHEET +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
ASSETS

<%this_period%><%last_period%>
<%asset_account%><%asset_this_period%><%asset_last_period%>


TOTAL ASSETS<%total_assets_this_period%>
<%total_assets_last_period%>
LIABILITIES
<%liability_account%><%liability_this_period%><%liability_last_period%>


Total Liabilities<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
SHAREHOLDER'S EQUITY

<%equity_account%><%equity_this_period%><%equity_last_period%>


Total Equity<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
TOTAL LIABILITIES & EQUITY<%total_this_period%>

<%total_last_period%>

+ + + diff --git a/sql-ledger/templates/Service-check.tex b/sql-ledger/templates/Service-check.tex new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Service-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..e9d6a4002 --- /dev/null +++ b/sql-ledger/templates/Service-income_statement.html @@ -0,0 +1,82 @@ + + + +

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

INCOME STATEMENT +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
INCOME

<%this_period%><%last_period%>
<%income_account%><%income_this_period%><%income_last_period%>


Total Income<%total_income_this_period%>
<%total_income_last_period%>
EXPENSES

<%expense_account%><%expenses_this_period%><%expenses_last_period%>


Total Expenses<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
INCOME / (LOSS)<%total_this_period%>

<%total_last_period%>

+ + + + + + + + diff --git a/sql-ledger/templates/Service-invoice.html b/sql-ledger/templates/Service-invoice.html new file mode 100644 index 000000000..8ae689775 --- /dev/null +++ b/sql-ledger/templates/Service-invoice.html @@ -0,0 +1,226 @@ + + + + + + + + +
+ + + + + + + + + +
+

+ <%company%> +
<%address%> +
Tel/Fax <%tel%> / <%fax%> +

+
+

I N V O I C E

+
+ + + + + + + + + + + + + + + + + + + + +<%if notes%> + + + +<%end notes%> + + + + + + + + + + + + + + +<%foreach tax%> + + + +<%end tax%> + + + + + +
+ + + + + + + + + + + +
Date <%invdate%>
Number<%invnumber%>
+
+ + + + + + + + + +
To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
+
+ + + + + + + +<%foreach number%> + + + + + +<%end number%> + + + + + + +<%if taxincluded%> + + + +<%end taxincluded%> +<%if not taxincluded%> + + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + + + +<%if paid%> + + + + + +<%end paid%> + + + + + + + + + + + + + + + + +
Description Amount
<%description%> <%linetotal%>

 Total<%invtotal%> Subtotal<%subtotal%>
<%taxdescription%><%tax%>
 Paid<%paid%>
 
+<%if terms%> +Terms  Net <%terms%> days +<%end terms%> +Total<%total%>
 
+
+ + + + + + + +
Notes
<%notes%>
+   +
+
 
+ Please make check payable to <%company%> +
Thank you for your valued business! +
 
+ + + + + +
+ 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. + + + X
+
+
<%taxdescription%> Registration <%taxnumber%>
+ +
+ + + + diff --git a/sql-ledger/templates/Service-invoice.tex b/sql-ledger/templates/Service-invoice.tex new file mode 100644 index 000000000..810a50e81 --- /dev/null +++ b/sql-ledger/templates/Service-invoice.tex @@ -0,0 +1,151 @@ +\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 new file mode 100644 index 000000000..07ba8d61d --- /dev/null +++ b/sql-ledger/templates/Service-packing_list.html @@ -0,0 +1,148 @@ + + + + + + + + +
+ + + + + + + + + +
+

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

+
+

P A C K I N G    L I S T

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Date <%invdate%>
Number<%invnumber%>
+
+
+ + + + + + + + +
Ship To:
<%shiptoname%> +
<%shiptoaddr1%> +
<%shiptoaddr2%> +
<%shiptoaddr3%> +
<%shiptoaddr4%> +<%if shiptocontact%> +

Attn: <%shiptocontact%> +<%end shiptocontact%> + +

+
+
+ + + + + + + + +<%foreach number%> + + + + + + +<%end number%> + + + + + +
NumberDescriptionQt'y 
<%number%><%description%><%qty%><%unit%>

+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ <%shippingpoint%> +
+
+ + + + + +
+ Items returned are subject to + a 10% restocking charge. A return authorization must be obtained + from <%company%> before goods are returned. Returns must be shipped + prepaid and properly insured. <%company%> will not be responsible + for damages during transit. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Service-packing_list.tex b/sql-ledger/templates/Service-packing_list.tex new file mode 100644 index 000000000..b5a6a8a11 --- /dev/null +++ b/sql-ledger/templates/Service-packing_list.tex @@ -0,0 +1,120 @@ +\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 new file mode 100644 index 000000000..f2e9f7e22 --- /dev/null +++ b/sql-ledger/templates/Service-purchase_order.html @@ -0,0 +1,194 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telephone: <%tel%> +
Facsimile: <%fax%> +

+
+

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

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Order Date <%orddate%>
Required by <%reqdate%>
Number <%ordnumber%>
 
+
+ + + + + + + + +
To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NumberDescriptionQt'y PriceAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Subtotal<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Terms Net <%terms%> daysTotal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ All prices in <%currency%> Funds +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Service-purchase_order.tex b/sql-ledger/templates/Service-purchase_order.tex new file mode 100644 index 000000000..e6cc92c25 --- /dev/null +++ b/sql-ledger/templates/Service-purchase_order.tex @@ -0,0 +1,143 @@ +\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 new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Service-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..319cc3bd7 --- /dev/null +++ b/sql-ledger/templates/Service-sales_order.html @@ -0,0 +1,198 @@ + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

+ Telelephone: <%tel%> +
Facsimile: <%fax%> +

+
+

S A L E S    O R D E R

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
Order Date <%orddate%>
Required by <%reqdate%>
Number <%ordnumber%>
 
+
+ + + + + + + + +
To:
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +<%if contact%> +

Attn: <%contact%> +%end contact%> + +

+
 
+ + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + + + + + + + +<%foreach tax%> + + + + +<%end tax%> + + + + + + + + + + + + + + + + +
NumberDescriptionQt'y PriceAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%linetotal%>

Subtotal<%subtotal%>
<%taxdescription%> @ <%taxrate%> %<%tax%>
 
Terms Net <%terms%> daysTotal<%total%>
 
+
+ + +<%if notes%> + + +<%end notes%> + + + +
Notes
<%notes%>
+ All prices in <%currency%> Funds +
<%shippingpoint%> +
+
 
+ + + + + +
+ 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. + + + X
+
+
+ +
+ + + + diff --git a/sql-ledger/templates/Service-sales_order.tex b/sql-ledger/templates/Service-sales_order.tex new file mode 100644 index 000000000..c5664e056 --- /dev/null +++ b/sql-ledger/templates/Service-sales_order.tex @@ -0,0 +1,139 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/Service-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/Service-statement.tex b/sql-ledger/templates/Service-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/Service-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..aef74d0e5 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-balance_sheet.html @@ -0,0 +1,100 @@ + + Hoja de Balance + + + + +

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

HOJA DE BALANCE +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
ACTIVOS

<%this_period%><%last_period%>
 <%asset_account%><%asset_this_period%><%asset_last_period%>


Total de activos<%total_assets_this_period%>
<%total_assets_last_period%>
PASIVOS
<%liability_account%><%liability_this_period%><%liability_last_period%>


Total de pasivos<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
CAPITAL

<%equity_account%><%equity_this_period%><%equity_last_period%>


Capital total<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
Total de pasivos y capital<%total_this_period%>

<%total_last_period%>

diff --git a/sql-ledger/templates/Spanish_A4-check.tex b/sql-ledger/templates/Spanish_A4-check.tex new file mode 100644 index 000000000..a1ef96935 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..fbb5653b7 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-income_statement.html @@ -0,0 +1,77 @@ + + Balance de Situación + + + + +

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

BALANCE DE SITUACIÓN +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
INGRESOS

<%this_period%><%last_period%>
 <%income_account%><%income_this_period%><%income_last_period%>
 

 Total de ingresos<%total_income_this_period%>
<%total_income_last_period%>
GASTOS

 <%expense_account%><%expenses_this_period%><%expenses_last_period%>
 

 Total de gastos<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
GANANCIA/(PERDIDA)<%total_this_period%>

<%total_last_period%>

diff --git a/sql-ledger/templates/Spanish_A4-invoice.html b/sql-ledger/templates/Spanish_A4-invoice.html new file mode 100644 index 000000000..d274936d0 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-invoice.html @@ -0,0 +1,153 @@ + + Factura de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

F A C T U R A

+
<%name%>
NúmeroFechaCód. Cliente <%addr1%>
<%invnumber%><%invdate%><%customer_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%invtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%invtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_A4-invoice.tex b/sql-ledger/templates/Spanish_A4-invoice.tex new file mode 100644 index 000000000..1d0619e97 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-invoice.tex @@ -0,0 +1,108 @@ +\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 new file mode 100644 index 000000000..c34d1898a --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-packing_list.html @@ -0,0 +1,155 @@ + + Albarán de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

A L B A R Á N

+
<%name%>
NúmeroFacturaFechaCód. Cliente <%addr1%>
<%ordnumber%><%invnumber%><%invdate%><%customer_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%invtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%invtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_A4-packing_list.tex b/sql-ledger/templates/Spanish_A4-packing_list.tex new file mode 100644 index 000000000..312c349ba --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-packing_list.tex @@ -0,0 +1,108 @@ +\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 new file mode 100644 index 000000000..693fe65f7 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-purchase_order.html @@ -0,0 +1,153 @@ + + Pedido de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

P E D I D O

+
<%name%>
NúmeroFechaCód. Proveedor <%addr1%>
<%ordnumber%><%orddate%><%vendor_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%ordtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%ordtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_A4-purchase_order.tex b/sql-ledger/templates/Spanish_A4-purchase_order.tex new file mode 100644 index 000000000..f8300aee0 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-purchase_order.tex @@ -0,0 +1,107 @@ +\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 new file mode 100644 index 000000000..a1ef96935 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..d54f37581 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-sales_order.html @@ -0,0 +1,153 @@ + + Presupuesto de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

P R E S U P U E S T O

+
<%name%>
NúmeroFechaCód. Cliente <%addr1%>
<%ordnumber%><%orddate%><%customer_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%ordtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%ordtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_A4-sales_order.tex b/sql-ledger/templates/Spanish_A4-sales_order.tex new file mode 100644 index 000000000..f8300aee0 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-sales_order.tex @@ -0,0 +1,107 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/Spanish_A4-statement.tex b/sql-ledger/templates/Spanish_A4-statement.tex new file mode 100644 index 000000000..268bb1a33 --- /dev/null +++ b/sql-ledger/templates/Spanish_A4-statement.tex @@ -0,0 +1,137 @@ +\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 new file mode 100644 index 000000000..aef74d0e5 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-balance_sheet.html @@ -0,0 +1,100 @@ + + Hoja de Balance + + + + +

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

HOJA DE BALANCE +
<%period%> +

+ + + + + + + + +<%foreach asset_account%> + + + + + + +<%end asset_account%> + + + + + + + + + + + + + + + + + +<%foreach liability_account%> + + + + + + +<%end liability_account%> + + + + + + + + + + + + + + + + +<%foreach equity_account%> + + + + + + +<%end equity_account%> + + + + + + + + + + + + + + + + + +
ACTIVOS

<%this_period%><%last_period%>
 <%asset_account%><%asset_this_period%><%asset_last_period%>


Total de activos<%total_assets_this_period%>
<%total_assets_last_period%>
PASIVOS
<%liability_account%><%liability_this_period%><%liability_last_period%>


Total de pasivos<%total_liabilities_this_period%>

+
<%total_liabilities_last_period%>

+
CAPITAL

<%equity_account%><%equity_this_period%><%equity_last_period%>


Capital total<%total_equity_this_period%>

+
<%total_equity_last_period%>

+
Total de pasivos y capital<%total_this_period%>

<%total_last_period%>

diff --git a/sql-ledger/templates/Spanish_Letter-check.tex b/sql-ledger/templates/Spanish_Letter-check.tex new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-check.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..fbb5653b7 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-income_statement.html @@ -0,0 +1,77 @@ + + Balance de Situación + + + + +

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

BALANCE DE SITUACIÓN +
<%period%> +

+ + + + + + + + + +<%foreach income_account%> + + + + + + +<%end income_account%> + + + + + + + + + + + + + + + + + + +<%foreach expense_account%> + + + + + + +<%end expense_account%> + + + + + + + + + + + + + + + + + + +
INGRESOS

<%this_period%><%last_period%>
 <%income_account%><%income_this_period%><%income_last_period%>
 

 Total de ingresos<%total_income_this_period%>
<%total_income_last_period%>
GASTOS

 <%expense_account%><%expenses_this_period%><%expenses_last_period%>
 

 Total de gastos<%total_expenses_this_period%>

+
<%total_expenses_last_period%>

+
GANANCIA/(PERDIDA)<%total_this_period%>

<%total_last_period%>

diff --git a/sql-ledger/templates/Spanish_Letter-invoice.html b/sql-ledger/templates/Spanish_Letter-invoice.html new file mode 100644 index 000000000..d274936d0 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-invoice.html @@ -0,0 +1,153 @@ + + Factura de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

F A C T U R A

+
<%name%>
NúmeroFechaCód. Cliente <%addr1%>
<%invnumber%><%invdate%><%customer_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%invtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%invtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_Letter-invoice.tex b/sql-ledger/templates/Spanish_Letter-invoice.tex new file mode 100644 index 000000000..8fdd38abd --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-invoice.tex @@ -0,0 +1,110 @@ +% 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 new file mode 100644 index 000000000..c34d1898a --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-packing_list.html @@ -0,0 +1,155 @@ + + Albarán de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

A L B A R Á N

+
<%name%>
NúmeroFacturaFechaCód. Cliente <%addr1%>
<%ordnumber%><%invnumber%><%invdate%><%customer_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%invtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%invtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_Letter-packing_list.tex b/sql-ledger/templates/Spanish_Letter-packing_list.tex new file mode 100644 index 000000000..bf146cad4 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-packing_list.tex @@ -0,0 +1,108 @@ +\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 new file mode 100644 index 000000000..693fe65f7 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-purchase_order.html @@ -0,0 +1,153 @@ + + Pedido de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

P E D I D O

+
<%name%>
NúmeroFechaCód. Proveedor <%addr1%>
<%ordnumber%><%orddate%><%vendor_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%ordtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%ordtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_Letter-purchase_order.tex b/sql-ledger/templates/Spanish_Letter-purchase_order.tex new file mode 100644 index 000000000..177f4b83b --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-purchase_order.tex @@ -0,0 +1,107 @@ +\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 new file mode 100644 index 000000000..5b64e818e --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-receipt.tex @@ -0,0 +1,71 @@ +\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 new file mode 100644 index 000000000..d54f37581 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-sales_order.html @@ -0,0 +1,153 @@ + + Presupuesto de Instalaciones Industriales San José + + + + + + + +
  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

P R E S U P U E S T O

+
<%name%>
NúmeroFechaCód. Cliente <%addr1%>
<%ordnumber%><%orddate%><%customer_id%> <%addr2%>
+ <%addr3%>
+ <%addr4%>
+
+ + + + +
+ + + + + + + + + + + + + + + +<%foreach number%> + + + + + + + + + +<%end number%> + + + + +
Cant.DescripciónPrecioImporte

<%qty%><%description%><%sellprice%><%linetotal%>

+ + + + +<%if taxincluded%> + + +<%end taxincluded%> +<%if not taxincluded%> + + +<%end taxincluded%> + + +<%foreach tax%> + + + + +<%end tax%> + +<%if paid%> + + + + +<%end paid%> + + + + + + + + + + + + + + + +
Total<%ordtotal%>Base imponible<%subtotal%> €
IVA (<%taxrate%>%) sobre <%taxbase%>:<%tax%> €
Pagado:<%paid%> €
 
Total:<%ordtotal%> €
 
+ + + + + +<%if notes%> + + +<%end notes%> + + +<%if taxincluded%> + + + +<%end taxincluded%> + +
Notas<%notes%>
Los precios incluyen impuestos.
+ + + + + diff --git a/sql-ledger/templates/Spanish_Letter-sales_order.tex b/sql-ledger/templates/Spanish_Letter-sales_order.tex new file mode 100644 index 000000000..fd51cb6ef --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-sales_order.tex @@ -0,0 +1,107 @@ +\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 new file mode 100644 index 000000000..6fca322ee --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-statement.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  + + + + + + + + + + + + +
+

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

+
+

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

+

S T A T E M E N T

<%statementdate%>
+
  + + + + +
<%name%> +
<%addr1%> +
<%addr2%> +
<%addr3%> +
<%addr4%> +
+<%if customerphone%> +
Tel: <%customerphone%> +<%end customerphone%> +<%if customerfax%> +
Fax: <%customerfax%> +<%end customerfax%> +<%if email%> +
<%email%> +<%end email%> +
+
  + + + + + + + + + + +<%foreach invnumber%> + + + + + + + + + +<%end invnumber%> + + + + + + + + +
Invoice #DateDueCurrent306090+
<%invnumber%><%invdate%><%duedate%><%c0%><%c30%><%c60%><%c90%>

   <%c0total%> + <%c30total%> + <%c60total%> + <%c90total%> +
+
  + + + + + +
Total Outstanding<%total%>
+
 
 Please make check payable to <%company%>. +
+ diff --git a/sql-ledger/templates/Spanish_Letter-statement.tex b/sql-ledger/templates/Spanish_Letter-statement.tex new file mode 100644 index 000000000..0b63f7523 --- /dev/null +++ b/sql-ledger/templates/Spanish_Letter-statement.tex @@ -0,0 +1,137 @@ +\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} + -- cgit v1.2.1