From 1b92542d5512a1b6645df8d14fb05244dd2ac7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 12 Feb 2024 18:55:14 +0100 Subject: [PATCH] Add Cart component and cart view for billing portal --- app/Livewire/BillingPortal/Cart/Cart.php | 34 +++++++++++++++++++ .../billing-portal/v3/cart/cart.blade.php | 32 +++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 app/Livewire/BillingPortal/Cart/Cart.php create mode 100644 resources/views/billing-portal/v3/cart/cart.blade.php diff --git a/app/Livewire/BillingPortal/Cart/Cart.php b/app/Livewire/BillingPortal/Cart/Cart.php new file mode 100644 index 000000000000..77c461bccc4f --- /dev/null +++ b/app/Livewire/BillingPortal/Cart/Cart.php @@ -0,0 +1,34 @@ +dispatch('purchase.next'); + } + + public function render() + { + return view('billing-portal.v3.cart.cart'); + } +} diff --git a/resources/views/billing-portal/v3/cart/cart.blade.php b/resources/views/billing-portal/v3/cart/cart.blade.php new file mode 100644 index 000000000000..0e839d9d2101 --- /dev/null +++ b/resources/views/billing-portal/v3/cart/cart.blade.php @@ -0,0 +1,32 @@ +
+ + + + + + + + +
+
+ +
+
+