@endif
@if(isset($navbarFull))
@endif
@if(!isset($navbarHideToggle))
@endif
@if(!isset($menuHorizontal))
@endif
@if(isset($menuHorizontal))
-
@endif
{{-- @if(auth()->user()->hasRole('Employee')) --}}
-
@php
$today = \Carbon\Carbon::today()->toDateString();
$timeLog = \App\Models\TimeLog::where('user_id', auth()->id())
->where('date', $today)
->first();
$isCheckedIn = $timeLog && is_null($timeLog->check_out_time);
$hasCompletedToday = $timeLog && !is_null($timeLog->check_out_time);
$checkInTimeFormatted = $isCheckedIn ? \Carbon\Carbon::parse($timeLog->check_in_time)->toIso8601String() : null;
@endphp
@if($isCheckedIn)
@endif
{{-- @endif --}}
@if(!auth()->user()->hasRole('Employee'))
-
@endif
@if($configData['hasCustomizer'] == true)
-
@endif
@if(!auth()->user()->hasRole('Employee'))
-
-
@endif
-
@else
-
@endif
@if(!isset($navbarDetached))
@endif