Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8efbc444

Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt

  • ID 8efbc44487e0f99236ec55539a61f1d0d04635a9
  • Vorgänger d3a086e3
  • Nachfolger c0c6c815

Druckvorlagen: 'Default' entfernt, 'German' in 'Standard' umbenannt

Siehe #2049.

Unterschiede anzeigen:

bin/mozilla/admin.pl
1211 1211
  my @allmaster = readdir(TEMPLATEDIR);
1212 1212
  closedir TEMPLATEDIR;
1213 1213

  
1214
  @allmaster  = sort grep { -d ("$::lx_office_conf{paths}->{templates}/print" . "/$_") && !/^\.\.?$/ } @allmaster;
1215
  @allmaster = reverse grep !/Default/, @allmaster;
1216
  push @allmaster, 'Default';
1217
  @allmaster = reverse @allmaster;
1214
  @allmaster = ('Standard', sort grep { -d ("$::lx_office_conf{paths}->{templates}/print" . "/$_") && !/^\.\.?$/ && !/^Standard$/ } @allmaster);
1218 1215

  
1219 1216
  return \@alldir, \@allmaster;
1220 1217
}
templates/print/Default/balance_sheet.html
1

  
2
<body bgcolor=ffffff>
3

  
4
<h2 align=center>
5
<%company%>
6
<br><%address%>
7

  
8
<p>BALANCE SHEET
9
<br><%period%>
10
</h2>
11

  
12
<table border=0>
13
<tr>
14
  <th align=left width=400 colspan=2>ASSETS<br><hr align=left width=250 size=5 noshade></th>
15
  <th><%this_period%></th>
16
  <th><%last_period%></th>
17
</tr>
18

  
19
<%foreach asset_account%>
20
<tr>
21
  <td> </td>
22
  <td><%asset_account%></td>
23
  <td align=right><%asset_this_period%></td>
24
  <td align=right><%asset_last_period%></td>
25
</tr>
26
<%end asset_account%>
27

  
28
<tr>
29
  <td colspan=2> </td>
30
  <td><hr noshade size=1></td>
31
  <td><hr noshade size=1></td>
32
</tr>
33

  
34
<tr valign=top>
35
  <th align=left colspan=2>TOTAL ASSETS</th>
36
  <td align=right><%total_assets_this_period%><hr noshade size=2></td>
37
  <td align=right><%total_assets_last_period%><hr noshade size=2></td>
38
</tr>
39

  
40
<tr>
41
  <th align=left colspan=4>LIABILITIES<b><hr align=left width=250 size=5 noshade></th>
42
</tr>
43

  
44
<%foreach liability_account%>
45
<tr>
46
  <td></td>
47
  <td><%liability_account%></td>
48
  <td align=right><%liability_this_period%></td>
49
  <td align=right><%liability_last_period%></td>
50
</tr>
51
<%end liability_account%>
52

  
53
<tr>
54
  <td colspan=2> </td>
55
  <td><hr noshade size=1></td>
56
  <td><hr noshade size=1></td>
57
</tr>
58

  
59
<tr valign=top>
60
  <td></td>
61
  <th align=left>Total Liabilities</th>
62
  <td align=right><%total_liabilities_this_period%><br><hr noshade size=2</td>
63
  <td align=right><%total_liabilities_last_period%><br><hr noshade size=2</td>
64
</tr>
65

  
66
<tr>
67
  <th align=left colspan=4>SHAREHOLDER'S EQUITY<br><hr align=left width=250 size=5 noshade></th>
68
</tr>
69

  
70
<%foreach equity_account%>
71
<tr>
72
  <td></td>
73
  <td><%equity_account%></td>
74
  <td align=right><%equity_this_period%></td>
75
  <td align=right><%equity_last_period%></td>
76
</tr>
77
<%end equity_account%>
78

  
79
<tr>
80
  <td colspan=2> </td>
81
  <td><hr noshade size=1></td>
82
  <td><hr noshade size=1></td>
83
</tr>
84

  
85
<tr valign=top>
86
  <td></td>
87
  <th align=left>Total Equity</th>
88
  <td align=right><%total_equity_this_period%><br><hr noshade size=2</td>
89
  <td align=right><%total_equity_last_period%><br><hr noshade size=2</td>
90
</tr>
91

  
92
<tr valign=top>
93
  <th align=left colspan=2>TOTAL LIABILITIES & EQUITY</th>
94
  <td align=right><%total_this_period%><br><hr noshade size=2></td>
95
  <td align=right><%total_last_period%><br><hr noshade size=2></td>
96
</tr>
97
</table>
98

  
99

  
100

  
templates/print/Default/bin_list.html
1

  
2
<body bgcolor=ffffff>
3

  
4
<table width=100%>
5
  <tr>
6
    <td width=10>&nbsp;</td>
7
    
8
    <td>
9
      <table width=100%>
10
	<tr>
11
	  <td>
12
	    <h4>
13
	    <%company%>
14
	    <br><%address%>
15
	    </h4>
16
	  </td>
17
	  
18
	  <th><img src=http://localhost/lx-erp/lx-office-erp.png border=0 width=64 height=58></th>
19

  
20
	  <th align=right>
21
	    <h4>
22
	    Tel: <%tel%>
23
	    <br>Fax: <%fax%>
24
	    </h4>
25
	  </td>
26
	</tr>
27
	
28
	<tr>
29
	  <th colspan=3>
30
	    <h4>B I N &nbsp;&nbsp; L I S T</h4>
31
	  </th>
32
	</tr>
33
      </table>
34
    </td>
35
  </tr>
36

  
37
  <tr>
38
    <td>&nbsp;</td>
39

  
40
    <td>
41
      <table width=100% cellspacing=0 cellpadding=0>
42
	<tr bgcolor=000000>
43
	  <th align=left width=50%><font color=ffffff>From</th>
44
	  <th align=left width=50%><font color=ffffff>Ship To</th>
45
	</tr>
46

  
47
	<tr valign=top>
48
	  <td><%name%>
49
	  <br><%street%>
50
	  <br><%zipcode%>
51
	  <br><%city%>
52
	  <br><%country%>
53
	  <br>
54

  
55
	  <%if contact%>
56
	  <br>Attn: <%contact%>
57
	  <%end contact%>
58

  
59
	  <%if vendorphone%>
60
	  <br>Tel: <%vendorphone%>
61
	  <%end vendorphone%>
62

  
63
	  <%if vendorfax%>
64
	  <br>Fax: <%vendorfax%>
65
	  <%end vendorfax%>
66

  
67
	  <%if email%>
68
	  <br><%email%>
69
	  <%end email%>
70
	  
71
	  </td>
72
	  
73
	  <td><%shiptoname%>
74
	  <br><%shiptostreet%>
75
	  <br><%shiptozipcode%>
76
	  <br><%shiptocity%>
77
	  <br><%shiptocountry%>
78

  
79
	  <br>
80
	  <%if shiptocontact%>
81
	  <br>Attn: <%shiptocontact%>
82
	  <%end shiptocontact%>
83
	  
84
	  <%if shiptophone%>
85
	  <br>Tel: <%shiptophone%>
86
	  <%end shiptophone%>
87

  
88
	  <%if shiptofax%>
89
	  <br>Fax: <%shiptofax%>
90
	  <%end shiptofax%>
91
	  </td>
92
	</tr>
93
      </table>
94
    </td>
95
  </tr>
96

  
97
  <tr height=5></tr>
98

  
99
  <tr>
100
    <td>&nbsp;</td>
101

  
102
    <td>
103
      <table width=100% border=1>
104
	<tr>
105
	  <th width=17% align=left nowrap>Order #</th>
106
	  <th width=17% align=left nowrap>Date</th>
107
	  <th width=17% align=left nowrap>Contact</th>
108
	  <%if warehouse%>
109
	  <th width=17% align=left nowrap>Warehouse</th>
110
	  <%end warehouse%>
111
	  <th width=17% align=left>Shipping Point</th>
112
	  <th width=15% align=left>Ship via</th>
113
	</tr>
114

  
115
	<tr>
116
	  <td><%ordnumber%>&nbsp;</td>
117
	  
118
	  <%if shippingdate%>
119
	  <td><%shippingdate%></td>
120
	  <%end shippingdate%>
121
	  
122
	  <%if not shippingdate%>
123
	  <td><%orddate%></td>
124
	  <%end shippingdate%>
125
	  
126
	  <td><%employee%>&nbsp;</td>
127

  
128
	  <%if warehouse%>
129
	  <td><%warehouse%></td>
130
	  <%end warehouse%>
131
  
132
	  <td><%shippingpoint%>&nbsp;</td>
133
	  <td><%shipvia%>&nbsp;</td>
134
	</tr>
135
      </table>
136
    </td>
137
  </tr>
138

  
139
  <tr>
140
    <td>&nbsp;</td>
141

  
142
    <td>
143
      <table width=100%>
144
	<tr bgcolor=000000>
145
	  <th align=left><font color=ffffff>Pos</th>
146
	  <th align=left><font color=ffffff>Number</th>
147
	  <th align=left><font color=ffffff>Description</th>
148
	  <th><font color=ffffff>Serialnumber</th>
149
	  <th>&nbsp;</th>
150
	  <th><font color=ffffff>Qty</th>
151
	  <th><font color=ffffff>Recd</th>
152
	  <th>&nbsp;</th>
153
	  <th><font color=ffffff>Bin</th>
154
	</tr>
155

  
156
	<%foreach number%>
157
	<tr valign=top>
158
	  <td><%runningnumber%></td>
159
	  <td><%number%></td>
160
	  <td><%description%></td>
161
	  <td><%serialnumber%></td>
162
	  <td><%deliverydate%></td>
163
	  <td align=right><%qty%></td>
164
	  <td align=right><%ship%></td>
165
	  <td><%unit%></td>
166
	  <td><%bin%></td>
167
	</tr>
168
	<%end number%>
169

  
170
      </table>
171
    </td>
172
  </tr>
173

  
174
  <tr>
175
    <td>&nbsp;</td>
176

  
177
    <td><hr noshade></td>
178
  </tr>
179

  
180
</table>
181

  
templates/print/Default/bin_list.tex
1
\documentclass[twoside]{scrartcl}
2
\usepackage[frame]{xy}
3
\usepackage{tabularx}
4
\usepackage[utf8]{inputenc}
5
\usepackage{graphicx}
6
\setlength{\voffset}{0.5cm}
7
\setlength{\hoffset}{-2.0cm}
8
\setlength{\topmargin}{0cm}
9
\setlength{\headheight}{0.5cm}
10
\setlength{\headsep}{1cm}
11
\setlength{\topskip}{0pt}
12
\setlength{\oddsidemargin}{1.0cm}
13
\setlength{\evensidemargin}{1.0cm}
14
\setlength{\textwidth}{19.2cm}
15
\setlength{\textheight}{24.7cm}
16
\setlength{\footskip}{1cm}
17
\setlength{\parindent}{0pt}
18
\renewcommand{\baselinestretch}{1}
19

  
20
\begin{document}
21

  
22
\pagestyle{myheadings}
23
\thispagestyle{empty}
24

  
25
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
26

  
27
\vspace*{-1.3cm}
28

  
29
\parbox{\textwidth}{
30
  \parbox[b]{.42\textwidth}{%
31
    <%company%>
32

  
33
    <%address%>
34
  }\hfill
35
  \begin{tabular}[b]{rr@{}}
36
  Telephone & <%tel%>\\
37
  Facsimile & <%fax%>
38
  \end{tabular}
39

  
40
  \rule[1.5ex]{\textwidth}{0.5pt}
41
}
42

  
43

  
44
\vspace*{0.5cm}
45

  
46
\parbox[t]{1cm}{\hfill}
47
\parbox[t]{.5\textwidth}{
48
\textbf{From}
49
\vspace{0.7cm}
50

  
51
<%name%> \\
52
<%street%> \\
53
<%zipcode%> \\
54
<%city%> \\
55
<%country%>
56
}
57
\parbox[t]{.4\textwidth}{
58
\textbf{Ship To}
59
\vspace{0.7cm}
60

  
61
<%shiptoname%> \\
62
<%shiptostreet%> \\
63
<%shiptozipcode%> \\
64
<%shiptocity%> \\
65
<%shiptocountry%>
66
}
67
\hfill
68

  
69
\vspace{1cm}
70

  
71
\textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
72
\hfill
73

  
74
\vspace{1cm}
75

  
76
\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
77
  \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
78
  <%if warehouse%>
79
  & \textbf{Warehouse}
80
  <%end warehouse%>
81
  & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
82
  \hline
83

  
84
  <%ordnumber%>
85
  <%if shippingdate%>
86
  & <%shippingdate%>
87
  <%end shippingdate%>
88
  <%if not shippingdate%>
89
  & <%orddate%>
90
  <%end shippingdate%>
91
  & <%employee%>
92
  <%if warehouse%>
93
  & <%warehouse%>
94
  <%end warehouse%>
95
  & <%shippingpoint%> & <%shipvia%> \\
96
  \hline
97
\end{tabularx}
98

  
99
\vspace{1cm}
100

  
101
\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
102
  \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
103

  
104
<%foreach number%>
105
  <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
106
  <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
107
<%end number%>
108
\end{tabularx}
109

  
110

  
111
\rule{\textwidth}{2pt}
112

  
113
\end{document}
114

  
templates/print/Default/bwa.html
1
<body>
2
<style type="text/css">
3
<!--
4
/* Allgemeine Schriftdefinition */
5
th,td {
6
	font-family: Arial, Verdana, Helvetica, Sans-serif;
7
	font-size:small;
8
}
9

  
10
@page {
11
	size: landscape;
12
	margin: 0.5cm;
13
}
14

  
15
/* Definition Tabellenueberschrift */
16

  
17
.left	{ text-align:left; }
18
.center	{ text-align:center; }
19
.right	{ text-align:right; }
20

  
21
tr.headline    { border:0; }
22
tr.headline td { border:0; }
23
h1 { font-size:120%; }
24
h2 { font-size:100%; }
25

  
26
/* Tabellenkopf */
27
th {
28
	font-weight: bold;
29
	border-bottom: solid thin black;
30
	padding:0 10px;
31
	text-align:right;
32
}
33

  
34
th.left  { border-left:  solid thin black; }
35
th.right { border-right: solid thin black; }
36

  
37
.querkopf th.right { text-align:center; }
38
.querkopf th {
39
	border-top: solid thin black;
40
	border-bottom:0;
41
}
42

  
43
/* Tabelleninhalt */
44
td {
45
	text-align:right;
46
	padding:0 0.5em;
47
}
48
td.left  { border-left:  solid thin black; }
49
td.right { border-right: solid thin black; }
50

  
51

  
52
/* jede zweite Zeile grau hinterlegen */
53
tr.grey {
54
	background:#f0f0f0;
55
}
56

  
57
/* letzte Zeile in der Tabelle */
58
#last td{ border-bottom: solid thin black; }
59

  
60
/* Zwischensumme/-ueberschriften */
61
tr.subtotal td { font-weight: bold; }
62

  
63
/* Fusszeile unter der Tabelle */
64
td.footer {
65
	text-align:right;
66
	font-size:smaller;
67
}
68
//-->
69
</style>
70

  
71
<table border=0 cellpadding=0 cellspacing=0>
72
<tr class="headline">
73
	<td class="left"><%company%></td>
74
	<td class=center colspan="9">
75
		<h1>Kurzfristige Erfolgsrechnung <%period%></h1>
76
		<h2>SKR3 &nbsp; BWA</h2>
77
	</td>
78
	<td class="right">Blatt 1</td>
79
</tr>
80
	
81
	
82
</tr>	
83
<tr class="querkopf">
84
	<th class="left">&nbsp;</th>
85
	<th class="center" colspan="5">Im Betrachtungszeitraum</th>
86
	<th class="right" colspan="5">Kumuliert seit Jahresanfang</th>
87
</tr>
88

  
89
<tr>
90
	<th class="left">Bezeichnung</th>
91
	<th>Wert</th>
92
	<th>% Ges.- Leistg.</th>
93
	<th>% Ges.- Kosten</th>
94
	<th>% Pers.- Kosten</th>
95
	<th>Aufschlag</th>
96
	<th>Wert</th>
97
	<th>% Ges.- Leistg.</th>
98
	<th>% Ges.- Kosten</th>
99
	<th>% Pers.- Kosten</th>
100
	<th class="right">Aufschlag</th>
101
</tr>
102

  
103
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
104

  
105
<tr class="grey">
106
	<td class="left"><nobr>Umsatzerl&ouml;se</nobr></td>
107
	<td><nobr><%jetzt1%></nobr></td>
108
	<td><nobr><%jetztgl1%></nobr></td>
109
	<td></td>
110
	<td></td>
111
	<td></td>
112
	<td><nobr><%kumm1%></nobr></td>
113
	<td><nobr><%kummgl1%></nobr></td>
114
	<td></td>
115
	<td></td>
116
	<td class="right">&nbsp;</td>
117
</tr>
118

  
119
<tr class="white">
120
	<td class="left"><nobr>Best.Verdg. FE/UE</nobr></td>
121
	<td><nobr><%jetzt2%></nobr></td>
122
	<td><nobr><%jetztgl2%></nobr></td>
123
	<td></td>
124
	<td></td>
125
	<td></td>	
126
	<td><nobr><%kumm2%></nobr></td>
127
	<td><nobr><%kummgl2%></nobr></td>
128
	<td></td>
129
	<td></td>
130
	<td class="right">&nbsp;</td>
131
</tr>
132

  
133
<tr class="grey">
134
	<td class="left"><nobr>Akt.Eigenleistungen</nobr></td>
135
	<td><nobr><%jetzt3%></nobr></td>
136
	<td><nobr><%jetztgl3%></nobr></td>
137
	<td></td>
138
	<td></td>
139
	<td></td>
140
	<td><nobr><%kumm3%></nobr></td>
141
	<td><nobr><%kummgl3%></nobr></td>
142
	<td></td>
143
	<td></td>
144
	<td class="right">&nbsp;</td>
145
</tr>
146

  
147
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
148
	
149
<tr class="grey subtotal">
150
	<td class="left"><nobr>Gesamtleistung</nobr></td>
151
	<td><nobr><%jetztgesamtleistung%></nobr></td>
152
	<td><nobr><%jetztglgesamtleistung%></nobr></td>
153
	<td><nobr><%jetztgkgesamtleistung%></nobr></td>
154
	<td><nobr><%jetztpkgesamtleistung%></nobr></td>
155
	<td></td>
156
	<td><nobr><%kummgesamtleistung%></nobr></td>
157
	<td><nobr><%kummglgesamtleistung%></nobr></td>
158
	<td><nobr><%kummgkgesamtleistung%></nobr></td>
159
	<td><nobr><%kummpkgesamtleistung%></nobr></td>
160
	<td class="right">&nbsp;</td>
161
</tr>
162

  
163
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
164
	
165
<tr class="grey">
166
	<td class="left"><nobr>Mat./Wareneinkauf</nobr></td>
167
	<td><nobr><%jetzt4%></nobr></td>
168
	<td><nobr><%jetztgl4%></nobr></td>
169
	<td><nobr><%jetztgk4%></nobr></td>
170
	<td><nobr><%jetztpk4%></nobr></td>
171
	<td><nobr><%jetztauf4%></nobr></td>
172
	<td><nobr><%kumm4%></nobr></td>
173
	<td><nobr><%kummgl4%></nobr></td>
174
	<td><nobr><%kummgk4%></nobr></td>
175
	<td><nobr><%kummpk4%></nobr></td>
176
	<td class="right"><nobr><%kummauf4%></nobr>&nbsp;</td>
177
</tr>
178
	
179
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
180
		
181
<tr class="grey subtotal">
182
	<td class="left"><nobr>Rohertrag</nobr></td>
183
	<td><nobr><%jetztrohertrag%></nobr></td>
184
	<td><nobr><%jetztglrohertrag%></nobr></td>
185
	<td><nobr><%jetztgkrohertrag%></nobr></td>
186
	<td><nobr><%jetztpkrohertrag%></nobr></td>
187
	<td><nobr><%jetztaufrohertrag%></nobr></td>
188
	<td><nobr><%kummrohertrag%></nobr></td>
189
	<td><nobr><%kummglrohertrag%></nobr></td>
190
	<td><nobr><%kummgkrohertrag%></nobr></td>
191
	<td><nobr><%kummpkrohertrag%></nobr></td>
192
	<td class="right"><nobr><%kummaufrohertrag%></nobr>&nbsp;</td>
193
</tr>
194
	
195
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
196
		
197
<tr class="grey">
198
	<td class="left"><nobr>So.betr.Erl&ouml;se</nobr></td>
199
	<td><nobr><%jetzt5%></nobr></td>
200
	<td><nobr><%jetztgl5%></nobr></td>
201
	<td><nobr><%jetztgk5%></nobr></td>
202
	<td><nobr><%jetztpk5%></nobr></td>
203
	<td></td>
204
	<td><nobr><%kumm5%></nobr></td>
205
	<td><nobr><%kummgl5%></nobr></td>
206
	<td><nobr><%kummgk5%></nobr></td>
207
	<td><nobr><%kummpk5%></nobr></td>
208
	<td class="right">&nbsp;</td>
209
</tr>
210

  
211
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
212
		
213
<tr class="grey subtotal">
214
	<td class="left"><nobr>Betriebl. Rohertrag</nobr></td>
215
	<td><nobr><%jetztbetriebrohertrag%></nobr></td>
216
	<td><nobr><%jetztglbetriebrohertrag%></nobr></td>
217
	<td><nobr><%jetztgkbetriebrohertrag%></nobr></td>
218
	<td><nobr><%jetztpkbetriebrohertrag%></nobr></td>
219
	<td><nobr><%jetztaufbetriebrohertrag%></nobr></td>
220
	<td><nobr><%kummbetriebrohertrag%></nobr></td>
221
	<td><nobr><%kummglbetriebrohertrag%></nobr></td>
222
	<td><nobr><%kummgkbetriebrohertrag%></nobr></td>
223
	<td><nobr><%kummpkbetriebrohertrag%></nobr></td>
224
	<td
225
class="right"><nobr><%kummaufbetriebrohertrag%></nobr>&nbsp;</td>
226
</tr>
227

  
228
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
229

  
230
<tr class="grey subtotal">
231
	<td class="left">Kostenarten:</td>
232
	<td class="right" colspan="10">&nbsp;</td>
233
</tr>	
234
		
235
<tr class="white">
236
	<td class="left"><nobr>Personalkosten</nobr></td>
237
	<td><nobr><%jetzt10%></nobr></td>
238
	<td><nobr><%jetztgl10%></nobr></td>
239
	<td><nobr><%jetztgk10%></nobr></td>
240
	<td><nobr><%jetztpk10%></nobr></td>
241
	<td></td>
242
	<td><nobr><%kumm10%></nobr></td>
243
	<td><nobr><%kummgl10%></nobr></td>
244
	<td><nobr><%kummgk10%></nobr></td>
245
	<td><nobr><%kummpk10%></nobr></td>
246
	<td class="right">&nbsp;</td>
247
</tr>
248

  
249
<tr class="grey">
250
	<td class="left"><nobr>Raumkosten</nobr></td>
251
	<td><nobr><%jetzt11%></nobr></td>
252
	<td><nobr><%jetztgl11%></nobr></td>
253
	<td><nobr><%jetztgk11%></nobr></td>
254
	<td><nobr><%jetztpk11%></nobr></td>
255
	<td></td>
256
	<td><nobr><%kumm11%></nobr></td>
257
	<td><nobr><%kummgl11%></nobr></td>
258
	<td><nobr><%kummgk11%></nobr></td>
259
	<td><nobr><%kummpk11%></nobr></td>
260
	<td class="right">&nbsp;</td>
261
</tr>
262

  
263
<tr class="white">
264
	<td class="left"><nobr>Betriebl.Steuern</nobr></td>
265
	<td><nobr><%jetzt12%></nobr></td>
266
	<td><nobr><%jetztgl12%></nobr></td>
267
	<td><nobr><%jetztgk12%></nobr></td>
268
	<td><nobr><%jetztpk12%></nobr></td>
269
	<td></td>
270
	<td><nobr><%kumm12%></nobr></td>
271
	<td><nobr><%kummgl12%></nobr></td>
272
	<td><nobr><%kummgk12%></nobr></td>
273
	<td><nobr><%kummpk12%></nobr></td>
274
	<td class="right">&nbsp;</td>
275
</tr>
276

  
277
<tr class="grey">
278
	<td class="left"><nobr>Versich./Beitr&auml;ge</nobr></td>
279
	<td><nobr><%jetzt13%></nobr></td>
280
	<td><nobr><%jetztgl13%></nobr></td>
281
	<td><nobr><%jetztgk13%></nobr></td>
282
	<td><nobr><%jetztpk13%></nobr></td>
283
	<td></td>
284
	<td><nobr><%kumm13%></nobr></td>
285
	<td><nobr><%kummgl13%></nobr></td>
286
	<td><nobr><%kummgk13%></nobr></td>
287
	<td><nobr><%kummpk13%></nobr></td>
288
	<td class="right">&nbsp;</td>
289
</tr>
290

  
291
<tr class="grey">
292
	<td class="left"><nobr>Kfz-Kosten (o.St.)</nobr></td>
293
	<td><nobr><%jetzt14%></nobr></td>
294
	<td><nobr><%jetztgl14%></nobr></td>
295
	<td><nobr><%jetztgk14%></nobr></td>
296
	<td><nobr><%jetztpk14%></nobr></td>
297
	<td></td>
298
	<td><nobr><%kumm14%></nobr></td>
299
	<td><nobr><%kummgl14%></nobr></td>
300
	<td><nobr><%kummgk14%></nobr></td>
301
	<td><nobr><%kummpk14%></nobr></td>
302
	<td class="right">&nbsp;</td>
303
</tr>
304

  
305
<tr class="white">
306
	<td class="left"><nobr>Werbe-/Reisekosten</nobr></td>
307
	<td><nobr><%jetzt15%></nobr></td>
308
	<td><nobr><%jetztgl15%></nobr></td>
309
	<td><nobr><%jetztgk15%></nobr></td>
310
	<td><nobr><%jetztpk15%></nobr></td>
311
	<td></td>
312
	<td><nobr><%kumm15%></nobr></td>
313
	<td><nobr><%kummgl15%></nobr></td>
314
	<td><nobr><%kummgk15%></nobr></td>
315
	<td><nobr><%kummpk15%></nobr></td>
316
	<td class="right">&nbsp;</td>
317
</tr>
318

  
319
<tr class="grey">
320
	<td class="left"><nobr>Kosten Warenabgabe</nobr></td>
321
	<td><nobr><%jetzt16%></nobr></td>
322
	<td><nobr><%jetztgl16%></nobr></td>
323
	<td><nobr><%jetztgk16%></nobr></td>
324
	<td><nobr><%jetztpk16%></nobr></td>
325
	<td></td>
326
	<td><nobr><%kumm16%></nobr></td>
327
	<td><nobr><%kummgl16%></nobr>
328
</td>
329
	<td><nobr><%kummgk16%></nobr></td>
330
	<td><nobr><%kummpk16%></nobr></td>
331
	<td class="right">&nbsp;</td>
332
</tr>
333

  
334
<tr class="white">
335
	<td class="left"><nobr>Abschreibungen</nobr></td>
336
	<td><nobr><%jetzt17%></nobr></td>
337
	<td><nobr><%jetztgl17%></nobr></td>
338
	<td><nobr><%jetztgk17%></nobr></td>
339
	<td><nobr><%jetztpk17%></nobr></td>
340
	<td></td>
341
	<td><nobr><%kumm17%></nobr></td>
342
	<td><nobr><%kummgl17%></nobr></td>
343
	<td><nobr><%kummgk17%></nobr></td>
344
	<td><nobr><%kummpk17%></nobr></td>
345
	<td class="right">&nbsp;</td>
346
</tr>
347

  
348
<tr class="grey">
349
	<td class="left"><nobr>Reparatur/Instandh.</nobr></td>
350
	<td><nobr><%jetzt18%></nobr></td>
351
	<td><nobr><%jetztgl18%></nobr></td>
352
	<td><nobr><%jetztgk18%></nobr></td>
353
	<td><nobr><%jetztpk18%></nobr></td>
354
	<td></td>
355
	<td><nobr><%kumm18%></nobr></td>
356
	<td><nobr><%kummgl18%></nobr></td>
357
	<td><nobr><%kummgk18%></nobr></td>
358
	<td><nobr><%kummpk18%></nobr></td>
359
	<td class="right">&nbsp;</td>
360
</tr>
361

  
362
<tr class="white">
363
	<td class="left"><nobr>Sonstige Kosten</nobr></td>
364
	<td><nobr><%jetzt20%></nobr></td>
365
	<td><nobr><%jetztgl20%></nobr></td>
366
	<td><nobr><%jetztgk20%></nobr></td>
367
	<td><nobr><%jetztpk20%></nobr></td>
368
	<td></td>
369
	<td><nobr><%kumm20%></nobr></td>
370
	<td><nobr><%kummgl20%></nobr></td>
371
	<td><nobr><%kummgk20%></nobr></td>
372
	<td><nobr><%kummpk20%></nobr></td>
373
	<td class="right">&nbsp;</td>
374
</tr>
375

  
376
<tr class="grey subtotal">
377
	<td class="left"><nobr>Gesamtkosten</nobr></td>
378
	<td><nobr><%jetztgesamtkosten%></nobr></td>
379
	<td><nobr><%jetztglgesamtkosten%></nobr></td>
380
	<td><nobr><%jetztgkgesamtkosten%></nobr></td>
381
	<td><nobr><%jetztpkgesamtkosten%></nobr></td>
382
	<td></td>
383
	<td><nobr><%kummgesamtkosten%></nobr></td>
384
	<td><nobr><%kummglgesamtkosten%></nobr></td>
385
	<td><nobr><%kummgkgesamtkosten%></nobr></td>
386
	<td><nobr><%kummpkgesamtkosten%></nobr></td>
387
	<td class="right">&nbsp;</td>
388
</tr>
389

  
390
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
391

  
392
	
393
<tr class="grey subtotal">
394
<td class="left"><nobr>Betriebsergebnis</nobr></td>
395
	<td><nobr><%jetztbetriebsergebnis%></nobr></td>
396
	<td><nobr><%jetztglbetriebsergebnis%></nobr>
397
</td>
398
	<td><nobr><%jetztgkbetriebsergebnis%></nobr></td>
399
	<td><nobr><%jetztpkbetriebsergebnis%></nobr></td>
400
	<td></td>
401
	<td><nobr><%kummbetriebsergebnis%></nobr></td>
402
	<td><nobr><%kummglbetriebsergebnis%></nobr>
403
</td>
404
	<td><nobr><%kummgkbetriebsergebnis%></nobr></td>
405
	<td><nobr><%kummpkbetriebsergebnis%></nobr></td>
406
	<td class="right">&nbsp;</td>
407
	</tr>
408

  
409
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
410

  
411
<tr class="grey">
412
	<td class="left"><nobr>Zinsaufwand</nobr></td>
413
	<td><nobr><%jetzt30%></nobr></td>
414
	<td><nobr><%jetztgl30%></nobr></td>
415
	<td><nobr><%jetztgk30%></nobr></td>
416
	<td><nobr><%jetztpk30%></nobr></td>
417
	<td></td>
418
	<td><nobr><%kumm30%></nobr></td>
419
	<td><nobr><%kummgl30%></nobr></td>
420
	<td><nobr><%kummgk30%></nobr></td>
421
	<td><nobr><%kummpk30%></nobr></td>
422
	<td class="right">&nbsp;</td>
423
</tr>
424

  
425
<tr class="white">
426
	<td class="left"><nobr>&Uuml;brige Steuern</nobr></td>
427
	<td><nobr><%jetzt19%></nobr></td>
428
	<td><nobr><%jetztgl19%></nobr></td>
429
	<td><nobr><%jetztgk19%></nobr></td>
430
	<td><nobr><%jetztpk19%></nobr></td>
431
	<td></td>
432
	<td><nobr><%kumm19%></nobr></td>
433
	<td><nobr><%kummg191%></nobr></td>
434
	<td><nobr><%kummgk19%></nobr></td>
435
	<td><nobr><%kummpk19%></nobr></td>
436
	<td class="right">&nbsp;</td>
437
</tr>
438

  
439
<tr class="grey">
440
	<td class="left"><nobr>Sonst. neutr. Aufwand</nobr></td>
441
	<td><nobr><%jetzt31%></nobr></td>
442
	<td><nobr><%jetztgl31%></nobr></td>
443
	<td><nobr><%jetztgk31%></nobr></td>
444
	<td><nobr><%jetztpk31%></nobr></td>
445
	<td></td>
446
	<td><nobr><%kumm31%></nobr></td>
447
	<td><nobr><%kummgl31%></nobr></td>
448
	<td><nobr><%kummgk31%></nobr></td>
449
	<td><nobr><%kummpk31%></nobr></td>
450
	<td class="right">&nbsp;</td>
451
</tr>
452

  
453
<tr class="white subtotal">
454
<td class="left"><nobr>Neutraler Aufwand</nobr></td>
455
	<td><nobr><%jetztneutraleraufwand%></nobr></td>
456
	<td><nobr><%jetztglneutraleraufwand%></nobr></td>
457
	<td><nobr><%jetztgkneutraleraufwand%></nobr></td>
458
	<td><nobr><%jetztpkneutraleraufwand%></nobr></td>
459
	<td></td>
460
	<td><nobr><%kummneutraleraufwand%></nobr></td>
461
	<td><nobr><%kummglneutraleraufwand%></nobr></td>
462
	<td><nobr><%kummgkneutraleraufwand%></nobr></td>
463
	<td><nobr><%kummpkneutraleraufwand%></nobr></td>
464
	<td class="right">&nbsp;</td>
465
</tr>
466

  
467
<tr class="grey"><td class="left right" colspan="11">&nbsp;</td></tr>
468

  
469
<tr class="white">
470
	<td class="left"><nobr>Zinsertr&auml;ge</nobr></td>
471
	<td><nobr><%jetzt32%></nobr></td>
472
	<td><nobr><%jetztgl32%></nobr></td>
473
	<td><nobr><%jetztgk32%></nobr></td>
474
	<td><nobr><%jetztpk32%></nobr></td>
475
	<td></td>
476
	<td><nobr><%kumm32%></nobr></td>
477
	<td><nobr><%kummgl32%></nobr></td>
478
	<td><nobr><%kummgk32%></nobr></td>
479
	<td><nobr><%kummpk32%></nobr></td>
480
	<td class="right">&nbsp;</td>
481
</tr>
482

  
483
<tr class="grey">
484
	<td class="left"><nobr>Sonst. neutr. Ertr.</nobr></td>
485
	<td><nobr><%jetzt33%></nobr></td>
486
	<td><nobr><%jetztgl33%></nobr></td>
487
	<td><nobr><%jetztgk33%></nobr></td>
488
	<td><nobr><%jetztpk33%></nobr></td>
489
	<td></td>
490
	<td><nobr><%kumm33%></nobr></td>
491
	<td><nobr><%kummgl33%></nobr></td>
492
	<td><nobr><%kummgk33%></nobr></td>
493
	<td><nobr><%kummpk33%></nobr></td>
494
	<td class="right">&nbsp;</td>
495
</tr>
496

  
497
<tr class="white">
498
	<td class="left"><nobr>Verr.kalk.Kosten</nobr></td>
499
	<td><nobr><%jetzt34%></nobr></td>
500
	<td><nobr><%jetztgl34%></nobr>
501
	<td><nobr><%jetztgk34%></nobr></td>
502
	<td><nobr><%jetztpk34%></nobr></td>
503
	<td></td>
504
	<td><nobr><%kumm34%></nobr></td>
505
	<td><nobr><%kummgl34%></nobr></td>
506
	<td><nobr><%kummgk34%></nobr></td>
507
	<td><nobr><%kummpk34%></nobr></td>
508
	<td class="right">&nbsp;</td>
509
</tr>
510

  
511
<tr class="grey subtotal">
512
	<td class="left"><nobr>Neutraler Ertrag</nobr></td>
513
	<td><nobr><%jetztneutralerertrag%></nobr></td>
514
	<td><nobr><%jetztglneutralerertrag%></nobr></td>
515
	<td><nobr><%jetztgkneutralerertrag%></nobr></td>
516
	<td><nobr><%jetztpkneutralerertrag%></nobr></td>
517
	<td></td>
518
	<td><nobr><%kummneutralerertrag%></nobr></td>
519
	<td><nobr><%kummglneutralerertrag%></nobr></td>
520
	<td><nobr><%kummgkneutralerertrag%></nobr></td>
521
	<td><nobr><%kummpkneutralerertrag%></nobr></td>
522
	<td class="right">&nbsp;</td>
523
</tr>
524
	
525
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
526

  
527
<tr class="grey subtotal">
528
	<td class="left"><nobr>Ergebnis vor Steuern</nobr></td>
529
	<td><nobr><%jetztergebnisvorsteuern%></nobr></td>
530
	<td><nobr><%jetztglergebnisvorsteuern%></nobr></td>
531
	<td><nobr><%jetztgkergebnisvorsteuern%></nobr></td>
532
	<td><nobr><%jetztpkergebnisvorsteuern%></nobr></td>
533
	<td></td>
534
	<td><nobr><%kummergebnisvorsteuern%></nobr></td>
535
	<td><nobr><%kummglergebnisvorsteuern%></nobr></td>
536
	<td><nobr><%kummgkergebnisvorsteuern%></nobr></td>
537
	<td><nobr><%kummpkergebnisvorsteuern%></nobr></td>
538
	<td class="right">&nbsp;</td>
539
</tr>
540
	
541
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
542

  
543
<tr class="grey">
544
	<td class="left"><nobr>Steuern Eink.u.Ertr.</nobr></td>
545
	<td><nobr><%jetzt35%></nobr></td>
546
	<td><nobr><%jetztgl35%></nobr></td>
547
	<td><nobr><%jetztgk35%></nobr></td>
548
	<td><nobr><%jetztpk35%></nobr></td>
549
	<td></td>
550
	<td><nobr><%kumm35%></nobr></td>
551
	<td><nobr><%kummgl35%></nobr></td>
552
	<td><nobr><%kummgk35%></nobr></td>
553
	<td><nobr><%kummpk35%></nobr></td>
554
	<td class="right">&nbsp;</td>
555
</tr>
556
	
557
<tr class="white"><td class="left right" colspan="11">&nbsp;</td></tr>
558

  
559
<tr class="grey subtotal">
560
	<td class="left"><nobr>Vorl&auml;ufiges Ergebnis</nobr></td>
561
	<td><nobr><%jetztergebnis%></nobr></td>
562
	<td><nobr><%jetztglergebnis%></nobr></td>
563
	<td><nobr><%jetztgkergebnis%></nobr></td>
564
	<td><nobr><%jetztpkergebnis%></nobr></td>
565
	<td></td>
566
	<td><nobr><%kummergebnis%></nobr></td>
567
	<td><nobr><%kummglergebnis%></nobr></td>
568
	<td><nobr><%kummgkergebnis%></nobr></td>
569
	<td><nobr><%kummpkergebnis%></nobr></td>
570
	<td class="right">&nbsp;</td>
571
</tr>
572
	
573
<tr class="white" id=last><td class="left right"
574
colspan="11">&nbsp;</td></tr>
575

  
576
<tr>
577
	<td colspan=11 class=footer>W&auml;hrung: Euro - FiBu: LX Office ERP
578
(Version <%version%>) - Formular: 11.01.2007</td>
579
</tr>
580

  
581
</table>
582
</body>
templates/print/Default/check.tex
1
\documentclass[twoside]{scrartcl}
2
\usepackage[frame]{xy}
3
\usepackage{tabularx}
4
\usepackage[utf8]{inputenc}
5
\setlength{\voffset}{0.4cm}
6
\setlength{\hoffset}{-2.0cm}
7
\setlength{\topmargin}{0cm}
8
\setlength{\headheight}{0.0cm}
9
\setlength{\headsep}{1cm}
10
\setlength{\topskip}{0pt}
11
\setlength{\oddsidemargin}{1.0cm}
12
\setlength{\evensidemargin}{1.0cm}
13
\setlength{\textwidth}{19.2cm}
14
\setlength{\textheight}{24.5cm}
15
\setlength{\footskip}{1cm}
16
\setlength{\parindent}{0pt}
17
\renewcommand{\baselinestretch}{1}
18
\begin{document}
19

  
20

  
21
\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
22

  
23
\parbox[t]{12cm}{
24
  <%company%>
25

  
26
  <%address%>}
27
\hfill
28
\parbox[t]{6cm}{\hfill <%source%>}
29

  
30
\vspace*{0.6cm}
31

  
32
<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
33

  
34
\vspace{0.5cm}
35

  
36
\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
37

  
38
\vspace{0.5cm}
39

  
40
<%name%>
41

  
42
<%street%>
43

  
44
<%zipcode%>
45

  
46
<%city%>
47

  
48
<%country%>
49

  
50
\vspace{2.8cm}
51

  
52
<%company%>
53

  
54
\vspace{0.5cm}
55

  
56
<%name%> \hfill <%datepaid%> \hfill <%source%>
57

  
58
\vspace{0.5cm}
59
\begin{tabularx}{\textwidth}{lXrr@{}}
60
\textbf{Invoice No.} & \textbf{Invoice Date}
61
  & \textbf{Due} & \textbf{Applied} \\
62
<%foreach invnumber%>
63
<%invnumber%> & <%invdate%> \dotfill
64
  & <%due%> & <%paid%> \\
65
<%end invnumber%>
66
\end{tabularx}
67

  
68
\vfill
69

  
70
\end{document}
71

  
templates/print/Default/income_statement.html
1

  
2
<body bgcolor=ffffff>
3

  
4
<h2 align=center>
5
<%company%>
6
<br><%address%>
7

  
8
<p>INCOME STATEMENT
9
<br><%period%>
10
</h2>
11

  
12

  
13
<table width=100% border=0>
14
<tr>
15
  <th width=400 align=left colspan=2>INCOME<br><hr width=300 size=5 align=left noshade></th>
16
  <th><%this_period%></th>
17
  <th><%last_period%></th>
18
</tr>
19

  
20
<%foreach income_account%>
21
<tr>
22
  <td width=4> </td>
23
  <td><%income_account%></td>
24
  <td align=right><%income_this_period%></td>
25
  <td align=right><%income_last_period%></td>
26
</tr>
27
<%end income_account%>
28

  
29
<tr>
30
  <td colspan=2> </td>
31
  <td><hr noshade size=1></td>
32
  <td><hr noshade size=1></td>
33
</tr>
34

  
35
<tr valign=top>
36
  <td> </td>
37
  <th align=left>Total Income</th>
38
  <td align=right><%total_income_this_period%><hr noshade size=2></td>
39
  <td align=right><%total_income_last_period%><hr noshade size=2></td>
40
</tr>
41

  
42
<tr>
43
  <th align=left colspan=2>EXPENSES<br><hr width=300 size=5 align=left noshade></th>
44
</tr>
45

  
46
<%foreach expense_account%>
47
<tr>
48
  <td> </td>
49
  <td><%expense_account%></td>
50
  <td align=right><%expenses_this_period%></td>
51
  <td align=right><%expenses_last_period%></td>
52
</tr>
53
<%end expense_account%>
54

  
55
<tr>
56
  <td colspan=2> </td>
57
  <td><hr noshade size=1></td>
58
  <td><hr noshade size=1></td>
59
</tr>
60

  
61
<tr valign=top>
62
  <td> </td>
63
  <th align=left>Total Expenses</th>
64
  <td align=right><%total_expenses_this_period%><br><hr noshade size=2</td>
65
  <td align=right><%total_expenses_last_period%><br><hr noshade size=2</td>
66
</tr>
67

  
68
<tr valign=top>
69
  <th align=left colspan=2>INCOME / (LOSS)</th>
70
  <td align=right><%total_this_period%><br><hr noshade size=2></td>
71
  <td align=right><%total_last_period%><br><hr noshade size=2></td>
72
</tr>
73

  
74
</table>
75

  
76

  
77

  
78

  
79

  
80

  
81

  
82

  
templates/print/Default/invoice.html
1

  
2
<body bgcolor=ffffff>
3

  
4
<table width=100%>
5
<tr valign=bottom>
6
  <td width=10>&nbsp;</td>
7
  <td>
8
  
9
  <table width=100%>
10
  <tr>
11
    <td>
12
      <h4>
13
      <%company%>
14
      <br><%address%>
15
      </h4>
16
    </td>
17

  
18
    <td align=right>
19
      <h4>
20
      Telephone: <%tel%>
21
      <br>Facsimile: <%fax%>
22
      </h4>
23
    </td>
24
  </tr>
25

  
26
  <tr>
27
    <th colspan=3>
28
      <h4>I N V O I C E</h4>
29
    </th>
30
  </tr>
31

  
32
  </table>
33

  
34

  
35
  <table width=100% callspacing=0 cellpadding=0>
36
    
37
  <tr>
38
    <td align=right>
39
    <table>
40
    <tr>
41
      <th align=right>Invoice Date</th><td width=10>&nbsp;</td><td><%invdate%></td>
42
    </tr>
43
  
44
    <tr>
45
      <th align=right>Due Date</th><td width=10>&nbsp;</td><td><%duedate%></td>
46
    </tr>
47

  
48
    <tr>
49
      <th align=right>Number</th><td>&nbsp;</td><td><%invnumber%></td></tr>
50
    </tr>
51
  
52
<!--
53
    <tr>
54
      <th align=right>Clerk:</th><td>&nbsp;</td><td><%employee%></td>
55
    </tr>
56
-->
57

  
58
    <tr>
59
      <td>&nbsp;</td>
60
    </tr>
61
    </td>
62
    </table>
63
  </tr>
64

  
65
  <tr>
66
    <td>
67
    <table width=100%>
68
    <tr bgcolor=000000>
69
      <th align=left><font color=ffffff>To:</th>
70
      <th align=left><font color=ffffff>Ship To:</th>
71
    </tr>
72

  
73
<!--
74
     other variables which can be use:
75
     contact, shiptocontact, shiptophone, shiptofax
76
-->
77

  
78
    <tr valign=top>
79
      <td><%name%>
80
      <br><%street%>
81
      <br><%zipcode%>
82
      <br><%city%>
83
      <br><%country%>
84
      </td>
85
      
86
      <td><%shiptoname%>
87
      <br><%shiptostreet%>
88
      <br><%shiptozipcode%>
89
      <br><%shiptocity%>
90
      <br><%shiptocountry%>
91
      </td>
92
    </tr>
93
    </table>
94
    </td>
95
  </tr>
96

  
97
  <tr>
98
    <td>&nbsp;</td>
99
  </tr>
100
  
101
  <tr>
102
    <td>
103
    <table width=100%>
104
    <tr bgcolor=000000>
105
<!--      <th align=right><font color=ffffff>No.</th>  -->
106
      <th align=left><font color=ffffff>Number</th>
107
      <th align=left><font color=ffffff>Description</th>
108
      <th><font color=ffffff>Qt'y</th>
109
      <th>&nbsp;</th>
110
      <th><font color=ffffff>Price</th>
111
      <th><font color=ffffff>Disc</th>
112
      <th><font color=ffffff>Amount</th>
113
    </tr>
114

  
115
<%foreach number%>
116
    <tr valign=top>
117
<!--      <td align=right><%runningnumber%>.</td>
118
adjust the colspan if you include this to shift subtotal one to the right
119
-->
120
      <td><%number%></td>
121
      <td><%description%></td>
122
      <td align=right><%qty%></td>
123
      <td><%unit%></td>
124
      <td align=right><%sellprice%></td>
125
      <td align=right><%discount%></td>
126
      <td align=right><%linetotal%></td>
127
    </tr>
128
<%end number%>
129

  
130
<!--
131
you can also use netprice instead of sellprice if you
132
don't want to show the discount
133
netprice = sellprice - discount
134
-->
135

  
136
    <tr>
137
      <td colspan=7><hr noshade></td>
138
    </tr>
139
    
140
    <tr>
141
<%if taxincluded%>
142
      <th colspan=5 align=right>Total</th>
143
      <td colspan=2 align=right><%invtotal%></td>
144
<%end taxincluded%>
145
<%if not taxincluded%>
146
      <th colspan=5 align=right>Subtotal</th>
147
      <td colspan=2 align=right><%subtotal%></td>
148
<%end taxincluded%>
149
    </tr>
150

  
151
<%foreach tax%>
152
    <tr>
153
      <th colspan=5 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
154
      <td colspan=2 align=right><%tax%></td>
155
    </tr>
156
<%end tax%>
157

  
158
<%if paid%>
159
    <tr>
160
      <th colspan=5 align=right>Paid</th>
161
      <td colspan=2 align=right>- <%paid%></td>
162
    </tr>
163
<%end paid%>
164

  
165
    <tr>
166
      <td colspan=3>&nbsp;</td>
167
      <td colspan=4><hr noshade></td>
168
    </tr>
169

  
170
    <tr>
171
      <td colspan=3>Terms Net <b><%terms%></b> days</td>
172
      <th colspan=2 align=right>Outstanding</th>
173
      <th colspan=2 align=right><%total%></th>
174
    </tr>
175

  
176
    <tr>
177
      <td>&nbsp;</td>
178
    </tr>
179

  
180
    </table>
181
    </td>
182
  </tr>
183

  
184
<tr>
185
  <td>
186
  <table width=100%>
187
    <tr valign=top>
188
<%if notes%>
189
      <td>Notes</td>
190
      <td><%notes%></td>
191
<%end notes%>
192
      <td align=right>
193
      All prices in <b><%currency%></b> Funds
194
      <br><%shippingpoint%>
195
      </td>
196
    </tr>
197

  
198
  </table>
199
  </td>
200
</tr>
201

  
202
<tr><td>&nbsp;</td></tr>
203

  
204
<%if paid%>
205
<tr>
206
  <td colspan=7>
207
    <table width=60%>
208
      <tr>
209
        <th align=left>Payments</th>
210
      </tr>
211
      <tr>
212
        <td colspan=4>
213
	  <hr noshade>
214
	</td>
215
      </tr>
216
      <tr>
217
        <th align=left>Date</th>
218
	<th align=left>Account</th>
219
	<th align=left>Source</th>
220
	<th align=left>Amount</th>
221
      </tr>
222
<%end paid%>
223

  
224
<%foreach payment%>
225
      <tr>
226
        <td><%paymentdate%></td>
227
	<td><%paymentaccount%></td>
228
	<td><%paymentsource%></td>
229
	<td><%payment%></td>
230
      </tr>
231
<%end payment%>
232

  
233
<%if paid%>
234
    </table>
235
  </td>
236
</tr>
237

  
238
<tr>
239
  <td>&nbsp;</td>
240
</tr>
241
<%end paid%>
242

  
243
<tr>
244
  <th colspan=7>
245
  <br>Thank you for your valued business!
246
  </th>
247
</tr>
248

  
249
<tr><td>&nbsp;</td></tr>
250

  
251
<tr>
252
  <td>
253
  <table width=100%>
254
  <tr valign=top>
255
    <td><font size=-3>
256
    Payment due NET <%terms%> Days from date of Invoice.
257
    Interest on overdue amounts will acrue at the rate of 1.5% per month
258
    from due date until paid in full. Items returned are subject to
259
    a 10% restocking charge. A return authorization must be obtained
260
    from <%company%> before goods are returned. Returns must be shipped
261
    prepaid and properly insured. <%company%> will not be responsible
262
    for damages during transit.
263
    </font>
264
    </td>
265
    <td width=150>
266
    X <hr noshade>
267
    </td>
268
  </tr>
269
  </table>
270
  </td>
271
</tr>
272

  
273
<%foreach tax%>
274
  <tr>
275
    <th colspan=7 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
276
  </tr>
277
<%end tax%>
278

  
279
<%if taxincluded%>
280
  <tr>
281
    <th colspan=7 align=left><font size=-2>Taxes shown are included in price.</th>
282
  </tr>
283
<%end taxincluded%>
284

  
285
<!-- business number
286
  <tr>
287
    <th colspan=7 align=left><font size=-2>Business Number: <%businessnumber%></font></th>
288
  </tr>
289
-->
290

  
291
<!-- banking information
292
  <tr>
293
    <th colspan=7 align=left>Banking Information:
294
    <br>Bank
295
    <br>Transit No.
296
    <br>Account No.
297
    </td>
298
  </tr>
299
-->
300

  
301
</table>
302

  
303
</td>
304
</tr>
305
</table>
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff