@extends('layouts.member-app') @section('page-title')

{{ __($pageTitle) }}

@lang('modules.leaves.applyLeave')
@endsection @push('head-script') @endpush @section('content')
@if($user->cans('view_leave'))
@endif
    @forelse($leaveTypes as $key=>$leaveType) @if (isset($employeeLeavesQuota[$key]) && $employeeLeavesQuota[$key]->no_of_leaves > 0)
  • {{ ucfirst($leaveType->type_name) }} {{ (isset($leaveType->leavesCount[0])) ? $leaveType->leavesCount[0]->count : '0' }}
  • @endif @empty
  • @lang('messages.noRecordFound')
  • @endforelse
{{ count($leaves) }}/{{ $allowedLeaves }}
@lang('modules.leaves.leavesTaken') : {{ $leavesCount }}/{{ $allowedLeaves }}
@lang('modules.leaves.pendingLeaves')
    @forelse($pendingLeaves as $key=>$pendingLeave)
  • {{ ($key+1) }}. {{ ucwords($pendingLeave->user->name) }} for {{ $pendingLeave->leave_date->format($global->date_format) }}
    @lang('app.cancel')
  • @empty @lang('messages.noPendingLeaves') @endforelse

@lang('app.menu.leaves')

@lang('app.id') @lang('modules.leaves.leaveType') @lang('app.date') @lang('app.status') @lang('app.action')
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script')