From: Jan Büren Date: Tue, 5 Mar 2019 12:40:51 +0000 (+0100) Subject: BT(save_single_invoice) valutadate anstelle transdate an pay_invoice X-Git-Tag: release-3.5.4~106 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=66135d67b71ddd1153151ac58f907cc7be9a6899;p=kivitendo-erp.git BT(save_single_invoice) valutadate anstelle transdate an pay_invoice Der Tag der Buchung ist in diesem Fall der Tag der Wertstellung, entsprechend "richtigeren" wert an pay_invoice übergeben. --- diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index c7215b21c..ee6d90d06 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -663,7 +663,7 @@ sub save_single_bank_transaction { payment_type => $payment_type, source => $source, memo => $memo, - transdate => $bank_transaction->transdate->to_kivitendo); + transdate => $bank_transaction->valutadate->to_kivitendo); # ... and record the origin via BankTransactionAccTrans if (scalar(@acc_ids) < 2) { return {