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/statement.tex
28 28

  
29 29
\begin{document}
30 30

  
31
\begin{letter}{
32
<%name%>\strut\\
33
<%if department_1%><%department_1%>\\<%end if%>%
34
<%if department_2%><%department_2%>\\<%end if%>%
35
<%cp_givenname%> <%cp_name%>\strut\\
36
<%street%>\strut\\
37
<%zipcode%> <%city%>\strut\\
38
<%country%> \strut
31
\begin{letter}{%
32
<%if billing_address_id%>%
33
	<%billing_address_name%> \strut\\%
34
	<%if department_1%><%billing_address_department_1%>\\<%end if%>%
35
	<%if department_2%><%billing_address_department_2%>\\<%end if%>%
36
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
37
	<%billing_address_street%>\strut\\%
38
	<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
39
	<%billing_address_country%>\strut\\%
40
<%else%>%
41
	<%name%>\strut\\%
42
	<%if department_1%><%department_1%>\\<%end if%>%
43
	<%if department_2%><%department_2%>\\<%end if%>%
44
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
45
	<%street%>\strut\\%
46
	<%zipcode%> <%city%>\strut\\%
47
	<%country%>\strut%
48
<%end if%>%
39 49
}
40 50

  
41 51
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.

Auch abrufbar als: Unified diff