summaryrefslogtreecommitdiff
path: root/templates/Swedish-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/Swedish-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/Swedish-invoice.tex')
-rwxr-xr-xtemplates/Swedish-invoice.tex158
1 files changed, 79 insertions, 79 deletions
diff --git a/templates/Swedish-invoice.tex b/templates/Swedish-invoice.tex
index f4ce6d8e..5ec49f19 100755
--- a/templates/Swedish-invoice.tex
+++ b/templates/Swedish-invoice.tex
@@ -25,12 +25,12 @@
\parbox{\textwidth}{
\parbox[b]{12cm}{
- <%company%>
+ <?lsmb company ?>
- <%address%>}\hfill
+ <?lsmb address ?>}\hfill
\begin{tabular}[b]{rr@{}}
- Telefon & <%tel%>\\
- Fax & <%fax%>
+ Telefon & <?lsmb tel ?>\\
+ Fax & <?lsmb 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{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
\pagestyle{myheadings}
%\thispagestyle{empty} use this with letterhead paper
-<%pagebreak 65 27 48%>
+<?lsmb pagebreak 65 27 48 ?>
\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{Beskrivning} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
- & carried forward from page <%lastpage%> & & & & & <%sumcarriedforward%> \\
-<%end pagebreak%>
+ & carried forward from page <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
+<?lsmb end pagebreak ?>
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
@@ -76,74 +76,74 @@
\textbf{Til}
\vspace{0.5cm}
-<%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{0.3cm}
-%<%if contact%>
-%Attn: <%contact%>
+%<?lsmb if contact ?>
+%Attn: <?lsmb contact ?>
%\vspace{0.3cm}
-%<%end contact%>
+%<?lsmb end contact ?>
\vspace{0.5cm}
-<%if customerphone%>
-Tel: <%customerphone%>
-<%end customerphone%>
+<?lsmb if customerphone ?>
+Tel: <?lsmb customerphone ?>
+<?lsmb end customerphone ?>
-<%if customerfax%>
-Fax: <%customerfax%>
-<%end customerfax%>
+<?lsmb if customerfax ?>
+Fax: <?lsmb customerfax ?>
+<?lsmb end customerfax ?>
-<%email%>
+<?lsmb email ?>
}
\parbox[t]{7.5cm}{
\textbf{Leveringsadress}
\vspace{0.5cm}
-<%shiptoname%>
+<?lsmb shiptoname ?>
-<%shiptoaddress1%>
+<?lsmb shiptoaddress1 ?>
-<%if shiptoaddress2%>
-<%shiptoaddress2%>
-<%end shiptoaddress2%>
+<?lsmb if shiptoaddress2 ?>
+<?lsmb shiptoaddress2 ?>
+<?lsmb end shiptoaddress2 ?>
-<%shiptocity%> <%shiptostate%> <%shiptozipcode%>
+<?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
-<%if shiptocountry%>
-<%shiptocountry%>
-<%end shiptocountry%>
+<?lsmb if shiptocountry ?>
+<?lsmb shiptocountry ?>
+<?lsmb end shiptocountry ?>
\vspace{0.3cm}
\vspace{0.3cm}
-<%if shiptocontact%>
-Attn: <%shiptocontact%>
+<?lsmb if shiptocontact ?>
+Attn: <?lsmb shiptocontact ?>
\vspace{0.3cm}
-<%end shiptocontact%>
+<?lsmb end shiptocontact ?>
-<%if shiptophone%>
-Tel.: <%shiptophone%>
-<%end shiptophone%>
+<?lsmb if shiptophone ?>
+Tel.: <?lsmb shiptophone ?>
+<?lsmb end shiptophone ?>
-<%if shiptofax%>
-Fax: <%shiptofax%>
-<%end shiptofax%>
+<?lsmb if shiptofax ?>
+Fax: <?lsmb shiptofax ?>
+<?lsmb end shiptofax ?>
-<%shiptoemail%>
+<?lsmb shiptoemail ?>
}
\hfill
@@ -155,10 +155,10 @@ Fax: <%shiptofax%>
\vspace{1cm}
\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
- \textbf{Datum} & <%invdate%> \\
- \textbf{Fakturanr.} & <%invnumber%> \\
- \textbf{Ordernr.} & <%ordnumber%> \\
- \textbf{Anställd} & <%employee%>
+ \textbf{Datum} & <?lsmb invdate ?> \\
+ \textbf{Fakturanr.} & <?lsmb invnumber ?> \\
+ \textbf{Ordernr.} & <?lsmb ordnumber ?> \\
+ \textbf{Anställd} & <?lsmb employee ?>
\end{tabular}
\vspace{1cm}
@@ -166,10 +166,10 @@ Fax: <%shiptofax%>
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
\textbf{Nummer} & \textbf{Beskrivning} & \textbf{Ant.} &
\textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt} & \textbf{Sum} \\
-<%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*}
@@ -180,44 +180,44 @@ Fax: <%shiptofax%>
\hfill
\begin{tabularx}{7cm}{Xr@{}}
- \textbf{Pris ex moms} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
- <%taxdescription%> on <%taxbase%> & <%tax%> \\
-<%end tax%>
-<%if paid%>
- \textbf{Betalt} & - <%paid%> \\
-<%end paid%>
+ \textbf{Pris ex moms} & \textbf{<?lsmb subtotal ?>} \\
+<?lsmb foreach tax ?>
+ <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?> \\
+<?lsmb end tax ?>
+<?lsmb if paid ?>
+ \textbf{Betalt} & - <?lsmb paid ?> \\
+<?lsmb end paid ?>
\hline
- \textbf{Skyldig} & \textbf{<%total%>} \\
+ \textbf{Skyldig} & \textbf{<?lsmb total ?>} \\
\end{tabularx}
\vspace{0.3cm}
\hfill
- Alle priser i \textbf{<%currency%>} valuta.
+ Alle priser i \textbf{<?lsmb currency ?>} valuta.
\vspace{12pt}
-<%if notes%>
- <%notes%>
-<%end if%>
+<?lsmb if notes ?>
+ <?lsmb notes ?>
+<?lsmb end if ?>
}
\vfill
-<%if paid%>
+<?lsmb if paid ?>
\begin{tabularx}{10cm}{@{}lXlr@{}}
\textbf{Inbetalingar} & & & \\
\hline
\textbf{Dato} & \textbf{Konto} & \textbf{Kilde} & \textbf{Sum} \\
-<%end paid%>
-<%foreach payment%>
- <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
-<%end payment%>
-<%if paid%>
+<?lsmb end paid ?>
+<?lsmb foreach payment ?>
+ <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\
+<?lsmb end payment ?>
+<?lsmb if paid ?>
\end{tabularx}
-<%end paid%>
+<?lsmb end paid ?>
\vspace{1cm}
@@ -226,12 +226,12 @@ Fax: <%shiptofax%>
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{\tiny
-Betalingen måste ske innan <%terms%> dager från fakturadatum. Vid
+Betalingen måste ske innan <?lsmb terms ?> dager från fakturadatum. Vid
försening påräknas en ränta på 1.5\% per månad,
-från <%duedate%> till dess betalingen är fullständig. Varor som returneras
+från <?lsmb duedate ?> till dess betalingen är fullständig. Varor som returneras
belastas med 10\% returkostnad. Returen måste förhandsgodkännas av
-<%company%> innan varorna returneras. Retur måste sändas förbetalt och
-skall vara försäkrat. <%company%> är inte ansvarig för transportkostnader.
+<?lsmb company ?> innan varorna returneras. Retur måste sändas förbetalt och
+skall vara försäkrat. <?lsmb company ?> är inte ansvarig för transportkostnader.
}
\end{document}