Plans

@if($canAdd) @endif
@if(session('success') || session('error'))
{{ session('success') ? 'Success!' : 'Error!' }} {{ session('success') ?: session('error') }}
@endif
List of Plans
@forelse($plans as $plan) @empty @endforelse
Title Price Duration Months Description Status Action
{{ $plan->title }} {{ number_format($plan->price, 2) }} {{ $plan->duration_months }} {{ Str::limit($plan->description, 50) }} @if($plan->status) Active @else Inactive @endif @if($canView) View @endif @if($canEdit) Edit @endif @if($canDelete)
@csrf @method('DELETE')
@endif
No plans found.
@if(method_exists($plans, 'links'))
{{ $plans->appends(request()->query())->links() }}
@endif