@extends('layouts.app') @section('header')
Sundays and holidays are skipped in both directions: nothing is posted on one, and the digest steps back over them to the last day people were in. So Monday reports Saturday, and the morning after a holiday reports the day before it. Holidays come from Keka.
The time is set in the scheduler, not here. The day boundary and timezone are this company's defaults, so the digest and the report agree on which 24 hours "yesterday" was — change them in Companies → Edit.
| Employee | Total Working | Total Active Hours | Idle/free Time |
|---|---|---|---|
| {{ $row['name'] }} @if (($row['leave'] ?? null) === \App\Models\KekaLeaveDay::FULL) (on leave) @elseif ($row['leave'] ?? null) (half day) @endif | {{ \App\Support\Duration::hhmmOrDash((int) $row['working_sec']) }} | {{ \App\Support\Duration::hhmmOrDash((int) $row['active_sec']) }} | {{ \App\Support\FreeTime::label((int) $row['free_sec']) }} |
| Total Active Hours: | {{ \App\Support\Duration::hhmmOrDash((int) $preview->sum('active_sec')) }} | Total Idle Hours: | {{ \App\Support\FreeTime::label((int) $preview->sum('free_sec')) }} |