From eedad02e621755aa269a6728364fa2ef07f6bca9 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 24 Sep 2006 17:44:51 +0000 Subject: Changed all templates to the new syntax git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@142 4979c152-3d1c-0410-bac9-87ea11338e46 --- templates/Italian-invoice.tex | 148 +++++++++++++++++++++--------------------- 1 file changed, 74 insertions(+), 74 deletions(-) (limited to 'templates/Italian-invoice.tex') diff --git a/templates/Italian-invoice.tex b/templates/Italian-invoice.tex index 98598d9c..a436e355 100755 --- a/templates/Italian-invoice.tex +++ b/templates/Italian-invoice.tex @@ -25,12 +25,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + - <%address%>}\hfill + }\hfill \begin{tabular}[b]{rr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> + Tel & \\ + Fax & \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -39,32 +39,32 @@ \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}} +\markboth{\hfill }{\usebox{\hdr}} \pagestyle{myheadings} %\thispagestyle{empty} use this with letterhead paper -<%pagebreak 65 27 48%> + \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totale riga} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Totale riga} & \textbf{} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{\hfill } \vspace*{-12pt} \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} & \textbf{Unita'} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Totale righe} \\ - & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from page & & & & & \\ + \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont @@ -76,74 +76,74 @@ \textbf{Sede legale:} \vspace{0.5cm} -<%name%> + -<%address1%> + -<%if address2%> -<%address2%> -<%end address2%> + + + -<%city%> <%state%> <%zipcode%> + -<%if country%> -<%country%> -<%end country%> + + + \vspace{0.3cm} -%<%if contact%> -%Attn: <%contact%> +% +%Attn: %\vspace{0.3cm} -%<%end contact%> +% \vspace{0.5cm} -<%if customerphone%> -Telefono: <%customerphone%> -<%end customerphone%> + +Telefono: + -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> + +Fax: + -<%email%> + } \parbox[t]{7.5cm}{ \textbf{Inviare fatttura a:} \vspace{0.5cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%if shiptoaddress2%> -<%shiptoaddress2%> -<%end shiptoaddress2%> + + + -<%shiptocity%> <%shiptostate%> <%shiptozipcode%> + -<%if shiptocountry%> -<%shiptocountry%> -<%end shiptocountry%> + + + \vspace{0.3cm} \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> + +Attn: \vspace{0.3cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%shiptoemail%> + } \hfill @@ -155,9 +155,9 @@ Fax: <%shiptofax%> \vspace{1cm} \begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Data fattura} & <%invdate%> \\ - \textbf{Numero fattura} & <%invnumber%> \\ - \textbf{Ordine} & <%ordnumber%> + \textbf{Data fattura} & \\ + \textbf{Numero fattura} & \\ + \textbf{Ordine} & \end{tabular} \vspace{1cm} @@ -165,10 +165,10 @@ Fax: <%shiptofax%> \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} \textbf{Codice} & \textbf{Descrizione} & \textbf{Qt\`a} & \textbf{Un.} & \textbf{Prezzo} & \textbf{Sc.} & \textbf{Tot. riga} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> + + & & & + & & & \\ + \end{tabular*} @@ -179,44 +179,44 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Totale righe} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%>: <%taxrate%>\% & <%tax%>\\ -<%end tax%> -<%if paid%> - \textbf{Pagato} & - <%paid%> \\ -<%end paid%> + \textbf{Totale righe} & \textbf{} \\ + + : \% & \\ + + + \textbf{Pagato} & - \\ + \hline - \textbf{Totale da pagare} & \textbf{<%total%>} \\ + \textbf{Totale da pagare} & \textbf{} \\ \end{tabularx} \vspace{0.3cm} \hfill - Tutti i prezzi sono espressi in valuta \textbf{<%currency%>}. + Tutti i prezzi sono espressi in valuta \textbf{}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> + + + } \vfill -<%if paid%> + \begin{tabularx}{10cm}{@{}lXlr@{}} \textbf{Pagamenti} & & & \\ \hline \textbf{Data} & \textbf{Conto} & \textbf{Documento di riferimento} & \textbf{Importo} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\ -<%end payment%> -<%if paid%> + + + & & & \\ + + \end{tabularx} -<%end paid%> + \vspace{1cm} -- cgit v1.2.3