@extends('layouts.app') @section('title', 'Employee Login & Activity Report') @section('breadcrumb') Reports / Employee Login & Activity Report @endsection @section('content')
Date-wise employee login/logout times with tasks worked between sessions
| Job | Client | Task | Started | Ended | Hours | Rate | Amount | Status |
|---|---|---|---|---|---|---|---|---|
| {{ $task['job_number'] }} | {{ $task['client'] }} | {{ $task['task_name'] }} | {{ $task['started_at']?->format('h:i A') ?? '—' }} | {{ $task['stopped_at']?->format('h:i A') ?? ($task['status'] === 'running' ? 'Still Running' : '—') }} | {{ number_format($task['hours'], 2) }}h | ${{ number_format($task['rate'], 2) }}/h | ${{ number_format($task['amount'], 2) }} | @php $statusBadge = match($task['status']) { 'completed' => 'badge-green', 'paused' => 'badge-yellow', 'running' => 'badge-blue', default => 'badge-gray', }; @endphp {{ ucfirst($task['status']) }} |
| Session Total | {{ number_format($row['total_hours'], 2) }}h | ${{ number_format($row['total_amount'], 2) }} | ||||||
No login sessions found
Try adjusting the date range or employee filter.