X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2FRB%2Fsales_delivery_order.tex;h=681e6ac303ae0efd6318b1aa7e7d903aa0a52eb7;hb=3020815bb359d1d98b0542a25c8f13c3a998a08b;hp=2db1b3d03e8f7606a9ccc9168c0097a8704ef82d;hpb=21c964b9ec4972346d9c6b7fef370268b4caf789;p=kivitendo-erp.git diff --git a/templates/print/RB/sales_delivery_order.tex b/templates/print/RB/sales_delivery_order.tex index 2db1b3d03..681e6ac30 100644 --- a/templates/print/RB/sales_delivery_order.tex +++ b/templates/print/RB/sales_delivery_order.tex @@ -2,10 +2,10 @@ % Variablen, die in settings verwendet werden -\newcommand{\lxtmpfile} {<%tmpfile%>} +\newcommand{\lxlangcode} {<%template_meta.language.template_code%>} \newcommand{\lxmedia} {<%media%>} \newcommand{\lxcurrency} {<%currency%>} -\newcommand{\lxcompany} {<%employee_company%>} +\newcommand{\lxtitlebar} {<%titlebar%>} % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile \input{insettings.tex} @@ -21,17 +21,33 @@ \begin{minipage}[t]{8cm} \vspace*{1.0cm} + \ifthenelse{\equal{<%shiptoname%>}{}}{ % KEINE ABWEICHENDE LIEFERADRESSE - <%name%> + <%name%> - <%street%> + <%street%> - ~ + ~ - <%zipcode%> <%city%> + <%zipcode%> <%city%> - <%country%> + <%country%> + + }{ % ABWEICHENDE LIEFERADRESSE (Aus Stammdaten oder Beleg) + + <%shiptoname%> + + <%shiptostreet%> + + ~ + + <%shiptozipcode%> <%shiptocity%> + + <%shiptocountry%> + } % ende ifthenelse LIEFERADRESSE \end{minipage} + + \hfill \begin{minipage}[t]{6cm} \hfill{\LARGE\textbf{\lieferschein}} @@ -118,5 +134,9 @@ \vspace{5mm} <%end if%> +<%if delivery_term%> + \lieferung ~<%delivery_term.description_long%>\\ +<%end delivery_term%> + \end{document}