@php $addLeadAgentPermission = user()->permission('manage_leave_setting'); $approveRejectPermission = user()->permission('approve_or_reject_leaves'); @endphp

@lang('app.edit') @lang('app.menu.leaves')

@if (isset($defaultAssign)) @else @foreach ($employees as $employee) @endforeach @endif
@if ($addLeadAgentPermission == 'all' || $addLeadAgentPermission == 'added') @endif
@if ($approveRejectPermission == 'all')
@endif
@if ($leave->status == 'rejected')
@endif
@lang('app.save') @lang('app.cancel')