Dokumentvorlagen Standard LaTeX
[kivitendo-erp.git] / templates / print / Standard / sales_order.tex
index 048a560..672b802 100644 (file)
@@ -38,7 +38,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)$}
 \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 ----------
 
@@ -198,7 +197,7 @@ und bestätigen Ihnen diesen wie folgt.\\
        \ifthenelse{\isempty{$(sellprice)$}}{&}{
                \numprint{$(sellprice)$}
                \ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
-               \numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}  
+               \numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
        }\\ %
   $(end number)$