@php $updateLeaveQuotaPermission = user()->permission('update_leaves_quota'); @endphp
@if ($updateLeaveQuotaPermission == 'all')
@lang('modules.leaves.leaveType') @lang('modules.leaves.noOfLeaves') @lang('app.action') @foreach ($employeeLeavesQuotas as $key => $leavesQuota) @if($leavesQuota->leaveType->leaveTypeCondition($leavesQuota->leaveType, $employee)) @endif @endforeach @if (!$hasLeaveQuotas) @endif
@lang('app.cancel')
@endif
@include('employees.leaves_quota')