From 66135d67b71ddd1153151ac58f907cc7be9a6899 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 5 Mar 2019 13:40:51 +0100 Subject: [PATCH] BT(save_single_invoice) valutadate anstelle transdate an pay_invoice MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Der Tag der Buchung ist in diesem Fall der Tag der Wertstellung, entsprechend "richtigeren" wert an pay_invoice übergeben. --- SL/Controller/BankTransaction.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1