{{-- Select Plan --}}
@php
$planType = config('constants.plan_type_for_edit_user');
@endphp
{{-- ./Select Plan --}}
{{-- plan status toggle --}}
@php
$planStatus = '';
$planStatusDisable = '';
$pointerClass = '';
if($plan->status){
$planStatus = 'checked';
if($plan->is_about_to_cancel == 1 || $plan->status == 2){
$planStatusDisable = 'disabled';
$pointerClass = 'default-cursor';
}
}
@endphp
{{-- ./plan status toggle --}}
{{-- ****** Active plan section *******--}}
{{-- start date --}}
{{-- ./start date --}}
{{-- Price type --}}
{{-- ./Price type --}}
{{-- custom price --}}
{{-- ./custom price --}}
{{-- ****** Active plan section *******--}}
{{-- ****** Message section *******--}}
@if($plan->status == 1)
This plan has been cancelled by {{ $plan->cancelled_by==1?'User':'Complete Wills' }}. User will able to plan features till {{date('d F, Y',strtotime($plan->end_date))}}.
@elseif($plan->status == 2)
You have already renew this plan. The plan will be effecting form {{date('d F, Y',strtotime($plan->start_date))}}.
@else
This plan current In-active. You can active/renew by plan status toggle and by choose start date of the plan.
@endif
{{-- ****** Message section *******--}}
{!! Form::button('Save', ['class'=>'btn btn-primary plan-save-btn']) !!}
{!! Form::button('Cancel', ['class'=>'btn cancel-btn']) !!}