From bf86942158f1b3fad4f9f2a188182e29cfdb4097 Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Thu, 14 Dec 2006 16:27:12 +0000 Subject: [PATCH] Ueberarbeitete Standardvorlagen fuer Deutsch und neue Vorlagen fuer Zahlungserinnerung und Gutschrift --- templates/German-credit_note.tex | 89 +++++++++++++ templates/German-invoice.tex | 98 ++++----------- templates/German-packing_list.tex | 48 +------ templates/German-purchase_order.tex | 160 ++++++++---------------- templates/German-sales_order.tex | 61 +++------ templates/German-sales_quotation.tex | 158 ++++++++++------------- templates/German-zahlungserinnerung.tex | 62 +++++++++ 7 files changed, 308 insertions(+), 368 deletions(-) create mode 100644 templates/German-credit_note.tex create mode 100755 templates/German-zahlungserinnerung.tex diff --git a/templates/German-credit_note.tex b/templates/German-credit_note.tex new file mode 100644 index 000000000..959e97c9e --- /dev/null +++ b/templates/German-credit_note.tex @@ -0,0 +1,89 @@ +\documentclass[twoside]{scrartcl} +\usepackage{eurosym} +\usepackage{tabularx} +\usepackage{ifthen} +\usepackage[latin1]{inputenc} +\begin{document} + +\setlength{\parindent}{0cm} + +\pagestyle{empty} + +\newlength{\descrwidth}\setlength{\descrwidth}{10cm} + +\fontfamily{cmss}\fontshape{n}\selectfont + +<%pagebreak 80 28 37%> +\end{tabularx} + +\newpage + +\begin{tabularx}{\textwidth}{lrXrr} + \hline + \textbf{Pos} & \textbf{Menge} & \textbf{Bezeichnung} & + \textbf{E-Preis/\euro} & \textbf{G-Preis/\euro} \\ + \hline +<%end pagebreak%> + +\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont + +\vspace*{1.5cm} + +\begin{minipage}{8cm} + <%name%> + + <%street%> + + <%zipcode%> <%city%> + + <%country%> +\end{minipage} +\hfill +\begin{minipage}{6cm} + \rightline{\LARGE\textbf{\textit{Gutschrift}}} \vspace*{0.2cm} + \rightline{\large\textbf{\textit{Nr. <%invnumber%>% \vspace*{0.2cm} + }}} + + Gutschriftdatum:\hfill <%invdate%> + + Auftrag-Nr:\hfill <%ordnumber%> + + Telefon:\hfill <%phone%> + + Telefax:\hfill <%fax%> + + Ansprechpartner:\hfill <%employee%> +\end{minipage} + +\vspace*{0.5cm} + +Ihre Bestellung <%cusordnumber%> vom <%orddate%> +% \hfill + +\vspace*{0.5cm} + +Sehr geehrte Damen und Herren, + +\vspace{0.5cm} + +\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 \\ + <%if discount_sub%> & Zwischensumme: & & <%discount_sub%> \euro & <%end if%>\\ + <%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{<%invtotal%> \euro} \\ \hline +\end{tabularx} + +\vspace{1cm} + +\end{document} + diff --git a/templates/German-invoice.tex b/templates/German-invoice.tex index ad41eccda..6e02429b5 100644 --- a/templates/German-invoice.tex +++ b/templates/German-invoice.tex @@ -1,11 +1,13 @@ \documentclass[twoside]{scrartcl} \usepackage{eurosym} \usepackage{tabularx} +\usepackage{ifthen} \usepackage[latin1]{inputenc} -\usepackage{geyger} \begin{document} -\thispagestyle{plain} +\setlength{\parindent}{0cm} + +\pagestyle{empty} \newlength{\descrwidth}\setlength{\descrwidth}{10cm} @@ -21,10 +23,6 @@ \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 @@ -32,11 +30,6 @@ \vspace*{1.5cm} \begin{minipage}{8cm} - \tiny - \underline{GEYGER GbR $\bullet$ Druckereistr. 9 $\bullet$ 05159 - Leipzig-Stahmeln} - \normalsize - <%name%> <%street%> @@ -47,26 +40,26 @@ \end{minipage} \hfill \begin{minipage}{6cm} - \rightline{\LARGE\textbf{\textit{Rechnung}}} - \rightline{\large\textbf{\textit{Nr. <%invnumber%>% + \rightline{\LARGE\textbf{\textit{Rechnung}}} \vspace*{0.2cm} + \rightline{\large\textbf{\textit{Nr. <%invnumber%>% \vspace*{0.2cm} }}} Rechnungsdatum:\hfill <%invdate%> Auftrag-Nr:\hfill <%ordnumber%> - Telefon:\hfill FIXME <%phone%> + Telefon:\hfill <%phone%> - Telefax:\hfill FIXME <%fax%> + Telefax:\hfill <%fax%> Ansprechpartner:\hfill <%employee%> \end{minipage} \vspace*{0.5cm} -Ihre Bestellung ex <%cusordnumber%> vom <%orddate%> -\hfill -Leipzig-Stahmeln, \today +Ihre Bestellung <%cusordnumber%> vom <%orddate%> +% \hfill + \vspace*{0.5cm} @@ -77,33 +70,6 @@ folgende Positionen in Rechnung zu stellen. \vspace{0.5cm} -\begin{minipage}[t]{8cm} - \underline{Lieferadresse:} - - <%dc_name%> - - <%dc_street%> - - <%dc_zipcode%> <%dc_city%> - - <%dc_country%> -\end{minipage} -\begin{minipage}[t]{8cm} - \underline{Händler} - - <%dv_name%> - - <%dv_street%> - - <%dv_zipcode%> <%dv_city%> - - <%dv_country%> - - Telefon: <%dv_phone%> -\end{minipage} - -\vspace{0.5cm} - \begin{tabularx}{\textwidth}{lrXrr} \hline \textbf{Pos} & \textbf{Menge} & \textbf{Bezeichnung} & @@ -111,41 +77,19 @@ folgende Positionen in Rechnung zu stellen. \hline <%foreach number%> <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> & - FIXME & <%linetotal%>\\ - <%end number%> -\end{tabularx} - -\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} - -\vspace{0.5cm} - -Liefertermin: <%deliverydate%> - -\vspace{0.5cm} - -\hrule - -\hfill -\begin{tabular}{l@{\hspace*{0.2cm}\euro\hspace*{0.2cm}}r} - Nettobetrag & FIXME\\ + <%sellprice%> \euro & <%linetotal%> \euro \\ + <%if discount_sub%> & Zwischensumme: & & <%discount_sub%> \euro & <%end if%>\\ + <%end number%>\hline + \multicolumn{4}{l}{Nettobetrag} & <%subtotal%> \euro \\ <%foreach tax%> - <%taxrate%> <%taxdescription%> & <%tax%>\\ + \multicolumn{4}{l}{<%taxdescription%>} & <%tax%> \euro \\ <%end tax%> - \textbf{Endbetrag} & \textbf{<%invtotal%>% - } -\end{tabular} -\hrule - -\vspace{0.2cm} + \multicolumn{4}{l}{\textbf{Endbetrag}} & \textbf{<%invtotal%> \euro} \\ \hline +\end{tabularx} -Zahlbar bis FIXME mit FIXME Skonto (FIXME) = FIXME \euro\\ -Zahlbar bis <%terms%> <%invtotal%> \euro\ ohne Abzüge +\vspace{1cm} +\ifthenelse{\equal{<%deliverydate%>}{}}{Das Leistungsdatum entspricht, soweit nicht anders angegeben, dem Rechnungsdatum.}{Liefertermin: <%deliverydate%>} \\ +Zahlbar bis <%terms%> <%invtotal%> \euro\ ohne Abzüge. \end{document} diff --git a/templates/German-packing_list.tex b/templates/German-packing_list.tex index b87d453fa..c5360b9fa 100644 --- a/templates/German-packing_list.tex +++ b/templates/German-packing_list.tex @@ -1,10 +1,9 @@ \documentclass[twoside]{scrartcl} \usepackage{tabularx} \usepackage[latin1]{inputenc} -\usepackage{geyger} \begin{document} -\thispagestyle{plain} +\thispagestyle{empty} \newlength{\descrwidth}\setlength{\descrwidth}{10cm} @@ -26,18 +25,13 @@ \vspace*{1.5cm} \begin{minipage}{8cm} - \tiny - \underline{GEYGER GbR $\bullet$ Druckereistr. 9 $\bullet$ 05159 - Leipzig-Stahmeln} - \normalsize - - <%dc_name%> + <%name%> - <%dc_street%> + <%street%> - <%dc_zipcode%> <%dc_city%> + <%zipcode%> <%city%> - <%dc_country%> + <%country%> \end{minipage} \hfill \begin{minipage}{6cm} @@ -58,39 +52,9 @@ Ihre Bestellung ex <%cusordnumber%> vom <%orddate%> \hfill -Leipzig-Stahmeln, \today \vspace*{0.5cm} -\begin{minipage}[t]{8cm} - \underline{Händler} - - <%dv_name%> - - <%dv_street%> - - <%dv_zipcode%> <%dv_city%> - - <%dv_country%> - - Telefon: <%dv_phone%> -\end{minipage} -\begin{minipage}[t]{8cm} - \underline{Rechnungsempfänger} - - <%name%> - - <%street%> - - <%zipcode%> <%city%> - - <%country%> - - Telefon: <%phone%> -\end{minipage} - -\vspace{0.5cm} - \begin{tabularx}{\textwidth}{lXr} \hline \textbf{Pos} & \textbf{Bezeichnung} & \textbf{Liefermenge} \\ @@ -107,7 +71,7 @@ Liefertermin: <%deliverydate%> \vspace{0.5cm} Oben angeführte Positionen vollständig und ohne Mängel erhalten: -\hspace*{0.5cm} +\vspace*{2.5cm} \\ \parbox[t]{6cm}{ \underline{\hspace*{6cm}}\\ \centerline{\small Datum / Unterschrift} diff --git a/templates/German-purchase_order.tex b/templates/German-purchase_order.tex index 6b0353923..999451908 100644 --- a/templates/German-purchase_order.tex +++ b/templates/German-purchase_order.tex @@ -1,143 +1,85 @@ \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} \begin{document} -\newlength{\descrwidth}\setlength{\descrwidth}{9cm} - -\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}} +\thispagestyle{empty} -\pagestyle{myheadings} -%\thispagestyle{empty} use this with letterhead paper +\newlength{\descrwidth}\setlength{\descrwidth}{10cm} +\setlength{\parindent}{0cm} -<%pagebreak 90 27 48%> -\end{tabular*} +\fontfamily{cmss}\fontshape{n}\selectfont - \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{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%> -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\ - & Übertrag von <%lastpage%> & & & & <%sumcarriedforward%> \\ <%end pagebreak%> - \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -\vspace*{2cm} +\vspace*{1.5cm} -<%name%> +\begin{minipage}{8cm} + <%name%> -<%street%> + <%street%> -<%zipcode%> + <%zipcode%> <%city%> -<%city%> + <%country%> +\end{minipage} +\hfill +\begin{minipage}{6cm} + \rightline{\LARGE\textbf{\textit{Bestellung}}} + \rightline{\large\textbf{\textit{Nr. <%ordnumber%>% + }}} -<%country%> + Datum:\hfill <%orddate%> -\vspace{3.5cm} + Kunden-Nr:\hfill <%customernumber%> -\textbf{B E S T E L L U N G} -\hfill -\begin{tabular}[t]{l@{\hspace{0.3cm}}l} - \textbf{Datum} & <%orddate%> \\ -<%if reqdate%> - \textbf{Lieferung bis} & <%reqdate%> \\ -<%end reqdate%> - \textbf{Nummer} & <%ordnumber%> -\end{tabular} + Telefon:\hfill <%phone%> -\vspace{1cm} + Telefax:\hfill <%fax%> -\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}} - \textbf{Nummer} & \textbf{Artikel} & \textbf{Anz} & - \textbf{Einh} & \textbf{Preis} & \textbf{Total} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> -\end{tabular*} + Ansprechpartner:\hfill <%employee%> +\end{minipage} +\vspace*{0.5cm} -\parbox{\textwidth}{ -\rule{\textwidth}{2pt} -\vspace{0.2cm} +Hiermit bestellen wir verbindlich folgende Positionen: +\vspace{0.5cm} -\hfill -\begin{tabularx}{7cm}{Xr@{}} - \textbf{Zwischensumme} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> +\begin{tabularx}{\textwidth}{lrXrr} \hline - \textbf{Total} & \textbf{<%ordtotal%>}\\ + \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} - -\vspace{0.3cm} - -\hfill - Alle Preise in \textbf{<%currency%>}. - -\vspace{12pt} - -<%if notes%> - <%notes%> -<%end if%> - -} - - -%\renewcommand{\thefootnote}{\fnsymbol{footnote}} - -%\footnotetext[1]{\tiny } +\hrule \end{document} - diff --git a/templates/German-sales_order.tex b/templates/German-sales_order.tex index 3195233c6..bbc86b181 100644 --- a/templates/German-sales_order.tex +++ b/templates/German-sales_order.tex @@ -2,12 +2,12 @@ \usepackage{eurosym} \usepackage{tabularx} \usepackage[latin1]{inputenc} -\usepackage{geyger} \begin{document} -\thispagestyle{plain} +\thispagestyle{empty} \newlength{\descrwidth}\setlength{\descrwidth}{10cm} +\setlength{\parindent}{0cm} \fontfamily{cmss}\fontshape{n}\selectfont @@ -23,7 +23,7 @@ \hline <%foreach number%> <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> & - FIXME & <%linetotal%>\\ + <%sellprice%> & <%linetotal%>\\ <%end number%> <%end pagebreak%> @@ -32,11 +32,6 @@ \vspace*{1.5cm} \begin{minipage}{8cm} - \tiny - \underline{GEYGER GbR $\bullet$ Druckereistr. 9 $\bullet$ 05159 - Leipzig-Stahmeln} - \normalsize - <%name%> <%street%> @@ -47,9 +42,9 @@ \end{minipage} \hfill \begin{minipage}{6cm} - \rightline{\LARGE\textbf{\textit{Auftragsbestätigung}}} + \rightline{\LARGE\textbf{\textit{Auftragsbestätigung}}} \vspace*{0.2cm} \rightline{\large\textbf{\textit{Nr. <%ordnumber%>% - }}} + }}} \vspace*{0.2cm} Datum:\hfill <%orddate%> @@ -57,7 +52,7 @@ Telefon:\hfill <%phone%> - Telefax:\hfill FIXME <%fax%> + Telefax:\hfill <%fax%> Ansprechpartner:\hfill <%employee%> \end{minipage} @@ -65,7 +60,6 @@ \vspace*{0.5cm} \hfill -Leipzig-Stahmeln, \today \vspace{0.5cm} @@ -76,44 +70,21 @@ Leipzig-Stahmeln, \today \hline <%foreach number%> <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> & - FIXME & <%linetotal%>\\ - <%end number%> -\end{tabularx} - -\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} - -\vspace{0.5cm} - -Vereinbarter Liefertermin: <%reqdate%> - -\vspace{0.5cm} - -\hrule - -\hfill -\begin{tabular}{l@{\hspace*{0.2cm}\euro\hspace*{0.2cm}}r} - Nettobetrag & FIXME\\ + <%sellprice%> \euro & <%linetotal%> \euro \\ + <%end number%> \hline + \multicolumn{4}{l}{Nettobetrag} & <%subtotal%> \euro\\ <%foreach tax%> - <%taxrate%> <%taxdescription%> & <%tax%>\\ + \multicolumn{4}{l}{<%taxdescription%>} & <%tax%>\euro \\ <%end tax%> - \textbf{Endbetrag} & \textbf{<%ordtotal%>% - } -\end{tabular} + \multicolumn{4}{l}{\textbf{Endbetrag}} & \textbf{<%ordtotal%> \euro} \\ +\end{tabularx} \hrule -\vspace{0.2cm} - +\vspace{1cm} +Vereinbarter Liefertermin: <%reqdate%> \\ \\ \textit{Bitte kontrollieren Sie alle Positionen auf Übereinstimmung - mit IHrere Bestellung! Abweichungen teilen Sie innerhalb von 3 Tagen - mit!} - -Zahlung bar/Scheck am Tage der Lieferung mit 5\% Skonto + mit Ihrer Bestellung! Abweichungen teilen Sie innerhalb von 3 Tagen + mit!} \\ \\ \end{document} diff --git a/templates/German-sales_quotation.tex b/templates/German-sales_quotation.tex index 695ac4930..487e4a1b0 100644 --- a/templates/German-sales_quotation.tex +++ b/templates/German-sales_quotation.tex @@ -1,127 +1,95 @@ -\documentclass{scrartcl} -\usepackage[latin1]{inputenc} -\usepackage[frame]{xy} +\documentclass[twoside]{scrartcl} +\usepackage{eurosym} \usepackage{tabularx} -\setlength{\voffset}{0cm} -\setlength{\hoffset}{-2.5cm} -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0.5cm} -\setlength{\headsep}{0.5cm} -\setlength{\topskip}{0pt} -\setlength{\oddsidemargin}{2cm} -\setlength{\evensidemargin}{2cm} -\setlength{\textwidth}{16,4cm} -\setlength{\textheight}{23.5cm} -\setlength{\footskip}{0.5cm} -\setlength{\parindent}{0pt} -\renewcommand{\baselinestretch}{1} +\usepackage[latin1]{inputenc} \begin{document} -\newlength{\descrwidth}\setlength{\descrwidth}{8.75cm} - -\fontfamily{cmss}\fontshape{n}\selectfont - -\parbox{\textwidth}{ - \parbox[b]{.42\textwidth}{ - <%company%> - - <%address%> - } - \hfill - \begin{tabular}[b]{rr@{}} - Tel & <%tel%>\\ - Fax & <%fax%> - \end{tabular} +\thispagestyle{empty} - \rule[1.5ex]{\textwidth}{0.5pt} -} +\newlength{\descrwidth}\setlength{\descrwidth}{10cm} +\setlength{\parindent}{0cm} +\fontfamily{cmss}\fontshape{n}\selectfont -<%pagebreak 50 30 52%> - \multicolumn{5}{l}{\rule{\linewidth}{2pt}}\\ - \multicolumn{4}{r}{Zwischensumme:} & <%sumcarriedforward%> -\end{tabular} +<%pagebreak 80 28 37%> +\end{tabularx} \newpage -\vspace*{-12pt} -%\newlength{\dlpos}\settowidth{\dlpos}{\textbf{Pos.}} -%\newlength{\dlanz}\settowidth{\dlanz}{\textbf{Anzahl}} -%\newlength{\dlein}\settowidth{\dlein}{\textbf{Einzelpreis}} -%\newlength{\dlpre}\settowidth{\dlpre}{\textbf{Preis in Euro}} - -\begin{tabular}{lp{\descrwidth}rrr} - \textbf{Pos.} & \textbf{Beschreibung} & \textbf{Anzahl} & - \textbf{Einzelpreis} & \textbf{Preis in Euro} \\ -% \hspace*{\dlpos} & & \hspace*{\dlanz} & -% \hspace*{\dlein} & \hspace*{\dlpre}\\ -% & \textbf{\"Ubertrag von Seite <%lastpage%>} & & & -% \textbf{<%sumcarriedforward%>}\\ - & \"Ubertrag 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%> -\pagestyle{myheadings} -\thispagestyle{empty} \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont +\vspace*{1.5cm} +\begin{minipage}{8cm} + <%name%> -\vspace*{1.6cm} - -<%name%> - -<%street%> - -<%zipcode%> <%city%> + <%street%> -<%addr4%> -\vspace{1.5cm} + <%zipcode%> <%city%> -\textbf{A N G E B O T} + <%country%> +\end{minipage} \hfill -\begin{tabular}[t]{l@{\hspace{0,3cm}}l} - \textbf{Angebotsdatum} & <%quodate%>\\ - \textbf{Angebotsnummer} & <%quonumber%>\\ - \textbf{Kundennummer} & <%customer_id%> -\end{tabular} +\begin{minipage}{6cm} + \rightline{\LARGE\textbf{\textit{Angebot}}} + \rightline{\large\textbf{\textit{Nr. <%quonumber%>% + }}} -\vspace{1cm} + Datum:\hfill <%transdate%> -\begin{tabular}{lp{\descrwidth}rrr} - \textbf{Pos.} & \textbf{Beschreibung} & \textbf{Anzahl} & - \textbf{Einzelpreis} & \textbf{Preis in Euro} \\ -<%foreach number%> - <%runningnumber%> & <%description%> & <%qty%> & <%sellprice%> & - <%linetotal%>\\ -<%end number%> -\end{tabular} + Kunden-Nr:\hfill <%customernumber%> -\parbox{\linewidth}{% -\rule{\linewidth}{2pt} + Telefon:\hfill <%phone%> -\vspace{0,2cm} + Telefax:\hfill <%fax%> -Das Angebot ist gültig bis <%reqdate%> + Ansprechpartner:\hfill <%employee%> +\end{minipage} + +\vspace*{0.5cm} \hfill -\begin{tabularx}{7cm}{Xr} - \textbf{Nettobetrag} & \textbf{<%subtotal%>} \\ -<%foreach tax%> - MwSt. 16\% & <%tax%>\\\hline -<%end tax%> - \textbf{Gesamtbetrag in Euro} & \textbf{<%ordtotal%>} -\end{tabularx} -\vspace{12pt} +\vspace{0.5cm} + +\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 -Wir danken für Ihre Anfrage und hoffen, Ihnen hiermit ein interessantes Angebot -gemacht zu haben. Sollten Sie noch Fragen oder Änderungswünsche haben, -können Sie uns gerne jederzeit unter den oben genannten Telefonnummern kontaktieren. +\vspace{0.2cm} -Bei der Durchführung des Auftrags gelten unsere AGB, die wir Ihnen gerne -zuschicken. +Wir danken für Ihre Anfrage und hoffen, Ihnen hiermit ein interessantes Angebot gemacht zu haben. Das Angebot ist + gültig bis zum <%reqdate%>. Sollten Sie noch Fragen oder Änderungswünsche haben, können Sie uns gerne jederzeit + unter den oben genannten Telefonnummern oder eMail-Adressen kontaktieren. \\ + Bei der Durchführung des Auftrags gelten unsere AGB, die wir Ihnen gerne zuschicken. \\ \\ + Mit freundlichen Grüßen, \\ \\ \\ + <%employee_name%> -} \end{document} + diff --git a/templates/German-zahlungserinnerung.tex b/templates/German-zahlungserinnerung.tex new file mode 100755 index 000000000..0469b9114 --- /dev/null +++ b/templates/German-zahlungserinnerung.tex @@ -0,0 +1,62 @@ +\documentclass[10pt, oneside]{scrartcl} +\usepackage[latin1]{inputenc} +\usepackage{german} +\usepackage{tabularx} +\usepackage{xspace} +\usepackage{ifthen} +\usepackage{eso-pic} +\usepackage{longtable} +\usepackage{eurosym} + +\setlength{\voffset}{-0.3cm} +\setlength{\hoffset}{-2.2cm} +\setlength{\topmargin}{0cm} +\setlength{\headheight}{0.5cm} +\setlength{\headsep}{1cm} +\setlength{\topskip}{0pt} +\setlength{\oddsidemargin}{2cm} +%\setlength{\evensidemargin}{2cm} +\setlength{\textwidth}{16.4cm} +% \setlength{\textwidth}{13.4cm} +\setlength{\textheight}{23.5cm} +\setlength{\footskip}{1cm} +\setlength{\parindent}{0pt} +\setlength{\tabcolsep}{0cm} + +\renewcommand{\baselinestretch}{1} + +\begin{document} +\pagestyle{empty} +\fontfamily{cmss}\fontsize{10pt}{10pt}\fontseries{m}\selectfont + +% \vspace*{5cm} + +<%name%> + +% \ifthenelse{\equal{<%cp_name%>}{}}{}{z.Hd. <%cp_name%>} + +<%street%> + +<%zipcode%> <%city%> + +\begin{flushright}<%dunning_date%>\end{flushright} + +\vspace*{2.5cm} %\\ +\large +\textbf{Zahlungserinnerung} \\ \\ \\ +\normalsize +Sehr geehrte Damen und Herren, \\ \\ \\ +man kann seine Augen nicht überall haben - offensichtlich haben Sie übersehen, die folgenden Rechnungen zu begleichen: \\ +\vspace{0.5cm} \\ +\begin{tabularx}{\textwidth}{l@{\hspace*{2cm}}X@{\hspace*{0.5cm}}r} + \textbf{Rechnungsnummer} & \textbf{Rechnungsdatum} & \textbf{Rechnungsbetrag} \\ \hline && \\ + <%foreach dn_invnumber%> + <%dn_invnumber%> & <%dn_transdate%> & <%dn_amount%> \euro \\[0.1cm] + <%end dn_invnumber%> +\end{tabularx} +\vspace*{0.5cm} \\ +Wir bitten Sie, diese bis zum <%dunning_duedate%> zu begleichen. \\ \\ \\ +Bitte beachten Sie, dass wir Zahlungseingänge nur bis zum <%dunning_date%> berücksichtigen konnten. Sollten Sie zwischenzeitlich bezahlt haben, betrachten Sie diese Zahlungserinnerung bitte als gegenstandslos. \\ \\ \\ +Mit freundlichen Grüßen, \\ \\ \\ \\ +<%employee_name%> +\end{document} \ No newline at end of file -- 2.20.1