Revision 301fdeba
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
bin/mozilla/sepa.pl | ||
---|---|---|
111 | 111 |
my %invoices_map = map { $_->{id} => $_ } @{ $invoices }; |
112 | 112 |
my @bank_transfers = |
113 | 113 |
map +{ %{ $invoices_map{ $_->{$arap_id} } }, %{ $_ } }, |
114 |
grep { ($_->{selected} || $selected_ids{$_->{$arap_id}}) && (0 < $_->{amount}) && $invoices_map{ $_->{$arap_id} } } |
|
114 |
grep { ($_->{selected} || $selected_ids{$_->{$arap_id}}) && (0 < $_->{amount}) && $invoices_map{ $_->{$arap_id} } && !($invoices_map{ $_->{$arap_id} }->{is_sepa_blocked}) }
|
|
115 | 115 |
map { $_->{amount} = $form->parse_amount($myconfig, $_->{amount}); $_ } |
116 | 116 |
@{ $form->{bank_transfers} || [] }; |
117 | 117 |
|
Auch abrufbar als: Unified diff
SEPA-Überweisungen sperren könnnen (Einkauf)