@if (in_array('leaves', user_modules()) && in_array('total_leaves_approved', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('total_new_employee', $activeWidgets))
@lang('app.menu.employees')
@endif
@if (in_array('employees', user_modules()) && in_array('total_employee_exits', $activeWidgets))
@endif
@if (in_array('attendance', user_modules()) && in_array('total_today_attendance', $activeWidgets))
@endif
@if (in_array('attendance', user_modules()) && in_array('average_attendance', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('department_wise_employee', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('designation_wise_employee', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('gender_wise_employee', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('role_wise_employee', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('headcount', $activeWidgets))
@endif
@if (in_array('employees', user_modules()) && in_array('joining_vs_attrition', $activeWidgets))
@endif
@if (in_array('leaves', user_modules()) && in_array('leaves_taken', $activeWidgets))
@forelse ($leavesTaken as $item)
|
{{ $item->employeeLeaveCount }} |
@empty
|
@endforelse
@endif
@if (in_array('birthday', $activeWidgets))
@forelse ($birthdays as $birthday)
|
{{ $birthday->date_of_birth->translatedFormat('d') }} {{ $birthday->date_of_birth->translatedFormat('M') }} |
@empty
|
@endforelse
@endif
@if (in_array('attendance', user_modules()) && in_array('late_attendance_mark', $activeWidgets))
@forelse ($lateAttendanceMarks as $item)
|
{{ $item->employeeLateCount }} |
@lang('app.view')
|
@empty
|
@endforelse
@endif