@php use App\Services\Reports\TimesheetService; use App\Support\DisplayTimezone; use App\Support\ReportingDay; $tz = DisplayTimezone::current(); $dayMode = ReportingDay::current(); @endphp {{-- Timezone and day boundary in ONE control. Two stacked dropdowns beside the company switcher put three two-line labels in a row and crowded the bar. They are one question anyway — how this admin wants the data read — so they share a button that states the answer compactly ("IST · Day") and opens onto both choices. --}} @if (DisplayTimezone::needsDetecting()) {{-- users.timezone was empty for everyone, so the browser is asked once and the answer is written to the column — every later session reads it back with no script and no reload. Reloads only if the guess differs from what this page already rendered. --}} @endif