Import der aktuellen Version des YAML-Moduls 0.62 in Lx-Office. Unsere eigene Version...
[kivitendo-erp.git] / templates / Default-request_quotation.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage{graphicx}
5 \setlength{\voffset}{0.5cm}
6 \setlength{\hoffset}{-2.0cm}
7 \setlength{\topmargin}{0cm}
8 \setlength{\headheight}{0.5cm}
9 \setlength{\headsep}{1cm}
10 \setlength{\topskip}{0pt}
11 \setlength{\oddsidemargin}{1.0cm}
12 \setlength{\evensidemargin}{1.0cm}
13 \setlength{\textwidth}{19.2cm}
14 \setlength{\textheight}{24.7cm}
15 \setlength{\footskip}{1cm}
16 \setlength{\parindent}{0pt}
17 \renewcommand{\baselinestretch}{1}
18 \begin{document}
19
20 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
21 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
22
23 \pagestyle{myheadings}
24 \thispagestyle{empty}
25
26 \vspace*{-1.3cm}
27
28 \parbox{\textwidth}{
29   \parbox[b]{.42\textwidth}{
30     <%company%>
31     
32     <%address%>
33   }\hfill
34   \begin{tabular}[b]{rr@{}}
35   Telephone & <%tel%>\\
36   Facsimile & <%fax%>
37   \end{tabular}
38
39   \rule[1.5ex]{\textwidth}{0.5pt}
40 }
41     
42
43 <%pagebreak 90 27 48%>
44 \end{tabular*}
45
46   \rule{\textwidth}{2pt}
47   
48   \hfill
49   \begin{tabularx}{7cm}{Xr@{}}
50   \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
51   \end{tabularx}
52
53 \newpage
54
55 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
56
57 \vspace*{-12pt}
58
59 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
60   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
61     \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
62   & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
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{Ship To}
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{R E Q U E S T for Q U O T A T I O N}
136 \hfill
137
138 \vspace{1cm}
139
140 \begin{tabularx}{\textwidth}{*{5}{|X}|} \hline
141   \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
142   \hline
143   <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
144   \hline
145 \end{tabularx}
146
147 \vspace{1cm}
148
149 Please provide price and delivery time for the following items:
150
151 \vspace{1cm}
152
153 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rllrr@{}}
154   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
155   \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
156 <%foreach number%>
157   <%number%> & <%description%> & <%qty%> & <%unit%> \\
158 <%end number%>
159 \end{tabular*}
160
161
162 \parbox{\textwidth}{
163 \rule{\textwidth}{2pt}
164
165 \hfill
166
167 <%if notes%>
168   <%notes%>
169 <%end if%>
170
171 }
172
173 \end{document}
174