@extends('backend.partials.master') @section('title') {{ ___('label.hr') }} {{ ___('label.attendance') }} @endsection @section('maincontent') @if(hasPermission('hr_create')) {{ ___('label.add') }} @endif @if(!empty($analytics)) @endif @foreach($items as $a) @php $c = $a->status === 'Present' ? 'success' : ($a->status === 'Leave' ? 'warning' : 'danger'); @endphp {{ $a->staff_name }} {{ $a->date ? $a->date->format('Y-m-d') : '' }} {{ $a->check_in }} {{ $a->check_out }} {{ $a->hours }} {{ admin_label($a->status) }}
@if(hasPermission('hr_update')) @endif @if(hasPermission('hr_delete')) @endif
@endforeach
@endsection @push('scripts') @endpush