diff --git a/app/Import/Definitions/BankTransactionMap.php b/app/Import/Definitions/BankTransactionMap.php index cf76d071af..a589969965 100644 --- a/app/Import/Definitions/BankTransactionMap.php +++ b/app/Import/Definitions/BankTransactionMap.php @@ -28,6 +28,8 @@ class BankTransactionMap 9 => 'transaction.base_type', 10 => 'transaction.payment_type_Credit', 11 => 'transaction.payment_type_Debit', + 12 => 'transaction.participant', + 13 => 'transaction.participant_name', ]; } @@ -46,6 +48,8 @@ class BankTransactionMap 9 => 'texts.type', 10 => 'transaction.credit', 11 => 'transaction.debit', + 12 => 'transaction.participant', + 13 => 'transaction.participant_name', ]; } } diff --git a/app/Import/Transformer/Bank/BankTransformer.php b/app/Import/Transformer/Bank/BankTransformer.php index a5846d4f31..d7df620f4c 100644 --- a/app/Import/Transformer/Bank/BankTransformer.php +++ b/app/Import/Transformer/Bank/BankTransformer.php @@ -44,6 +44,8 @@ class BankTransformer extends BaseTransformer 'updated_at' => $now, 'company_id' => $this->company->id, 'user_id' => $this->company->owner()->id, + 'participant' => $this->getString($transaction, 'transaction.participant'), + 'participant_name' => $this->getString($transaction, 'transaction.participant_name'), ]; return $transformed;