{{-- this plugin is used only in leaves create form --}} @php $addLeadAgentPermission = user()->permission('manage_leave_setting'); $approveRejectPermission = user()->permission('approve_or_reject_leaves'); @endphp

@lang('modules.leaves.assignLeave')

@if (isset($defaultAssign)) @else @foreach ($employees as $employee) @endforeach @endif
@if ($addLeadAgentPermission == 'all' || $addLeadAgentPermission == 'added') @endif
@if ($approveRejectPermission == 'all')
@endif

@lang('app.save') @lang('app.cancel')
{{-- this plugin is used only in leaves create form --}}