summaryrefslogtreecommitdiff
path: root/templates/Danish-invoice.tex
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:44:51 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 17:44:51 +0000
commiteedad02e621755aa269a6728364fa2ef07f6bca9 (patch)
treee56cb7ebc28954055603056c514dd3c4c62b02d0 /templates/Danish-invoice.tex
parent1eb75f0d6e9074d96445c810267aebe415b1b2d7 (diff)
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
Diffstat (limited to 'templates/Danish-invoice.tex')
-rwxr-xr-xtemplates/Danish-invoice.tex84
1 files changed, 42 insertions, 42 deletions
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%>
+ <?lsmb company ?>
- <%address%>}\hfill
+ <?lsmb address ?>}\hfill
\begin{tabular}[b]{rr@{}}
- Tlf. & <%tel%>\\
- Fax & <%fax%>
+ Tlf. & <?lsmb tel ?>\\
+ Fax & <?lsmb 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{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
\pagestyle{myheadings}
%\thispagestyle{empty} use this with letterhead paper
-<%pagebreak 65 27 37%>
+<?lsmb pagebreak 65 27 37 ?>
\end{tabular*}
\rule{\textwidth}{2pt}
\hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
+ \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
\end{tabularx}
\newpage
-\markright{<%company%>\hfill <%invnumber%>}
+\markright{<?lsmb company ?>\hfill <?lsmb 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%>
+ & overført fra side <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
\vspace*{2cm}
-<%name%>
+<?lsmb name ?>
-<%address1%>
+<?lsmb address1 ?>
-<%if address2%>
-<%address2%>
-<%end address2%>
+<?lsmb if address2 ?>
+<?lsmb address2 ?>
+<?lsmb end address2 ?>
-<%city%> <%state%> <%zipcode%>
+<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
-<%if country%>
-<%country%>
-<%end country%>
+<?lsmb if country ?>
+<?lsmb country ?>
+<?lsmb 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} & <?lsmb invdate ?> \\
+ \textbf{Nummer} & <?lsmb invnumber ?> \\
+ \textbf{Kunde} & <?lsmb customer_id ?>
\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%>
+<?lsmb foreach number ?>
+ <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
+ <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\
+<?lsmb 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{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+ <?lsmb taxdescription ?> på <?lsmb taxbase ?> & <?lsmb tax ?> \\
+<?lsmb end tax ?>
+<?lsmb if paid ?>
+ \textbf{Betalt} & - <?lsmb paid ?> \\
+<?lsmb end paid ?>
\hline
- \textbf{At betale} & \textbf{<%total%>} \\
+ \textbf{At betale} & \textbf{<?lsmb total ?>} \\
\end{tabularx}
\vspace{0.3cm}
\hfill
- Alle priser i \textbf{<%currency%>}.
+ Alle priser i \textbf{<?lsmb currency ?>}.
\vspace{12pt}
-<%if notes%>
- <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+ <?lsmb notes ?>
+<?lsmb 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 <?lsmb terms ?> dage fra fakturadato. Betaling herefter påregnes
+1.5\% per påbegyndt måned startende <?lsmb 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.
+Et returnummer skal tildeles af <?lsmb company ?> før varer returneres.
Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
-<%company%> kan ikke drages til ansvar for skade under transport.}
+<?lsmb company ?> kan ikke drages til ansvar for skade under transport.}
\end{document}