This commit is contained in:
Benjamin Beganović 2024-03-14 15:57:57 +01:00
parent 0c006d961b
commit 7f2a3e1523

View File

@ -25,14 +25,15 @@ class RFF extends Component
public function continue(): void public function continue(): void
{ {
$this->dispatch('purchase.context', property: 'contact', value: auth()->guard('contact')->user()); $this->dispatch('purchase.context', property: 'contact', value: auth()->guard('contact')->user());
$this->dispatch('purchase.next'); $this->dispatch('purchase.next');
} }
public function render() public function render()
{ {
$gateway = CompanyGateway::findOrFail($this->context['form']['company_gateway_id']); $gateway = CompanyGateway::findOrFail($this->context['form']['company_gateway_id']);
$countries = Cache::get('countries'); $countries = Cache::get('countries');
return view('billing-portal.v3.rff', [ return view('billing-portal.v3.rff', [
'gateway' => $gateway->driver( 'gateway' => $gateway->driver(
auth()->guard('contact')->user()->client auth()->guard('contact')->user()->client