Revision 0be9f371
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
templates/webpages/bank_transactions/tabs/all.html | ||
---|---|---|
92 | 92 |
|
93 | 93 |
[%- FOREACH bt = BANK_TRANSACTIONS %] |
94 | 94 |
<tbody class="listrow" id="bt_rows_[% HTML.escape(bt.id) %]"> |
95 |
[% FOREACH prop = bt.proposals %] |
|
95 |
[% SET proposals = bt.proposals.as_list.size > 0 ? bt.proposals.as_list : [{}] ; |
|
96 |
FOREACH prop = proposals %] |
|
96 | 97 |
[% IF loop.first %] |
97 | 98 |
<tr id="bt_id_[% bt.id %]"> |
98 | 99 |
<td><a href=# onclick="kivi.BankTransaction.assign_invoice('[% bt.id %]'); return false;">[% 'Assign invoice' | $T8 %]</a></td> |
... | ... | |
104 | 105 |
<td class="tooltipster-html" title="[% FOREACH match = bt.rule_matches %] [% match %]<br> [% END %]">[% bt.agreement %]</td> |
105 | 106 |
[% END %] |
106 | 107 |
<td> |
107 |
[% PROCESS proposal_div %] |
|
108 |
[% IF prop.id ; |
|
109 |
PROCESS proposal_div ; |
|
110 |
END %] |
|
108 | 111 |
</td> |
109 | 112 |
<td align="right">[% bt.transdate_as_date %]</td> |
110 | 113 |
<td align="right">[% LxERP.format_amount(bt.amount, 2) %]</td> |
Auch abrufbar als: Unified diff
Kontoauszug verbuchen: Zeilen ohne Vorschläge trotzdem anzeigen