@push('title') Ads Management @endpush @can('create_ads_management')
@endcan
Ads Management
Reset
@forelse($ads as $ad) @empty @endforelse
Image Title Type Expiry Date Status Order Action
@if($ad->image) {{ $ad->title }} @endif {{ $ad->title }} {{ ucfirst($ad->type) }} @if($ad->expire_date < now()) {{ $ad->expire_date->format('Y-m-d') }} (Expired) @else {{ $ad->expire_date->format('Y-m-d') }} @endif @if($ad->is_active) Active @else Inactive @endif {{ $ad->order }} @can('update_ads_management') @endcan @can('delete_ads_management') @endcan
No ads found
{{ $ads->withQueryString()->links() }}