diff --git a/app/Http/Controllers/ClientPortal/SubscriptionPlanSwitchController.php b/app/Http/Controllers/ClientPortal/SubscriptionPlanSwitchController.php index b616ee161746..d44666ad6704 100644 --- a/app/Http/Controllers/ClientPortal/SubscriptionPlanSwitchController.php +++ b/app/Http/Controllers/ClientPortal/SubscriptionPlanSwitchController.php @@ -54,6 +54,6 @@ class SubscriptionPlanSwitchController extends Controller public function not_availabe() { - abort(404, 'ewwo'); + abort(404, 'Not Available'); } } diff --git a/app/Livewire/SubscriptionPlanSwitch.php b/app/Livewire/SubscriptionPlanSwitch.php index be3fbb42fbee..a4518efe8453 100644 --- a/app/Livewire/SubscriptionPlanSwitch.php +++ b/app/Livewire/SubscriptionPlanSwitch.php @@ -155,7 +155,6 @@ class SubscriptionPlanSwitch extends Component $this->dispatch('redirectRoute', ['route' => $response]); - // return redirect($response); } public function render() diff --git a/resources/views/portal/ninja2020/components/livewire/subscription-plan-switch.blade.php b/resources/views/portal/ninja2020/components/livewire/subscription-plan-switch.blade.php index 8d3c0301d58b..c1be68fc7043 100644 --- a/resources/views/portal/ninja2020/components/livewire/subscription-plan-switch.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/subscription-plan-switch.blade.php @@ -42,7 +42,7 @@ @if(!$state['payment_initialised']) @foreach($this->methods as $method) @@ -80,11 +80,17 @@ - + \ No newline at end of file