From 915dc67e1ce31eab1f2415cc8df95cebb75a137d Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Fri, 13 Dec 2024 14:18:03 +0700 Subject: update pengajuan tempo request --- src/lib/pengajuan-tempo/component/Referensi.jsx | 64 ++++++++++++++----------- 1 file changed, 37 insertions(+), 27 deletions(-) (limited to 'src/lib/pengajuan-tempo/component/Referensi.jsx') diff --git a/src/lib/pengajuan-tempo/component/Referensi.jsx b/src/lib/pengajuan-tempo/component/Referensi.jsx index 1b7b0f4c..9e154166 100644 --- a/src/lib/pengajuan-tempo/component/Referensi.jsx +++ b/src/lib/pengajuan-tempo/component/Referensi.jsx @@ -111,6 +111,7 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => { ); setSupplierData(updatedSuppliers); setChangeConfirmation(false); + updateHasSave(false); } }; @@ -207,7 +208,7 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => { setChangeConfirmation(false)} - title='Ubah profil Bisnis' + title='Konfirmasi Hapus Data' >
Apakah anda yakin menghapus data? @@ -297,7 +298,7 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => { placeholder='Type Durasi Tempo' /> - + {
- - - - *Klik simpan sebelum lanjut ke tahap selanjutnya - + */} + {!hasSavedata && ( + <> + + + *Klik simpan sebelum lanjut ke tahap selanjutnya + + + )}
)} @@ -424,7 +427,12 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => { {supplier.supplier}

- + handleOpenConfirmation(index)} + className='cursor-pointer' + /> {openIndexes.includes(index) ? ( ) : ( @@ -590,17 +598,19 @@ const Referensi = ({ chekValid, buttonSubmitClick, data }) => {
- - *Klik simpan sebelum lanjut ke tahap selanjutnya - - + {!hasSavedata && ( + <> + + *Klik simpan sebelum lanjut ke tahap selanjutnya + + + + )}
)} -- cgit v1.2.3