Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 510bf237

Von Marei Peischl vor 11 Monaten hinzugefügt

  • ID 510bf237c6cbfe817f37c62048ebad88233977d2
  • Vorgänger c0664cc0
  • Nachfolger dd43629c

add support for billing_address

Unterschiede anzeigen:

templates/print/marei/invoice.tex
86 86

  
87 87
\begin{document}
88 88

  
89
\begin{letter}{
90
<%name%>\strut\\
91
<%if department_1%><%department_1%>\\<%end if%>%
92
<%if department_2%><%department_2%>\\<%end if%>%
93
<%cp_givenname%> <%cp_name%>\strut\\
94
<%street%>\strut\\
95
<%zipcode%> <%city%>\strut\\
96
<%country%> \strut
89
\begin{letter}{%
90
<%if billing_address_id%>%
91
	<%billing_address_name%> \strut\\%
92
	<%if department_1%><%billing_address_department_1%>\\<%end if%>%
93
	<%if department_2%><%billing_address_department_2%>\\<%end if%>%
94
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%me%>\strut\\%me%>\strut\\%me%>\strut\\%
95
	<%billing_address_street%>\strut\\%
96
	<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
97
	<%billing_address_country%>\strut\\%
98
<%else%>%
99
	<%name%>\strut\\%
100
	<%if department_1%><%department_1%>\\<%end if%>%
101
	<%if department_2%><%department_2%>\\<%end if%>%
102
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
103
	<%street%>\strut\\%
104
	<%zipcode%> <%city%>\strut\\%
105
	<%country%>\strut%
106
<%end if%>%
97 107
}
98 108

  
99 109
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.

Auch abrufbar als: Unified diff