Uebernahme der kompletten Version, so wie sie Philip als "Demo-Version" gezeigt hat...
[kivitendo-erp.git] / templates / German-sales_order.tex
index 17df2b2..3195233 100644 (file)
 \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}{17cm}
-\setlength{\textheight}{24.5cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\renewcommand{\baselinestretch}{1}
+\usepackage{geyger}
 \begin{document}
 
-\newlength{\descrwidth}\setlength{\descrwidth}{9cm}
+\thispagestyle{plain}
 
-\newsavebox{\hdr}
-\sbox{\hdr}{
-  \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
+\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
 
-  \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%> &
+    FIXME & <%linetotal%>\\
+  <%end number%>
 <%end pagebreak%>
 
-
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
-\vspace*{2cm}
-
-<%name%>
-
-<%street%>
+\vspace*{1.5cm}
 
-<%zipcode%>
+\begin{minipage}{8cm}
+  \tiny
+  \underline{GEYGER GbR $\bullet$ Druckereistr. 9 $\bullet$ 05159
+    Leipzig-Stahmeln}
+  \normalsize
 
-<%city%>
+  <%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}}}
+  \rightline{\large\textbf{\textit{Nr. <%ordnumber%>%
+  }}}
 
-\vspace{1cm}
+  Datum:\hfill <%orddate%>
 
-\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*}
+  Kunden-Nr:\hfill <%customernumber%>
 
+  Telefon:\hfill <%phone%>
 
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
+  Telefax:\hfill FIXME <%fax%>
 
-\vspace{0.2cm}
+  Ansprechpartner:\hfill <%employee%>
+\end{minipage}
+
+\vspace*{0.5cm}
 
 \hfill
-\begin{tabularx}{7cm}{Xr@{}}
-  \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\
-<%foreach tax%>
-  <%taxdescription%> auf <%taxbase%> & <%tax%>\\
-<%end tax%>
+Leipzig-Stahmeln, \today
+
+\vspace{0.5cm}
+
+\begin{tabularx}{\textwidth}{lrXrr}
+  \hline
+  \textbf{Pos} & \textbf{Menge} & \textbf{Bezeichnung} &
+  \textbf{E-Preis/\euro} & \textbf{G-Preis/\euro} \\
   \hline
-  \textbf{Total} & \textbf{<%ordtotal%>}\\
+  <%foreach number%>
+    <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> &
+    FIXME & <%linetotal%>\\
+  <%end number%>
 \end{tabularx}
 
-\vspace{0.3cm}
+\begin{tabularx}{\textwidth}{Xrr}
+  Zwischensumme: & & <%subtotal%>\\
+  abbzüglich der nicht rabattierfähigen Positionen $(*)$ &
+  FIXME & FIXME \\
+  Rabatt bei vereinbarungsgemäßer Bezahlung\hfill
+    FIXME von & FIXME & FIXME\\
+\end{tabularx}
 
-\hfill
-  Alle Preise in \textbf{<%currency%>}.
+\vspace{0.5cm}
+
+Vereinbarter Liefertermin: <%reqdate%>
 
-\vspace{12pt}
+\vspace{0.5cm}
 
-<%if notes%>
-  <%notes%>
-<%end if%>
+\hrule
 
-}
+\hfill
+\begin{tabular}{l@{\hspace*{0.2cm}\euro\hspace*{0.2cm}}r}
+  Nettobetrag & FIXME\\
+  <%foreach tax%>
+  <%taxrate%> <%taxdescription%> & <%tax%>\\
+  <%end tax%>
+  \textbf{Endbetrag} & \textbf{<%ordtotal%>%
+  }
+\end{tabular}
+\hrule
 
+\vspace{0.2cm}
 
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+\textit{Bitte kontrollieren Sie alle Positionen auf Übereinstimmung
+  mit IHrere Bestellung! Abweichungen teilen Sie innerhalb von 3 Tagen
+  mit!}
 
-\footnotetext[1]{\tiny
-Spezialprodukte werden nicht zurückgenommen. Für alle anderen Waren
-wird eine 10\% Stornogebühr verrechnet.
-}
+Zahlung bar/Scheck am Tage der Lieferung mit 5\% Skonto
 
 \end{document}