Another fix for #2487

This commit is contained in:
James Cole
2019-09-07 19:55:50 +02:00
parent cb7a4fedf7
commit b11f9611ff

View File

@@ -149,7 +149,7 @@ class StageImportDataHandler
'user' => $this->importJob->user_id, 'user' => $this->importJob->user_id,
'type' => $type, 'type' => $type,
'date' => $transaction->getValutaDate()->format('Y-m-d'), 'date' => $transaction->getValutaDate()->format('Y-m-d'),
'description' => $description, 'description' => null,
'piggy_bank_id' => null, 'piggy_bank_id' => null,
'piggy_bank_name' => null, 'piggy_bank_name' => null,
'bill_id' => null, 'bill_id' => null,
@@ -164,7 +164,8 @@ class StageImportDataHandler
// single transaction: // single transaction:
[ [
'type' => $type, 'type' => $type,
'description' => null, 'description' => $description,
'date' => $transaction->getValutaDate()->format('Y-m-d'),
'amount' => $amount, 'amount' => $amount,
'currency_id' => null, 'currency_id' => null,
'currency_code' => 'EUR', 'currency_code' => 'EUR',