Student ID Card

{{ $card->card_number }}
@if($card->student->studentRecord?->photo) @else Photo @endif
{{ $card->student->name }}
Student ID{{ $card->student->studentRecord->student_no ?? $card->student->id }}
Faculty{{ $card->student->studentRecord->program->department->faculty->name ?? '—' }}
Program{{ $card->student->studentRecord->program->name ?? '—' }}
Valid until{{ $card->valid_until?->format('Y-m-d') }} / {{ $card->valid_until_shamsi }}
QR
{{ $card->qr_code }}