{{ __('lng.SiNo') }} {{ __('lng.Name') }} {{ __('lng.InTime') }} {{ __('lng.OutTime') }} @php $si = 0; @endphp @foreach ($StudentAttendances as $StudentAttendance) @php $Student=App\Models\Student::where('admission_no',$StudentAttendance->AdmissionNo)->first(); @endphp @if ($Student) {{ ++$si }} {{ $Student->name ?? '' }} @if ($StudentAttendance->InTime) {{ date_format(date_create($StudentAttendance->InTime), 'd-m-Y H:i:s') }} @endif @if ($StudentAttendance->OutTime) {{ date_format(date_create($StudentAttendance->OutTime), 'd-m-Y H:i:s') }} @endif @endif @endforeach