@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')

{{ trans('employee/employee.employee') }} {{ trans('employee/employee.attendance_summary') }}

  • Leave - L
  • Holiday - H
  • Week-Off - WO
  • {{ucfirst(App\Helpers\ConstantHelper::MODIFIED)}}
  • {{ucfirst(App\Helpers\ConstantHelper::REGULARIZED)}}
@if(!empty($employeeData)) {{trans('master/master.employee_name')}}: {{$employeeData->name }} ({{ $employeeData->employee_code }})   {{ trans('master/master.department') }}: {{ @$employeeData->department->name ?: '-' }}   {{ trans('master/master.designation') }}: {{ @$employeeData->designation->name ?: '-' }}   {{ trans('master/master.date_of_joining') }}: {{ $employeeData->date_of_joining }}   {{trans('master/master.manager')}}: {{ @$employeeData->hod->name ?: '-' }}   {{trans('master/master.present')}}: {{ $attendanceData['present']}}   {{trans('master/master.absent')}}: {{ $attendanceData['absent']}}   {{trans('master/master.leave')}}: {{ $attendanceData['leaves']}}   {{trans('master/master.holiday')}}: {{ $attendanceData['holidays']}}   {{trans('master/master.week_off')}}: {{ $attendanceData['weekOffs']}}   {{ trans('master/master.total_paid_days') }}: {{ $attendanceData['totalPaidDays'] }}   @endif
@foreach ($data as $val) @php $bgColor = ''; if($val->attendance_type == 'leave' || $val->on_duty == 4){ $bgColor = 'bg-light-warning'; } if($val->attendance_type == 'holiday' || $val->on_duty == 3){ $bgColor = 'bg-light-primary'; } if($val->attendance_type == 'week-off' || $val->on_duty == 2){ $bgColor = 'bg-light-secondary'; } if($val->entry_mode == App\Helpers\ConstantHelper::REGULARIZED ){ $bgColor = 'bg-light-green'; } if($val->entry_mode == App\Helpers\ConstantHelper::MODIFIED ){ $bgColor = 'bg-light-sky'; } @endphp @endforeach
{{ trans('master/master.date') }} {{ trans('master/master.day') }} {{ trans('master/master.shift') }} {{ trans('master/master.office_in') }} {{ trans('master/master.in_sub_location') }} {{ trans('master/master.late') }} {{ trans('master/master.office_out') }} {{ trans('master/master.out_sub_location') }} {{ trans('master/master.early') }} {{ trans('master/master.first_half') }} {{ trans('master/master.second_half') }} {{ trans('master/master.status') }} {{ trans('master/master.day_count') }} {{ trans('master/master.penalty_in_minutes') }} {{ trans('master/master.hour_worked') }} {{ trans('master/master.approved_ot') }} {{ trans('master/master.overtime_rules') }} {{ trans('master/master.remarks') }} RLX Buffer {{ trans('master/master.in_buffer') }} {{ trans('master/master.out_buffer') }}
{{ date('d M Y', strtotime($val->attendance_date)) }} {{ date('D', strtotime($val->attendance_date)) }} {{ $val->shift ? $val->shift->name : '-' }} {{ $val->in_time ? $val->in_time : '-' }} {{ $val->in_address['sub_location_name'] ?? '-' }} {{ $val->late_comer == '0' ? 'NO' : 'YES' }} {{ $val->out_time ? $val->out_time : '-' }} {{ $val->out_address['sub_location_name'] ?? '-' }} {{ $val->early_comer == '0' ? 'NO' : 'YES' }} {{ $val->first_half_status }} @if ($val->first_half_status == 'L') {{ $val->leave_type ? '(' . strtoupper($val->leave_type) . ')' : '' }} @endif {{ $val->second_half_status }} @if ($val->second_half_status == 'L') {{ $val->leave_type ? '(' . strtoupper($val->leave_type) . ')' : '' }} @endif {{ strtoupper($val->status) }} {{ $val->day_count }} {{ $val->penalty_minutes }} {{ $val->working_time }} {{ $val->overtime }} @if ($val->overtimeRule) {{ $val->overtimeRule->title }} @endif {{ $val->remarks }} @if ($val->leave_type) ({{ strtoupper($val->leave_type) }}) @endif {{ $val->overtime_buffer_id ? "Yes" : "No" }} {{ $val->adjusted_inbuffer != '00:00:00' ? $val->adjusted_inbuffer : '----' }} {{ $val->adjusted_outbuffer != '00:00:00' ? $val->adjusted_outbuffer : '----' }}
@endsection @push('footer-script') @endpush