@php $logoImage='' ; if ($studentIdCardFormate->is_visible_logo_image == 1) { $logoImageUrl = asset('images/eims/setting/design_student_id_card/logo_image/' . $studentIdCardFormate->logo_image); $logoImage = "background-image: url('$logoImageUrl');"; }else{ $logoImageUrl = asset('images/company/' . $company->image); $logoImage = "background-image: url('$logoImageUrl');"; } $backgroundImage='' ; if ($studentIdCardFormate->is_visible_background_image == 1) { $backgroundImageUrl = asset('images/eims/setting/design_student_id_card/background_image/' . $studentIdCardFormate->background_image); $backgroundImage = "background-image: url('$backgroundImageUrl'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat;"; } @endphp Student ID Card @if($studentIdCardFormate->alignment_type == 'horizontal') @else @endif
@foreach($students as $student)
Left Logo

{{$company->name}}

{{$company->address}}
@if($student->eims_semester_class) @endif
Name : {{ $student->name }}
Student ID : {{ $student->student_id_no }}
Blood Group : {{ $student->blood_group ?? 'N/A' }}
Session : {{ $student->eims_session->name }}
Class : {{ $student->eims_semester_class->name }}
Phone : {{ $student->phone_number ?? 'N/A' }}
Valid : {{ \Carbon\Carbon::parse($student->eims_session->to_date)->format('j F Y') }}
Student Image
Signature Image

{{ $studentIdCardFormate->signature_of }}

{{ $student->eims_program->name }}
{!! $companyType == 'UNV' ? "
{$programLabel}
" : '' !!}
Telephone:{{$company->telephone}} Phone: {{$company->phone}}
Web: {{$company->website}}
Conditions:
  • {{$condition_1}}
  • {{$condition_2}}
  • {{$condition_3}}
@php $studentData = [ "Name" => $student->name ?? '', "ID No" => $student->student_id_no ?? '', "Session" => $student->eims_session->name ?? '', "Phone" => $student->phone_number ?? '', "Address" => $student->eims_student_information->emergency_contact_person_address ?? '', ]; $jsonData = json_encode($studentData, JSON_PRETTY_PRINT); // Format JSON for readability @endphp @if ($studentIdCardFormate->is_visible_qrcode == 1)
{!! nl2br(e($jsonData)) !!}
@endif
@endforeach