@extends('template.template3') @section('css') @endsection @section('content-body')
Dashboard SDM
AKTIF

{{ $res['pegawai']['aktif'] }}

NON AKTIF

{{ $res['pegawai']['nonaktif'] }}

TOTAL PEGAWAI

{{ $res['pegawai']['aktif'] + $res['pegawai']['nonaktif'] }}

Jenis Pegawai
Jenis Kelamin
Unit Kerja
Kelompok Jabatan
Usia
Layanan Dokter
@php $sama = false; $resultSumDep = []; $array = App\Http\Controllers\MainController::getLaporanLayanan(request()->get("tglawal"),request()->get("tglakhir")); // dd($array); for ($i = 0; $i < count($array); $i++) { $sama = false; if (count($resultSumDep) > 0) { for ($x = 0; $x < count($resultSumDep); $x++) { if ($resultSumDep[$x]['dokter'] == $array[$i]->dokter) { $sama = true; $resultSumDep[$x]['count'] = (float) $resultSumDep[$x]['count'] + (float) $array[$i]->count; } } } if ($sama == false) { $resultSumDep[] = [ 'iddokter' => $array[$i]->iddokter, 'dokter' => $array[$i]->dokter, 'count' => $array[$i]->count, ]; } } @endphp
@forelse($resultSumDep as $i => $d) @empty @endforelse
NO DOKTER JUMLAH LAYANAN #
{{ $i + 1 }} {{ $d['dokter'] }} {{ $d['count'] }}
Data Tidak ada
Pendidikan
{{-- --}} @endsection @section('javascript') @endsection