Merge branch 'master', remote branch 'origin'
[kivitendo-erp.git] / templates / print / 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 \vspace*{0.5cm}
43
44 \parbox[t]{1cm}{\hfill}
45 \parbox[t]{.45\textwidth}{
46 \textbf{To}
47 \vspace{0.7cm}
48
49 <%name%>
50
51 <%street%>
52
53 <%zipcode%>
54
55 <%city%>
56
57 <%country%>
58
59 \vspace{0.3cm}
60
61 <%if contact%>
62 <%contact%>
63 <%end contact%>
64
65 \vspace{0.2cm}
66
67 <%if vendorphone%>
68 Tel: <%vendorphone%>
69 <%end vendorphone%>
70
71 <%if vendorfax%>
72 Fax: <%vendorfax%>
73 <%end vendorfax%>
74
75 <%email%>
76 }
77 \parbox[t]{.45\textwidth}{
78 \textbf{Ship To}
79 \vspace{0.7cm}
80
81 <%shiptoname%>
82
83 <%shiptostreet%>
84
85 <%shiptozipcode%>
86
87 <%shiptocity%>
88
89 <%shiptocountry%>
90
91 \vspace{0.3cm}
92
93 <%if shiptocontact%>
94 <%shiptocontact%>
95 <%end shiptocontact%>
96
97 <%if shiptophone%>
98 Tel: <%shiptophone%>
99 <%end shiptophone%>
100
101 <%if shiptofax%>
102 Fax: <%shiptofax%>
103 <%end shiptofax%>
104
105 <%shiptoemail%>
106 }
107 \hfill
108
109 \vspace{1cm}
110
111 \textbf{R E Q U E S T for Q U O T A T I O N}
112 \hfill
113
114 \vspace{1cm}
115
116 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
117   \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
118   \hline
119   <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
120   \hline
121 \end{tabularx}
122
123 \vspace{1cm}
124
125 Please provide price and delivery time for the following items:
126
127 \vspace{1cm}
128
129 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rllrr@{}}
130   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
131   \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
132 <%foreach number%>
133   <%number%> & <%description%> & <%qty%> & <%unit%> \\
134 <%end number%>
135 \end{tabular*}
136
137
138 \parbox{\textwidth}{
139 \rule{\textwidth}{2pt}
140
141 \hfill
142
143 <%if notes%>
144   <%notes%>
145 <%end if%>
146
147 }
148
149 \end{document}
150