@extends('admin.layouts.form') @section('content')
Employee ID | Name | Designation | Department | Date Of Joining | Total Late Minutes | Total Absent |
---|---|---|---|---|---|---|
{!! $result->attendance_id !!} | {!! $result->user->name !!} | {!! $result->designation !!} | {!! $result->department !!} | {!! $result->date_of_joining !!} | @php $total_late_min = 0; foreach($result->attendance_log_in_out as $att_log){ //print_r($att_log); $total_late_min += $att_log['late_min']; } echo $total_late_min; @endphp | {!! count($result->absent_days) !!} |