X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2FGerman-sales_order.tex;h=f4b43a779c10a9145f785c33fa991062548844bf;hb=006ea6513d82601b7c5f883251d888113a75425a;hp=fe28c6cc74aa204e11d821d80036800a90db11df;hpb=4dbb09950c9f5596646537c12d991c99086fe7c1;p=kivitendo-erp.git diff --git a/templates/German-sales_order.tex b/templates/German-sales_order.tex index fe28c6cc7..f4b43a779 100644 --- a/templates/German-sales_order.tex +++ b/templates/German-sales_order.tex @@ -1,145 +1,90 @@ \documentclass[twoside]{scrartcl} -\usepackage[frame]{xy} +\usepackage{eurosym} \usepackage{tabularx} -\usepackage[latin1]{inputenc} -\setlength{\voffset}{0.5cm} -\setlength{\hoffset}{-2.0cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{1cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{1.0cm} -\setlength{\evensidemargin}{1.0cm} -\setlength{\textwidth}{19.2cm} -\setlength{\textheight}{24.5cm} -\setlength{\footskip}{1cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} +\usepackage[utf8]{inputenc} \begin{document} +\thispagestyle{empty} + \newlength{\descrwidth}\setlength{\descrwidth}{10cm} +\setlength{\parindent}{0cm} -\newsavebox{\hdr} -\sbox{\hdr}{ - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont - - \parbox{\textwidth}{ - \parbox[b]{12cm}{ - <%company%> - - <%address%>}\hfill - \begin{tabular}[b]{rr@{}} - Telefon & <%tel%>\\ - Telefax & <%fax%> - \end{tabular} - - \rule[1.5ex]{\textwidth}{0.5pt} - } -} - \fontfamily{cmss}\fontshape{n}\selectfont -\markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}} - -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper - -<%pagebreak 90 27 48%> -\end{tabular*} - - \rule{\textwidth}{2pt} - - \hfill - \begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%sumcarriedforward%>} \\ - \end{tabularx} +<%pagebreak 80 28 37%> +\end{tabularx} \newpage -\markright{<%company%>\hfill <%ordnumber%>} - -\vspace*{-12pt} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ - & Übertrag von Seite <%lastpage%> & & & & & <%sumcarriedforward%> \\ +\begin{tabularx}{\textwidth}{lrXrr} + \hline + \textbf{Pos} & \textbf{Menge} & \textbf{Bezeichnung} & + \textbf{E-Preis/\euro} & \textbf{G-Preis/\euro} \\ + \hline + <%foreach number%> + <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> & + <%sellprice%> & <%linetotal%>\\ + <%end number%> <%end pagebreak%> - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -\vspace*{2cm} - -<%name%> - -<%street%> - -<%zipcode%> +\vspace*{1.5cm} -<%city%> +\begin{minipage}{8cm} + <%name%> -<%country%> + <%street%> -\vspace{3.5cm} + <%zipcode%> <%city%> -\textbf{B E S T E L L U N G} + <%country%> +\end{minipage} \hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Bestelldatum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Lieferbar bei} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Bestellnummer} & <%ordnumber%> -\end{tabular} +\begin{minipage}{6cm} + \rightline{\LARGE\textbf{\textit{Auftragsbestätigung}}} \vspace*{0.2cm} + \rightline{\large\textbf{\textit{Nr. <%ordnumber%>% + }}} \vspace*{0.2cm} -\vspace{1cm} - -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Rab} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} + Datum:\hfill <%orddate%> + Kunden-Nr:\hfill <%customernumber%> -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} + Telefon:\hfill <%phone%> -\vspace{0.2cm} + Telefax:\hfill <%fax%> -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> auf <%taxbase%> & <%tax%>\\ -<%end tax%> - \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ -\end{tabularx} + Ansprechpartner:\hfill <%employee%> +\end{minipage} -\vspace{0.3cm} +\vspace*{0.5cm} \hfill - Alle Preise in \textbf{<%currency%>}. - -\vspace{12pt} -<%if notes%> - <%notes%> -<%end if%> +\vspace{0.5cm} -} - - -\renewcommand{\thefootnote}{\fnsymbol{footnote}} +\begin{tabularx}{\textwidth}{lrXrr} + \hline + \textbf{Pos} & \textbf{Menge} & \textbf{Bezeichnung} & + \textbf{E-Preis/\euro} & \textbf{G-Preis/\euro} \\ + \hline + <%foreach number%> + <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> & + <%sellprice%> \euro & <%linetotal%> \euro \\ + <%end number%> \hline + \multicolumn{4}{l}{Nettobetrag} & <%subtotal%> \euro\\ + <%foreach tax%> + \multicolumn{4}{l}{<%taxdescription%>} & <%tax%>\euro \\ + <%end tax%> + \multicolumn{4}{l}{\textbf{Endbetrag}} & \textbf{<%ordtotal%> \euro} \\ +\end{tabularx} +\hrule -\footnotetext[1]{\tiny -Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren -wird eine 10\% Stornogebühr verrechnet. -} +\vspace{1cm} +Vereinbarter Liefertermin: <%reqdate%> \\ \\ +\textit{Bitte kontrollieren Sie alle Positionen auf Übereinstimmung + mit Ihrer Bestellung! Abweichungen teilen Sie innerhalb von 3 Tagen + mit!} \\ \\ \end{document}