@php $schoolName = $schoolProfile?->school_name ?? $schoolProfile?->name ?? config('app.name'); $schoolAddress = $schoolProfile?->address ?? $schoolProfile?->school_address ?? ''; $schoolPhone = $schoolProfile?->phone ?? $schoolProfile?->mobile ?? ''; $schoolCode = $schoolProfile?->school_code ?? ''; $collegeCode = $schoolProfile?->college_code ?? ''; $schoolEiin = $schoolProfile?->eiin_number ?? ''; $schoolLogoRaw = $schoolProfile?->logo ?? $schoolProfile?->image ?? $schoolProfile?->school_logo ?? null; $schoolLogo = null; if (!empty($schoolLogoRaw)) { $schoolLogo = \Illuminate\Support\Str::startsWith( $schoolLogoRaw, ['http://', 'https://', '/'] ) ? $schoolLogoRaw : asset('core/storage/app/public/' . ltrim($schoolLogoRaw, '/')); } @endphp @if(!$isFilterApplied)
Select Class First

Filter apply করে student QR generate করুন

@elseif($registrations->isEmpty())
No Students Found

এই filter অনুযায়ী কোনো student পাওয়া যায়নি

@else
@foreach($registrations->chunk(4) as $pageStudents)
@foreach($pageStudents as $registration) @php $student = $registration->student; $studentName = $student?->student_name_english ?? $student?->student_name ?? 'N/A'; $studentId = $student?->student_id ?? $registration->student_id ?? 'N/A'; $session = $selectedSessionName ?? 'N/A'; $class = $selectedClassName ?? 'N/A'; $section = $registration->section?->name ?? 'N/A'; $group = $registration->group?->name ?? 'N/A'; $roll = $registration->class_roll ?? 'N/A'; $studentPhotoRaw = $student?->student_image ?? $student?->student_photo ?? $student?->photo ?? $student?->image ?? $student?->profile_photo ?? null; $studentPhoto = null; if (!empty($studentPhotoRaw)) { $studentPhoto = \Illuminate\Support\Str::startsWith( $studentPhotoRaw, ['http://', 'https://', '/'] ) ? $studentPhotoRaw : asset('core/storage/app/public/' . $studentPhotoRaw); } @endphp
{{-- 1. HEADER --}}
@if($schoolLogo) @endif
{{ $schoolName }}
{{ $schoolAddress }}
Phone: {{ $schoolPhone }} @if($schoolEiin) | EIIN: {{ $schoolEiin }} @endif @if($schoolCode) | Code: {{ $schoolCode }} @endif
{{-- 2. TITLE --}}
Scan QR Code for Parent Application
{{-- 3. QR CODE --}}
{!! $qrSvg !!}
{{-- 4. STUDENT INFORMATION --}}
{{ $studentName }}
Class Roll: {{ $roll }}
Session: {{ $session }}
Class: {{ $class }}
Section: {{ $section }}
Group: {{ $group }}
@if($studentPhoto) {{ $studentName }} @else
@endif
{{-- 5. INSTRUCTION --}}
ব্যবহারের নির্দেশনা
  1. মোবাইলের Camera অথবা QR Scanner চালু করুন।
  2. উপরের QR Code টি Scan করুন।
  3. Parent Application Form ওপেন হবে।
  4. প্রয়োজনীয় তথ্য সঠিকভাবে পূরণ করে Submit করুন।
  5. যদি কোনো অভিভাবকের একাধিক ছাত্র/ছাত্রী থাকে, তাহলে অনুগ্রহ করে তিনি শুধুমাত্র একবার আবেদন করবেন এবং একই আবেদনের মধ্যে সকল ছাত্র/ছাত্রীর তথ্য যুক্ত করবেন
{{-- 6. FOOTER --}}
@endforeach
@endforeach
@endif