Revision 7285c318
Von Hans Peter Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/rp/balance_sheet.html | ||
---|---|---|
1 | 1 |
[% USE T8 %] |
2 | 2 |
[% USE HTML %] |
3 | 3 |
[% USE LxERP %] |
4 |
<h3 align="center"> |
|
5 |
[% company %] |
|
6 |
<br>[% address %] |
|
7 |
<p>[% 'BALANCE SHEET' | $T8 %] |
|
8 |
<br>[% 'Balance sheet date' | $T8 %]: [% this_period %] |
|
9 |
<br>[% 'Report date' | $T8 %]: [% report_date %] |
|
10 |
</h3> |
|
11 |
|
|
12 |
<table border="0"> |
|
13 |
<tr> |
|
14 |
<th align="left" width="400" colspan="2">[% 'ASSETS' | $T8 %]<br><hr align="left" width="250" size="5" noshade></th> |
|
15 |
<th><b>[% this_startdate %] - [% this_period %]<b></th> |
|
16 |
<th><b>[% IF last_period %][% last_startdate %] - [% last_period %][% END %]<b></th> |
|
17 |
</tr> |
|
18 |
|
|
19 |
[% FOREACH row = A %] |
|
20 |
<tr> |
|
21 |
<td> </td> |
|
22 |
<td>[% row.accno _ ' - ' IF l_accno %][% row.description %]</td> |
|
23 |
<td align="right">[% LxERP.format_amount(row.this, decimalplaces) %]</td> |
|
24 |
[%- IF last_period %] |
|
25 |
<td align="right">[% LxERP.format_amount(row.last, decimalplaces) %]</td> |
|
26 |
[%- END %] |
|
27 |
</tr> |
|
28 |
[% END %] |
|
29 |
|
|
30 |
[% IF l_subtotal %] |
|
31 |
<tr> |
|
32 |
<td colspan="2"> </td> |
|
33 |
<td><hr noshade size="1"></td> |
|
34 |
<td><hr noshade size="1"></td> |
|
35 |
</tr> |
|
36 |
|
|
37 |
<tr valign="top"> |
|
38 |
<th align="left" colspan="2">[% 'TOTAL' | $T8 %]</th> |
|
39 |
<td align="right">[% LxERP.format_amount(total.A.this, decimalplaces) %]<hr noshade size="2"></td> |
|
40 |
[%- IF last_period %] |
|
41 |
<td align="right">[% LxERP.format_amount(total.A.last, decimalplaces) %]<hr noshade size="2"></td> |
|
42 |
[%- END %] |
|
43 |
</tr> |
|
44 |
[% END %] |
|
45 |
|
|
46 |
<tr> |
|
47 |
<th align="left" colspan="4">[% 'LIABILITIES' | $T8 %]<b><hr align="left" width="250" size="5" noshade></th> |
|
48 |
</tr> |
|
49 |
|
|
50 |
[% FOREACH row = L %] |
|
51 |
<tr> |
|
52 |
<td></td> |
|
53 |
<td>[% row.accno _ ' - ' IF l_accno %][% row.description %]</td> |
|
54 |
<td align="right">[% LxERP.format_amount(row.this, decimalplaces) %]</td> |
|
55 |
[%- IF last_period %] |
|
56 |
<td align="right">[% LxERP.format_amount(row.last, decimalplaces) %]</td> |
|
57 |
[%- END %] |
|
58 |
</tr> |
|
59 |
[% END %] |
|
60 | 4 |
|
61 |
[% IF l_subtotal %] |
|
62 |
<tr> |
|
63 |
<td colspan="2"> </td> |
|
64 |
<td><hr noshade size="1"></td> |
|
65 |
<td><hr noshade size="1"></td> |
|
66 |
</tr> |
|
67 |
|
|
68 |
<tr valign="top"> |
|
69 |
<td></td> |
|
70 |
<th align="left">[% 'TOTAL' | $T8 %]</th> |
|
71 |
<td align="right">[% LxERP.format_amount(total.L.this, decimalplaces) %]<br><hr noshade size="2"</td> |
|
72 |
[%- IF last_period %] |
|
73 |
<td align="right">[% LxERP.format_amount(total.L.last, decimalplaces) %]<br><hr noshade size="2"</td> |
|
74 |
[%- END %] |
|
75 |
</tr> |
|
76 |
[% END %] |
|
77 |
|
|
78 |
<tr> |
|
79 |
<th align="left" colspan="4">[% 'EQUITY' | $T8 %]<br><hr align="left" width="250" size="5" noshade></th> |
|
80 |
</tr> |
|
81 |
|
|
82 |
[% FOREACH row = Q %] |
|
83 |
<tr> |
|
84 |
<td></td> |
|
85 |
<td>[% row.accno _ ' - ' IF l_accno and row.accno %][% row.description %]</td> |
|
86 |
<td align="right">[% LxERP.format_amount(row.this, decimalplaces) %]</td> |
|
87 |
[%- IF last_period %] |
|
88 |
<td align="right">[% LxERP.format_amount(row.last, decimalplaces) %]</td> |
|
89 |
[%- END %] |
|
90 |
</tr> |
|
91 |
[% END %] |
|
92 |
|
|
93 |
[% IF l_subtotal %] |
|
94 |
<tr> |
|
95 |
<td colspan="2"> </td> |
|
96 |
<td><hr noshade size="1"></td> |
|
97 |
<td><hr noshade size="1"></td> |
|
98 |
</tr> |
|
99 |
|
|
100 |
<tr valign="top"> |
|
101 |
<td></td> |
|
102 |
<th align="left">[% 'TOTAL' | $T8 %]</th> |
|
103 |
<td align="right">[% LxERP.format_amount(total.Q.this, decimalplaces) %]<br><hr noshade size="2"</td> |
|
104 |
[%- IF last_period %] |
|
105 |
<td align="right">[% LxERP.format_amount(total.Q.last, decimalplaces) %]<br><hr noshade size="2"</td> |
|
106 |
[%- END %] |
|
107 |
</tr> |
|
108 |
[% END %] |
|
5 |
<!-- PENDENT: Ueberschriften mal genauer anschauen, ebenfalls in Tabellen --> |
|
6 |
<h3>[% company %] |
|
7 |
<br>[% address %] [% 'BALANCE SHEET' | $T8 %] |
|
8 |
<br>[% 'Balance sheet date' | $T8 %]: [% this_period %] |
|
9 |
<br>[% 'Report date' | $T8 %]: [% report_date %]</h3> |
|
109 | 10 |
|
110 |
<tr valign="top"> |
|
111 |
<th align="left" colspan="2">[% 'TOTAL' | $T8 %] [% 'LIABILITIES' | $T8 %] & [% 'EQUITY' | $T8 %]</th> |
|
112 |
<td align="right">[% LxERP.format_amount(total.this, decimalplaces) %]<br><hr noshade size="2"></td> |
|
113 |
[%- IF last_period %] |
|
114 |
<td align="right">[% LxERP.format_amount(total.last, decimalplaces) %]<br><hr noshade size="2"></td> |
|
115 |
[%- END %] |
|
116 |
</tr> |
|
11 |
<table class="tbl-horizontal test"> |
|
12 |
<tbody> |
|
13 |
<tr> |
|
14 |
<th colspan="2"><h3>[% 'ASSETS' | $T8 %]</h3></th> |
|
15 |
<th>[% this_startdate %] - [% this_period %]</th> |
|
16 |
<th>[% IF last_period %][% last_startdate %] - [% last_period %][% END %]</th> |
|
17 |
</tr> |
|
18 |
[% FOREACH row = A %] |
|
19 |
<tr> |
|
20 |
<td class="right">[% row.accno IF l_accno %]</td> |
|
21 |
[% |
|
22 |
SET colspan = 1 ; |
|
23 |
IF row.accno < 1000 ; |
|
24 |
SET colspan = colspan+1 ; |
|
25 |
IF last_period ; |
|
26 |
SET colspan = colspan+1 ; |
|
27 |
END ; |
|
28 |
END ; |
|
29 |
%] |
|
30 |
[% IF colspan > 1 %]<td colspan="[% colspan %]">[% ELSE %]<td>[% END %] |
|
31 |
[% row.description %]</td> |
|
32 |
[% IF row.accno > 999 %] |
|
33 |
<td class="numeric">[% LxERP.format_amount(row.this, decimalplaces) %]</td> |
|
34 |
<td class="numeric">[% IF last_period %][% LxERP.format_amount(row.last, decimalplaces) %][% END %]</td> |
|
35 |
[% END %] |
|
36 |
</tr> |
|
37 |
[% END %] |
|
38 |
[% IF l_subtotal %] |
|
39 |
<tr class="subtotal"> |
|
40 |
<th colspan="2">[% 'TOTAL' | $T8 %]</th> |
|
41 |
<th class="numeric">[% LxERP.format_amount(total.A.this, decimalplaces) %]</th> |
|
42 |
<th class="numeric">[% IF last_period %][% LxERP.format_amount(total.A.last, decimalplaces) %][% END %]</th> |
|
43 |
</tr> |
|
44 |
[% END %] |
|
45 |
<tr><th colspan="4" class="caption">[% 'LIABILITIES' | $T8 %]</th></tr> |
|
46 |
[% FOREACH row = L %] |
|
47 |
<tr> |
|
48 |
<td class="right">[% row.accno IF l_accno %]</td> |
|
49 |
<td>[% row.description %]</td> |
|
50 |
<td class="numeric">[% LxERP.format_amount(row.this, decimalplaces) %]</td> |
|
51 |
<td class="numeric">[% IF last_period %][% LxERP.format_amount(row.last, decimalplaces) %][% END %]</td> |
|
52 |
</tr> |
|
53 |
[% END %] |
|
54 |
[% IF l_subtotal %] |
|
55 |
<tr class="subtotal"> |
|
56 |
<th colspan="2">[% 'TOTAL' | $T8 %]</th> |
|
57 |
<td class="numeric">[% LxERP.format_amount(total.L.this, decimalplaces) %]</td> |
|
58 |
<td class="numeric">[% IF last_period %][% LxERP.format_amount(total.L.last, decimalplaces) %][% END %]</td> |
|
59 |
</tr> |
|
60 |
[% END %] |
|
61 |
<tr><th colspan="4" class="caption">[% 'EQUITY' | $T8 %]</th></tr> |
|
62 |
[% FOREACH row = Q %] |
|
63 |
<tr> |
|
64 |
<td class="right">[% row.accno IF l_accno and row.accno %]</td> |
|
65 |
<td>[% row.description %]</td> |
|
66 |
<td class="numeric">[% LxERP.format_amount(row.this, decimalplaces) %]</td> |
|
67 |
<td class="numeric">[% IF last_period %][% LxERP.format_amount(row.last, decimalplaces) %][% END %]</td> |
|
68 |
</tr> |
|
69 |
[% END %] |
|
70 |
[% IF l_subtotal %] |
|
71 |
<tr class="subtotal"> |
|
72 |
<th colspan="2">[% 'TOTAL' | $T8 %]</th> |
|
73 |
<td class="numeric">[% LxERP.format_amount(total.Q.this, decimalplaces) %]</td> |
|
74 |
<td class="numeric">[% IF last_period %][% LxERP.format_amount(total.Q.last, decimalplaces) %][% END %]</td> |
|
75 |
</tr> |
|
76 |
[% END %] |
|
77 |
</tbody> |
|
78 |
<tfoot> |
|
79 |
<tr> |
|
80 |
<th colspan="2">[% 'TOTAL' | $T8 %] [% 'LIABILITIES' | $T8 %] & [% 'EQUITY' | $T8 %]</th> |
|
81 |
<td class="numeric">[% LxERP.format_amount(total.this, decimalplaces) %]</td> |
|
82 |
<td class="numeric">[% IF last_period %][% LxERP.format_amount(total.last, decimalplaces) %][% END %]</td> |
|
83 |
</tr> |
|
84 |
</tfoot> |
|
117 | 85 |
</table> |
templates/webpages/rp/bwa.html | ||
---|---|---|
3 | 3 |
[% USE LxERP %] |
4 | 4 |
[% USE L %] |
5 | 5 |
|
6 |
<table border=0 cellpadding=0 cellspacing=0>
|
|
6 |
<table> |
|
7 | 7 |
<tr class="headline"> |
8 | 8 |
<td class="left">[% company %]</td> |
9 | 9 |
<td class=center colspan="9"> |
templates/webpages/rp/erfolgsrechnung.html | ||
---|---|---|
1 | 1 |
[% USE T8 %] |
2 | 2 |
[% USE HTML %] |
3 | 3 |
[% USE LxERP %] |
4 |
|
|
5 |
<h2 align="center">
|
|
6 |
<br>[% company %]
|
|
7 |
<br>[% address %]
|
|
8 |
<p>[% 'ERFOLGSRECHNUNG' %]
|
|
9 |
<br>[% fromdate %] bis [% todate %]
|
|
4 |
<!-- PENDENT: Ueberschriften mal genauer anschauen --> |
|
5 |
<h2> |
|
6 |
<b>[% company %]<br></b>
|
|
7 |
[% address %]<br>
|
|
8 |
<big>[% 'ERFOLGSRECHNUNG' %]</big><br>
|
|
9 |
<i>[% fromdate %] bis [% todate %]</i>
|
|
10 | 10 |
</h2> |
11 |
<table border="0"> |
|
12 |
<tr> |
|
13 |
<th align="left" width="400" colspan="2"><br></th> |
|
14 |
</tr> |
|
15 |
[%- FOREACH category = categories %] |
|
16 |
<tr valign="top"> |
|
17 |
<th align="left" colspan="4">[% category.name %]<b><hr align="left" width="250" size="5" noshade></th> |
|
18 |
</tr> |
|
19 |
[%- FOREACH row = category.accounts %] |
|
11 |
|
|
12 |
<table class="tbl-list"> |
|
13 |
<tbody> |
|
14 |
[% FOREACH category = categories %] |
|
20 | 15 |
<tr> |
21 |
<td align="left">[% row.accno %]</td> |
|
22 |
<td align="left">[% row.description %]</td> |
|
23 |
<td align="right">[% row.total %]</td> |
|
16 |
<th class="caption" colspan="3">[% category.name %]</th> |
|
24 | 17 |
</tr> |
25 |
[%- END %] |
|
18 |
[% FOREACH row = category.accounts %] |
|
19 |
<tr> |
|
20 |
<td>[% row.accno %]</td> |
|
21 |
<td>[% row.description %]</td> |
|
22 |
<td class="numeric">[% row.total %]</td> |
|
23 |
</tr> |
|
24 |
[% END %] |
|
25 |
<tr> |
|
26 |
<th colspan="2">TOTAL</th> |
|
27 |
<td class="right">[% category.total %]</td> |
|
28 |
</tr> |
|
29 |
[% END %] |
|
30 |
</tbody> |
|
31 |
<tfoot> |
|
26 | 32 |
<tr> |
27 |
<td colspan="2"> </td> |
|
28 |
<td><hr noshade size="1"></td> |
|
29 |
<td><hr noshade size="1"></td> |
|
30 |
</tr> |
|
31 |
<tr valign="top"> |
|
32 |
<th align="left" colspan="2">TOTAL</th> |
|
33 |
<td align="right">[% category.total %]<hr noshade size="2"></td> |
|
33 |
<th colspan="2">GEWINN/VERLUST</th> |
|
34 |
<td class="numeric">[% total %]<br><hr noshade size="2"></td> |
|
34 | 35 |
</tr> |
35 |
[%- END %] |
|
36 |
<tr valign="top"> |
|
37 |
<th align="left" colspan="2">GEWINN/VERLUST</th> |
|
38 |
<td align="right">[% total %]<br><hr noshade size="2"></td> |
|
39 |
</tr> |
|
36 |
</tfoot> |
|
40 | 37 |
</table> |
templates/webpages/rp/html_report_susa.html | ||
---|---|---|
12 | 12 |
--> |
13 | 13 |
</script> |
14 | 14 |
|
15 |
<style type="text/css"> |
|
16 |
<!-- |
|
17 |
.top_border { |
|
18 |
border-top: solid black; |
|
19 |
border-width: 4px; |
|
20 |
} |
|
21 |
.bottom_border { |
|
22 |
border-bottom: solid black; |
|
23 |
border-width: 4px; |
|
24 |
} |
|
25 |
--> |
|
26 |
</style> |
|
15 |
|
|
27 | 16 |
|
28 | 17 |
[% IF MESSAGE %] |
29 | 18 |
<p>[% MESSAGE %]</p> |
... | ... | |
38 | 27 |
[% IF DATA_PRESENT %] |
39 | 28 |
<table width="100%"> |
40 | 29 |
<tr> |
41 |
<th class="listheading" rowspan=2>[% 'Account' | $T8 %]</th>
|
|
42 |
<th class="listheading" rowspan=2>[% 'Description' | $T8 %]</th>
|
|
43 |
<th class="listheading" rowspan=2>[% 'Last Transaction' | $T8 %]</th>
|
|
44 |
<th class="listheading" colspan=2>[% 'Starting Balance' | $T8 %]</th>
|
|
45 |
<th class="listheading" colspan=2>[% 'Sum for' | $T8 %] [% template_fromto %]</th>
|
|
46 |
<th class="listheading" colspan=2>[% 'Sum per' | $T8 %] [% template_to %]</th>
|
|
47 |
<th class="listheading" colspan=2>[% 'Saldo per' | $T8 %] [% template_to %]</th>
|
|
30 |
<th rowspan=2>[% 'Account' | $T8 %]</th> |
|
31 |
<th rowspan=2>[% 'Description' | $T8 %]</th> |
|
32 |
<th rowspan=2>[% 'Last Transaction' | $T8 %]</th> |
|
33 |
<th colspan=2>[% 'Starting Balance' | $T8 %]</th> |
|
34 |
<th colspan=2>[% 'Sum for' | $T8 %] [% template_fromto %]</th> |
|
35 |
<th colspan=2>[% 'Sum per' | $T8 %] [% template_to %]</th> |
|
36 |
<th colspan=2>[% 'Saldo per' | $T8 %] [% template_to %]</th> |
|
48 | 37 |
</tr> |
49 | 38 |
<tr> |
50 |
<th class="listheading">[% 'Assets' | $T8 %]</th>
|
|
51 |
<th class="listheading">[% 'Equity' | $T8 %]</th>
|
|
52 |
<th class="listheading">[% 'Debit' | $T8 %]</th>
|
|
53 |
<th class="listheading">[% 'Credit' | $T8 %]</th>
|
|
54 |
<th class="listheading">[% 'Debit' | $T8 %]</th>
|
|
55 |
<th class="listheading">[% 'Credit' | $T8 %]</th>
|
|
56 |
<th class="listheading">[% 'Debit' | $T8 %]</th>
|
|
57 |
<th class="listheading">[% 'Credit' | $T8 %]</th>
|
|
39 |
<th>[% 'Assets' | $T8 %]</th> |
|
40 |
<th>[% 'Equity' | $T8 %]</th> |
|
41 |
<th>[% 'Debit' | $T8 %]</th> |
|
42 |
<th>[% 'Credit' | $T8 %]</th> |
|
43 |
<th>[% 'Debit' | $T8 %]</th> |
|
44 |
<th>[% 'Credit' | $T8 %]</th> |
|
45 |
<th>[% 'Debit' | $T8 %]</th> |
|
46 |
<th>[% 'Credit' | $T8 %]</th> |
|
58 | 47 |
</tr> |
59 | 48 |
[% FOREACH row = ROWS %] |
60 | 49 |
[% IF row.IS_CONTROL %] |
... | ... | |
85 | 74 |
[% END %] |
86 | 75 |
</table> |
87 | 76 |
[% ELSE %] |
88 |
<p class="message_hint">[% 'No data was found.' | $T8 %]</p> |
|
77 |
<p class="message message_hint">[% 'No data was found.' | $T8 %]</p>
|
|
89 | 78 |
[% END %] |
90 | 79 |
|
91 | 80 |
[% RAW_BOTTOM_INFO_TEXT %] |
templates/webpages/rp/income_statement.html | ||
---|---|---|
5 | 5 |
[% L.button_tag('', LxERP.t8('Hide buttons'), id="hide_buttons_button", class="hide") %] |
6 | 6 |
[% L.button_tag('', LxERP.t8('Show charts'), id="show_charts_button", class="hide") %] |
7 | 7 |
[% L.button_tag('', LxERP.t8('Hide charts'), id="hide_charts_button", class="hide") %] |
8 |
<!-- PENDENT: Ueberschriften mal genauer anschauen --> |
|
9 |
<h3 id="show_buttons"> [% title %]</h3> |
|
10 |
<h3>[% period %]<br><big>[% accounting_method %]<br></big><i>[% report_date %]</i></h3> |
|
8 | 11 |
|
9 |
<h3 align="center" id="show_buttons"> [% title %]</h3> |
|
10 |
<h3 align=center> |
|
11 |
[% period %]<br> |
|
12 |
[% accounting_method %]<br> |
|
13 |
|
|
14 |
<br>[% report_date %] |
|
15 |
</h3> |
|
16 |
|
|
17 |
<style type="text/css"> |
|
18 |
|
|
19 |
#eurtable { |
|
20 |
border-collapse: collapse; |
|
21 |
width: 100%; |
|
22 |
} |
|
23 |
|
|
24 |
tr.category { |
|
25 |
/* background set via jquery */ |
|
26 |
} |
|
27 |
|
|
28 |
tr.chart { |
|
29 |
border: 0; |
|
30 |
} |
|
31 |
|
|
32 |
td.chartname { |
|
33 |
padding-left: 50px; |
|
34 |
} |
|
35 |
|
|
36 |
tr.chartrow { |
|
37 |
font-size: 75%; |
|
38 |
} |
|
39 |
|
|
40 |
.guv_row_background { |
|
41 |
background:#f0f0f0; |
|
42 |
} |
|
43 |
</style> |
|
44 |
|
|
45 |
<table id="eurtable"> |
|
12 |
<table id="eurtable" class="tbl-list"> |
|
13 |
<tbody> |
|
46 | 14 |
<tr> |
47 |
<td width=75% align=left colspan=2><font size="+1"><b>A. Betriebseinnahmen</font></b><br></td> |
|
48 |
<td></td> |
|
15 |
<th colspan="2" class="caption">A. Betriebseinnahmen</td> |
|
49 | 16 |
</tr> |
50 | 17 |
|
51 | 18 |
[% FOREACH i IN categories_income %] |
... | ... | |
60 | 27 |
</tr> |
61 | 28 |
[% END %] |
62 | 29 |
[% END %] |
63 |
<tr> |
|
64 |
<td> </td> |
|
65 |
<td><hr noshade size=1></td> |
|
66 |
</tr> |
|
67 | 30 |
|
68 |
<tr valign=top> |
|
69 |
<th align=left><b>Summe Einnahmen</b></th> |
|
70 |
<td align=right>[% sumeura %]<hr noshade size=2></td> |
|
31 |
|
|
32 |
<tr class="inrows-footer"> |
|
33 |
<th><b>Summe Einnahmen</b></th> |
|
34 |
<th class="numeric">[% sumeura %]</td> |
|
71 | 35 |
</tr> |
72 |
<tr> |
|
73 |
<td></td> |
|
74 |
<td><br><br></td> |
|
36 |
<tr class="spacer"> |
|
37 |
<td colspan="2"> </td> |
|
75 | 38 |
</tr> |
76 | 39 |
<tr> |
77 |
<td align=left><font size="+1"><b>B. Betriebsausgaben</font></b><br></td> |
|
78 |
<td></td> |
|
40 |
<th class="caption" colspan="2">B. Betriebsausgaben</th> |
|
79 | 41 |
</tr> |
80 | 42 |
|
81 | 43 |
[% FOREACH i IN categories_expense %] |
... | ... | |
90 | 52 |
</tr> |
91 | 53 |
[% END %] |
92 | 54 |
[% END %] |
55 |
</tbody> |
|
56 |
<tfoot> |
|
93 | 57 |
<tr> |
94 |
<td> </td> |
|
95 |
<td><hr noshade size=1></td> |
|
96 |
</tr> |
|
97 |
|
|
98 |
<tr valign=top> |
|
99 |
<th align=left><b>Summe Ausgaben</b></th> |
|
100 |
<td align=right>[% sumeurb %] <br><hr noshade size=2</td> |
|
58 |
<th><b>Summe Ausgaben</b></th> |
|
59 |
<td>[% sumeurb %]</td> |
|
101 | 60 |
</tr> |
102 | 61 |
<tr> |
103 |
<td></td> |
|
104 |
<td><br><br></td>
|
|
62 |
<td>GEWINN / VERLUST</td>
|
|
63 |
<td>[% guvsumme %]<br><hr noshade size=2></td>
|
|
105 | 64 |
</tr> |
106 |
<tr valign=top> |
|
107 |
<td align=left>GEWINN / VERLUST</td> |
|
108 |
<td align=right>[% guvsumme %]<br><hr noshade size=2></td> |
|
109 |
</tr> |
|
110 |
|
|
65 |
</tfoot> |
|
111 | 66 |
</table> |
112 | 67 |
|
113 | 68 |
|
templates/webpages/rp/print_options.html | ||
---|---|---|
3 | 3 |
[% USE L %] |
4 | 4 |
[% USE T8 %] |
5 | 5 |
<table> |
6 |
<tr> |
|
7 |
<td> |
|
8 |
<select name="type" id="type"> |
|
9 |
<option value=statement [% PD.statement %]>[% 'Statement' | $T8 %]</option> |
|
10 |
</select> |
|
11 |
</td> |
|
12 |
<td> |
|
13 |
<select name="format" id="format"> |
|
14 |
<option value=html [% DF.html %]>[% 'HTML' | $T8 %]</option> |
|
15 |
<option value=pdf [% DF.pdf %]>[% 'PDF' | $T8 %]</option> |
|
16 |
<option value=postscript [% DF.postscript %]>[% 'Postscript' | $T8 %]</option> |
|
17 |
</select> |
|
18 |
</td> |
|
19 |
<td> |
|
20 |
<select name=media> |
|
21 |
[%- IF is_email %] |
|
22 |
<option value=attachment [% SM.attachment %]>[% 'Attachment' | $T8 %]</option> |
|
23 |
<option value=inline [% SM.inline %]>[% 'In-line' | $T8 %]</option> |
|
24 |
[%- ELSE %] |
|
25 |
<option value=screen [% OP.screen %]>[% 'Screen' | $T8 %]</option> |
|
26 |
[%- IF MYCONFIG.printer && LXCONFIG.print_templates.latex %] |
|
27 |
<option value=printer [% OP.printer %]>[% 'Printer' | $T8 %]</option> |
|
28 |
[%- END %] |
|
29 |
[%- END %] |
|
30 |
</select> |
|
31 |
</td> |
|
32 |
[%- IF MYCONFIG.printer && LXCONFIG.print_templates.latex && !is_email %] |
|
33 |
<td>[% 'Copies' | $T8 %]<input name=copies size=2 value=[% copies %]></td> |
|
34 |
[%- END %] |
|
35 |
</tr> |
|
6 |
<tbody> |
|
7 |
<tr> |
|
8 |
<td> |
|
9 |
<select name="type" id="type"> |
|
10 |
<option value="statement" [% pd.statement %]>[% 'Statement' | $T8 %]</option> |
|
11 |
</select> |
|
12 |
</td> |
|
13 |
<td> |
|
14 |
<select name="format" id="format"> |
|
15 |
<option value="html" [% df.html %]>[% 'HTML' | $T8 %]</option> |
|
16 |
<option value="pdf" [% df.pdf %]>[% 'PDF' | $T8 %]</option> |
|
17 |
<option value="postscript" [% df.postscript %]>[% 'Postscript' | $T8 %]</option> |
|
18 |
</select> |
|
19 |
</td> |
|
20 |
<td> |
|
21 |
<select name="media"> |
|
22 |
[% IF is_email %] |
|
23 |
<option value="attachment" [% sm.attachment %]>[% 'Attachment' | $T8 %]</option> |
|
24 |
<option value="inline" [% sm.inline %]>[% 'In-line' | $T8 %]</option> |
|
25 |
[% ELSE %] |
|
26 |
<option value="screen" [% op.screen %]>[% 'Screen' | $T8 %]</option> |
|
27 |
[% IF MYCONFIG.printer && LXCONFIG.print_templates.latex %] |
|
28 |
<option value="printer" [% op.printer %]>[% 'Printer' | $T8 %]</option> |
|
29 |
[% END %] [% END %] |
|
30 |
</select> |
|
31 |
</td> |
|
32 |
[% IF MYCONFIG.printer && LXCONFIG.print_templates.latex && !is_email %] |
|
33 |
<td>[% 'Copies' | $T8 %]<input type="text" name="copies" size="2" value="[%" copies %]></td> |
|
34 |
[% END %] |
|
35 |
</tr> |
|
36 |
</tbody> |
|
36 | 37 |
</table> |
38 |
|
templates/webpages/rp/report.html | ||
---|---|---|
6 | 6 |
|
7 | 7 |
[% BLOCK customized_report %] |
8 | 8 |
<tr> |
9 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th>
|
|
9 |
<th class="caption" colspan="4">[% 'Periods' | $T8 %]</th>
|
|
10 | 10 |
</tr> |
11 | 11 |
<tr> |
12 |
<th colspan=1>[% 'Year' | $T8 %]</th> |
|
13 |
<td> |
|
14 |
<input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus" oninput='set_from_to(duetyp.value, this.value)'> |
|
15 |
</td> |
|
16 |
</tr> |
|
17 |
<tr> |
|
18 |
<td align=right> <b>[% 'Yearly' | $T8 %]</b> </td> |
|
19 |
<th align=left>[% 'Quarterly' | $T8 %]</th> |
|
20 |
<th align=left colspan=3>[% 'Monthly' | $T8 %]</th> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<td align=right> |
|
24 |
<input name=duetyp class=radio type=radio value="13" checked onchange='set_from_to(this.value, year.value)'> |
|
25 |
</td> |
|
26 |
<td><input name=duetyp class=radio type=radio value="A" onchange='set_from_to(this.value, year.value)'> |
|
27 |
1. [% 'Quarter' | $T8 %] |
|
28 |
</td> |
|
29 |
<td><input name=duetyp class=radio type=radio value="1" onchange='set_from_to(this.value, year.value)'> |
|
30 |
[% 'January' | $T8 %] |
|
31 |
</td> |
|
32 |
<td><input name=duetyp class=radio type=radio value="5" onchange='set_from_to(this.value, year.value)'> |
|
33 |
[% 'May' | $T8 %] |
|
34 |
</td> |
|
35 |
<td><input name=duetyp class=radio type=radio value="9" onchange='set_from_to(this.value, year.value)'> |
|
36 |
[% 'September' | $T8 %] |
|
37 |
</td> |
|
12 |
<th colspan="4"><h4><input name="reporttype" type="radio" value="custom" checked> [% 'Customized Report' | $T8 %]</h4></th> |
|
38 | 13 |
</tr> |
39 | 14 |
<tr> |
40 |
<td align= right> </td> |
|
41 |
<td><input name=duetyp class=radio type=radio value="B" onchange='set_from_to(this.value, year.value)'> |
|
42 |
2. [% 'Quarter' | $T8 %] |
|
43 |
</td> |
|
44 |
<td><input name=duetyp class=radio type=radio value="2" onchange='set_from_to(this.value, year.value)'> |
|
45 |
[% 'February' | $T8 %] |
|
46 |
</td> |
|
47 |
<td><input name=duetyp class=radio type=radio value="6" onchange='set_from_to(this.value, year.value)'> |
|
48 |
[% 'June' | $T8 %] |
|
49 |
</td> |
|
50 |
<td><input name=duetyp class=radio type=radio value="10" onchange='set_from_to(this.value, year.value)'> |
|
51 |
[% 'October' | $T8 %] |
|
52 |
</td> |
|
15 |
<th></th> |
|
16 |
<th>[% 'Year' | $T8 %]</th> |
|
17 |
<td colspan="2"><input type="text" name="year" class="wi-smallest" title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus" oninput='set_from_to(duetyp.value, this.value)'></td> |
|
53 | 18 |
</tr> |
54 | 19 |
<tr> |
55 |
<td> </td> |
|
56 |
<td><input name=duetyp class=radio type=radio value="C" onchange='set_from_to(this.value, year.value)'> |
|
57 |
3. [% 'Quarter' | $T8 %] |
|
58 |
</td> |
|
59 |
<td><input name=duetyp class=radio type=radio value="3" onchange='set_from_to(this.value, year.value)'> |
|
60 |
[% 'March' | $T8 %] |
|
61 |
</td> |
|
62 |
<td><input name=duetyp class=radio type=radio value="7" onchange='set_from_to(this.value, year.value)'> |
|
63 |
[% 'July' | $T8 %] |
|
64 |
</td> |
|
65 |
<td><input name=duetyp class=radio type=radio value="11" onchange='set_from_to(this.value, year.value)'> |
|
66 |
[% 'November' | $T8 %] |
|
67 |
</td> |
|
20 |
<th></th> |
|
21 |
<th>[% 'Yearly' | $T8 %]</th> |
|
22 |
<th>[% 'Quarterly' | $T8 %]</th> |
|
23 |
<th>[% 'Monthly' | $T8 %]</th> |
|
68 | 24 |
</tr> |
69 | 25 |
<tr> |
70 |
<td> </td> |
|
71 |
<td><input name=duetyp class=radio type=radio value="D" onchange='set_from_to(this.value, year.value)'> |
|
72 |
4. [% 'Quarter' | $T8 %] |
|
73 |
</td> |
|
74 |
<td><input name=duetyp class=radio type=radio value="4" onchange='set_from_to(this.value, year.value)'> |
|
75 |
[% 'April' | $T8 %] |
|
76 |
</td> |
|
77 |
<td><input name=duetyp class=radio type=radio value="8" onchange='set_from_to(this.value, year.value)'> |
|
78 |
[% 'August' | $T8 %] |
|
26 |
<th></th> |
|
27 |
<td><input name="duetyp" type="radio" value="13" checked onchange='set_from_to(this.value, year.value)'>[% 'Yearly' | $T8 %]</td> |
|
28 |
<td> |
|
29 |
<input name="duetyp" type="radio" value="A" onchange='set_from_to(this.value, year.value)'>[% 'Quarter' | $T8 %]<br> |
|
30 |
<input name="duetyp" type="radio" value="B" onchange='set_from_to(this.value, year.value)'>2. [% 'Quarter' | $T8 %]<br> |
|
31 |
<input name="duetyp" type="radio" value="C" onchange='set_from_to(this.value, year.value)'>3. [% 'Quarter' | $T8 %]<br> |
|
32 |
<input name="duetyp" type="radio" value="D" onchange='set_from_to(this.value, year.value)'>4. [% 'Quarter' | $T8 %]<br> |
|
79 | 33 |
</td> |
80 |
<td><input name=duetyp class=radio type=radio value="12" onchange='set_from_to(this.value, year.value)'> |
|
81 |
[% 'December' | $T8 %] |
|
34 |
<td> |
|
35 |
<input name="duetyp" type="radio" value="1" onchange='set_from_to(this.value, year.value)'>[% 'January' | $T8 %]<br> |
|
36 |
<input name="duetyp" type="radio" value="2" onchange='set_from_to(this.value, year.value)'>[% 'February' | $T8 %]<br> |
|
37 |
<input name="duetyp" type="radio" value="3" onchange='set_from_to(this.value, year.value)'>[% 'March' | $T8 %]<br> |
|
38 |
<input name="duetyp" type="radio" value="4" onchange='set_from_to(this.value, year.value)'>[% 'April' | $T8 %]<br> |
|
39 |
<input name="duetyp" type="radio" value="5" onchange='set_from_to(this.value, year.value)'>[% 'May' | $T8 %]<br> |
|
40 |
<input name="duetyp" type="radio" value="6" onchange='set_from_to(this.value, year.value)'>[% 'June' | $T8 %]<br> |
|
41 |
<input name="duetyp" type="radio" value="7" onchange='set_from_to(this.value, year.value)'>[% 'July' | $T8 %]<br> |
|
42 |
<input name="duetyp" type="radio" value="8" onchange='set_from_to(this.value, year.value)'>[% 'August' | $T8 %]<br> |
|
43 |
<input name="duetyp" type="radio" value="9" onchange='set_from_to(this.value, year.value)'>[% 'September' | $T8 %]<br> |
|
44 |
<input name="duetyp" type="radio" value="10" onchange='set_from_to(this.value, year.value)'>[% 'October' | $T8 %]<br> |
|
45 |
<input name="duetyp" type="radio" value="11" onchange='set_from_to(this.value, year.value)'>[% 'November' | $T8 %]<br> |
|
46 |
<input name="duetyp" type="radio" value="12" onchange='set_from_to(this.value, year.value)'>[% 'December' | $T8 %]<br> |
|
82 | 47 |
</td> |
83 | 48 |
</tr> |
84 | 49 |
<tr> |
85 |
<td colspan=5><hr size=3 noshade></td>
|
|
50 |
<th colspan="4"><h4><input name="reporttype" type="radio" value="free"> [% 'Free report period' | $T8 %]</h4></th>
|
|
86 | 51 |
</tr> |
87 | 52 |
<tr> |
88 |
<th align=left><input name=reporttype class=radio type=radio value="free">[% 'Free report period' | $T8 %]</th>
|
|
89 |
<td align=left colspan=4>
|
|
53 |
<th></th>
|
|
54 |
<td colspan="3">
|
|
90 | 55 |
[% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %] |
91 | 56 |
[% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %] |
92 | 57 |
</td> |
93 | 58 |
</tr> |
59 |
[% END #BLOCK customized_report %] |
|
60 |
[% BLOCK cash_or_accrual %] |
|
94 | 61 |
<tr> |
95 |
<td colspan=5><hr size=3 noshade></td> |
|
96 |
</tr> |
|
97 |
[%- END %] |
|
98 |
[%- BLOCK cash_or_accrual %] |
|
99 |
<tr> |
|
100 |
<th align=left>[% 'Method' | $T8 %]</th> |
|
101 |
<td colspan=3> |
|
102 |
[% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %] |
|
62 |
<th colspan="2">[% 'Method' | $T8 %]</th> |
|
63 |
<td colspan="2"> |
|
64 |
[% L.radio_button_tag('method', value='accrual', checked=(INSTANCE_CONF.get_accounting_method=='accrual'), label=LxERP.t8('Accrual')) %]<br> |
|
103 | 65 |
[% L.radio_button_tag('method', value='cash', checked=(INSTANCE_CONF.get_accounting_method=='cash'), label=LxERP.t8('cash')) %] |
104 | 66 |
</td> |
105 | 67 |
</tr> |
106 | 68 |
[% END #BLOCK cash_or_accrual %] |
107 | 69 |
[% BLOCK customer %] |
108 | 70 |
<tr> |
109 |
<th align=right nowrap>[% 'Customer' | $T8 %]</th>
|
|
110 |
<td colspan=3>[% P.customer_vendor.picker('customer_id', '', type='customer') %]</td>
|
|
71 |
<th colspan="2">[% 'Customer' | $T8 %]</th>
|
|
72 |
<td colspan="2" class="wi-lightwide">[% P.customer_vendor.picker('customer_id', '', type='customer') %]</td>
|
|
111 | 73 |
</tr> |
112 | 74 |
[% END #BLOCK customer %] |
113 | 75 |
[% BLOCK projectnumber %] |
114 | 76 |
<tr> |
115 |
<th align=right nowrap>[% 'Project' | $T8 %]</th>
|
|
116 |
<td colspan=3>[% P.project.picker('project_id', '', active="both", valid="both") %]</td>
|
|
77 |
<th colspan="2">[% 'Project' | $T8 %]</th>
|
|
78 |
<td colspan="2">[% P.project.picker('project_id', '', active="both", valid="both", class='wi-lightwide') %]</td>
|
|
117 | 79 |
</tr> |
118 |
[%- END %] |
|
119 |
|
|
120 |
<h1>[% title %]</h1> |
|
80 |
[% END #BLOCK projectnumber %] |
|
121 | 81 |
|
122 |
<form method='post' action='[% script %]' id='form'> |
|
123 | 82 |
|
124 |
<input type=hidden name=title value="[% title %]"> |
|
125 |
|
|
126 |
<table border="0"> |
|
127 |
[%- IF selectdepartment %] |
|
128 |
<tr> |
|
129 |
<th align="left" nowrap>[% 'Department' | $T8 %]</th> |
|
130 |
<td colspan=3><select name=department>[% selectdepartment %]</select></td> |
|
131 |
</tr> |
|
132 |
[%- END %] |
|
133 | 83 |
|
134 |
[%- IF is_projects %] |
|
135 |
[% INCLUDE projectnumber %] |
|
136 |
<input type=hidden name=nextsub value=generate_projects> |
|
137 |
<tr> |
|
138 |
<th align=right>[% 'From' | $T8 %]</th> |
|
139 |
<td> [% L.date_tag('fromdate', fromdate, class='initial_focus') %]</td> |
|
140 |
<th align=right nowrap>[% 'Bis' | $T8 %]</th> |
|
141 |
<td>[% L.date_tag('todate') %]</td> |
|
142 |
</tr> |
|
143 |
</table> |
|
144 |
<table> |
|
145 |
<tr> |
|
146 |
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th> |
|
147 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> [% 'Heading' | $T8 %] |
|
148 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %]</td> |
|
149 |
</tr> |
|
150 |
[%- END %] |
|
84 |
<h1>[% title %]</h1> |
|
151 | 85 |
|
152 |
[%- IF is_income_statement %] |
|
153 |
[%- PROCESS projectnumber %] |
|
154 |
<input type=hidden name=nextsub value=generate_income_statement> |
|
155 |
</table> |
|
156 |
<table> |
|
157 |
[%- PROCESS customized_report %] |
|
158 |
[%- PROCESS cash_or_accrual %] |
|
159 |
<tr> |
|
160 |
<th align=left nowrap>[% 'Include in Report' | $T8 %]</th> |
|
161 |
<td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
|
162 |
</tr> |
|
163 |
[%- END %] |
|
86 |
<div class="wrapper"> |
|
164 | 87 |
|
88 |
<form method="post" action='[% script %]' id="form"> |
|
89 |
<input type="hidden" name="title" value="[% title %]"> |
|
165 | 90 |
|
166 |
[%- IF is_bwa %] |
|
167 |
[%- PROCESS projectnumber %] |
|
168 |
<input type=hidden name=nextsub value=generate_bwa> |
|
169 |
</table> |
|
170 |
<table> |
|
171 |
[%- PROCESS customized_report %] |
|
172 |
[%- PROCESS cash_or_accrual %] |
|
173 |
<tr> |
|
174 |
<th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th> |
|
175 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
176 |
</tr> |
|
177 |
[%- END %] |
|
91 |
<table class="tbl-horizontal"> |
|
92 |
<colgroup><col class="wi-smallest"><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-wide"></colgroup> |
|
178 | 93 |
|
94 |
[% IF selectdepartment %] |
|
95 |
<tr> |
|
96 |
<th colspan="2">[% 'Department' | $T8 %]</th> |
|
97 |
<td colspan="2"><select name="department" class="wi-lightwide">[% selectdepartment %]</select></td> |
|
98 |
</tr> |
|
99 |
[% END #IF selectdepartment %] |
|
100 |
[% IF is_projects %] |
|
101 |
[% INCLUDE projectnumber %] |
|
102 |
<tr> |
|
103 |
<th colspan="2"> |
|
104 |
<input type="hidden" name="nextsub" value="generate_projects"> |
|
105 |
[% 'Periode' | $T8 %] [% 'from' | $T8 %] |
|
106 |
</th> |
|
107 |
<td colspan="2"> |
|
108 |
[% L.date_tag('fromdate', fromdate, class='initial_focus') %] |
|
109 |
[% 'Bis' | $T8 %] |
|
110 |
[% L.date_tag('todate') %] |
|
111 |
</td> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<th colspan="2">[% 'Include in Report' | $T8 %]</th> |
|
115 |
<td colspan="2"> |
|
116 |
<input name="l_heading" type="checkbox" value="Y"> [% 'Heading' | $T8 %]<br> |
|
117 |
<input name="l_subtotal" type="checkbox" value="Y"> [% 'Subtotal' | $T8 %] |
|
118 |
</td> |
|
119 |
</tr> |
|
120 |
[% END #IF is_projects %] |
|
121 |
[% IF is_income_statement %] |
|
122 |
[% PROCESS projectnumber %] |
|
123 |
<input type="hidden" name="nextsub" value="generate_income_statement"> |
|
124 |
[% PROCESS cash_or_accrual %] |
|
125 |
<tr> |
|
126 |
<th colspan="2">[% 'Include in Report' | $T8 %]</th> |
|
127 |
<td colspan="2"><input name="l_cb" type="checkbox" value="Y"> [% 'CB Transactions' | $T8 %]</td> |
|
128 |
</tr> |
|
129 |
[% PROCESS customized_report %] |
|
130 |
[% END #IF is_income_statement %] |
|
131 |
[% IF is_bwa %] |
|
132 |
[% PROCESS projectnumber %] |
|
133 |
<input type="hidden" name="nextsub" value="generate_bwa"> |
|
134 |
[% PROCESS cash_or_accrual %] |
|
135 |
<tr> |
|
136 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
137 |
<td colspan="2"><input type="text" name="decimalplaces" class="wi-verysmall" value="2"></td> |
|
138 |
</tr> |
|
139 |
[% PROCESS customized_report %] |
|
140 |
[% END #IF is_bwa %] |
|
141 |
[% IF is_erfolgsrechnung %] |
|
142 |
<input type="hidden" name="nextsub" value="generate_erfolgsrechnung"> |
|
143 |
[% PROCESS customized_report %] |
|
144 |
[% END #IF is_erfolgsrechnung %] |
|
145 |
[% IF is_balance_sheet %] |
|
146 |
<input type="hidden" name="nextsub" value="generate_balance_sheet"> |
|
147 |
<tr> |
|
148 |
<th colspan="2">[% 'as at' | $T8 %]</th> |
|
149 |
<td class="wi-date"> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td> |
|
150 |
<td> |
|
151 |
<input name="l_cb" type="checkbox" value="Y"> [% 'CB Transactions' | $T8 %]<br> |
|
152 |
<input name="l_ob" type="checkbox" value="Y"> [% 'only OB Transactions' | $T8 %] |
|
153 |
</td> |
|
154 |
</tr> |
|
155 |
</tr> |
|
156 |
<th colspan="2">[% 'Compare to' | $T8 %]</th> |
|
157 |
<td class="wi-date">[% L.date_tag('compareasofdate', compareasofdate) %]</td> |
|
158 |
<td> |
|
159 |
<input name="l_cb_compared" type="checkbox" value="Y"> [% 'CB Transactions' | $T8 %]<br> |
|
160 |
<input name="l_ob_compared" type="checkbox" value="Y"> [% 'only OB Transactions' | $T8 %] |
|
161 |
</td> |
|
162 |
</tr> |
|
163 |
<tr> |
|
164 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
165 |
<td colspan="2"><input type="text" name="decimalplaces" class="wi-verysmall" value="2"></td> |
|
166 |
</tr> |
|
167 |
[% PROCESS cash_or_accrual %] |
|
168 |
<tr> |
|
169 |
<th colspan="2">[% 'Include in Report' | $T8 %]</th> |
|
170 |
<td colspan="2"> |
|
171 |
<input name="l_heading" type="checkbox" value="Y"> [% 'Heading' | $T8 %]<br> |
|
172 |
<input name="l_subtotal" type="checkbox" value="Y"> [% 'Subtotal' | $T8 %]<br> |
|
173 |
<input name="l_accno" type="checkbox" value="Y"> [% 'Account Number' | $T8 %] |
|
174 |
</td> |
|
175 |
</tr> |
|
176 |
[% END #IF is_balance_sheet %] |
|
177 |
[% IF is_trial_balance %] |
|
178 |
[% PROCESS customer %] |
|
179 |
[% PROCESS projectnumber %] |
|
180 |
<input type="hidden" name="nextsub" value="generate_trial_balance"> |
|
181 |
<tr> |
|
182 |
<th colspan="2">[% 'All Accounts' | $T8 %]</th> |
|
183 |
<td colspan="2"><input name="all_accounts" type="checkbox" value="1"></td> |
|
184 |
</tr> |
|
185 |
<tr> |
|
186 |
<th colspan="2">[% 'Decimalplaces' | $T8 %]</th> |
|
187 |
<td colspan="2"><input type="text" name="decimalplaces" class="wi-verysmall" value="2"></td> |
|
188 |
</tr> |
|
189 |
[% PROCESS cash_or_accrual %] |
|
190 |
[% PROCESS customized_report %] |
|
191 |
[% END #IF is_trial_balance %] |
|
192 |
[% IF is_aging %] |
|
193 |
<tr> |
|
194 |
<th colspan="2">[% label %]</th> |
|
195 |
<td colspan="2" class="wi-lightwide">[% vc %]</td> |
|
196 |
</tr> |
|
197 |
<tr> |
|
198 |
<th colspan="4"> |
|
199 |
<input name="reporttype" type="radio" value="custom" checked> |
|
200 |
[% 'Reference day' | $T8 %] ([% 'Due Date' | $T8 %][% ', if set' | $T8 %]) |
|
201 |
</th> |
|
202 |
</tr> |
|
203 |
<tr> |
|
204 |
<th></th> |
|
205 |
<th>[% 'Review of Aging list' | $T8 %]</th> |
|
206 |
<td colspan="2"> |
|
207 |
<select name="review_of_aging_list"> |
|
208 |
<option></option> |
|
209 |
<option>0-30</option> |
|
210 |
<option>30-60</option> |
|
211 |
<option>60-90</option> |
|
212 |
<option>90-120</option> |
|
213 |
<option>> 120</option> |
|
214 |
</select> |
|
215 |
</td> |
|
216 |
</tr> |
|
217 |
<tr> |
|
218 |
<th></th> |
|
219 |
<th>... [% 'for date' | $T8 %]</th> |
|
220 |
<td colspan="2">[% L.date_tag('fordate', today) %]</td> |
|
221 |
</tr> |
|
222 |
<tr> |
|
223 |
<th colspan="4"> |
|
224 |
<input name="reporttype" type="radio" value="free"> |
|
225 |
[% 'Free report period' | $T8 %] ([% 'Invoice Date' | $T8 %]) |
|
226 |
</th> |
|
227 |
</tr> |
|
228 |
<tr> |
|
229 |
<th></th> |
|
230 |
<th>[% 'Period' | $T8 %] [% 'from' | $T8 %]</th> |
|
231 |
<td colspan="2"> |
|
232 |
[% L.date_tag('fromdate', fromdate) %] |
|
233 |
[% 'Bis' | $T8 %] [% L.date_tag('todate') %] |
|
179 | 234 |
|
180 |
[%- IF is_erfolgsrechnung %] |
|
181 |
<input type=hidden name=nextsub value=generate_erfolgsrechnung> |
|
235 |
<input type="hidden" name="type" value="statement"> |
|
236 |
[% L.hidden_tag("format", format) %] |
|
237 |
<input type="hidden" name="media" value="screen"> |
|
238 |
<input type="hidden" name="nextsub" value='[% nextsub %]'> |
|
239 |
<input type="hidden" name="action" value='[% nextsub %]'> |
|
240 |
</td> |
|
241 |
</tr> |
|
242 |
[% END #IF is_aging %] |
|
243 |
[% IF is_payments %] |
|
244 |
<input type="hidden" name="nextsub" value="list_payments"> |
|
245 |
<tr> |
|
246 |
<th colspan="2">[% 'Account' | $T8 %]</th> |
|
247 |
<td colspan="2"> |
|
248 |
<select name="account">[% selection %]</select> |
|
249 |
<input type="hidden" name="paymentaccounts" value="[% paymentaccounts %]"> |
|
250 |
</td> |
|
251 |
</tr> |
|
252 |
<tr> |
|
253 |
<th colspan="2">[% 'Reference' | $T8 %]</th> |
|
254 |
<td colspan="2"><input type="text" name="reference" class="initial_focus" class="wi-lightwide"></td> |
|
255 |
</tr> |
|
256 |
<tr> |
|
257 |
<th colspan="2">[% 'Source' | $T8 %]</th> |
|
258 |
<td colspan="2"><input type="text" name="source" class="wi-lightwide"></td> |
|
259 |
</tr> |
|
260 |
<tr> |
|
261 |
<th colspan="2">[% 'Memo' | $T8 %]</th> |
|
262 |
<td colspan="2"><input type="text" name="memo" class="wi-lightwide"></td> |
|
263 |
</tr> |
|
264 |
<tr> |
|
265 |
<th colspan="2">[% 'Period' | $T8 %] [% 'From' | $T8 %]</th> |
|
266 |
<td colspan="2"> |
|
267 |
[% L.date_tag('fromdate', fromdate) %] |
|
268 |
[% 'Bis' | $T8 %] |
|
269 |
[% L.date_tag('todate') %] |
|
270 |
</td> |
|
271 |
</tr> |
|
272 |
<tr> |
|
273 |
<td colspan="2"></td> |
|
274 |
<td colspan="2"> |
|
275 |
<input type="checkbox" style="checkbox" name="fx_transaction" value="1" checked> |
|
276 |
[% 'Include Exchangerate Difference' | $T8 %] |
|
277 |
<input type="hidden" name="db" value='[% db %]'> |
|
278 |
<input type="hidden" name="sort" value="transdate"> |
|
279 |
</td> |
|
280 |
</tr> |
|
281 |
[% END #IF is_payments %] |
|
282 |
[% IF 0 # is_taxreport %] |
|
283 |
<tr> |
|
284 |
<td colspan="2"> |
|
285 |
<input type="hidden" name="nextsub" value="generate_tax_report"> |
|
286 |
[% 'Period' | $T8 %] [% 'from' | $T8 %] |
|
287 |
</td> |
|
288 |
<td colspan="2" class="wi-date">[% L.date_tag('fromdate', fromdate) %] [% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %]</td> |
|
289 |
</tr> |
|
290 |
<tr> |
|
291 |
<th colspan="2">[% 'Report for' | $T8 %]</th> |
|
292 |
<td colspan="2"> |
|
293 |
[% FOREACH row IN taxaccounts %] |
|
294 |
<input name="accno" type="radio" value='[% row.accno %]' [% loop.first ? 'checked' : '' %]> [% row.description %] |
|
295 |
<input name="[% row.accno %]_description" type="hidden" value="[% row.description %]"> |
|
296 |
<input name="[% row.accno %]_rate" type="hidden" value="[% row.rate %]"> |
|
297 |
[% END %] |
|
298 |
<input type="hidden" name="db" value='[% db %]'> |
|
299 |
<input type="hidden" name="sort" value="transdate"> |
|
300 |
</td> |
|
301 |
</tr> |
|
302 |
[% PROCESS cash_or_accrual %] |
|
303 |
[% END %] |
|
182 | 304 |
</table> |
183 |
<table> |
|
184 |
[%- PROCESS customized_report %] |
|
185 |
[%- END %] |
|
186 | 305 |
|
306 |
[% IF 0 # is_taxreport - formerly at end of table above in a separate row %] |
|
307 |
<div class="form-addition control-panel"> |
|
308 |
<h3>[% 'Include in Report' | $T8 %]</h3> |
|
309 |
<table class="tbl-horizontal"> |
|
310 |
<tr> |
|
311 |
<td><input name="l_id" type="checkbox" value="Y"></td> |
|
312 |
<td>[% 'ID' | $T8 %]</td> |
|
313 |
<td><input name="l_invnumber" type="checkbox" value="Y" checked></td> |
|
314 |
<td>[% 'Invoice' | $T8 %]</td> |
|
315 |
<td><input name="l_transdate" type="checkbox" value="Y" checked></td> |
|
316 |
<td>[% 'Date' | $T8 %]</td> |
|
317 |
</tr> |
|
318 |
<tr> |
|
319 |
<td><input name="l_name" type="checkbox" value="Y" checked></td> |
|
320 |
<td> |
|
321 |
[% LxERP.t8('Customer') IF db == 'ar' %] |
|
322 |
[% LxERP.t8('Vendor') IF db == 'ap' %] |
|
323 |
</td> |
|
324 |
<td><input name="l_netamount" type="checkbox" value="Y" checked></td> |
|
325 |
<td>[% 'Amount' | $T8 %]</td> |
|
326 |
<td><input name="l_tax" type="checkbox" value="Y" checked></td> |
|
327 |
<td>[% 'Tax' | $T8 %]</td> |
|
328 |
<td><input name="l_amount" type="checkbox" value="Y"></td> |
|
329 |
<td>[% 'Total' | $T8 %]</td> |
|
330 |
</tr> |
|
331 |
<tr> |
|
332 |
<td><input name="l_subtotal" type="checkbox" value="Y"></td> |
|
333 |
<td>[% 'Subtotal' | $T8 %]</td> |
|
334 |
</tr> |
|
335 |
</table> |
|
336 |
</div><!-- /.form-addition --> |
|
337 |
[% END %] |
|
187 | 338 |
|
188 |
[%- IF is_balance_sheet %] |
|
189 |
<input type=hidden name=nextsub value=generate_balance_sheet> |
|
190 |
<tr> |
|
191 |
<th align=right>[% 'as at' | $T8 %]</th> |
|
192 |
<td> [% L.date_tag('asofdate', asofdate, class="initial_focus") %]</td> |
|
193 |
<td><input name=l_cb class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
|
194 |
<td><input name=l_ob class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td> |
|
195 |
</tr> |
|
196 |
</tr> |
|
197 |
<th align=right nowrap>[% 'Compare to' | $T8 %]</th> |
|
198 |
<td>[% L.date_tag('compareasofdate', compareasofdate) %]</td> |
|
199 |
<td><input name=l_cb_compared class=checkbox type=checkbox value=Y> [% 'CB Transactions' | $T8 %]</td> |
|
200 |
<td><input name=l_ob_compared class=checkbox type=checkbox value=Y> [% 'only OB Transactions' | $T8 %]</td> |
|
201 |
</tr> |
|
202 |
<tr> |
|
203 |
<th align=right>[% 'Decimalplaces' | $T8 %]</th> |
|
204 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
205 |
</tr> |
|
206 |
</table> |
|
207 |
<table> |
|
208 |
[%- PROCESS cash_or_accrual %] |
|
209 |
<tr> |
|
210 |
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th> |
|
211 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> [% 'Heading' | $T8 %] |
|
212 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> [% 'Subtotal' | $T8 %] |
|
213 |
<input name=l_accno class=checkbox type=checkbox value=Y> [% 'Account Number' | $T8 %]</td> |
|
214 |
</tr> |
|
215 |
[%- END %] |
|
216 |
|
|
217 |
[%- IF is_trial_balance %] |
|
218 |
[%- PROCESS customer %] |
|
219 |
[%- PROCESS projectnumber %] |
|
220 |
<input type=hidden name=nextsub value=generate_trial_balance> |
|
221 |
</table> |
|
222 |
<table> |
|
223 |
[%- PROCESS customized_report %] |
|
224 |
[%- PROCESS cash_or_accrual %] |
|
225 |
<tr> |
|
226 |
<th align=right colspan=4>[% 'All Accounts' | $T8 %]</th> |
|
227 |
<td><input name=all_accounts type=checkbox value=1></td> |
|
228 |
</tr> |
|
229 |
<tr> |
|
230 |
<th align=right colspan=4>[% 'Decimalplaces' | $T8 %]</th> |
|
231 |
<td><input name=decimalplaces size=3 value="2"></td> |
|
232 |
</tr> |
|
233 |
[%- END %] |
|
234 |
|
|
235 |
[%- IF is_aging %] |
|
236 |
<tr> |
|
237 |
<th align=left>[% label %]</th> |
|
238 |
<td>[% vc %]</td> |
|
239 |
</tr> |
|
240 |
</table> |
|
241 |
<table border="0"> |
|
242 |
<tr> |
|
243 |
<td colspan=5><hr size=1 noshade></td> |
|
244 |
</tr> |
|
245 |
<tr> |
|
246 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked><b>[% 'Reference day' | $T8 %]</b> ([% 'Due Date' | $T8 %][% ', if set' | $T8 %])</b> </th> |
|
247 |
<td align="right" colspan="4">[% 'Review of Aging list' | $T8 %] <select name="review_of_aging_list"> |
|
248 |
<option></option> |
|
249 |
<option>0-30</option> |
|
250 |
<option>30-60</option> |
|
251 |
<option>60-90</option> |
|
252 |
<option>90-120</option> |
|
253 |
<option>> 120</option> |
|
254 |
</select> [% 'for date' | $T8 %] [% L.date_tag('fordate', today) %] |
|
255 |
</td> |
|
256 |
</tr> |
|
257 |
<tr> |
|
258 |
<td colspan=5><hr size=3 noshade></td> |
|
259 |
</tr> |
|
260 |
<tr> |
|
261 |
<th align=left><input name=reporttype class=radio type=radio value="free"><b>[% 'Free report period' | $T8 %]</b> ([% 'Invoice Date' | $T8 %]) </th> |
|
262 |
<td align="right" colspan=4> |
|
263 |
[% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %] |
|
264 |
[% 'Bis' | $T8 %] [% L.date_tag('todate') %] |
|
265 |
</td> |
|
266 |
</tr> |
|
267 |
<input type=hidden name=type value=statement> |
|
268 |
[% L.hidden_tag("format", format) %] |
|
269 |
<input type=hidden name=media value=screen> |
|
270 |
|
|
271 |
<input type=hidden name=nextsub value='[% nextsub %]'> |
|
272 |
<input type=hidden name=action value='[% nextsub %]'> |
|
273 |
[%- END %] |
|
274 |
|
|
275 |
[%- IF is_payments %] |
|
276 |
<input type=hidden name=nextsub value=list_payments> |
|
277 |
<tr> |
|
278 |
<th align=right nowrap>[% 'Account' | $T8 %]</th> |
|
279 |
<td colspan=3><select name=account>[% selection %]</select> |
|
280 |
<input type=hidden name=paymentaccounts value="[% paymentaccounts %]"> |
|
281 |
</td> |
|
282 |
</tr> |
|
283 |
<tr> |
|
284 |
<th align=right>[% 'Reference' | $T8 %]</th> |
|
285 |
<td colspan=3><input name=reference class="initial_focus"></td> |
|
286 |
</tr> |
|
287 |
<tr> |
|
288 |
<th align=right nowrap>[% 'Source' | $T8 %]</th> |
|
289 |
<td colspan=3><input name=source></td> |
|
290 |
</tr> |
|
291 |
<tr> |
|
292 |
<th align=right nowrap>[% 'Memo' | $T8 %]</th> |
|
293 |
<td colspan=3><input name=memo size=30></td> |
|
294 |
</tr> |
|
295 |
<tr> |
|
296 |
<th align=right>[% 'From' | $T8 %]</th> |
|
297 |
<td>[% L.date_tag('fromdate', fromdate) %]</td> |
|
298 |
<th align=right>[% 'Bis' | $T8 %]</th> |
|
299 |
<td>[% L.date_tag('todate') %]</td> |
|
300 |
</tr> |
|
301 |
<tr> |
|
302 |
<td align=right><input type=checkbox style=checkbox name=fx_transaction value=1 checked></td> |
|
303 |
<th align=left colspan=3>[% 'Include Exchangerate Difference' | $T8 %]</td> |
|
304 |
</tr> |
|
305 |
|
|
306 |
<input type=hidden name=db value='[% db %]'> |
|
307 |
<input type=hidden name=sort value=transdate> |
|
308 |
[%- END %] |
|
309 |
|
|
310 |
[%- IF 0 # is_taxreport %] |
|
311 |
<input type=hidden name=nextsub value=generate_tax_report> |
|
312 |
<tr> |
|
313 |
<th align=right>[% 'From' | $T8 %]</th> |
|
314 |
<td>[% L.date_tag('fromdate', fromdate) %]</td> |
|
315 |
<th align=right>[% 'Bis' | $T8 %]</th> |
|
316 |
<td>[% L.date_tag('todate', todate) %]</td> |
|
317 |
</tr> |
|
318 |
<tr> |
|
319 |
<th align=right>[% 'Report for' | $T8 %]</th> |
|
320 |
<td colspan=3> |
|
321 |
[% FOREACH row IN taxaccounts %] |
|
322 |
<input name=accno class=radio type=radio value='[% row.accno %]' [% loop.first ? 'checked' : '' %]> [% row.description %] |
|
323 |
<input name="[% row.accno %]_description" type=hidden value="[% row.description %]"> |
|
324 |
<input name="[% row.accno %]_rate" type=hidden value="[% row.rate %]"> |
|
325 |
[%- END %] |
|
326 |
<input type=hidden name=db value='[% db %]'> |
|
327 |
<input type=hidden name=sort value=transdate> |
|
328 |
</td> |
|
329 |
</tr> |
|
330 |
[%- PROCESS cash_or_accrual %] |
|
331 |
</table> |
|
332 |
<table> |
|
333 |
<tr> |
|
334 |
<th align=right>[% 'Include in Report' | $T8 %]</th> |
|
335 |
<td> |
|
336 |
<table> |
|
337 |
<tr> |
|
338 |
<td><input name="l_id" class=checkbox type=checkbox value=Y></td> |
|
339 |
<td>[% 'ID' | $T8 %]</td> |
|
340 |
<td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td> |
|
341 |
<td>[% 'Invoice' | $T8 %]</td> |
|
342 |
<td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td> |
|
343 |
<td>[% 'Date' | $T8 %]</td> |
|
344 |
</tr> |
|
345 |
<tr> |
|
346 |
<td><input name="l_name" class=checkbox type=checkbox value=Y checked></td> |
|
347 |
<td> |
|
348 |
[% LxERP.t8('Customer') IF db == 'ar' %] |
|
349 |
[% LxERP.t8('Vendor') IF db == 'ap' %] |
|
350 |
</td> |
|
351 |
<td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td> |
|
352 |
<td>[% 'Amount' | $T8 %]</td> |
|
353 |
<td><input name="l_tax" class=checkbox type=checkbox value=Y checked></td> |
|
354 |
<td>[% 'Tax' | $T8 %]</td> |
|
355 |
<td><input name="l_amount" class=checkbox type=checkbox value=Y></td> |
|
356 |
<td>[% 'Total' | $T8 %]</td> |
|
357 |
</tr> |
|
358 |
<tr> |
|
359 |
<td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td> |
|
360 |
<td>[% 'Subtotal' | $T8 %]</td> |
|
361 |
</tr> |
|
362 |
</table> |
|
363 |
</td> |
|
364 |
</tr> |
|
365 |
[%- END %] |
|
366 |
</table> |
|
367 | 339 |
</form> |
340 |
</div><!-- /.wrapper --> |
|
341 |
|
|
368 | 342 |
|
369 | 343 |
<script type="text/javascript"> |
370 | 344 |
function set_from_to(duetyp, year) { |
templates/webpages/rp/tax_report.html | ||
---|---|---|
15 | 15 |
</tr> |
16 | 16 |
[% END %] |
17 | 17 |
|
18 |
|
|
18 |
<!-- PENDENT: Ueberpruefen, wie sich H1 an dieser Stelle auswirkt --> |
|
19 | 19 |
<h1>[% title %] [% SET tax_report__accno_title = accno _ '_description' %][% GET $tax_report__accno_title %]</h1> |
20 | 20 |
|
21 | 21 |
<p> |
22 | 22 |
[% FOREACH option IN options %][% option %][% '<br>' UNLESS loop.last %][% END %] |
23 | 23 |
</p> |
24 | 24 |
|
25 |
<table width=100%> |
|
26 |
<tr class=listheading> |
|
27 |
[%- FOREACH col IN column_index %] |
|
28 |
<th> |
|
29 |
[%- IF column_sorted.$col %]<a href="[% sort_base %]&sort=[% col %]">[% END %] |
|
30 |
[%- column_header.$col %] |
|
31 |
[%- IF column_sorted.$col %]</a>[% END %] |
|
32 |
</th> |
|
33 |
[%- END %] |
|
34 |
</tr> |
|
35 |
|
|
36 |
[%- FOREACH row IN DATA %] |
|
37 |
[% IF row.subtotal %] |
|
38 |
[% PROCESS sub_total class='listsubtotal' %] |
|
39 |
[% ELSIF row.total %] |
|
40 |
[% PROCESS sub_total class='listtotal' %] |
|
41 |
[% ELSE %] |
|
42 |
<tr class='listrow[% loop.count % 2 %]'> |
|
43 |
[%- FOREACH col IN column_index %] |
|
44 |
<td[% IF row.$col.numeric %] class="numeric"[% END %]> |
|
45 |
[%- IF row.$col.link %]<a href="[% row.$col.link %]">[% END %] |
|
46 |
[%- IF row.$col.numeric %] |
|
47 |
[%- LxERP.format_amount(row.$col.data, 2) | html %] |
|
48 |
[%- ELSE %] |
|
49 |
[%- row.$col.data | html %] |
|
50 |
[%- END %] |
|
51 |
[%- IF row.$col.link %]</a>[% END %] |
|
52 |
</td> |
|
53 |
[%- END %] |
|
54 |
</tr> |
|
55 |
[% END %] |
|
56 |
[%- END %] |
|
25 |
<table class="tbl-list"> |
|
26 |
<thead> |
|
27 |
<tr> |
|
28 |
[% FOREACH col IN column_index %] |
|
29 |
<th> |
|
30 |
[% IF column_sorted.$col %]<a href="[% sort_base %]&sort=[% col %]">[% END %] |
|
31 |
[% column_header.$col %] |
|
32 |
[% IF column_sorted.$col %]</a>[% END %] |
|
33 |
</th> |
|
34 |
[% END %] |
|
35 |
</tr> |
|
36 |
</thead> |
|
37 |
<tbody> |
|
38 |
[% FOREACH row IN DATA %] |
|
39 |
[% IF row.subtotal %] |
|
40 |
[% PROCESS sub_total class='listsubtotal' %] |
|
41 |
[% ELSIF row.total %] |
|
42 |
[% PROCESS sub_total class='listtotal' %] |
|
43 |
[% ELSE %] |
|
44 |
<tr> |
|
45 |
[% FOREACH col IN column_index %] |
|
46 |
<td[% IF row.$col.numeric %] class="numeric"[% END %]> |
|
47 |
[% IF row.$col.link %]<a href="[% row.$col.link %]">[% END %] |
|
48 |
[% IF row.$col.numeric %] |
|
49 |
[% LxERP.format_amount(row.$col.data, 2) | html %] |
|
50 |
[% ELSE %] |
|
51 |
[% row.$col.data | html %] |
|
52 |
[% END %] |
|
53 |
[% IF row.$col.link %]</a>[% END %] |
|
54 |
</td> |
|
55 |
[% END %] |
|
56 |
</tr> |
|
57 |
[% END %] |
|
58 |
[% END %] |
|
59 |
</tbody> |
|
57 | 60 |
</table> |
58 |
<hr size=3 noshade> |
|
61 |
|
|
59 | 62 |
|
Auch abrufbar als: Unified diff
Design 4.0: Anpassungen neues kivitendo Design in templates/webpages/rp/..