X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8d19aa002666b22761822ba2fdc8be4ee204c5f1..e69e3657:/templates/German-packing_list.tex

diff --git a/templates/German-packing_list.tex b/templates/German-packing_list.tex
index 1fef8f5d4..c5360b9fa 100644
--- a/templates/German-packing_list.tex
+++ b/templates/German-packing_list.tex
@@ -1,117 +1,80 @@
 \documentclass[twoside]{scrartcl}
-\usepackage[frame]{xy}
 \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}
 \begin{document}
 
-\newlength{\descrwidth}\setlength{\descrwidth}{9cm}
+\thispagestyle{empty}
 
-\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 <%invnumber%>}{\usebox{\hdr}}
-
-\pagestyle{myheadings}
-%\thispagestyle{empty}     use this with letterhead paper
-
-<%pagebreak 90 27 48%>
-\end{tabular*}
+<%pagebreak 100 35 37%>
+\end{tabularx}
 
 \newpage
 
-\markright{<%company%>\hfill <%invnumber%>}
-
-\vspace*{-12pt}
-
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
-  \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
-    \textbf{Einh} & \textbf{Steige} \\
+\begin{tabularx}{\textwidth}{lXr}
+  \hline
+  \textbf{Pos} & \textbf{Bezeichnung} & \textbf{Liefermenge} \\
+  \hline
 <%end pagebreak%>
 
-
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
-\vspace*{2cm}
+\vspace*{1.5cm}
 
-<%shiptoname%>
+\begin{minipage}{8cm}
+  <%name%>
 
-<%shiptostreet%>
+  <%street%>
 
-<%shiptozipcode%>
+  <%zipcode%> <%city%>
 
-<%shiptocity%>
+  <%country%>
+\end{minipage}
+\hfill
+\begin{minipage}{6cm}
+  \rightline{\LARGE\textbf{\textit{Lieferschein}}}
+  \rightline{\large\textbf{\textit{Nr. <%invnumber%>%
+  }}}
+
+  Datum:\hfill <%invdate%>
 
-<%shiptocountry%>
+  Auftrag-Nr:\hfill <%ordnumber%>
 
-\vspace{3.5cm}
+  Kunden-Nr:\hfill <%customernumber%>
 
-\textbf{L I E F E R S C H E I N}
+  Ansprechpartner:\hfill <%employee%>
+\end{minipage}
 
+\vspace*{0.5cm}
+
+Ihre Bestellung ex <%cusordnumber%> vom <%orddate%>
 \hfill
-\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
-  \textbf{Datum} & <%invdate%> \\
-  \textbf{Nummer} & <%invnumber%> \\
-\end{tabular}
 
-\vspace{1cm}
+\vspace*{0.5cm}
 
-\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
-  \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} &
-    \textbf{Einh} & \textbf{Steige} \\
+\begin{tabularx}{\textwidth}{lXr}
+  \hline
+  \textbf{Pos} & \textbf{Bezeichnung} & \textbf{Liefermenge} \\
+  \hline
 <%foreach number%>
-  <%number%> & <%description%> & <%qty%> &
-    <%unit%> & <%bin%> \\
+  <%runningnumber%> & \raggedright <%description%> & <%qty%> <%unit%>\\
 <%end number%>
-\end{tabular*}
-
+\end{tabularx}
 
-\parbox{\textwidth}{
-\rule{\textwidth}{2pt}
+\vspace{0.5cm}
 
-\vspace{12pt}
-
-<%if notes%>
-  <%notes%>
-<%end if%>
-
-}
+Liefertermin: <%deliverydate%>
 
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}
+\vspace{0.5cm}
 
-\footnotetext[1]{\tiny
-Beschädigte Waren und Waren ohne Rückgabenummer werden nicht
-entgegengenommen. Lagerkosten werden mit 10\% berrechnet.
-Waren müssen ausreichended verpackt und versichert sein.
+Oben angeführte Positionen vollständig und ohne Mängel erhalten:
+\vspace*{2.5cm} \\
+\parbox[t]{6cm}{
+  \underline{\hspace*{6cm}}\\
+  \centerline{\small Datum / Unterschrift}
 }
 
 \end{document}
