X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2FRB%2Fsales_quotation.tex;h=e8661cf2e1628ac5659c3b720239ccafd6a83fb7;hb=73f7989fcf23410ebd879d5150f6a13913ca2b90;hp=1d67c0bd15d05753cf9150e9f86a5fa43134e27f;hpb=df52f0a4ee134e780337a7822fdf64ab43d619cf;p=kivitendo-erp.git diff --git a/templates/print/RB/sales_quotation.tex b/templates/print/RB/sales_quotation.tex index 1d67c0bd1..e8661cf2e 100644 --- a/templates/print/RB/sales_quotation.tex +++ b/templates/print/RB/sales_quotation.tex @@ -83,10 +83,12 @@ \hfill -% Anrede nach Geschlecht unterscheiden -\ifthenelse{\equal{<%cp_name%>}{}}{\anrede}{ - \ifthenelse{\equal{<%cp_gender%>}{f}} - {\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\ +% 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%>,}\\ \angebotsformel\\ @@ -145,6 +147,7 @@ <%if serialnumber%> && \scriptsize \seriennummer: <%serialnumber%>\\<%end serialnumber%> <%if ean%> && \scriptsize \ean: <%ean%>\\<%end ean%> <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%> + <%if optional%> && \scriptsize \optional \\<%end%> <%if customer_make%> <%foreach customer_make%> \ifthenelse{\equal{<%customer_make%>}{<%name%>}}{&& \kundenartnr: <%customer_model%>\\}{}