mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 01:54:36 -04:00
fix related to not ractivating deleted bank_integrations
This commit is contained in:
parent
fd6217a48f
commit
a8b8680447
@ -206,7 +206,7 @@ class NordigenController extends BaseController
|
|||||||
|
|
||||||
$nordigen_account = $nordigen->getAccount($nordigenAccountId);
|
$nordigen_account = $nordigen->getAccount($nordigenAccountId);
|
||||||
|
|
||||||
$existing_bank_integration = BankIntegration::withTrashed()->where('nordigen_account_id', $nordigen_account['id'])->where('company_id', $company->id)->first();
|
$existing_bank_integration = BankIntegration::withTrashed()->where('nordigen_account_id', $nordigen_account['id'])->where('company_id', $company->id)->where('is_deleted', 0)->first();
|
||||||
|
|
||||||
if (!$existing_bank_integration) {
|
if (!$existing_bank_integration) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user