From: Jan Büren Date: Wed, 27 Nov 2019 11:44:27 +0000 (+0100) Subject: Reconciliation: Veto, kein invoice_amount nachträglich setzen. X-Git-Tag: release-3.5.6.1~422 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b726e795b5401bb7a169e91173e1f266a3c04c27;p=kivitendo-erp.git Reconciliation: Veto, kein invoice_amount nachträglich setzen. auch nicht für Vorschläge --- diff --git a/SL/Controller/Reconciliation.pm b/SL/Controller/Reconciliation.pm index 76127b1c1..6f8ebfe8f 100644 --- a/SL/Controller/Reconciliation.pm +++ b/SL/Controller/Reconciliation.pm @@ -183,9 +183,6 @@ sub action_reconcile_proposals { my $rec_group = SL::DB::Manager::ReconciliationLink->get_new_rec_group(); my $bank_transaction = SL::DB::Manager::BankTransaction->find_by(id => $bt_id); $bank_transaction->cleared('1'); - if ( $bank_transaction->isa('SL::DB::BankTransaction') ) { - $bank_transaction->invoice_amount($bank_transaction->amount); - } $bank_transaction->save; foreach my $acc_trans_id (@{ $::form->{proposal_list}->{$bt_id}->{BB} }) { SL::DB::ReconciliationLink->new(