@extends('layouts.app') @section('title', 'Quick Clock - Blackberry Farm') @section('content')
📊 Weekly View 📅 Daily View 💰 Payroll Summary 👥 Manage Employees

⏰ Current Time

{{ now()->format('g:i:s A') }}
{{ now()->format('l, F j, Y') }}

🚀 Bulk Actions

@csrf
@if($employees->count() > 0)

👥 Employee Clock In/Out

@foreach($employees as $employee)
{{ substr($employee->first_name, 0, 1) }}{{ substr($employee->last_name, 0, 1) }}
{{ $employee->first_name }} {{ $employee->last_name }}
{{ ucwords(str_replace('_', ' ', $employee->department)) }} • {{ $employee->position }}
@if($employee->is_clocked_in)
🟢 Clocked In at {{ $employee->current_shift->clock_in->format('g:i A') }}
@else
⚪ Not Clocked In
@endif
@if($employee->is_clocked_in) 🔴 Clock Out @else 🟢 Clock In @endif 📋 View
@if($employee->current_shift && $employee->current_shift->total_hours > 0)
{{ number_format($employee->current_shift->total_hours, 1) }}h
Total Hours
@if($employee->current_shift->overtime_hours > 0)
{{ number_format($employee->current_shift->overtime_hours, 1) }}h
Overtime
@endif
${{ number_format($employee->current_shift->total_pay, 2) }}
Today's Pay
@endif
@endforeach
@else

No Employees Found

No active employees found for clock management.

Add First Employee
@endif @if(session('success'))
✅ {{ session('success') }}
@endif @if(session('error'))
❌ {{ session('error') }}
@endif @endsection @push('scripts') @endpush