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 c1be68fc7043..91520780ad8c 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 @@ -1,9 +1,47 @@
- + @if($errors->any()) +
+ @foreach($errors->all() as $error) +

{{ $error }}

+ @endforeach +
+ @endif + + @if($state['show_rff']) +
+ @if(strlen(auth()->guard('contact')->user()->first_name) === 0) +
+ + +
+ @endif - @if($amount > 0) + @if(strlen(auth()->guard('contact')->user()->last_name) === 0) +
+ + +
+ @endif + + @if(strlen(auth()->guard('contact')->user()->email) === 0) +
+ + +
+ @endif + +
+ +
+
+ @endif + + + @if($amount > 0 && $state['show_rff'] == false)
@@ -33,6 +71,9 @@ + + + @@ -62,7 +103,7 @@ @endif
- @elseif($amount <= 0) + @elseif($amount <= 0 && $state['show_rff'] == false)