Fix data retrieval and error handling in ProsesPenawaran

Enhanced data fetching to include 'permohonan' and 'debiture' relations. Improved error messaging and validations in multiple methods, ensuring more robust data processing. Removed unnecessary whitespace for code clarity.
This commit is contained in:
Daeng Deni Mardaeni
2024-11-04 16:53:16 +07:00
parent cd3b7301fc
commit e8ff13ce6a
2 changed files with 34 additions and 29 deletions

View File

@@ -135,8 +135,13 @@
debiture: {
title: 'Nama Debitur',
render: (item, data) => {
return `${data.debiture.name}`
if(data.permohonan) {
return `${data.permohonan.debiture.name}`;
}
return "-";
}
},
start_date: {
title: 'Tanggal Penawaran',