Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a473872b

Von root vor fast 11 Jahren hinzugefügt

Dokumentvorlagen Standard LaTeX * fix #2410 waehrungsdefinition * fix dateiname fuer ausgelagerte tabellen-Datei \filecontents

Unterschiede anzeigen:

templates/print/Standard/credit_note.tex
37 37
\newcommand{\employeeemail}{$(employee_email)$}
38 38
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
39 39
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
40
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
40
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
41 41

  
42 42
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
43 43
% \newcommand{\companybank}{$(company_bank)$}
......
99 99
\newcommand{\shiptofax}{$(shiptofax)$}
100 100

  
101 101
% ---------- Währungszeichen ----------
102
\newcommand{\currency}{$(currency)$}
103
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
104
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
105
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
106
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
102
\newcommand{\currency}{\euro}
103
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
104
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
105
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
107 106

  
108 107
% ---------- Ende Reportvariablen-Umsetzung ----------
109 108

  
......
208 207
	\ifthenelse{\isempty{$(sellprice)$}}{&}{
209 208
		\numprint{$(sellprice)$}
210 209
		\ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
211
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}  
210
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
212 211
	}\\ %
213 212
  $(end number)$
214 213

  
......
229 228
%       {$(taxdescription)$ auf }\numprint{$(taxbase)$}~\currency: & \numprint{$(tax)$}& \\
230 229
		{$(taxdescription)$}:  & \numprint{$(tax)$}& \currency\\
231 230
   $(end tax)$
232
   \midrule 
231
   \midrule
233 232
   {\textbf{Rechnungsbetrag:}} & \bfseries\numprint{\invtotal} & \textbf{\currency}\\
234 233
% ---------- Wenn bereits etwas gezahlt wurde ----------
235 234
$(if invtotal != total)$
templates/print/Standard/invoice.tex
37 37
\newcommand{\employeeemail}{$(employee_email)$}
38 38
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
39 39
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
40
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
40
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
41 41

  
42 42
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
43 43
% \newcommand{\companybank}{$(company_bank)$}
......
98 98
\newcommand{\shiptofax}{$(shiptofax)$}
99 99

  
100 100
% ---------- Währungszeichen ----------
101
\newcommand{\currency}{$(currency)$}
102
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
103
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
104
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
105
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
101
\newcommand{\currency}{\euro}
102
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
103
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
104
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
106 105

  
107 106
% ---------- Ende Reportvariablen-Umsetzung ----------
108 107

  
......
142 141
% ---------- Begrüßung und Bemerkungen ----------
143 142
\vspace{ 5mm}
144 143
\lettergreeting
145
Hiermit erlauben wir uns, Ihnen die nachfolgenden Positionen $(if orddate)$gemäß 
144
Hiermit erlauben wir uns, Ihnen die nachfolgenden Positionen $(if orddate)$gemäß
146 145
Ihrem Auftrag vom \orddate{ }$(end)$in Rechnung zu stellen.\\
147 146

  
148
Für Nachfragen steht Ihnen \employeename \ per Telefon (\employeetel) 
147
Für Nachfragen steht Ihnen \employeename \ per Telefon (\employeetel)
149 148
oder per E-Mail (\employeeemail) gerne zur Verfügung.\\[1\baselineskip]
150 149
\ifthenelse{\isempty{$(notes)$}}{}{
151 150
      $(notes)$\\[1\baselineskip]
......
207 206
	\ifthenelse{\isempty{$(sellprice)$}}{&}{
208 207
		\numprint{$(sellprice)$}
209 208
		\ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
210
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}  
209
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
211 210
	}\\ %
212 211
  $(end number)$
213 212

  
......
228 227
%       {$(taxdescription)$ auf }\numprint{$(taxbase)$}~\currency: & \numprint{$(tax)$}& \\
229 228
		{$(taxdescription)$}:  & \numprint{$(tax)$}& \currency\\
230 229
   $(end tax)$
231
   \midrule  
230
   \midrule
232 231
   {\textbf{Rechnungsbetrag:}} & \bfseries\numprint{\invtotal} & \textbf{\currency}\\
233 232
% ---------- Wenn bereits etwas gezahlt wurde ----------
234 233
$(if invtotal != total)$
......
270 269
% ---------- Nachbemerkung mit max. Abstand nach unten ----------
271 270
$(if payment_terms)$
272 271
\vspace*{0.5em}
273
\textbf{Zahlungsbedingungen:}\hfill\parbox[t]{0.7\textwidth}{$(payment_terms)$}\\ 
272
\textbf{Zahlungsbedingungen:}\hfill\parbox[t]{0.7\textwidth}{$(payment_terms)$}\\
274 273
$(end)$
275 274
\vspace*{0.5em}
276 275
%Bitte überweisen Sie den Rechnungsbetrag in Höhe von
templates/print/Standard/mahnung.tex
36 36
\newcommand{\employeeemail}{$(employee_email)$}
37 37
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
38 38
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
39
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
39
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
40 40

  
41 41
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
42 42
% \newcommand{\companybank}{$(company_bank)$}
......
101 101
\newcommand{\shiptofax}{$(shiptofax)$}
102 102

  
103 103
% ---------- Währungszeichen ----------
104
\newcommand{\currency}{$(currency)$}
105
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
106
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
107
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
108
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
104
\newcommand{\currency}{\euro}
105
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
106
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
107
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
109 108

  
110 109
% ---------- Ende Reportvariablen-Umsetzung ----------
111 110

  
......
164 163
  $(dn_amount)$ \euro & $(dn_fee)$  \euro & $(dn_interest)$  \euro & $(dn_linetotal)$   \euro \\[1pt]
165 164
$(end dn_invnumber)$
166 165
\cline{1-7}\\
167
 Insgesamt: & & & $(total_open_amount)$ \euro & $(fee)$ \euro & $(total_interest)$ \euro & \textbf{$(total_amount)$  \euro} 
166
 Insgesamt: & & & $(total_open_amount)$ \euro & $(fee)$ \euro & $(total_interest)$ \euro & \textbf{$(total_amount)$  \euro}
168 167
\end{tabular*}
169 168
\rule{\textwidth}{0.5pt}
170 169

  
templates/print/Standard/mahnung_invoice.tex
36 36
\newcommand{\employeeemail}{$(employee_email)$}
37 37
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
38 38
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
39
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
39
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
40 40

  
41 41
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
42 42
% \newcommand{\companybank}{$(company_bank)$}
......
101 101
\newcommand{\shiptofax}{$(shiptofax)$}
102 102

  
103 103
% ---------- Währungszeichen ----------
104
\newcommand{\currency}{$(currency)$}
105
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
106
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
107
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
108
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
104
\newcommand{\currency}{\euro}
105
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
106
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
107
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
109 108

  
110 109
% ---------- Ende Reportvariablen-Umsetzung ----------
111 110

  
templates/print/Standard/proforma.tex
37 37
\newcommand{\employeeemail}{$(employee_email)$}
38 38
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
39 39
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
40
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
40
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
41 41

  
42 42
% ---------- eigene Bankverbindung falls nicht im Briefkopf ----------
43 43
% \newcommand{\companybank}{$(company_bank)$}
......
91 91
\newcommand{\shiptofax}{$(shiptofax)$}
92 92

  
93 93
% ---------- Währung setzen  ----------
94
\newcommand{\currency}{$(currency)$}
95
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
96
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
97
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
98
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
94
\newcommand{\currency}{\euro}
95
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
96
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
97
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
99 98

  
100 99
% ---------- Ende Reportvariablen-Umsetzung ----------
101 100

  
......
199 198
	\ifthenelse{\isempty{$(sellprice)$}}{&}{
200 199
		\numprint{$(sellprice)$}
201 200
		\ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
202
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}  
201
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
203 202
	}\\ %
204 203
  $(end number)$
205 204

  
templates/print/Standard/purchase_order.tex
35 35
\newcommand{\employeeemail}{$(employee_email)$}
36 36
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
37 37
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
38
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
38
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
39 39

  
40 40
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
41 41
% \newcommand{\companybank}{$(company_bank)$}
......
87 87
\newcommand{\shiptofax}{$(shiptofax)$}
88 88

  
89 89
% ---------- Währungszeichen ----------
90
\newcommand{\currency}{$(currency)$}
91
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
92
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
93
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
94
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
90
\newcommand{\currency}{\euro}
91
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
92
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
93
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
95 94

  
96 95
% ---------- Ende Reportvariablen-Umsetzung ----------
97 96

  
......
221 220
\end{tabular}
222 221
}
223 222
\vfill
224
Grundlage dieses Auftrages sind unsere Einkaufsbedingungen. 
223
Grundlage dieses Auftrages sind unsere Einkaufsbedingungen.
225 224
Wir bitten um gleichlautende Auftragsbestätigung.\\
226 225
\vspace{1.5\baselineskip}
227 226

  
templates/print/Standard/request_quotation.tex
36 36
\newcommand{\employeeemail}{$(employee_email)$}
37 37
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
38 38
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
39
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
39
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
40 40

  
41 41
% ---------- Adressat ----------
42 42
\newcommand{\name}{$(name)$}
......
83 83
\newcommand{\shiptofax}{$(shiptofax)$}
84 84

  
85 85
% ---------- Währungszeichen ----------
86
\newcommand{\currency}{$(currency)$}
87
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
88
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
89
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
90
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
86
\newcommand{\currency}{\euro}
87
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
88
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
89
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
91 90

  
92 91
% ---------- Ende Reportvariablen-Umsetzung ----------
93 92

  
templates/print/Standard/sales_delivery_order.tex
4 4
% Version 2.5 vom 15.Oktober 2011
5 5
% Basiert auf der Arbeit von kmk@lilalaser.de / 2007
6 6
% Diese Vorlage steht unter der GPL-Lizenz, Version 3
7
% siehe http://www.gnu.de/licenses/gpl-3.0.html             
7
% siehe http://www.gnu.de/licenses/gpl-3.0.html
8 8
% ----------
9 9
% config: tag-style=$( )$
10 10
% ----------
......
12 12
\usepackage{fancyhdr}       % Für den Seitenkopf und -Fuß
13 13
\usepackage{ifpdf}          % Erlaubt eine Code-Weiche für PDF, oder DVI Ausgabe
14 14
\usepackage{xifthen}        % Allgemeine Code-Weiche
15
\usepackage{graphicx}       % Fuer die Einbindung der Logo-Graphik 
15
\usepackage{graphicx}       % Fuer die Einbindung der Logo-Graphik
16 16
\usepackage{german}         % Deutsche Trenn-Tabelle
17
\usepackage[utf8]{inputenc} % Umlaute direkt eingeben 
17
\usepackage[utf8]{inputenc} % Umlaute direkt eingeben
18 18
\usepackage{textcomp}       % Sonderzeichen
19 19
\usepackage{lastpage}       % Fuer die Angabe "Seite 2 von 5"
20 20
\usepackage{filecontents}   % Um von latex aus eine Datei schreiben zu koennen
......
24 24
\newcommand*{\sperren}[1]{\normalsize\textls*[200]{#1}} %Sperrung Überrschriften
25 25

  
26 26

  
27
% ---------- Report-Variablen zur Verwendung in kivitendobriefkopf.tex ---------- 
28
% ----------  Die eigenen Daten ---------- 
27
% ---------- Report-Variablen zur Verwendung in kivitendobriefkopf.tex ----------
28
% ----------  Die eigenen Daten ----------
29 29
\newcommand{\employeename}{$(employee_name)$}
30 30
\newcommand{\employeecompany}{$(employee_company)$}
31 31
\newcommand{\employeeaddress}{$(employee_address)$}
......
34 34
\newcommand{\employeeemail}{$(employee_email)$}
35 35
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
36 36
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
37
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
37
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
38 38

  
39
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ---------- 
39
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
40 40
% \newcommand{\companybank}{$(company_bank)$}
41 41
% \newcommand{\companybankcode}{$(company_bank_code)$}
42 42
% \newcommand{\companyaccountnumber}{$(company_account_number)$}
43 43

  
44
% ---------- Adressat ---------- 
44
% ---------- Adressat ----------
45 45
\newcommand{\name}{$(name)$}
46 46
\newcommand{\departmentone}{$(department_1)$}
47 47
\newcommand{\departmenttwo}{$(department_2)$}
......
56 56
\newcommand{\phone}{$(customerphone)$}
57 57
\newcommand{\fax}{$(customerfax)$}
58 58
\newcommand{\lettergreeting}{
59
	\ifthenelse{\equal{$(cp_gender)$}{f}} 
59
	\ifthenelse{\equal{$(cp_gender)$}{f}}
60 60
	 {Sehr geehrte Frau $(cp_name)$,}
61 61
	{\ifthenelse{\equal{$(cp_gender)$}{m}}
62 62
	  {Sehr geehrter Herr $(cp_name)$,}
......
64 64
	}\\[0.3em]
65 65
}
66 66

  
67
% ---------- Bestellvariablen ---------- 
67
% ---------- Bestellvariablen ----------
68 68
\newcommand{\ordnumber}{$(ordnumber)$}
69 69
\newcommand{\donumber}{$(donumber)$}
70 70
%\newcommand{\donumber}{Lieferschein zu Auftrag Nr. \ordnumber}
......
74 74
\newcommand{\reqdate}{$(reqdate)$}
75 75
\newcommand{\kundennummer}{$(customernumber)$}
76 76

  
77
% ---------- Lieferadresse ---------- 
77
% ---------- Lieferadresse ----------
78 78
\newcommand{\shiptoname}{$(shiptoname)$}
79 79
\newcommand{\shiptocontact}{$(shiptocontact)$}
80 80
\newcommand{\shiptodepartmentone}{$(shiptodepartment_1)$}
......
86 86
\newcommand{\shiptozipcode}{$(shiptozipcode)$}
87 87
\newcommand{\shiptofax}{$(shiptofax)$}
88 88

  
89
% ---------- Währungszeichen ---------- 
90
\newcommand{\currency}{$(currency)$}
91
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
92
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
93
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
94
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
89
% ---------- Währungszeichen ----------
90
\newcommand{\currency}{\euro}
91
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
92
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
93
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
95 94

  
96 95
% ---------- Ende Reportvariablen-Umsetzung ----------
97 96

  
98
% ---------- Briefkopf dazuladen ---------- 
97
% ---------- Briefkopf dazuladen ----------
99 98
\input{kivitendobriefkopf}
100 99

  
101 100
\begin{document}
102
% ---------- Schrift Hauptdokuments (Computermodern-sanserif)  ---------- 
101
% ---------- Schrift Hauptdokuments (Computermodern-sanserif)  ----------
103 102
% \fontfamily{cmss}\fontsize{10}{12pt plus 0.12pt minus 0.1pt}\selectfont
104 103
% ---------- Schrift Helvetica ------------------------
105 104
\fontfamily{phv}\fontsize{10}{12pt plus 0.12pt minus 0.1pt}\selectfont
106
% ---------- Firmenlogo nur erste Seite ---------- 
107
\thispagestyle{briefkopf}  				
108
% ---------- Datum und Nummern ---------- 
105
% ---------- Firmenlogo nur erste Seite ----------
106
\thispagestyle{briefkopf}
107
% ---------- Datum und Nummern ----------
109 108
% Position unterhalb des Briefkopfs
110
\vspace*{\vlogospacing}   	
109
\vspace*{\vlogospacing}
111 110
\renewcommand{\arraystretch}{0.9}
112 111
\begin{minipage}[b]{177mm}
113 112
\sperren{\textbf{Lieferschein Nr. \donumber}}
......
120 119
		\textbf{Auftrag Nr.} & \ordnumber\\
121 120
		\textbf{Lieferschein Nr.} & \donumber\\
122 121
		\nonemptyline{\textbf{Vorraussichtl. Lieferdatum:} &}{\reqdate}
123
		\textbf{Ansprechpartner} & \employeename\\		
122
		\textbf{Ansprechpartner} & \employeename\\
124 123
		\nonemptyline{\textbf{Durchwahl} &}{\employeetel}
125
		\nonemptyline{\textbf{E-Mail} &}{\employeeemail}						
124
		\nonemptyline{\textbf{E-Mail} &}{\employeeemail}
126 125
	\end{tabular}\\[10mm plus 20mm minus 10mm]
127 126
\end{minipage}
128
\renewcommand{\arraystretch}{1}	
127
\renewcommand{\arraystretch}{1}
129 128
\normalsize
130
% ---------- Begrüßung und Bemerkungen ---------- 
129
% ---------- Begrüßung und Bemerkungen ----------
131 130
\vspace{ 5mm}
132 131
%\lettergreeting
133 132
Wir liefern Ihnen gemäß Ihrem Auftrag %
134
\ifthenelse{\equal{\orddate}{\leer}}{}{vom \orddate{ }}% 
133
\ifthenelse{\equal{\orddate}{\leer}}{}{vom \orddate{ }}%
135 134
die unten aufgeführten Positionen.\\
136 135
Für Nachfragen steht Ihnen \employeename \ per Telefon (\employeetel) oder per E-Mail (\employeeemail) gerne zur Verfügnung.\par
137
      
138
% ---------- Die eigentliche-Tabelle ---------- 
139
% ---------- Tabelle puffern ---------- 
136

  
137
% ---------- Die eigentliche-Tabelle ----------
138
% ---------- Tabelle puffern ----------
140 139
\begin{filecontents}{\employeetable}
141
% ---------- Spaltendefinition ---------- 
140
% ---------- Spaltendefinition ----------
142 141
\begin{longtable}{@{}rlX@{ }rl@{}}
143
% ---------- Kopfzeile der Tabelle ---------- 
142
% ---------- Kopfzeile der Tabelle ----------
144 143
		\textbf{Pos} &
145 144
	\textbf{Art.Nr.} &
146 145
	\textbf{Bezeichnung} &
......
148 147
	\textbf{ME}  \\
149 148
	\midrule
150 149
  \endfirsthead
151
% ---------- Tabellenkopf nach dem Umbruch ---------- 
150
% ---------- Tabellenkopf nach dem Umbruch ----------
152 151
		\textbf{Pos} &
153 152
	\textbf{Art.Nr.} &
154 153
	\textbf{Bezeichnung} &
......
156 155
	\textbf{ME} \\
157 156
        \midrule
158 157
  \endhead
159
% ---------- Fuss der Teiltabellen ---------- 
158
% ---------- Fuss der Teiltabellen ----------
160 159
        \midrule
161 160
  \endfoot
162
% ---------- Das Ende der Tabelle ---------- 
161
% ---------- Das Ende der Tabelle ----------
163 162
  	\midrule
164 163
  \endlastfoot
165
% ---------- Positionen ---------- 
164
% ---------- Positionen ----------
166 165
  $(foreach number)$
167 166
	$(runningnumber)$ &
168 167
	$(number)$ &
169 168
	$(description)$ &
170 169
	$(qty)$ &
171
	$(unit)$ 
172
       \\ %       
170
	$(unit)$
171
       \\ %
173 172
  $(end number)$
174 173
\end{longtable}
175
% ----------  Ende der Hilfsdatei ---------- 
176
\end{filecontents} 
177
% ---------- Puffertabelle öffnen ---------- 
174
% ----------  Ende der Hilfsdatei ----------
175
\end{filecontents}
176
% ---------- Puffertabelle öffnen ----------
178 177
\LTXtable{\textwidth}{\employeetable}
179 178

  
180 179
\vfill
templates/print/Standard/sales_order.tex
38 38
\newcommand{\employeeemail}{$(employee_email)$}
39 39
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
40 40
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
41
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
41
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
42 42

  
43 43
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
44 44
% \newcommand{\companybank}{$(company_bank)$}
......
91 91
\newcommand{\shiptofax}{$(shiptofax)$}
92 92

  
93 93
% ---------- Währungszeichen ----------
94
\newcommand{\currency}{$(currency)$}
95
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
96
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
97
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
98
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
94
\newcommand{\currency}{\euro}
95
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
96
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
97
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
99 98

  
100 99
% ---------- Ende Reportvariablen-Umsetzung ----------
101 100

  
......
198 197
	\ifthenelse{\isempty{$(sellprice)$}}{&}{
199 198
		\numprint{$(sellprice)$}
200 199
		\ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
201
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}  
200
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
202 201
	}\\ %
203 202
  $(end number)$
204 203

  
templates/print/Standard/sales_quotation.tex
38 38
\newcommand{\employeeemail}{$(employee_email)$}
39 39
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
40 40
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
41
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
41
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
42 42

  
43 43
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
44 44
% \newcommand{\companybank}{$(company_bank)$}
......
88 88
\newcommand{\shiptofax}{$(shiptofax)$}
89 89

  
90 90
% ---------- Währungszeichen ----------
91
\newcommand{\currency}{$(currency)$}
92
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
93
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
94
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
95
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
91
\newcommand{\currency}{\euro}
92
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
93
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
94
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
96 95

  
97 96
% ---------- Ende Reportvariablen-Umsetzung ----------
98 97

  
......
190 189
	\ifthenelse{\isempty{$(sellprice)$}}{&}{
191 190
		\numprint{$(sellprice)$}
192 191
		\ifthenelse{\equal{$(p_discount)$}{0}}{}{ -$(p_discount)$\%} &
193
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}  
192
		\numprint{$(linetotal)$}\Wert{$(linetotal NOFORMAT)$}
194 193
	}\\ %
195 194
  $(end number)$
196 195

  
templates/print/Standard/zahlungserinnerung.tex
37 37
\newcommand{\employeeemail}{$(employee_email)$}
38 38
\newcommand{\employeecoustid}{$(employee_co_ustid)$}
39 39
\newcommand{\employeetaxnumber}{$(employee_taxnumber)$}
40
\newcommand{\employeetable}{tabelle$(employee_login)$.tex}
40
\newcommand{\employeetable}{$(template_meta.tmpfile NOESCAPE)$.table.tex}
41 41

  
42 42
% ---------- Eigene Bankverbindung falls nicht im Briefkopf gesetzt ----------
43 43
% \newcommand{\companybank}{$(company_bank)$}
......
100 100
\newcommand{\shiptofax}{$(shiptofax)$}
101 101

  
102 102
% ---------- Währungszeichen ----------
103
\newcommand{\currency}{$(currency)$}
104
\ifthenelse{\equal{\currency}{EUR}}{\let\currency\euro}{}
105
\ifthenelse{\equal{\currency}{YEN}}{\let\currency\textyen}{}
106
\ifthenelse{\equal{\currency}{GBP}}{\let\currency\pounds}{}
107
\ifthenelse{\equal{\currency}{USD}}{\let\currency\$}{}
103
\newcommand{\currency}{\euro}
104
\ifthenelse{\equal{$(currency)$}{YEN}}{\let\currency\textyen}{}
105
\ifthenelse{\equal{$(currency)$}{GBP}}{\let\currency\pounds}{}
106
\ifthenelse{\equal{$(currency)$}{USD}}{\let\currency\$}{}
108 107

  
109 108
% ---------- Ende Reportvariablen-Umsetzung ----------
110 109

  

Auch abrufbar als: Unified diff