@extends('layouts.app') @section('title', 'Leave Reports') @section('header', 'Leave Reports') @section('subheader', 'Balances and request summary for ' . $year) @section('header-actions') Requests @endsection @section('content')
| Employee | Leave Type | Allocated | Used | Remaining |
|---|---|---|---|---|
| {{ $balance->employee?->full_name ?? '—' }} | @endif{{ $balance->leaveType?->name ?? '—' }} | {{ rtrim(rtrim(number_format((float) $balance->allocated, 1), '0'), '.') }} | {{ rtrim(rtrim(number_format((float) $balance->used, 1), '0'), '.') }} | {{ rtrim(rtrim(number_format($balance->remaining, 1), '0'), '.') }} |
| No balances for {{ $year }}. | ||||