X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2FRB%2Finsettings.tex;h=4eaad875a7ddc2d70fc801b7dba664b7338fe506;hb=3020815bb359d1d98b0542a25c8f13c3a998a08b;hp=2b83b4501a1de3dc0b56a02ec0976cd129f23099;hpb=2974447a09f906718f8f2485d62a32c2cbdb56b5;p=kivitendo-erp.git diff --git a/templates/print/RB/insettings.tex b/templates/print/RB/insettings.tex index 2b83b4501..4eaad875a 100644 --- a/templates/print/RB/insettings.tex +++ b/templates/print/RB/insettings.tex @@ -1,14 +1,17 @@ % Sprachüberprüfung -\IfSubStringInString{\_EN}{\lxtmpfile}{\input{english.tex}}{ - \IfSubStringInString{\_DE}{\lxtmpfile}{\input{deutsch.tex}}{\input{deutsch.tex}} +\ifthenelse{\equal{\lxlangcode}{EN}}{\input{english.tex}}{ + \ifthenelse{\equal{\lxlangcode}{DE}}{\input{deutsch.tex}}{\input{deutsch.tex}} } % Ende EN % Mandanten-/Firmenabhängigkeiten % Pfad zu firmenspez. Angaben -\IfSubStringInString{Firma1}{\lxcompany}{\newcommand{\identpath}{firma1}}{ - \IfSubStringInString{Firma2}{\lxcompany}{\newcommand{\identpath}{firma2}} +% Hat man mehrere Mandanten muß man statt "Firma1" den Datenbanknamen seines +% Mandanten eingeben. + +\IfSubStringInString{Firma1}{\lxtitlebar}{\newcommand{\identpath}{firma1}}{ + \IfSubStringInString{Firma2}{\lxtitlebar}{\newcommand{\identpath}{firma2}} {\newcommand{\identpath}{firma}} % sonst } % Ende Firma1 @@ -45,7 +48,7 @@ a4paper, % DINA4 %% left=19mm, % Linker Rand %% width=142mm, % Textbreite - top=49mm, % Abstand Textanfang von oben + top=46mm, % Abstand Textanfang von oben head=5mm, % Höhe des Kopfes headsep=12mm, % Abstand Kopf zu Textanfang bottom=25mm, % Abstand von unten @@ -87,10 +90,11 @@ \cfoot{ {\normalfont\fontfamily{cmss} \tiny \begin{tabular}{p{5cm}p{4.5cm}lr} - \firma & \email & \textKontonummer & \kontonummer \\ - \strasse & \homepage & \textBank & \bank \\ - \ort & \textUstid\ \ustid & \textIban & \iban \\ + \firma & \email & \textKontonummer & \kontonummer \\ + \strasse & \homepage & \textBank & \bank \\ + \ort & \textUstid\ \ustid & \textIban & \iban \\ + \textTelefon~\telefon & \finanzamt & \textBic & \bic \\ + \ifthenelse{\equal{\fax}{}}{}{\textFax~\fax} & &\textBankleitzahl & \bankleitzahl \\ \end{tabular} } } -