@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
| # | Logo | Store | Code | Mobile | GST | City | Owner | Status | Expiry | Created | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $stores->firstItem() + $key }} |
@if($store->store_logo && file_exists(public_path('storage/'.$store->store_logo)))
|
{{ $store->store_name }} {{ $store->store_email }} |
{{ $store->store_code }} | {{ $store->store_mobile }} | {{ $store->store_gst }} | {{ $store->city }} | {{ optional($store->user)->name ?? '—' }} | @if($store->subcription === 'free-trial') Free Trial @elseif($store->subcription === 'premium' && $store->premium_expire_date >= $today) Premium @elseif($store->subcription === 'premium' && $store->premium_expire_date < $today) Expired @else Not Subscribed @endif | {{ $store->premium_expire_date ?? '—' }} | {{ $store->created_at ? $store->created_at->format('Y-m-d') : '—' }} | |
| No stores found | |||||||||||
{{ $stores->links() }}