diff --git a/resources/views/permohonan/index.blade.php b/resources/views/permohonan/index.blade.php
index 767ba7b..aebf7f7 100644
--- a/resources/views/permohonan/index.blade.php
+++ b/resources/views/permohonan/index.blade.php
@@ -157,7 +157,7 @@
title: 'Debitur',
render: (item, data) => {
if (data.debiture) {
- return `${data.debiture.name.toUpperCase()}`;
+ return `${data.debiture?.name.toUpperCase()}`;
}
return "-";
},
@@ -210,7 +210,7 @@
${data.id},
${data.penilaian.id},
'${data.nomor_registrasi}',
- '${data.debiture.name}',
+ '${data.debiture?.name}',
'${data.penilaian.waktu_penilaian}',
${JSON.stringify(data.penilaian.rejected_note)}
)" class="delete btn btn-sm btn-outline btn-light" title="Reschedule Jadwal Survey">
@@ -221,7 +221,7 @@
if (data && data.penilaian && data.penilaian.waktu_penilaian !== null && data.status !==
'done' && data.penilaian.authorized_status == null || data.status === 'approved-reschedule') {
actionHtml += `
-
+
`;
@@ -241,7 +241,7 @@
`;
if (data.status !== 'batal') {
actionHtml += `
-
+
`;