@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))
@if(!empty(json_decode($departmentWiseEmployee)))
@else
@lang('messages.noDepartmentWiseEmployee')
@endif
@endif
@if(in_array('employees',$modules) && in_array('designation_wise_employee',$activeWidgets))
@if(!empty(json_decode($designationWiseEmployee)))
@else
@lang('messages.noDesignationWiseEmployee')
@endif
@endif
@if(in_array('employees',$modules) && in_array('gender_wise_employee',$activeWidgets))
@if(!empty(json_decode($genderWiseEmployee)))
@else
@lang('messages.noGenderWiseEmployee')
@endif
@endif
@if(in_array('employees',$modules) && in_array('role_wise_employee',$activeWidgets))
@if(!empty(json_decode($roleWiseEmployee)))
@else
@lang('messages.noRoleWiseEmployee')
@endif
@endif
@if(in_array('leaves',$modules) && in_array('leaves_taken',$activeWidgets))
@lang('modules.dashboard.leavesTaken')
@lang('app.employee') |
@lang('modules.dashboard.leavesTaken') |
@forelse($leavesTakens as $leavesTaken)
@php
$image = ($leavesTaken->image) ? ' ' : ' ';
@endphp
|
|
@empty
@lang("messages.noEmployeeTakeLeaves")
|
@endforelse
@endif
@if(in_array('attendance',$modules) && in_array('late_attendance_mark',$activeWidgets))
@lang('modules.dashboard.lateAttendanceMark')
@lang('app.employee') |
@lang('modules.dashboard.lateMark') |
@forelse($lateAttendanceMarks as $lateAttendanceMark)
@php
$image = ($lateAttendanceMark->image) ? ' ' : ' ';
@endphp
|
|
@empty
@lang("messages.noLateAttendanceMark")
|
@endforelse
@endif