Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3c7e0b5f

Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt

  • ID 3c7e0b5ffef09f242bef7531149d6cb22ca506e0
  • Vorgänger 9b842950
  • Nachfolger 6e4af1d1

Neues Design 2019 Standard-Code templates/webpages/reconciliation/_linked_transactions.html

Unterschiede anzeigen:

templates/webpages/reconciliation/_linked_transactions.html
[% SET debug = 0 %]
[% IF !SELF.LINKED_TRANSACTIONS.size %]
<tbody class="listrow">
<td colspan="11"><p class="message_hint">[% 'No data was found.' | $T8 %]</p></td>
<tbody>
<td colspan="11"><p class="message message_hint">[% 'No data was found.' | $T8 %]</p></td>
</tbody>
[% ELSE %]
[% FOREACH link = SELF.LINKED_TRANSACTIONS %]
[% IF link.type == 'Link' %]
<tbody class="listrow">
<tbody>
[% FOREACH bt = link.BT %]
<tr>
[% IF loop.count == 1 %]
<td rowspan=[% link.BT.size + link.BB.size %] style="valign:center;">
<td rowspan="[% link.BT.size + link.BB.size %]" class="button">
[% L.button_tag('delete_reconciliation(' _ link.rec_group _ ')', LxERP.t8("X")) %]
</td>
[% END %]
......
<td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
<td>[% 'Bank Transaction' | $T8 %]</td>
[% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %]
<td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.transdate_as_date) %]</td>
<td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.amount_as_number) %]</td>
<td class="date right [% HTML.escape(bt.class) %]">[% HTML.escape(bt.transdate_as_date) %]</td>
<td class="numeric right [% HTML.escape(bt.class) %]">[% HTML.escape(bt.amount_as_number) %]</td>
<td></td>
<td>[% HTML.escape(bt.remote_name) %]</td>
<td>[% HTML.escape(bt.purpose) %]</td>
......
<td><div class="icon16 general-ledger--reports--journal"></div></td>
<td>[% 'Acc Transaction' | $T8 %]</td>
[% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
<td align="right" class="[% HTML.escape(bb.class) %]">[% HTML.escape(bb.transdate_as_date) %]</td>
<td class="date right [% HTML.escape(bb.class) %]">[% HTML.escape(bb.transdate_as_date) %]</td>
<td></td>
<td align="right" class="[% HTML.escape(bb.class) %]">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
<td class="numeric right [% HTML.escape(bb.class) %]">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
<td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
<td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td>
<td></td>
......
<td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
<td>[% 'Bank Transaction' | $T8 %]</td>
[% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %]
<td align="right">[% HTML.escape(bt.transdate_as_date) %]</td>
<td align="right">[% HTML.escape(bt.amount_as_number) %]</td>
<td class="date right">[% HTML.escape(bt.transdate_as_date) %]</td>
<td class="numeric right">[% HTML.escape(bt.amount_as_number) %]</td>
<td></td>
<td>[% HTML.escape(bt.remote_name) %]</td>
<td>[% HTML.escape(bt.purpose) %]</td>
......
<td><div class="icon16 general-ledger--reports--journal"></div></td>
<td>[% 'Acc Transaction' | $T8 %]</td>
[% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
<td align="right">[% HTML.escape(bb.transdate_as_date) %]</td>
<td class="date right">[% HTML.escape(bb.transdate_as_date) %]</td>
<td></td>
<td align="right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
<td class="numeric right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
<td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
<td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td>
<td></td>

Auch abrufbar als: Unified diff