Revision 665ead85
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/reconciliation/_linked_transactions.html | ||
---|---|---|
6 | 6 |
[% SET debug = 0 %] |
7 | 7 |
|
8 | 8 |
[% IF !SELF.LINKED_TRANSACTIONS.size %] |
9 |
<tbody class="listrow">
|
|
10 |
<td colspan="11"><p class="message_hint">[% 'No data was found.' | $T8 %]</p></td> |
|
9 |
<tbody> |
|
10 |
<td colspan="11"><p class="message message_hint">[% 'No data was found.' | $T8 %]</p></td>
|
|
11 | 11 |
</tbody> |
12 | 12 |
[% ELSE %] |
13 | 13 |
[% FOREACH link = SELF.LINKED_TRANSACTIONS %] |
14 | 14 |
[% IF link.type == 'Link' %] |
15 |
<tbody class="listrow">
|
|
15 |
<tbody> |
|
16 | 16 |
[% FOREACH bt = link.BT %] |
17 | 17 |
<tr> |
18 | 18 |
[% IF loop.count == 1 %] |
19 |
<td rowspan=[% link.BT.size + link.BB.size %] style="valign:center;">
|
|
19 |
<td rowspan="[% link.BT.size + link.BB.size %]" class="button">
|
|
20 | 20 |
[% L.button_tag('delete_reconciliation(' _ link.rec_group _ ')', LxERP.t8("X")) %] |
21 | 21 |
</td> |
22 | 22 |
[% END %] |
... | ... | |
24 | 24 |
<td><img width="16px" height="16px" src="image/bank-building.jpg"></td> |
25 | 25 |
<td>[% 'Bank Transaction' | $T8 %]</td> |
26 | 26 |
[% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %] |
27 |
<td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.transdate_as_date) %]</td>
|
|
28 |
<td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.amount_as_number) %]</td>
|
|
27 |
<td class="date right [% HTML.escape(bt.class) %]">[% HTML.escape(bt.transdate_as_date) %]</td>
|
|
28 |
<td class="numeric right [% HTML.escape(bt.class) %]">[% HTML.escape(bt.amount_as_number) %]</td>
|
|
29 | 29 |
<td></td> |
30 | 30 |
<td>[% HTML.escape(bt.remote_name) %]</td> |
31 | 31 |
<td>[% HTML.escape(bt.purpose) %]</td> |
... | ... | |
39 | 39 |
<td><div class="icon16 general-ledger--reports--journal"></div></td> |
40 | 40 |
<td>[% 'Acc Transaction' | $T8 %]</td> |
41 | 41 |
[% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %] |
42 |
<td align="right" class="[% HTML.escape(bb.class) %]">[% HTML.escape(bb.transdate_as_date) %]</td>
|
|
42 |
<td class="date right [% HTML.escape(bb.class) %]">[% HTML.escape(bb.transdate_as_date) %]</td>
|
|
43 | 43 |
<td></td> |
44 |
<td align="right" class="[% HTML.escape(bb.class) %]">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
|
|
44 |
<td class="numeric right [% HTML.escape(bb.class) %]">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
|
|
45 | 45 |
<td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td> |
46 | 46 |
<td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td> |
47 | 47 |
<td></td> |
... | ... | |
61 | 61 |
<td><img width="16px" height="16px" src="image/bank-building.jpg"></td> |
62 | 62 |
<td>[% 'Bank Transaction' | $T8 %]</td> |
63 | 63 |
[% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %] |
64 |
<td align="right">[% HTML.escape(bt.transdate_as_date) %]</td>
|
|
65 |
<td align="right">[% HTML.escape(bt.amount_as_number) %]</td>
|
|
64 |
<td class="date right">[% HTML.escape(bt.transdate_as_date) %]</td>
|
|
65 |
<td class="numeric right">[% HTML.escape(bt.amount_as_number) %]</td>
|
|
66 | 66 |
<td></td> |
67 | 67 |
<td>[% HTML.escape(bt.remote_name) %]</td> |
68 | 68 |
<td>[% HTML.escape(bt.purpose) %]</td> |
... | ... | |
80 | 80 |
<td><div class="icon16 general-ledger--reports--journal"></div></td> |
81 | 81 |
<td>[% 'Acc Transaction' | $T8 %]</td> |
82 | 82 |
[% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %] |
83 |
<td align="right">[% HTML.escape(bb.transdate_as_date) %]</td>
|
|
83 |
<td class="date right">[% HTML.escape(bb.transdate_as_date) %]</td>
|
|
84 | 84 |
<td></td> |
85 |
<td align="right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
|
|
85 |
<td class="numeric right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
|
|
86 | 86 |
<td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td> |
87 | 87 |
<td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td> |
88 | 88 |
<td></td> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/reconciliation/_linked_transactions.html