2 |
2 |
[% USE LxERP %]
|
3 |
3 |
[% SET name_col = FORM.params.salesman || FORM.params.buchungsgruppe || FORM.params.type %]
|
4 |
4 |
|
5 |
|
<table border="0">
|
6 |
|
<tr>
|
7 |
|
<th class="listheading">[% LxERP.t8("Type") %]</th>
|
8 |
|
[%- IF name_col %]
|
9 |
|
<th class="listheading">[% LxERP.t8("Name") %]</th>
|
10 |
|
[%- END %]
|
11 |
|
[%- FOREACH month = SELF.liquidity.sorted.month %]
|
12 |
|
<th class="listheading" align="right">[%- IF month == 'old' %][% LxERP.t8("old") %][% ELSIF month == 'future' %][% LxERP.t8("prospective") %][% ELSE %][%- HTML.escape(month) %][% END %]</th>
|
13 |
|
[%- END %]
|
14 |
|
</tr>
|
15 |
|
|
16 |
|
[% IF FORM.params.type %]
|
17 |
|
[% FOREACH type = SELF.liquidity.sorted.type %]
|
18 |
|
<tr class="listrow">
|
19 |
|
<td>[% IF loop.first %][% LxERP.t8("Basis of calculation") %][% END %]</td>
|
20 |
|
<td>
|
21 |
|
[% IF type == 'order' %][% LxERP.t8("Sales Orders") %]
|
22 |
|
[% ELSIF type == 'partial' %][% LxERP.t8("Partial invoices") %]
|
23 |
|
[% ELSE %][% LxERP.t8("Periodic Invoices") %]
|
24 |
|
[% END %]
|
25 |
|
</td>
|
26 |
|
|
27 |
|
[%- FOREACH month = SELF.liquidity.sorted.month %]
|
28 |
|
<td align="right">[% LxERP.format_amount(SELF.liquidity.$type.$month, 2) %]</td>
|
29 |
|
[%- END %]
|
30 |
|
</tr>
|
31 |
|
[%- END %]
|
32 |
|
[%- END %]
|
33 |
|
|
34 |
|
[%- IF FORM.params.salesman %]
|
35 |
|
[%- FOREACH salesman = SELF.liquidity.sorted.salesman %]
|
36 |
|
<tr class="listrow">
|
37 |
|
<td>[% IF loop.first %][% LxERP.t8("Salesman") %][% END %]</td>
|
38 |
|
<td>[%- HTML.escape(salesman) %]</td>
|
|
5 |
<table class="tbl-list wi-moderate">
|
|
6 |
<caption>[% 'Search Result' | $T8 %]</caption>
|
|
7 |
<thead>
|
|
8 |
<tr>
|
|
9 |
<th>[% LxERP.t8("Type") %]</th>
|
|
10 |
[% IF name_col %]
|
|
11 |
<th>[% LxERP.t8("Name") %]</th>
|
|
12 |
[% END %]
|
|
13 |
[% FOREACH month = SELF.liquidity.sorted.month %]
|
|
14 |
<th>[% IF month == 'old' %][% LxERP.t8("old") %][% ELSIF month == 'future' %][% LxERP.t8("prospective") %][% ELSE %][% HTML.escape(month) %][% END %]</th>
|
|
15 |
[% END %]
|
|
16 |
</tr>
|
|
17 |
</thead>
|
|
18 |
<tbody>
|
|
19 |
[% IF FORM.params.type %] [% FOREACH type = SELF.liquidity.sorted.type %]
|
|
20 |
<tr>
|
|
21 |
<td>[% IF loop.first %][% LxERP.t8("Basis of calculation") %][% END %]</td>
|
|
22 |
<td>[% IF type == 'order' %][% LxERP.t8("Sales Orders") %] [% ELSIF type == 'partial' %][% LxERP.t8("Partial invoices") %] [% ELSE %][% LxERP.t8("Periodic Invoices") %] [% END %] </td>
|
|
23 |
[% FOREACH month = SELF.liquidity.sorted.month %]
|
|
24 |
<td class="numeric">[% LxERP.format_amount(SELF.liquidity.$type.$month, 2) %]</td>
|
|
25 |
[% END %]
|
|
26 |
</tr>
|
|
27 |
[% END %]
|
|
28 |
[% END %]
|
39 |
29 |
|
40 |
|
[%- FOREACH month = SELF.liquidity.sorted.month %]
|
41 |
|
<td align="right">[% LxERP.format_amount(SELF.liquidity.salesman.$salesman.$month, 2) %]</td>
|
42 |
|
[%- END %]
|
43 |
|
</tr>
|
44 |
|
[%- END %]
|
45 |
|
[%- END %]
|
|
30 |
[% IF FORM.params.salesman %]
|
|
31 |
[% FOREACH salesman = SELF.liquidity.sorted.salesman %]
|
|
32 |
<tr>
|
|
33 |
<td>[% IF loop.first %][% LxERP.t8("Salesman") %][% END %]</td>
|
|
34 |
<td>[% HTML.escape(salesman) %]</td>
|
46 |
35 |
|
47 |
|
[%- IF FORM.params.buchungsgruppe %]
|
48 |
|
[%- FOREACH buchungsgruppe = SELF.liquidity.sorted.buchungsgruppe %]
|
49 |
|
<tr class="listrow">
|
50 |
|
<td>[% IF loop.first %][% LxERP.t8("Booking group") %][% END %]</td>
|
51 |
|
<td>[%- HTML.escape(buchungsgruppe) %]</td>
|
|
36 |
[% FOREACH month = SELF.liquidity.sorted.month %]
|
|
37 |
<td class="numeric">[% LxERP.format_amount(SELF.liquidity.salesman.$salesman.$month, 2) %]</td>
|
|
38 |
[% END %]
|
|
39 |
</tr>
|
|
40 |
[% END %]
|
|
41 |
[% END %]
|
52 |
42 |
|
53 |
|
[%- FOREACH month = SELF.liquidity.sorted.month %]
|
54 |
|
<td align="right">[% LxERP.format_amount(SELF.liquidity.buchungsgruppe.$buchungsgruppe.$month, 2) %]</td>
|
55 |
|
[%- END %]
|
56 |
|
</tr>
|
57 |
|
[%- END %]
|
58 |
|
[%- END %]
|
|
43 |
[% IF FORM.params.buchungsgruppe %]
|
|
44 |
[% FOREACH buchungsgruppe = SELF.liquidity.sorted.buchungsgruppe %]
|
|
45 |
<tr>
|
|
46 |
<td>[% IF loop.first %][% LxERP.t8("Booking group") %][% END %]</td>
|
|
47 |
<td>[% HTML.escape(buchungsgruppe) %]</td>
|
59 |
48 |
|
60 |
|
<tr class="listrow listtotal">
|
61 |
|
<td>[% LxERP.t8("Total") %]</td>
|
62 |
|
[% IF name_col %]<td></td>[% END %]
|
63 |
|
[%- FOREACH month = SELF.liquidity.sorted.month %]
|
64 |
|
<td align="right">
|
65 |
|
[% IF SELF.liquidity.total.$month > 0 %]
|
66 |
|
<a href="[% HTML.escape(SELF.link_to_old_orders(reqdate=month, months=params.months)) %]">
|
67 |
|
[% END %]
|
68 |
|
[% LxERP.format_amount(SELF.liquidity.total.$month, 2) %]
|
69 |
|
[% IF SELF.liquidity.total.$month > 0 %]
|
70 |
|
</a>
|
71 |
|
[% END %]
|
72 |
|
</td>
|
73 |
|
[%- END %]
|
74 |
|
</tr>
|
|
49 |
[% FOREACH month = SELF.liquidity.sorted.month %]
|
|
50 |
<td class="numeric">[% LxERP.format_amount(SELF.liquidity.buchungsgruppe.$buchungsgruppe.$month, 2) %]</td>
|
|
51 |
[% END %]
|
|
52 |
</tr>
|
|
53 |
[% END %]
|
|
54 |
[% END %]
|
|
55 |
</tbody>
|
|
56 |
<tfoot>
|
|
57 |
<tr class="listrow listtotal">
|
|
58 |
<td>[% LxERP.t8("Total") %]</td>
|
|
59 |
[% IF name_col %]<td></td>[% END %]
|
|
60 |
[% FOREACH month = SELF.liquidity.sorted.month %]
|
|
61 |
<td class="numeric">
|
|
62 |
[% IF SELF.liquidity.total.$month > 0 %]
|
|
63 |
<a href="[% HTML.escape(SELF.link_to_old_orders(reqdate=month, months=params.months)) %]">
|
|
64 |
[% END %]
|
|
65 |
[% LxERP.format_amount(SELF.liquidity.total.$month, 2) %]
|
|
66 |
[% IF SELF.liquidity.total.$month > 0 %]
|
|
67 |
</a>
|
|
68 |
[% END %]
|
|
69 |
</td>
|
|
70 |
[% END %]
|
|
71 |
</tr>
|
|
72 |
</tfoot>
|
75 |
73 |
</table>
|
Neues Design 2019 Standard-Code templates/webpages/liquidity_projection/