From: Moritz Bunkus Date: Tue, 21 Mar 2017 10:25:45 +0000 (+0100) Subject: Kontoauszug verbuchen: Zeilen ohne Vorschläge trotzdem anzeigen X-Git-Tag: release-3.5.4~1197 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0be9f3713e4060d4dd8c0510484373f5f32d7f35;p=kivitendo-erp.git Kontoauszug verbuchen: Zeilen ohne Vorschläge trotzdem anzeigen --- diff --git a/templates/webpages/bank_transactions/tabs/all.html b/templates/webpages/bank_transactions/tabs/all.html index 247b51a12..eae900822 100644 --- a/templates/webpages/bank_transactions/tabs/all.html +++ b/templates/webpages/bank_transactions/tabs/all.html @@ -92,7 +92,8 @@ [%- FOREACH bt = BANK_TRANSACTIONS %] - [% FOREACH prop = bt.proposals %] + [% SET proposals = bt.proposals.as_list.size > 0 ? bt.proposals.as_list : [{}] ; + FOREACH prop = proposals %] [% IF loop.first %] [% 'Assign invoice' | $T8 %] @@ -104,7 +105,9 @@ [% bt.agreement %] [% END %] - [% PROCESS proposal_div %] + [% IF prop.id ; + PROCESS proposal_div ; + END %] [% bt.transdate_as_date %] [% LxERP.format_amount(bt.amount, 2) %]