@forelse ($leaveTypes as $key=>$leaveType)
@lang('modules.leaves.leaveType') @lang('modules.leaves.noOfLeaves') @lang('modules.leaves.monthLimit') @lang('app.total') @lang('modules.leaves.leavesTaken') {{ isset($employeeLeavesQuota[$key]) ? $employeeLeavesQuota[$key]->no_of_leaves : 0 }} {{ ($leaveType->monthly_limit > 0) ? $leaveType->monthly_limit : '--' }} {{ (isset($leaveType->leavesCount[0])) ? $leaveType->leavesCount[0]->count - ($leaveType->leavesCount[0]->halfday*0.5) : '0' }}
@empty @endforelse