Angleichung Verkaufsbericht an Verkauf-Berichte-Rechnungen
[kivitendo-erp.git] / templates / print / Default / sales_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   }
34   \parbox[b]{.2\textwidth}{
35     \includegraphics[scale=0.3]{sql-ledger}
36   }\hfill
37   \begin{tabular}[b]{rr@{}}
38   Telephone & <%tel%>\\
39   Facsimile & <%fax%>
40   \end{tabular}
41
42   \rule[1.5ex]{\textwidth}{0.5pt}
43 }
44
45 \vspace*{0.5cm}
46
47 \parbox[t]{1cm}{\hfill}
48 \parbox[t]{.45\textwidth}{
49
50 <%name%>
51
52 <%street%>
53
54 <%zipcode%>
55
56 <%city%>
57
58 <%country%>
59
60 \vspace{0.3cm}
61
62 <%if contact%>
63 <%contact%>
64 <%end contact%>
65
66 \vspace{0.2cm}
67
68 <%if customerphone%>
69 Tel: <%customerphone%>
70 <%end customerphone%>
71
72 <%if customerfax%>
73 Fax: <%customerfax%>
74 <%end customerfax%>
75
76 <%email%>
77 }
78
79 \vspace{1cm}
80
81 \textbf{Q U O T A T I O N}
82 \hfill
83
84 \vspace{1cm}
85
86 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
87   \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
88   \hline
89   <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
90   \hline
91 \end{tabularx}
92
93 \vspace{1cm}
94
95 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
96   \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
97     \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
98 <%foreach number%>
99   <%number%> & <%description%> & <%qty%> &
100     <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
101 <%end number%>
102 \end{tabular*}
103
104
105 \parbox{\textwidth}{
106 \rule{\textwidth}{2pt}
107
108 \vspace{0.2cm}
109
110 \hfill
111 \begin{tabularx}{7cm}{Xr@{}}
112   Subtotal & <%subtotal%> \\
113 <%foreach tax%>
114   <%taxdescription%> on <%taxbase%> & <%tax%>\\
115 <%end tax%>
116   \hline
117   Total & <%quototal%>\\
118 \end{tabularx}
119
120 \vspace{0.3cm}
121
122 \hfill
123   All prices in \textbf{<%currency%>}.
124
125 \vspace{12pt}
126
127 <%if notes%>
128   <%notes%>
129 <%end if%>
130
131 }
132
133 \vfill
134
135 \end{document}
136