From 7f2a3e152344023559cf3cfc832e38406792d9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 14 Mar 2024 15:57:57 +0100 Subject: [PATCH] Clean up --- app/Livewire/BillingPortal/RFF.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Livewire/BillingPortal/RFF.php b/app/Livewire/BillingPortal/RFF.php index 9e759ca43991..b6b374edb278 100644 --- a/app/Livewire/BillingPortal/RFF.php +++ b/app/Livewire/BillingPortal/RFF.php @@ -25,14 +25,15 @@ class RFF extends Component public function continue(): void { $this->dispatch('purchase.context', property: 'contact', value: auth()->guard('contact')->user()); + $this->dispatch('purchase.next'); } - + public function render() { $gateway = CompanyGateway::findOrFail($this->context['form']['company_gateway_id']); $countries = Cache::get('countries'); - + return view('billing-portal.v3.rff', [ 'gateway' => $gateway->driver( auth()->guard('contact')->user()->client