@extends('layouts.employee') @section('page-title', 'Dashboard') @section('page-subtitle', 'Overview of your conveyance activity') @section('content') @php $today = now()->format('d M Y'); @endphp {{-- Hero --}}

Welcome, {{ auth()->user()->name ?? 'Employee' }} 👋

Today is {{ $today }}. You are working in {{ $currentMonthLabel ?? 'Current Month' }} window ({{ $monthStart->format('d M') }} – {{ $monthEnd->format('d M Y') }}).

@if($activeSession)

Active Financial Session: {{ $activeSession->name }}

@endif
{{-- History Tags --}} @if(isset($historySummary) && $historySummary->isNotEmpty())
@foreach($historySummary as $summary)
{{ $summary['month_label'] }} | Submitted: ₹ {{ number_format($summary['total']) }}
@endforeach
@endif {{-- Stats row --}}
{{-- Submitted this month --}}
This Month (Submitted)
₹ {{ number_format($monthTotalSubmitted, 2) }}
Total conveyance amount you have submitted in {{ $currentMonthLabel }}.
{{-- Draft amount --}}
Draft Entries
₹ {{ number_format($monthTotalDraft, 2) }}
Amount saved as draft, not yet submitted for {{ $currentMonthLabel }}.
{{-- Claim window / placeholder --}}
Claim Window
{{ $monthStart->format('d M Y') }} – {{ $monthEnd->format('d M Y') }}
Entries allowed for this month, and editable till the 10th of next month.
{{-- Bottom section --}}

Quick Actions

Guidelines

@endsection