Die Überprüfungen, ob eine Nullbuchung vom Benutzer durchgeführt wurde, war falsch...
[kivitendo-erp.git] / templates / German-request_quotation.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage{graphicx}
5 \usepackage{german}
6 \usepackage[latin1]{inputenc}
7 \setlength{\voffset}{0.5cm}
8 \setlength{\hoffset}{-2.0cm}
9 \setlength{\topmargin}{0cm}
10 \setlength{\headheight}{0.5cm}
11 \setlength{\headsep}{1cm}
12 \setlength{\topskip}{0pt}
13 \setlength{\oddsidemargin}{1.0cm}
14 \setlength{\evensidemargin}{1.0cm}
15 \setlength{\textwidth}{17cm}
16 \setlength{\textheight}{24.7cm}
17 \setlength{\footskip}{1cm}
18 \setlength{\parindent}{0pt}
19 \renewcommand{\baselinestretch}{1}
20 \begin{document}
21
22 \newlength{\descrwidth}\setlength{\descrwidth}{12cm}
23 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
24
25 \pagestyle{myheadings}
26 \thispagestyle{empty}
27
28 \vspace*{-1.3cm}
29
30 \parbox{\textwidth}{
31   \parbox[b]{.42\textwidth}{
32     <%company%>
33     
34     <%address%>
35   }\hfill
36   \begin{tabular}[b]{rr@{}}
37   Tel & <%tel%>\\
38   Fax & <%fax%>
39   \end{tabular}
40
41   \rule[1.5ex]{\textwidth}{0.5pt}
42 }
43     
44
45 <%pagebreak 90 27 48%>
46 \end{tabular*}
47
48   \rule{\textwidth}{2pt}
49   
50   \hfill
51   \begin{tabularx}{7cm}{Xr@{}}
52   \textbf{Zwischenzumme} & \textbf{<%sumcarriedforward%>} \\
53   \end{tabularx}
54
55 \newpage
56
57 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
58
59 \vspace*{-12pt}
60
61 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rl}
62   \textbf{Nummer} & \textbf{Beschreibung} & \textbf{Menge} & \\
63 <%end pagebreak%>
64
65
66 \vspace*{0.5cm}
67
68 \parbox[t]{1cm}{\hfill}
69 \parbox[t]{.45\textwidth}{
70 \textbf{To}
71 \vspace{0.7cm}
72
73 <%name%>
74
75 <%street%>
76
77 <%zipcode%>
78
79 <%city%>
80
81 <%country%>
82
83 \vspace{0.3cm}
84
85 <%if contact%>
86 <%contact%>
87 <%end contact%>
88
89 \vspace{0.2cm}
90
91 <%if vendorphone%>
92 Tel: <%vendorphone%>
93 <%end vendorphone%>
94
95 <%if vendorfax%>
96 Fax: <%vendorfax%>
97 <%end vendorfax%>
98
99 <%email%>
100 }
101 \parbox[t]{.45\textwidth}{
102 \textbf{Lieferanschrift}
103 \vspace{0.7cm}
104
105 <%shiptoname%>
106
107 <%shiptostreet%>
108
109 <%shiptozipcode%>
110
111 <%shiptocity%>
112
113 <%shiptocountry%>
114
115 \vspace{0.3cm}
116
117 <%if shiptocontact%>
118 <%shiptocontact%>
119 <%end shiptocontact%>
120
121 <%if shiptophone%>
122 Tel: <%shiptophone%>
123 <%end shiptophone%>
124
125 <%if shiptofax%>
126 Fax: <%shiptofax%>
127 <%end shiptofax%>
128
129 <%shiptoemail%>
130 }
131 \hfill
132
133 \vspace{1cm}
134
135 \textbf{A N F R A G E}
136 \hfill
137
138 \vspace{1cm}
139
140 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
141   \textbf{AnfrageNr. \#} & \textbf{Datum} & \textbf{Benötigt am} & \textbf{Kontakt} & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5ex]
142   \hline
143   <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
144   \hline
145 \end{tabularx}
146
147 \vspace{1cm}
148
149 Bitte nennen Sie uns für folgende Artikel Preis und Liefertermin:
150
151 \vspace{1cm}
152
153 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rl}
154   \textbf{Nummer} & \textbf{Beschreibung} & \textbf{Menge} & \\
155 <%foreach number%>
156   <%number%> & <%description%> & <%qty%> & <%unit%> \\
157 <%end number%>
158 \end{tabular*}
159
160
161 \parbox{\textwidth}{
162 \rule{\textwidth}{2pt}
163
164 \hfill
165
166 <%if notes%>
167   <%notes%>
168 <%end if%>
169
170 }
171
172 \end{document}
173