projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DeliveryOrder: nur umlagern erlauben wenn bereits gespeichert wurde
[kivitendo-erp.git]
/
templates
/
print
/
RB
/
statement.tex
diff --git
a/templates/print/RB/statement.tex
b/templates/print/RB/statement.tex
index
b545a67
..
7435a17
100644
(file)
--- a/
templates/print/RB/statement.tex
+++ b/
templates/print/RB/statement.tex
@@
-2,10
+2,10
@@
% Variablen, die in settings verwendet werden
% Variablen, die in settings verwendet werden
-\newcommand{\lx
tmpfile} {<%tmpfil
e%>}
+\newcommand{\lx
langcode} {<%template_meta.language.template_cod
e%>}
\newcommand{\lxmedia} {<%media%>}
\newcommand{\lxcurrency} {<%currency%>}
\newcommand{\lxmedia} {<%media%>}
\newcommand{\lxcurrency} {<%currency%>}
-\newcommand{\
lx
company} {<%employee_company%>}
+\newcommand{\
kivi
company} {<%employee_company%>}
% settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
\input{insettings.tex}
% settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
\input{insettings.tex}
@@
-45,8
+45,10
@@
\hfill
\hfill
-% Anrede nach Geschlecht unterscheiden
-\ifthenelse{\equal{<%cp_name%>}{}}{\anrede}{
+% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
+% Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede.
+\ifthenelse{\equal{<%cp_name%>}{}}{
+ <%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}{
\ifthenelse{\equal{<%cp_gender%>}{f}}
{\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\
\ifthenelse{\equal{<%cp_gender%>}{f}}
{\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\