Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 510bf237

Von Marei Peischl vor 12 Monaten hinzugefügt

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

add support for billing_address

Unterschiede anzeigen:

templates/print/marei/check.tex
30 30

  
31 31
\begin{document}
32 32

  
33
\begin{letter}{
34
<%name%>\ifhmode\\\fi
35
<%street%>\ifhmode\\\fi
36
<%zipcode%> <%city%>\ifhmode\\\fi
37
<%country%>%
33
\begin{letter}{%
34
<%if billing_address_id%>%
35
	<%billing_address_name%> \strut\\%
36
	<%billing_address_street%>\strut\\%
37
	<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
38
	<%billing_address_country%>\strut\\%
39
<%else%>%
40
	<%name%>\strut\\%
41
	<%street%>\strut\\%
42
	<%zipcode%> <%city%>\strut\\%
43
	<%country%>\strut%
44
<%end if%>%
38 45
}
39 46

  
40 47
\opening{<%company%>}
templates/print/marei/credit_note.tex
56 56

  
57 57
\begin{document}
58 58

  
59
\begin{letter}{
60
<%name%>\strut\\
61
<%if department_1%><%department_1%>\\<%end if%>%
62
<%if department_2%><%department_2%>\\<%end if%>%
63
<%cp_givenname%> <%cp_name%>\strut\\
64
<%street%>\strut\\
65
<%zipcode%> <%city%>\strut\\
66
<%country%> \strut
59
\begin{letter}{%
60
<%if billing_address_id%>%
61
	<%billing_address_name%> \strut\\%
62
	<%if department_1%><%billing_address_department_1%>\\<%end if%>%
63
	<%if department_2%><%billing_address_department_2%>\\<%end if%>%
64
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
65
	<%billing_address_street%>\strut\\%
66
	<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
67
	<%billing_address_country%>\strut\\%
68
<%else%>%
69
	<%name%>\strut\\%
70
	<%if department_1%><%department_1%>\\<%end if%>%
71
	<%if department_2%><%department_2%>\\<%end if%>%
72
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
73
	<%street%>\strut\\%
74
	<%zipcode%> <%city%>\strut\\%
75
	<%country%>\strut%
76
<%end if%>%
67 77
}
68 78

  
69 79
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
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.
templates/print/marei/proforma.tex
58 58
\makeatother
59 59
<%end if%>%
60 60

  
61
\begin{letter}{
62
<%name%>\strut\\
63
<%if department_1%><%department_1%>\\<%end if%>%
64
<%if department_2%><%department_2%>\\<%end if%>%
65
<%cp_givenname%> <%cp_name%>\strut\\
66
<%street%>\strut\\
67
<%zipcode%> <%city%>\strut\\
68
<%country%> \strut
61
\begin{letter}{%
62
<%if billing_address_id%>%
63
	<%billing_address_name%> \strut\\%
64
	<%if department_1%><%billing_address_department_1%>\\<%end if%>%
65
	<%if department_2%><%billing_address_department_2%>\\<%end if%>%
66
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
67
	<%billing_address_street%>\strut\\%
68
	<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
69
	<%billing_address_country%>\strut\\%
70
<%else%>%
71
	<%name%>\strut\\%
72
	<%if department_1%><%department_1%>\\<%end if%>%
73
	<%if department_2%><%department_2%>\\<%end if%>%
74
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
75
	<%street%>\strut\\%
76
	<%zipcode%> <%city%>\strut\\%
77
	<%country%>\strut%
78
<%end if%>%
69 79
}
70 80

  
71 81
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
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.
templates/print/marei/zahlungserinnerung.tex
29 29

  
30 30
\begin{document}
31 31

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

  
42 52
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
templates/print/marei/zahlungserinnerung_invoice.tex
35 35
\begin{document}
36 36

  
37 37

  
38
\begin{letter}{
39
<%name%>\strut\\
40
<%if department_1%><%department_1%>\\<%end if%>%
41
<%if department_2%><%department_2%>\\<%end if%>%
42
<%cp_givenname%> <%cp_name%>\strut\\
43
<%street%>\strut\\
44
<%zipcode%> <%city%>\strut\\
45
<%country%> \strut
38
\begin{letter}{%
39
<%if billing_address_id%>%
40
	<%billing_address_name%> \strut\\%
41
	<%if department_1%><%billing_address_department_1%>\\<%end if%>%
42
	<%if department_2%><%billing_address_department_2%>\\<%end if%>%
43
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
44
	<%billing_address_street%>\strut\\%
45
	<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
46
	<%billing_address_country%>\strut\\%
47
<%else%>%
48
	<%name%>\strut\\%
49
	<%if department_1%><%department_1%>\\<%end if%>%
50
	<%if department_2%><%department_2%>\\<%end if%>%
51
	<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
52
	<%street%>\strut\\%
53
	<%zipcode%> <%city%>\strut\\%
54
	<%country%>\strut%
55
<%end if%>%
46 56
}
47 57

  
48 58
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.

Auch abrufbar als: Unified diff