@if (session()->has('success')) @endif @if (session()->has('error')) @endif
Cards List
@forelse($cards as $card) @empty @endforelse
Card No Employee Name Mobile / PIN Package Created At Status Actions
{{ $card->card_no }}
{{ $card->personalData->full_name ?? 'N/A' }}
ID: {{ $card->personalData->national_id ?? '-' }}
{{ $card->mobile_number }}
PIN: {{ $card->authentic_code }}
@foreach($card->subscriptions as $sub) @if($sub->is_active) {{ $sub->package->pkg_name_en ?? 'Unknown' }} @endif @endforeach {{ $card->card_created_date ? $card->card_created_date->format('Y-m-d') : '-' }} @if($card->status === 'active') Active @else Inactive @endif
No cards found.
{{ $cards->links() }}
{{-- Create Modal --}} @if($showCreateModal) @endif {{-- Import Modal --}} @if($showImportModal) @endif