@extends('layouts.main') @section('breadcrumb') @endsection @section('content')
Informasi Pegawai
NIP : {{ $pegawai->nip }}
Nama : {{ $pegawai->nama }}
Unit Kerja : {{ $pegawai->unit_kerja_nama }}
@if (count($data) > 0)
@foreach ($data as $index => $item) @endforeach @php $totalBebanSks = collect($data)->sum('limit_beban_sks'); $totalPoin392 = collect($data)->sum('poin_p2_392'); $totalPoin395 = collect($data)->sum('poin_p2_395'); $totalHarga392 = collect($data)->sum('harga_jabatan_392'); $totalHarga395 = collect($data)->sum('harga_jabatan_395'); $totalSelisih = $totalHarga395 - $totalHarga392; @endphp
No ID Kelas Kode Matkul Nama Matkul Program Jml Mhs Beban SKS Perh. Per Kelas Perh. Per Mhs Harga Perh. Per Kelas Harga Perh. Per Mhs Selisih Harga
{{ $index + 1 }} {{ $item['id_kelas'] ?? '-' }} {{ $item['kode_matkul'] ?? '-' }} {{ $item['nama_matkul'] ?? '-' }} {{ $item['program'] ?? '-' }} {{ $item['jml_mhs'] ?? '-' }} {{ $item['limit_beban_sks'] ?? '-' }} {{ number_format($item['poin_p2_392'] ?? 0, 2, ',', '.') }} {{ number_format($item['poin_p2_395'] ?? 0, 2, ',', '.') }} Rp {{ number_format($item['harga_jabatan_392'] ?? 0, 0, ',', '.') }} Rp {{ number_format($item['harga_jabatan_395'] ?? 0, 0, ',', '.') }} @php $selisih = ($item['harga_jabatan_395'] ?? 0) - ($item['harga_jabatan_392'] ?? 0); @endphp Rp {{ number_format($selisih, 0, ',', '.') }}
TOTAL{{ number_format($totalBebanSks, 2, ',', '.') }} {{ number_format($totalPoin392, 2, ',', '.') }} {{ number_format($totalPoin395, 2, ',', '.') }} Rp {{ number_format($totalHarga392, 0, ',', '.') }} Rp {{ number_format($totalHarga395, 0, ',', '.') }} Rp {{ number_format($totalSelisih, 0, ',', '.') }}
@else
Tidak Ada Data

Tidak ditemukan data mengajar untuk pegawai ini.

@endif
@endsection @section('js') @endsection