@extends('layouts.app') @section('title', 'Home') @section('content')

Welcome, {{ auth()->user()->name }}

{{ now()->format('l, M d, Y') }}

@csrf
@if($isClockedIn && $currentSite)

Currently Clocked In

{{ $currentSite->name }}

Since {{ $lastClockEvent->occurred_at->format('H:i') }}
{{ $currentSite->client->name ?? 'N/A' }}
@csrf
@else

Currently Clocked Out

Ready to start?

You must be within a site's geofence to clock in

@endif
@if($isClockedIn && $pendingInspections->count() > 0)

Pending Inspections

View All
@elseif($isClockedIn && $pendingInspections->count() === 0)

No pending inspections

All inspections for this site are complete

@endif

Quick Actions

@include('app.partials.bottom-nav') @push('scripts') @endpush @endsection