@php $statusFilter = $statusFilter ?? request('status', 'all'); $search = $search ?? request('search'); $tabs = [ 'all' => 'ALL', 'draft' => 'DRAFT', 'published' => 'PUBLISHED', 'unpublished' => 'UNPUBLISHED', 'archived' => 'ARCHIVED', ]; $filtered = $plans->when($statusFilter !== 'all', fn ($c) => $c->where('status', $statusFilter)) ->when($search, fn ($c) => $c->filter(fn ($p) => str_contains(strtolower($p->title), strtolower($search)))); @endphp
{{ $meta['description'] }}
No results found
Try another filter or create a new pricing plan.
| Title | Type | Price | Status | Actions |
|---|---|---|---|---|
|
{{ $plan->title }} @if($plan->description){{ $plan->description }} @endif |
{{ str_replace('_', ' ', $plan->plan_type) }} | @if($plan->plan_type === 'free') Free @else {{ $plan->currency ?? 'INR' }} {{ number_format((float) ($plan->offer_price ?? $plan->regular_price ?? 0), 2) }} @endif | {{ $plan->status }} |
@if($plan->status !== 'published')
@endif
@if($plan->status === 'published')
@endif
@if($plan->status !== 'archived')
@endif
|