- Menambahkan border dan background pada elemen card dengan class `border-agi-100` dan `bg-agi-50`.
- Perubahan berlaku di berbagai file blade untuk meningkatkan konsistensi UI.
- Mengubah `data-datatable-page-size` dari 5 menjadi 10 di berbagai file Blade.
- Perubahan ini bertujuan untuk menampilkan lebih banyak data di setiap halaman tabel untuk meningkatkan pengalaman pengguna.
- Mengubah cara pengolahan data JSON di `KJPPController` untuk menghindari kesalahan pada struktur data.
- Menyesuaikan akses properti JSON di `show.blade.php` agar lebih sesuai dengan data yang diterima.
- Memastikan data ditampilkan secara konsisten dan mencegah error runtime.
This commit addresses the issue where an empty jenis_aset_id array would cause an error in the KJPP data display. It adds a check to ensure the array is not empty before iterating through it, and displays a "-" message if the array is empty.
The changes made are:
1. Added a check for !empty(json_decode($kjpp->jenis_aset_id, true)) inside the @if condition.
2. This ensures that the array is not empty before attempting to loop through it.
3. If the array is empty, a "-" message is displayed instead.
This fix ensures a more robust and user-friendly display of the KJPP data, handling both populated and empty jenis_aset_id arrays gracefully.
This commit addresses the issue where an empty jenis_aset_id array would cause an error in the KJPP data display. It adds a check to ensure the array is not empty before iterating through it, and displays a "-" message if the array is empty.
The changes made are:
1. Added a check for !empty(json_decode($kjpp->jenis_aset_id, true)) inside the @if condition.
2. This ensures that the array is not empty before attempting to loop through it.
3. If the array is empty, a "-" message is displayed instead.
This fix ensures a more robust and user-friendly display of the KJPP data, handling both populated and empty jenis_aset_id arrays gracefully.