@extends('layouts.dashboard') @section('content')

Dashboard

User Avatar
{{ $employee->name }}

{{ $employee->designation->name ?? 'N/A' }} • {{ $employee->department->name ?? 'N/A' }}

@php $punchUrl = url('voice-verify/' . base64_encode(2) . '/' . base64_encode($employee->id)); @endphp
Phone Number
{{ $employee->mobile_number ?? 'N/A' }}
Email Address
{{ $employee->email }}
Joined on
{{ $employee->doj ? \Carbon\Carbon::parse($employee->doj)->format('d M Y') : 'N/A' }}
Report Office
{{ $employee->branch->office_name ?? 'N/A' }}
Attendance
Punch In / Out Url
{{ $punchUrl }}
Total Hours
00:00:00

Punch In at Not punched in yet

Punch Out at --:--

Recent Leave Updates
    {{-- Casual Leave --}}
  • CL - Casual Leave {{ $remainingLeaves['cl'] ?? 0 }} left
  • {{-- Paid Leave --}}
  • PL - Paid Leave {{ $remainingLeaves['pl'] ?? 0 }} left
  • {{-- Restricted Holiday --}} {{-- Comp. Off --}}
  • CO - Comp. Off {{ $com_off->count ?? 0 }} left
Show More
{{-- Upcoming Holidays --}}
Upcoming Holidays
@foreach($holidays as $holiday)
{{ $holiday->name }} (1 day) Holiday
{{ \Carbon\Carbon::parse($holiday->date)->format('D, M d, Y') }}
@endforeach Show All
Leave Policy

Attendance View

@php $now = now(); $minDate = $now->copy()->subYears(2)->startOfYear()->format('Y-m'); $maxDate = $now->format('Y-m'); @endphp
@endsection @push('scripts') @endpush