@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($stores as $key => $store) @php $today = \Carbon\Carbon::now()->toDateString(); @endphp @empty @endforelse
# 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))) @else @endif {{ $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') : '—' }}
{{-- ✅ Change Password button (opens offcanvas) --}}
@csrf @method('DELETE')
No stores found
{{ $stores->links() }}