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/Danish-invoice.tex | 84 ++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'templates/Danish-invoice.tex') diff --git a/templates/Danish-invoice.tex b/templates/Danish-invoice.tex index aff4e5e6..a190d92a 100755 --- a/templates/Danish-invoice.tex +++ b/templates/Danish-invoice.tex @@ -27,12 +27,12 @@ \parbox{\textwidth}{ \parbox[b]{12cm}{ - <%company%> + - <%address%>}\hfill + }\hfill \begin{tabular}[b]{rr@{}} - Tlf. & <%tel%>\\ - Fax & <%fax%> + Tlf. & \\ + Fax & \end{tabular} \rule[1.5ex]{\textwidth}{0.5pt} @@ -41,60 +41,60 @@ \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 37%> + \end{tabular*} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\ + \textbf{Subtotal} & \textbf{} \\ \end{tabularx} \newpage -\markright{<%company%>\hfill <%invnumber%>} +\markright{\hfill } \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%> + & overført fra side & & & & & \\ + \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont \vspace*{2cm} -<%name%> + -<%address1%> + -<%if address2%> -<%address2%> -<%end address2%> + + + -<%city%> <%state%> <%zipcode%> + -<%if country%> -<%country%> -<%end country%> + + + \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%> + \textbf{Dato} & \\ + \textbf{Nummer} & \\ + \textbf{Kunde} & \end{tabular} \vspace{1cm} @@ -102,10 +102,10 @@ \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*} @@ -116,27 +116,27 @@ \hfill \begin{tabularx}{7cm}{Xr@{}} - \textbf{Subtotal} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> på <%taxbase%> & <%tax%> \\ -<%end tax%> -<%if paid%> - \textbf{Betalt} & - <%paid%> \\ -<%end paid%> + \textbf{Subtotal} & \textbf{} \\ + + & \\ + + + \textbf{Betalt} & - \\ + \hline - \textbf{At betale} & \textbf{<%total%>} \\ + \textbf{At betale} & \textbf{} \\ \end{tabularx} \vspace{0.3cm} \hfill - Alle priser i \textbf{<%currency%>}. + Alle priser i \textbf{}. \vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> + + + } @@ -146,11 +146,11 @@ \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 +Betalingsfrist dage fra fakturadato. Betaling herefter påregnes +1.5\% per påbegyndt måned startende og indtil det fulde beløb er betalt. Returnerede varer modregnes 10\% i ekspeditionsgebyr. -Et returnummer skal tildeles af <%company%> før varer returneres. +Et returnummer skal tildeles af før varer returneres. Returvarer skal forsendes forudbetalt og forsvarligt forsikret. -<%company%> kan ikke drages til ansvar for skade under transport.} + kan ikke drages til ansvar for skade under transport.} \end{document} -- cgit v1.2.3