@php $updateLeaveQuotaPermission = user()->permission('update_leaves_quota'); @endphp
@if ($updateLeaveQuotaPermission == 'all')
@lang('modules.leaves.leaveType') @lang('modules.leaves.noOfLeaves') @lang('app.action') @forelse($leaveTypes as $key => $leave) @if($leave->leaveTypeCodition($leave, $userRole)) @endif @empty @endforelse
@lang('app.cancel')
@endif
@include('employees.leaves_quota')