X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2FStandard%2Fcredit_note.tex;h=12538f4536f320c68ea1d0c7aceb0ab2a4ffbf3b;hb=627503c1d8443acdb4c50362c3981e68564a12d4;hp=3dd8b586a0b5f2486ad4eef0008c4f0f14271a66;hpb=4486e3bc8eb00c37cf8029e663eb94b4b9c5346a;p=kivitendo-erp.git diff --git a/templates/print/Standard/credit_note.tex b/templates/print/Standard/credit_note.tex index 3dd8b586a..12538f453 100755 --- a/templates/print/Standard/credit_note.tex +++ b/templates/print/Standard/credit_note.tex @@ -37,7 +37,7 @@ \newcommand{\employeeemail}{$(employee_email)$} \newcommand{\employeecoustid}{$(employee_co_ustid)$} \newcommand{\employeetaxnumber}{$(employee_taxnumber)$} -\newcommand{\employeetable}{tabelle$(employee_login)$.tex} +\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex} % ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ---------- % \newcommand{\companybank}{$(company_bank)$} @@ -99,11 +99,10 @@ \newcommand{\shiptofax}{$(shiptofax)$} % ---------- Währungszeichen ---------- -\newcommand{\currency}{$(currency)$} -\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{} -\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{} -\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{} -\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{} +\newcommand{\currency}{\euro} +\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{} +\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{} +\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{} % ---------- Ende Reportvariablen-Umsetzung ---------- @@ -208,7 +207,7 @@ $(foreach number)$ \ifthenelse{\isempty{$(sellprice)$}}{&}{ \numprint{$(sellprice)$} \ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} & - \numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$} + \numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$} }\\ % $(end number)$ @@ -229,7 +228,7 @@ $(foreach number)$ % {$(taxdescription)$ auf }\numprint{$(taxbase)$}~\currency: & \numprint{$(tax)$}& \\ {$(taxdescription)$}: & \numprint{$(tax)$}& \currency\\ $(end tax)$ - \midrule + \midrule {\textbf{Rechnungsbetrag:}} & \bfseries\numprint{\invtotal} & \textbf{\currency}\\ % ---------- Wenn bereits etwas gezahlt wurde ---------- $(if invtotal != total)$