Revision cb08bb5b
Von Jan Büren vor fast 2 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
739 | 739 |
transdate => $bank_transaction->valutadate->to_kivitendo); |
740 | 740 |
# First element is the booked amount for accno bank |
741 | 741 |
my $booked_amount = shift @acc_ids; |
742 |
# hotfix why |
|
743 |
$booked_amount = $bank_transaction->amount if abs($booked_amount > $bank_transaction->invoice_amount); |
|
744 | 742 |
$bank_transaction->invoice_amount($bank_transaction->invoice_amount + $booked_amount * $sign); |
745 | 743 |
# ... and record the origin via BankTransactionAccTrans |
746 | 744 |
if (scalar(@acc_ids) < 2) { |
Auch abrufbar als: Unified diff
Revert: (teilweise) fx_loss doch erstmal ignorieren für invoice_amount