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