Another fix for #2487

This commit is contained in:
James Cole 2019-09-07 19:55:50 +02:00
parent cb7a4fedf7
commit b11f9611ff
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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',