diff --git a/app/Http/Controllers/Perhitungan/Remunerasi/P1Controller.php b/app/Http/Controllers/Perhitungan/Remunerasi/P1Controller.php index 4d859c7d..a1fa6f2e 100644 --- a/app/Http/Controllers/Perhitungan/Remunerasi/P1Controller.php +++ b/app/Http/Controllers/Perhitungan/Remunerasi/P1Controller.php @@ -280,6 +280,14 @@ class P1Controller extends Controller 'selisih_bruto' => $currentBruto - $previousBruto, 'selisih_pajak' => $currentPajak - $previousPajak, 'selisih_netto' => $currentNetto - $previousNetto, + 'bulan_lalu_jafung' => $previousRow?->nama_jabatan_fungsional ?? '-', + 'bulan_terpilih_jafung' => $currentRow?->nama_jabatan_fungsional ?? '-', + 'bulan_lalu_jtt' => $previousRow?->nama_jabatan_tugas_tambahan ?: '-', + 'bulan_terpilih_jtt' => $currentRow?->nama_jabatan_tugas_tambahan ?: '-', + 'bulan_lalu_status_pegawai' => $previousRow?->jenis_pegawai ?? '-', + 'bulan_terpilih_status_pegawai' => $currentRow?->jenis_pegawai ?? '-', + 'bulan_lalu_golongan' => $previousRow?->golongan ?? '-', + 'bulan_terpilih_golongan' => $currentRow?->golongan ?? '-', ]), ]; })->filter(function ($row) use ($arah) { diff --git a/resources/views/manajemen/limit/mengajar/index.blade.php b/resources/views/manajemen/limit/mengajar/index.blade.php index e704a7d0..e0331753 100644 --- a/resources/views/manajemen/limit/mengajar/index.blade.php +++ b/resources/views/manajemen/limit/mengajar/index.blade.php @@ -1,14 +1,22 @@ @extends('layouts.main') @section('css') -@endsection - -@section('style') @endsection @@ -30,7 +38,7 @@ 'description' => 'Berikut adalah daftar limit mengajar untuk setiap Unit Kerja', ])
- +
diff --git a/resources/views/manajemen/limit/mengajar/show.blade.php b/resources/views/manajemen/limit/mengajar/show.blade.php index 83647a09..e5cfbeef 100644 --- a/resources/views/manajemen/limit/mengajar/show.blade.php +++ b/resources/views/manajemen/limit/mengajar/show.blade.php @@ -1,14 +1,22 @@ @extends('layouts.main') @section('css') -@endsection - -@section('style') @endsection @@ -45,7 +53,7 @@
-
No
+
diff --git a/resources/views/manajemen/limit/penunjang/index.blade.php b/resources/views/manajemen/limit/penunjang/index.blade.php index f02d17cf..46d4e609 100644 --- a/resources/views/manajemen/limit/penunjang/index.blade.php +++ b/resources/views/manajemen/limit/penunjang/index.blade.php @@ -1,5 +1,20 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
diff --git a/resources/views/manajemen/periode/index.blade.php b/resources/views/manajemen/periode/index.blade.php index b6c7e6ef..053ce48d 100644 --- a/resources/views/manajemen/periode/index.blade.php +++ b/resources/views/manajemen/periode/index.blade.php @@ -1,5 +1,24 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
diff --git a/resources/views/manajemen/permission/index.blade.php b/resources/views/manajemen/permission/index.blade.php index 5589acc8..cb9b4ef0 100644 --- a/resources/views/manajemen/permission/index.blade.php +++ b/resources/views/manajemen/permission/index.blade.php @@ -1,5 +1,24 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
@@ -311,4 +330,4 @@ } } -@endsection \ No newline at end of file +@endsection diff --git a/resources/views/manajemen/rubrik/daftar-list/index.blade.php b/resources/views/manajemen/rubrik/daftar-list/index.blade.php index d0797085..b0e99c1d 100644 --- a/resources/views/manajemen/rubrik/daftar-list/index.blade.php +++ b/resources/views/manajemen/rubrik/daftar-list/index.blade.php @@ -1,5 +1,12 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
diff --git a/resources/views/manajemen/rubrik/kategori/index.blade.php b/resources/views/manajemen/rubrik/kategori/index.blade.php index 770cdaed..10b7ad60 100644 --- a/resources/views/manajemen/rubrik/kategori/index.blade.php +++ b/resources/views/manajemen/rubrik/kategori/index.blade.php @@ -1,5 +1,22 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
ID Rubrik
+
diff --git a/resources/views/manajemen/rubrik/syarat/index.blade.php b/resources/views/manajemen/rubrik/syarat/index.blade.php index 535cc2b1..f532b540 100644 --- a/resources/views/manajemen/rubrik/syarat/index.blade.php +++ b/resources/views/manajemen/rubrik/syarat/index.blade.php @@ -1,5 +1,12 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
diff --git a/resources/views/manajemen/team/detail.blade.php b/resources/views/manajemen/team/detail.blade.php index a734354a..72fe1071 100644 --- a/resources/views/manajemen/team/detail.blade.php +++ b/resources/views/manajemen/team/detail.blade.php @@ -1,5 +1,20 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
diff --git a/resources/views/manajemen/team/index.blade.php b/resources/views/manajemen/team/index.blade.php index ea6e6bec..6a5593ce 100644 --- a/resources/views/manajemen/team/index.blade.php +++ b/resources/views/manajemen/team/index.blade.php @@ -1,5 +1,20 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
NIP
+
diff --git a/resources/views/manajemen/user/index.blade.php b/resources/views/manajemen/user/index.blade.php index 75a7118d..c8516c2b 100644 --- a/resources/views/manajemen/user/index.blade.php +++ b/resources/views/manajemen/user/index.blade.php @@ -1,5 +1,20 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No.
+
diff --git a/resources/views/perhitungan/pagu/index.blade.php b/resources/views/perhitungan/pagu/index.blade.php index 1f3473ef..09a3a91a 100644 --- a/resources/views/perhitungan/pagu/index.blade.php +++ b/resources/views/perhitungan/pagu/index.blade.php @@ -1,5 +1,20 @@ @extends('layouts.main') +@section('css') + +@endsection + @section('breadcrumb')
No
+
diff --git a/resources/views/perhitungan/remunerasi/p1/index.blade.php b/resources/views/perhitungan/remunerasi/p1/index.blade.php index cbdbb963..6f7c2ec2 100644 --- a/resources/views/perhitungan/remunerasi/p1/index.blade.php +++ b/resources/views/perhitungan/remunerasi/p1/index.blade.php @@ -68,6 +68,57 @@ color: #fff !important; } + #detailPerbandinganP1Modal #detail-perbandingan-identitas-bulan-lalu { + background-color: var(--ct-danger) !important; + color: #fff !important; + } + + #detailPerbandinganP1Modal #detail-perbandingan-identitas-bulan-terpilih { + background-color: var(--ct-primary) !important; + color: #fff !important; + } + + #detailPerbandinganP1Modal #detail-perbandingan-identitas-keterangan { + background-color: var(--ct-dark) !important; + color: #fff !important; + } + + #detailPerbandinganP1Modal .table { + table-layout: fixed; + } + + #detailPerbandinganP1Modal .identity-comparison-table th, + #detailPerbandinganP1Modal .identity-comparison-table td { + vertical-align: middle; + overflow-wrap: anywhere; + word-break: break-word; + white-space: normal; + } + + #detailPerbandinganP1Modal td > div.d-flex { + text-align: right; + } + + #detailPerbandinganP1Modal .nominal-cell { + font-family: 'Courier New', 'Courier', monospace; + font-size: 0.9375rem; + } + + #detailPerbandinganP1Modal .nominal-cell.bg-tosca { + background-color: #b2f2e5 !important; + font-weight: 600; + border-radius: 4px; + } + + #detailPerbandinganP1Modal td.bg-tosca { + background-color: #b2f2e5 !important; + font-weight: 600; + } + + #detailPerbandinganP1Modal td > div.d-flex span:last-child { + flex: 1; + } + #p1 .nominal-diff { color: #7c3aed !important; font-weight: 600; @@ -285,7 +336,7 @@
Unit Kerja
Jenis Pegawai-
+
Perbandingan Identitas
+
+ + + + + + + + + + + + + + + + + + + + + +
KategoriBulan LaluBulan IniKeterangan
Jabatan Fungsional---
Jabatan Tugas Tambahan---
Status Pegawai---
Golongan---
+
Perbandingan Pembayaran
+ + + + + + @@ -663,11 +745,57 @@ $('#detail-perbandingan-jenis').text(row.jenis_pegawai || '-'); $('#detail-perbandingan-bulan-lalu').text(detail.bulan_lalu || 'Bulan Lalu'); $('#detail-perbandingan-bulan-terpilih').text(detail.bulan_terpilih || 'Bulan Ini'); + $('#detail-perbandingan-identitas-bulan-lalu').text(detail.bulan_lalu || 'Bulan Lalu'); + $('#detail-perbandingan-identitas-bulan-terpilih').text(detail.bulan_terpilih || 'Bulan Ini'); ['bruto', 'pajak', 'netto'].forEach(function(field) { - $('#detail-perbandingan-lalu-' + field).text(formatRupiahValue(detail['bulan_lalu_' + field])); - $('#detail-perbandingan-terpilih-' + field).text(formatRupiahValue(detail['bulan_terpilih_' + field])); - $('#detail-perbandingan-selisih-' + field).text(formatRupiahValue(detail['selisih_' + field])); + var laluValue = detail['bulan_lalu_' + field]; + var terpilihValue = detail['bulan_terpilih_' + field]; + var selisihValue = detail['selisih_' + field]; + + var laluFormatted = formatRupiahValue(laluValue); + var terpilihFormatted = formatRupiahValue(terpilihValue); + var selisihFormatted = formatRupiahValue(selisihValue); + + var laluParts = laluFormatted.split(' '); + var laluNumber = laluParts.slice(1).join(' '); + var laluHtml = '
Rp.' + laluNumber + '
'; + + var terpilihParts = terpilihFormatted.split(' '); + var terpilihNumber = terpilihParts.slice(1).join(' '); + var hasChange = Math.abs(selisihValue) > 0.01; + var terpilihHtml = '
Rp.' + terpilihNumber + '
'; + + var selisihParts = selisihFormatted.split(' '); + var selisihNumber = selisihParts.slice(1).join(' '); + var selisihHtml = '
Rp.' + selisihNumber + '
'; + + var terpilihCell = $('#detail-perbandingan-terpilih-' + field); + terpilihCell.html(terpilihHtml); + if (hasChange) { + terpilihCell.addClass('bg-tosca'); + } else { + terpilihCell.removeClass('bg-tosca'); + } + + $('#detail-perbandingan-lalu-' + field).html(laluHtml); + $('#detail-perbandingan-selisih-' + field).html(selisihHtml); + }); + + ['jafung', 'jtt', 'status_pegawai', 'golongan'].forEach(function(field) { + var laluValue = detail['bulan_lalu_' + field] || '-'; + var terpilihValue = detail['bulan_terpilih_' + field] || '-'; + var hasChange = laluValue !== terpilihValue; + + $('#detail-perbandingan-lalu-' + field).text(laluValue); + var terpilihCell = $('#detail-perbandingan-terpilih-' + field); + terpilihCell.text(terpilihValue); + if (hasChange) { + terpilihCell.addClass('bg-tosca'); + } else { + terpilihCell.removeClass('bg-tosca'); + } + $('#detail-perbandingan-keterangan-' + field).text('-'); }); new bootstrap.Modal(document.getElementById('detailPerbandinganP1Modal')).show();
Komponen