From b11f9611ff4aa6d62cc1ec3e2ec40cea9f50c27b Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 7 Sep 2019 19:55:50 +0200 Subject: [PATCH] Another fix for #2487 --- app/Support/Import/Routine/FinTS/StageImportDataHandler.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Support/Import/Routine/FinTS/StageImportDataHandler.php b/app/Support/Import/Routine/FinTS/StageImportDataHandler.php index cf83a9920e..8094f77d97 100644 --- a/app/Support/Import/Routine/FinTS/StageImportDataHandler.php +++ b/app/Support/Import/Routine/FinTS/StageImportDataHandler.php @@ -149,7 +149,7 @@ class StageImportDataHandler 'user' => $this->importJob->user_id, 'type' => $type, 'date' => $transaction->getValutaDate()->format('Y-m-d'), - 'description' => $description, + 'description' => null, 'piggy_bank_id' => null, 'piggy_bank_name' => null, 'bill_id' => null, @@ -164,7 +164,8 @@ class StageImportDataHandler // single transaction: [ 'type' => $type, - 'description' => null, + 'description' => $description, + 'date' => $transaction->getValutaDate()->format('Y-m-d'), 'amount' => $amount, 'currency_id' => null, 'currency_code' => 'EUR',