Revision 00fc052f
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); |
|
742 | 744 |
$bank_transaction->invoice_amount($bank_transaction->invoice_amount + $booked_amount * $sign); |
743 | 745 |
# ... and record the origin via BankTransactionAccTrans |
744 | 746 |
if (scalar(@acc_ids) < 2) { |
Auch abrufbar als: Unified diff
fx_loss doch erstmal ignorieren für invoice_amount