@extends('master.app') @section('title', 'customer') @section('body')

Attendance

Report @include('general.filter-button') Add
@include('HR.attendance.filter-form')
@foreach ($attendance as $row) @endforeach
# Name Staus Reson Date Action
{{ $loop->iteration }} {{ $row->employee->name }} @if ($row->status == 1) {{ 'Present' }} @elseif($row->status == 2) {{ 'Opsent' }} @else {{ 'Leve' }} @endif {{ $row->reson }} {{ $row->date }}
{{ $attendance->links('pagination::bootstrap-4') }}
@endsection @section('pageJs') @endsection