mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
fix error in transaction-transformer
This commit is contained in:
parent
58efa6dcad
commit
748dd2ab44
@ -118,7 +118,8 @@ class TransactionTransformer implements BankRevenueInterface
|
||||
$transaction['creditorName'] : null);
|
||||
|
||||
return [
|
||||
'transaction_id' => $transaction["transactionId"],
|
||||
'transaction_id' => 0,
|
||||
'nordigen_transaction_id' => $transaction["transactionId"],
|
||||
'amount' => $amount,
|
||||
'currency_id' => $this->convertCurrency($transaction["transactionAmount"]["currency"]),
|
||||
'category_id' => null,
|
||||
|
@ -171,7 +171,6 @@ class ProcessBankTransactionsNordigen implements ShouldQueue
|
||||
//this should be much faster to insert than using ::create()
|
||||
\DB::table('bank_transactions')->insert(
|
||||
array_merge($transaction, [
|
||||
'transaction_id' => 0,
|
||||
'company_id' => $this->company->id,
|
||||
'user_id' => $user_id,
|
||||
'bank_integration_id' => $this->bank_integration->id,
|
||||
|
Loading…
Reference in New Issue
Block a user