diff --git a/app/Livewire/BillingPortal/Payments/Methods.php b/app/Livewire/BillingPortal/Payments/Methods.php new file mode 100644 index 000000000000..e6ea3d719073 --- /dev/null +++ b/app/Livewire/BillingPortal/Payments/Methods.php @@ -0,0 +1,46 @@ +context['products'])->sum('total_raw'); + + $methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods( + $total, + ); + + $this->methods = $methods; + } + + public function handleSelect(string $company_gateway_id, string $gateway_type_id) + { + // + } + + public function render() + { + return view('billing-portal.v3.payments.methods'); + } +} diff --git a/resources/views/billing-portal/v3/payments/methods.blade.php b/resources/views/billing-portal/v3/payments/methods.blade.php new file mode 100644 index 000000000000..427cd1de03d8 --- /dev/null +++ b/resources/views/billing-portal/v3/payments/methods.blade.php @@ -0,0 +1,9 @@ +