@if ($hasLeaveQuotas)
@lang('modules.leaves.leaveType') @lang('modules.leaves.noOfLeaves') @lang('modules.leaves.monthLimit') @lang('app.totalLeavesTaken') @lang('modules.leaves.remainingLeaves') @foreach ($employeeLeavesQuotas as $key => $leavesQuota) @if($leavesQuota->leaveType->leaveTypeCondition($leavesQuota->leaveType, $employee)) {{ $leavesQuota?->no_of_leaves ?: 0 }} {{ ($leavesQuota->leaveType->monthly_limit > 0) ? $leavesQuota->leaveType->monthly_limit : '--' }} {{ $leavesQuota->leaves_used }} {{ $leavesQuota->leaves_remaining }} @endif @endforeach
@endif @if (!$hasLeaveQuotas) @endif