@foreach($departments as $department)
@endforeach
| No. |
Name |
Grade |
Unit |
Action |
@php $counter = 1; @endphp
@foreach($departments as $department)
@php $hasEmployee = false; @endphp
@foreach($employees as $employee)
@if ($employee->employee_department_id == $department->department_id)
@php $hasEmployee = true; @endphp
| {{ $counter++ }} |
{{ $employee->employee_first_name }} |
{{ $employee->grade_code }} , {{ $employee->grade_name }} |
{{ $employee->unit_name }} |
Edit
View
|
@endif
@endforeach
@if (!$hasEmployee)
| No Data |
@endif
@endforeach
@foreach($departments as $department)
@endforeach
| No. |
Name |
Grade |
Unit |
Action |
@php $counter = 1; @endphp
@foreach($departments as $department)
@php $hasEmployee = false; @endphp
@foreach($employeescontract as $employee)
@if ($employee->employee_department_id == $department->department_id)
@php $hasEmployee = true; @endphp
| {{ $counter++ }} |
{{ $employee->employee_first_name }} |
{{ $employee->grade_code }} , {{ $employee->grade_name }} |
{{ $employee->unit_name }} |
Edit
View
|
@endif
@endforeach
@if (!$hasEmployee)
| No Data |
@endif
@endforeach
@foreach($departments as $department)
@endforeach
| No. |
Name |
Grade |
Unit |
Action |
@php $counter = 1; @endphp
@foreach($departments as $department)
@php $hasEmployee = false; @endphp
@foreach($employeestrainee as $employee)
@if ($employee->employee_department_id == $department->department_id)
@php $hasEmployee = true; @endphp
| {{ $counter++ }} |
{{ $employee->employee_first_name }} |
{{ $employee->grade_code }} , {{ $employee->grade_name }} |
{{ $employee->unit_name }} |
Edit
View
|
@endif
@endforeach
@if (!$hasEmployee)
| No Data |
@endif
@endforeach
@foreach($departments as $department)
@endforeach
| No. |
Name |
Grade |
Unit |
Action |
@php $counter = 1; @endphp
@foreach($departments as $department)
@php $hasEmployee = false; @endphp
@foreach($unemployed as $employee)
@if ($employee->employee_department_id == $department->department_id)
@php $hasEmployee = true; @endphp
| {{ $counter++ }} |
{{ $employee->employee_first_name }} |
{{ $employee->grade_code }} , {{ $employee->grade_name }} |
{{ $employee->unit_name }} |
Edit
View
|
@endif
@endforeach
@if (!$hasEmployee)
| No Data |
@endif
@endforeach