@extends('employee.layouts.app') @section('title', get_setting('site_name').' Employee Dashboard') @section('content') @php $defaultAvatar = asset('storage/uploads/user-icon.png'); $userImage = auth()->user()->image ? asset('storage/'.auth()->user()->image) : $defaultAvatar; $hour = (int) date('G'); $greeting = $hour < 12 ? __('Good morning') : ($hour < 17 ? __('Good afternoon') : __('Good evening')); @endphp
{{ __('Here is your overview for today') }} — {{ now()->format('l, F j, Y') }}
{{ $m['label'] }}
| {{ __('Date') }} | {{ __('In time') }} | {{ __('Out time') }} |
|---|---|---|
| {{ $missAttendance->date }} | @if($missAttendance->signIn != null) {{ date('h:i A', strtotime($missAttendance->signIn)) }} @else — @endif | @if($missAttendance->signOut != null) {{ date('h:i A', strtotime($missAttendance->signOut)) }} @else — @endif |
| {{ __('No missed attendance records.') }} | ||
| {{ __('Leave type') }} | {{ __('Allowed') }} | {{ __('Adjustment') }} | {{ __('Taken') }} | {{ __('Remaining') }} | {{ __('Usage') }} |
|---|---|---|---|---|---|
| {{ $row['name'] }} | {{ $row['allowed'] }} | {{ $row['adjustment'] }} | {{ $row['taken'] }} | {{ $row['remaining'] }} |
{{ $row['usage_pct'] }}%
|
| {{ __('No leave types configured.') }} | |||||