@extends('layouts.app') @section('title','Attendance') @section('content')
| Employee | Days present | Hours | Monthly salary |
|---|---|---|---|
| {{ $s['user']->name }} | {{ $s['days'] }} | {{ $s['hours'] }} | @money($s['user']->salary) |
| No attendance recorded this month. | |||
| Date | Employee | In | Out | Hours | Note | |
|---|---|---|---|---|---|---|
| {{ $a->work_date->format('D, M j') }} | {{ $a->user->name }} | {{ $a->check_in ? \Carbon\Carbon::parse($a->check_in)->format('g:i A') : '-' }} | {{ $a->check_out ? \Carbon\Carbon::parse($a->check_out)->format('g:i A') : '-' }} | {{ $a->hours() }} | {{ $a->note }} | @if(auth()->user()->isAdmin())@endif |
| No records for this month. | ||||||