@php $verifyUrl = route('tenant.verify.student', ['payload' => $student->qrPayload()]); $qr = app(\App\Services\QrCodeService::class)->dataUri($verifyUrl, 160); $primaryGuardian = $student->guardians->first(); $contactNumber = $student->emergency_contact_phone ?: $primaryGuardian?->phone; @endphp
{{ $tenant->name }}
Student ID Card
{{ $student->fullName() }}
{{ $student->student_code }}
{{ $tenant->name }}
Emergency & Contact Info
This card is the property of {{ $tenant->name }} and must be carried at all times on school premises. If found, please return to the school office. Unauthorized use is prohibited.