From 7d4588d3b583b17e3e7c3d9694f8a52f513bcfba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 15 Mar 2024 01:31:11 +0100 Subject: [PATCH] Refactor required-client-info component instantiation in rff.blade.php --- resources/views/billing-portal/v3/rff.blade.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/resources/views/billing-portal/v3/rff.blade.php b/resources/views/billing-portal/v3/rff.blade.php index 6c999e1fcaf5..43c6e141d923 100644 --- a/resources/views/billing-portal/v3/rff.blade.php +++ b/resources/views/billing-portal/v3/rff.blade.php @@ -10,13 +10,6 @@ @endif
- @livewire('required-client-info', [ - 'fields' => method_exists($gateway, 'getClientRequiredFields') ? $gateway->getClientRequiredFields() : [], - 'contact' => auth()->guard('contact')->user(), - 'countries' => $countries, - 'company' => $company, - 'company_gateway_id' => $gateway->company_gateway ? $gateway->company_gateway->id : $gateway->id, - 'form_only' => true - ]) + @livewire('required-client-info', ['db' => $company->db, 'fields' => method_exists($gateway, 'getClientRequiredFields') ? $gateway->getClientRequiredFields() : [], 'contact_id' => auth()->guard('contact')->user()->id, 'countries' => $countries, 'company_id' => $company->id, 'company_gateway_id' => $gateway->company_gateway ? $gateway->company_gateway->id : $gateway->id, 'form_only' => true])>