@if (in_array('leaves', $modules) && in_array('total_leaves_approved', $activeWidgets))
@endif @if (in_array('employees', $modules) && in_array('total_new_employee', $activeWidgets))
@endif @if (in_array('employees', $modules) && in_array('total_employee_exits', $activeWidgets))
@endif @if (in_array('attendance', $modules) && in_array('average_attendance', $activeWidgets))
@endif
@if (in_array('employees', $modules) && in_array('department_wise_employee', $activeWidgets))
@endif @if (in_array('employees', $modules) && in_array('designation_wise_employee', $activeWidgets))
@endif @if (in_array('employees', $modules) && in_array('gender_wise_employee', $activeWidgets))
@endif @if (in_array('employees', $modules) && in_array('role_wise_employee', $activeWidgets))
@endif @if (in_array('leaves', $modules) && in_array('leaves_taken', $activeWidgets))
@forelse ($leavesTaken as $item) {{ $item->employeeLeaveCount }} @empty @endforelse
@endif @if (in_array('birthday', $activeWidgets))
@forelse ($birthday as $totalBirthday) {{ $totalBirthday->employeeDetail->date_of_birth->format('d') }} {{ $totalBirthday->employeeDetail->date_of_birth->format('M') }} @empty @endforelse
@endif @if (in_array('attendance', $modules) && in_array('late_attendance_mark', $activeWidgets))
@forelse ($lateAttendanceMarks as $item) {{ $item->employeeLateCount }} @lang('app.view') @empty @endforelse
@endif