Revision ab064135
Von Marei Peischl vor 7 Monaten hinzugefügt
templates/print/marei/sales_delivery_order.tex | ||
---|---|---|
26 | 26 |
} |
27 | 27 |
<%if ordnumber%> |
28 | 28 |
\setkomavar{orderID}{<%ordnumber%>} |
29 |
<%end if%>%
|
|
29 |
<%end ordnumber%>%
|
|
30 | 30 |
<%if cusordnumber%>% |
31 | 31 |
\setkomavar*{yourref}{\unsereBestellnummer} |
32 | 32 |
\setkomavar{yourref}{<%cusordnumber%>} |
33 |
<%end if%>%
|
|
33 |
<%end cusordnumber%>%
|
|
34 | 34 |
\setkomavar{transaction}{<%transaction_description%>} |
35 | 35 |
|
36 | 36 |
<%if globalprojectnumber%>% |
... | ... | |
42 | 42 |
\begin{document} |
43 | 43 |
|
44 | 44 |
\begin{letter}{ |
45 |
\Ifstr{<%shiptoname%>}{}{ % KEINE ABWEICHENDE LIEFERADRESSE |
|
46 |
<%name%>\strut\\ |
|
47 |
<%if department_1%><%department_1%>\\<%end if%>% |
|
48 |
<%if department_2%><%department_2%>\\<%end if%>% |
|
49 |
<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\ |
|
50 |
<%street%>\strut\\ |
|
51 |
<%zipcode%> <%city%>\strut\\ |
|
52 |
<%country%> \strut |
|
53 |
}{ % ABWEICHENDE LIEFERADRESSE (Aus Stammdaten oder Beleg) |
|
54 |
<%shiptoname%>\strut\\ |
|
55 |
<%if shiptocontact%> <%shiptocontact%><%end if%>\strut\\ |
|
56 |
<%shiptodepartment_1%>\strut\\ |
|
57 |
<%shiptodepartment_2%>\strut\\ |
|
58 |
<%shiptostreet%>\strut\\ |
|
59 |
<%shiptozipcode%> <%shiptocity%>\strut |
|
60 |
} % ende ifthenelse LIEFERADRESSE |
|
61 |
} |
|
45 |
\Ifstr{<%shiptoname%>}{}{ % KEINE ABWEICHENDE LIEFERADRESSE
|
|
46 |
<%name%>\strut\\
|
|
47 |
<%if department_1%><%department_1%>\\<%end if%>%
|
|
48 |
<%if department_2%><%department_2%>\\<%end if%>%
|
|
49 |
<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\
|
|
50 |
<%street%>\strut\\
|
|
51 |
<%zipcode%> <%city%>\strut\\
|
|
52 |
<%country%> \strut
|
|
53 |
}{ % ABWEICHENDE LIEFERADRESSE (Aus Stammdaten oder Beleg)
|
|
54 |
<%shiptoname%>\strut\\
|
|
55 |
<%if shiptocontact%> <%shiptocontact%><%end if%>\strut\\
|
|
56 |
<%shiptodepartment_1%>\strut\\
|
|
57 |
<%shiptodepartment_2%>\strut\\
|
|
58 |
<%shiptostreet%>\strut\\
|
|
59 |
<%shiptozipcode%> <%shiptocity%>\strut
|
|
60 |
} % ende ifthenelse LIEFERADRESSE
|
|
61 |
}
|
|
62 | 62 |
|
63 |
\opening{} |
|
64 |
\thispagestyle{kivitendo.letter.first} |
|
65 |
|
|
66 |
\begin{PricingTabular*}[columns={pos, id, desc, amount}] |
|
67 |
% eigentliche Tabelle |
|
68 |
\FakeTable{ |
|
69 |
<%foreach number%>% |
|
70 |
<%runningnumber%> & |
|
71 |
<%number%> & |
|
72 |
\textbf{<%description%>} |
|
73 |
<%if longdescription%>\ExtraDescription{<%longdescription%>}<%end longdescription%>% |
|
74 |
<%if reqdate%>\ExtraDescription{\lieferdatum: <%reqdate%>}<%end reqdate%>% |
|
75 |
<%if serialnumber%>\ExtraDescription{\seriennummer: <%serialnumber%>}<%end serialnumber%>% |
|
76 |
<%if ean%>\ExtraDescription{\ean: <%ean%>}<%end ean%>% |
|
77 |
<%if projectnumber%>\ExtraDescription{\projektnummer: <%projectnumber%>}<%end projectnumber%>% |
|
78 |
<%foreach si_number%>% |
|
79 |
<%if si_chargenumber%>\ExtraDescription{\charge: <%si_chargenumber%> <%if si_bestbefore%> \mhd: <%si_bestbefore%><%end if%><%si_qty%>~<%si_unit%><%end si_chargenumber%>}%
|
|
80 |
<%end si_number%>% |
|
81 |
& |
|
82 |
<%qty%> <%unit%>% |
|
83 |
\tabularnewline |
|
63 |
\opening{}
|
|
64 |
\thispagestyle{kivitendo.letter.first}
|
|
65 |
|
|
66 |
\begin{PricingTabular*}[columns={pos, id, desc, amount}]
|
|
67 |
% eigentliche Tabelle
|
|
68 |
\FakeTable{
|
|
69 |
<%foreach number%>%
|
|
70 |
<%runningnumber%> &
|
|
71 |
<%number%> &
|
|
72 |
\textbf{<%description%>}
|
|
73 |
<%if longdescription%>\ExtraDescription{<%longdescription%>}<%end longdescription%>%
|
|
74 |
<%if reqdate%>\ExtraDescription{\lieferdatum: <%reqdate%>}<%end reqdate%>%
|
|
75 |
<%if serialnumber%>\ExtraDescription{\seriennummer: <%serialnumber%>}<%end serialnumber%>%
|
|
76 |
<%if ean%>\ExtraDescription{\ean: <%ean%>}<%end ean%>%
|
|
77 |
<%if projectnumber%>\ExtraDescription{\projektnummer: <%projectnumber%>}<%end projectnumber%>%
|
|
78 |
<%foreach si_number%>%
|
|
79 |
<%if si_chargenumber%>\ExtraDescription{\charge: <%si_chargenumber%> <%if si_bestbefore%> \mhd: <%si_bestbefore%>}<%si_qty%>~<%si_unit%><%end si_chargenumber%><%end if%>%
|
|
80 |
<%end si_number%>%
|
|
81 |
&
|
|
82 |
<%qty%> <%unit%>%
|
|
83 |
\tabularnewline
|
|
84 | 84 |
<%end number%>% |
85 |
} |
|
86 |
\end{PricingTabular*} |
|
85 |
}
|
|
86 |
\end{PricingTabular*}
|
|
87 | 87 |
|
88 |
\medskip |
|
88 |
\medskip
|
|
89 | 89 |
|
90 |
<%if notes%>% |
|
91 |
<%notes%>% |
|
92 |
\medskip |
|
93 |
<%end if%>%
|
|
90 |
<%if notes%>%
|
|
91 |
<%notes%>%
|
|
92 |
\medskip
|
|
93 |
<%end notes%>%
|
|
94 | 94 |
|
95 |
<%if delivery_term%>% |
|
96 |
\lieferung ~<%delivery_term.description_long%>\\ |
|
97 |
<%end delivery_term%>% |
|
95 |
<%if delivery_term%>%
|
|
96 |
\lieferung ~<%delivery_term.description_long%>\\
|
|
97 |
<%end delivery_term%>%
|
|
98 | 98 |
|
99 | 99 |
\end{letter} |
100 | 100 |
|
Auch abrufbar als: Unified diff
unify identation