@extends('admin.layouts.layouts') @section('title', 'View Monthly Leave Allocation') @section('content')
Monthly Leave Allocation - {{ $selectedYear }}
← Back
@foreach($leaveTypes as $leaveType) @endforeach @foreach($months as $month) @foreach($leaveTypes as $leaveType) @endforeach @endforeach
Month Total Leave{{ $leaveType->name }}
{{ $month }} {{ $monthlyData[$month]['month_total_leave'] ?? '' }}{{ $monthlyData[$month]['leave_types'][$leaveType->id] ?? 0 }}
@endsection