Standard-Druckvorlagen entfernt
[kivitendo-erp.git] / templates / print / Standard / sales_quotation.tex
diff --git a/templates/print/Standard/sales_quotation.tex b/templates/print/Standard/sales_quotation.tex
deleted file mode 100644 (file)
index 356f685..0000000
+++ /dev/null
@@ -1,276 +0,0 @@
-% salex_quotation.tex
-% Verkauf - Angebot
-% Überarbeitet von Norbert Simon, n.simon@linet-services.de
-% Version 2.5 vom 15. November 2011
-% Basiert auf der Arbeit von kmk@lilalaser.de / 2007
-% Diese Vorlage steht unter der GPL-Lizenz, Version 3
-% siehe http://www.gnu.de/licenses/gpl-3.0.html
-% ----------
-% config: tag-style=$( )$
-% ----------
-
-\documentclass[twoside]{scrartcl}
-\usepackage{fancyhdr}       % Für den Seitenkopf und -Fuß
-\usepackage{ifpdf}          % Erlaubt eine Code-Weiche für PDF, oder DVI Ausgabe
-\usepackage{xifthen}        % Allgemeine Code-Weiche
-\usepackage{graphicx}       % Fuer die Einbindung der Logo-Graphik
-\usepackage{german}         % Deutsche Trenn-Tabelle
-\usepackage[utf8]{inputenc} % Umlaute direkt eingeben
-\usepackage{textcomp}       % Sonderzeichen
-\usepackage{lastpage}       % Fuer die Angabe "Seite 2 von 5"
-\usepackage{filecontents}   % Um von latex aus eine Datei schreiben zu koennen
-\usepackage{etex}           % Damit Marken verwendet werden koennen
-\usepackage{ltxtable}       % Mehrseiten-Tabellen mit variabler Spaltenbreite
-\usepackage{booktabs}      % Striche in Tabellen
-\usepackage{numprint}       % Zahlen formatiert ausgeben
-\usepackage[$(if myconfig_output_numberformat =~ "1.000,00")$german$(else)$$(if myconfig_output_numberformat =~ "1000,00")$germannosep$(else)$$(if myconfig_output_numberformat =~ "1,000.00")$english$(else)$englishnosep$(end)$$(end)$$(end)$]{zwischensumme}  % Lokales Makro zur Berechnung der Zwischensummen
-\usepackage{microtype,relsize} %Feinpositionierung, Sperren von Text
-\newcommand*{\sperren}[1]{\normalsize\textls*[200]{#1}} %Sperrung Überrschriften
-
-
-% ---------- Report-Variablen zur Verwendung in kivitendobriefkopf.tex ----------
-% ----------  Die eigenen Daten ----------
-\newcommand{\employeename}{$(employee_name)$}
-\newcommand{\employeecompany}{$(employee_company)$}
-\newcommand{\employeeaddress}{$(employee_address)$}
-\newcommand{\employeetel}{$(employee_tel)$}
-\newcommand{\employeefax}{$(employee_fax)$}
-\newcommand{\employeeemail}{$(employee_email)$}
-\newcommand{\employeecoustid}{$(employee_co_ustid)$}
-\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
-\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
-
-% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
-% \newcommand{\companybank}{$(company_bank)$}
-% \newcommand{\companybankcode}{$(company_bank_code)$}
-% \newcommand{\companyaccountnumber}{$(company_account_number)$}
-
-% ---------- Adressat ----------
-\newcommand{\name}{$(name)$}
-\newcommand{\departmentone}{$(department_1)$}
-\newcommand{\departmenttwo}{$(department_2)$}
-\newcommand{\cpgreeting}{$(cp_greeting)$}
-\newcommand{\cptitle}{$(cp_title)$}
-\newcommand{\cpgivenname}{$(cp_givenname)$}
-\newcommand{\cpname}{$(cp_name)$}
-\newcommand{\street}{$(street)$}
-\newcommand{\country}{$(country)$}
-\newcommand{\zipcode}{$(zipcode)$}
-\newcommand{\city}{$(city)$}
-\newcommand{\phone}{$(customerphone)$}
-\newcommand{\fax}{$(customerfax)$}
-\newcommand{\lettergreeting}{
-       \ifthenelse{\equal{$(cp_gender)$}{f}}
-        {Sehr geehrte Frau $(cp_name)$,}
-       {\ifthenelse{\equal{$(cp_gender)$}{m}}
-         {Sehr geehrter Herr $(cp_name)$,}
-         {Sehr geehrte Damen und Herren,}
-       }\\[1\baselineskip]
-}
-
-% ---------- Bestellvariablen ----------
-\newcommand{\quonumber}{$(quonumber)$}
-\newcommand{\docnumber}{Angebot Nr. {\quonumber}}
-\newcommand{\quodate}{$(quodate)$}
-\newcommand{\kundennummer}{$(customernumber)$}
-\newcommand{\reqdate}{$(reqdate)$}
-
-% ---------- Lieferadresse ----------
-\newcommand{\shiptoname}{$(shiptoname)$}
-\newcommand{\shiptocontact}{$(shiptocontact)$}
-\newcommand{\shiptodepartmentone}{$(shiptodepartment_1)$}
-\newcommand{\shiptodepartmenttwo}{$(shiptodepartment_2)$}
-\newcommand{\shiptostreet}{$(shiptostreet)$}
-\newcommand{\shiptocity}{$(shiptocity)$}
-\newcommand{\shiptocountry}{$(shiptocountry)$}
-\newcommand{\shiptophone}{$(shiptophone)$}
-\newcommand{\shiptozipcode}{$(shiptozipcode)$}
-\newcommand{\shiptofax}{$(shiptofax)$}
-
-% ---------- Währungszeichen ----------
-\newcommand{\currency}{\euro}
-\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
-\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
-\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
-
-% ---------- Ende Reportvariablen-Umsetzung ----------
-
-% ---------- Briefkopf dazuladen ----------
-\input{kivitendobriefkopf}
-
-\begin{document}
-% ---------- Schrift Hauptdokuments (Computermodern-sanserif)  ----------
-% \fontfamily{cmss}\fontsize{10}{12pt plus 0.12pt minus 0.1pt}\selectfont
-% ---------- Schrift Helvetica ------------------------
-\fontfamily{phv}\fontsize{10}{12pt plus 0.12pt minus 0.1pt}\selectfont
-% ---------- Firmenlogo nur erste Seite ----------
-\thispagestyle{briefkopf}
-
-% ---------- Datum und Nummern ----------
-% Position unterhalb des Briefkopfs
-\vspace*{\vlogospacing}
-\renewcommand{\arraystretch}{0.9}
-\begin{minipage}[b]{177mm}
-\sperren{\textbf{Angebot Nr. \quonumber}}
-\hfill
-       \small
-       \begin{tabular}[b]{r@{\hspace{2mm}}p{\hlogospacing}}
-               \textbf{Seite} & {\thepage} von \pageref{LastPage}\\
-               \textbf{Datum} & \quodate \\
-               \nonemptyline{\textbf{Gültig bis} &}{\reqdate}
-               \textbf{Kunden Nr.} & \kundennummer\\
-               \textbf{Angebot Nr.} & \quonumber\\
-               \textbf{Ansprechpartner} & \employeename\\
-               \nonemptyline{\textbf{Durchwahl} &}{\employeetel}
-               \nonemptyline{\textbf{E-Mail} &}{\employeeemail}
-       \end{tabular}\\[10mm plus 20mm minus 10mm]
-\end{minipage}
-\renewcommand{\arraystretch}{1}
-\normalsize
-% ---------- Begrüßung und Bemerkungen ----------
-\vspace{5mm}
-\lettergreeting
-wir bedanken uns für Ihre Anfrage und bieten Ihnen gemäß unserer Liefer- und Zahlungsbedingungen hiermit freibleibend die nachfolgenden Positionen an.
-\ifthenelse{\isempty{$(notes)$}}{}{
-      \newline
-      $(notes)$
-      }
-\vspace{5mm}
-
-% ---------- Die eigentliche-Tabelle ----------
-% ---------- Tabelle puffern ----------
-\begin{filecontents}{\employeetable}
-% ---------- globale Variable laufsumme deklarieren ----------
-\resetlaufsumme
-% ---------- Spaltendefinition ----------
-%\begin{longtable}{@{}rlX@{ }rlrr@{\makebox[\widthof{\textbf{~\currency}}]}}
-\begin{longtable}{@{}rlX@{ }rlrr@{\makebox[\widthof{\textbf{}}]}}
-% ---------- Kopfzeile der Tabelle ----------
-       \textbf{Pos} &
-       \textbf{Art.Nr.} &
-       \textbf{Bezeichnung} &
-       \textbf{Menge} &
-       \textbf{ME} &
-       \textbf{EP/€} &
-       \textbf{GP/€} \\
-       \midrule
-  \endfirsthead
-% ---------- Tabellenkopf nach dem Umbruch ----------
-       \textbf{Pos} &
-       \textbf{Art.Nr.} &
-       \textbf{Bezeichnung} &
-       \textbf{Menge} &
-       \textbf{ME} &
-       \textbf{EP/€} &
-       \textbf{GP/€} \\
-        \midrule
-       & & \multicolumn{4}{r}{} & \MarkUebertrPos\\[1.5em]
-  \endhead
-% ---------- Fuss der Teiltabellen ----------
-        \midrule
-       & & \multicolumn{4}{r}{} & \MarkZwsumPos \\
-  \endfoot
-% ---------- Das Ende der Tabelle ----------
-       \midrule
-%      & & \multicolumn{4}{r}{ Nettobetrag:} & \MarkZwsumPos \\
-  \endlastfoot
-% ---------- Positionen ----------
-  $(foreach number)$
-       $(runningnumber)$ &
-       $(number)$ &
-       $(description)$
-       \ifthenelse{\equal{$(longdescription)$}{}}{}{\newline
-       \renewcommand{\baselinestretch}{1}\footnotesize
-       {\footnotesize $(longdescription)$
-       \renewcommand{\baselinestretch}{1}\normalsize
-       }} &
-       $(qty)$ &
-       $(unit)$ &
-       \ifthenelse{\isempty{$(sellprice)$}}{&}{
-               \numprint{$(sellprice)$}
-               \ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
-               \numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
-       }\\ %
-  $(end number)$
-
-\end{longtable}
-% ----------  Ende der Hilfsdatei ----------
-\end{filecontents}
-% ---------- Puffertabelle öffnen ----------
-\LTXtable{\textwidth}{\employeetable}
-%---------- Bereich für die Summen ----------
-\parbox{\textwidth}{
-%---------- Summenbereich nach rechts schieben  ----------
-\hfill
-\setlength{\tabcolsep}{0mm}
-\begin{tabular}{@{}r@{ }r@{ }l}
-%   \toprule
-   {Nettobetrag:}& \numprint{$(subtotal)$}& \currency\\
-% ---------- Alle Steuern ausweisen ----------
-   $(foreach tax)$
-%       {$(taxdescription)$ auf }\numprint{$(taxbase)$}~\currency: & \numprint{$(tax)$}& \\
-               {$(taxdescription)$}:  & \numprint{$(tax)$}& \currency\\
-   $(end tax)$
-   \midrule
-   {\textbf{Gesamtbetrag:}} & \bfseries\numprint{$(ordtotal)$} & \textbf{\currency}\\
-   \bottomrule
-\end{tabular}
-}
-% ---------- Nachbemerkung mit variablem Abstand ----------
-\vfil
-$(if reqdate)$
-\vspace*{0.3em}
-\textbf{Das Angebot ist gültig bis zum \reqdate.}\\
-\vfil
-$(end)$
-$(if payment_terms)$
-\textbf{Zahlungsbedingungen:}\hfill\parbox[t]{0.7\textwidth}{$(payment_terms)$}\\
-\vfil
-$(end)$
-% ---------- Transportmittel ----------
-$(if shipvia)$
-Lieferung per $(shipvia)$.\\[1em]
-$(end)$
-% ---------- Lieferadresse ----------
-\ifthenelse{%
-        \equal{\shiptoname}{\name} \AND
-        \equal{\shiptodepartmentone}{\leer} \AND
-        \equal{\shiptodepartmenttwo}{\leer} \AND
-        \equal{\shiptostreet}{\street} \AND
-        \equal{\shiptozipcode}{\zipcode} \AND
-        \equal{\shiptocity}{\city}
- }{}{
-% ---------- Umbruch dazwischen verhindern ----------
-\vspace*{0.5em}
-\parbox{\textwidth}{
-% ---------- Bereich für Lieferadresse ----------
-\textbf{Lieferanschrift:}\hfill\parbox[t]{0.7\textwidth}{
-                               \shiptoname \\
-                               \nonemptyline{}{\shiptodepartmentone}
-                               \nonemptyline{}{\shiptodepartmenttwo}
-                               \shiptostreet \\
-                               \shiptocountry{ }\shiptozipcode{ }\shiptocity\\[1mm]
-                               \nonemptyline{Tel: }{\shiptophone}
-                               \nonemptyline{Fax: }{\shiptofax}
-                       }%ende parbox
-       }% ende parbox
-}% ende ifthenelse
-\vspace*{0.5em}
-\parbox{\textwidth}{
-Sollten Sie Fragen zu unserem Angebot haben, steht Ihnen \employeename \ per Telefon (\employeetel) oder per E-Mail (\employeeemail) gerne zur Verfügung.
-Wir hoffen, dass unser Angebot Ihre Zustimmung findet und würden uns freuen Ihren Auftrag zu erhalten.\par
-\vspace{1.5\baselineskip}
-Mit freundlichen Grüßen\\ \vfil
-\employeename
-}% Ende parbox
-%\vspace{1.5\baselineskip}
-\vfill
-\textbf{Wollen Sie direkt bestellen?}\\[1.2em]
-\small{Machen Sie durch Ihren Stempel und Ihre Unterschrift unser Angebot Nr. \quonumber \ zum Auftrag.}\\[1.2em]
-\vspace{2.5\baselineskip}\\
-\rule{20em}{0.1pt}\\
-\hspace*{5em}Datum, Unterschrift \\
-\vfill
-\footnotesize
-Es gelten unsere Liefer- und Zahlungsbedingungen, die wir Ihnen auf Wunsch gerne zukommen lassen.
-\end{document}