Details of {{$status}} {{$type}}

@if($status == 'Absent') @endif @if($status == 'Deputation') @endif @if($status == 'Hold') @endif @if($status == 'Leave') @endif @if($status == 'On Roll') @endif @if($status == 'Suspended') @endif @php $currentDepartment = null; $rowCount = 0; @endphp @foreach($emp_data as $list) @if($currentDepartment != $list->department_name) @php $currentDepartment = $list->department_name; $rowCount = $list->dept_count; @endphp {{-- {{$rowCount}}--}} {{-- --}} @if($status == 'Absent') @endif @if($status == 'Deputation') @endif @if($status == 'Hold') @endif @if($status == 'Leave') @endif @if($status == 'On Roll') @endif @if($status == 'Suspended') @endif @else @if($status == 'Absent') @endif @if($status == 'Deputation') @endif @if($status == 'Hold') @endif @if($status == 'Leave') @endif @if($status == 'On Roll') @endif @if($status == 'Suspended') @endif @endif @endforeach
Sl Department Employee DesignationAbsent Start Date Total DaysStart Date Total DaysStart Date Total DaysLeave Type Start Date End Date Total DaysJoining Date LPR Date Service PeriodStart Date Total Days
{{ $loop->iteration }} {{ $list->department_name }}{{ $currentDepartment }}{{ $list->employee_name }} {{ $list->designation }}{{ isset($list->absent_st_date) ? date('d-m-Y',strtotime($list->absent_st_date)) : ''}} {{ $list->absent_total_days }}{{ isset($list->emp_join_date) ? date('d-m-Y',strtotime($list->emp_join_date)) : '' }} {{ $list->depu_total_days }}{{ isset($list->hold_start_date) ? date('d-m-Y',strtotime($list->hold_start_date)) : '' }} {{ $list->hold_total_days }}{{ $list->leave_type }} {{ isset($list->leave_start_date) ? date('d-m-Y',strtotime($list->leave_start_date)) : '' }} {{ isset($list->leave_start_date) ? date('d-m-Y',strtotime($list->leave_end_date)) : '' }} {{ $list->leave_total_days }}{{ isset($list->emp_join_date) ? date('d-m-Y',strtotime($list->emp_join_date)) : '' }} {{ isset($list->emp_lpr_date) ? date('d-m-Y',strtotime($list->emp_lpr_date)) : '' }} {{ $list->service_period }}{{ isset($list->suspended_start_date) ? date('d-m-Y',strtotime($list->suspended_start_date)) : '' }} {{ $list->suspended_total_days }}
{{ $loop->iteration }} {{ $list->department_name }} {{ $list->employee_name }} {{ $list->designation }}{{ isset($list->absent_st_date) ? date('d-m-Y',strtotime($list->absent_st_date)) : ''}} {{ $list->absent_total_days }}{{ isset($list->emp_join_date) ? date('d-m-Y',strtotime($list->emp_join_date)) : '' }} {{ $list->depu_total_days }}{{ isset($list->hold_start_date) ? date('d-m-Y',strtotime($list->hold_start_date)) : '' }} {{ $list->hold_total_days }}{{ $list->leave_type }} {{ isset($list->leave_start_date) ? date('d-m-Y',strtotime($list->leave_start_date)) : '' }} {{ isset($list->leave_start_date) ? date('d-m-Y',strtotime($list->leave_end_date)) : '' }} {{ $list->leave_total_days }}{{ isset($list->emp_join_date) ? date('d-m-Y',strtotime($list->emp_join_date)) : '' }} {{ isset($list->emp_lpr_date) ? date('d-m-Y',strtotime($list->emp_lpr_date)) : '' }} {{ $list->service_period }}{{ isset($list->suspended_start_date) ? date('d-m-Y',strtotime($list->suspended_start_date)) : '' }} {{ $list->suspended_total_days }}