@can('create', \App\Models\Package::class) Add Package @endcan
@if ($this->hasActiveFilters()) Reset filters @endif
@forelse ($packages as $package) @empty @endforelse
Vendor Services Play type Effective Status Actions
{{ $package->name }}

{{ $package->code }}

{{ $package->vendor?->name }}
@foreach ($package->services as $service) {{ $service->code }} @endforeach
{{ format_money($package->price) }}{{ $package->price_frequency->suffix() }} @if ($package->promotional_price !== null)

Promo {{ format_money($package->promotional_price) }}

@endif
{{ format_date($package->effective_from) }}
{{ $package->effective_to ? 'to '.format_date($package->effective_to) : 'no end date' }}
@can('update', $package) Edit {{ $package->name }} @endcan
@if ($this->hasActiveFilters()) Reset filters @endif
{{ $packages->links() }}