From 654fbb128ab331c3272d6e8733dda1b5b71f4253 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Mon, 25 Nov 2024 10:05:02 +0700
Subject: <iman> update pengajuan tempo

---
 src/lib/pengajuan-tempo/component/PengajuanTempo.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/pengajuan-tempo/component/PengajuanTempo.jsx')

diff --git a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
index fc558b01..952c4244 100644
--- a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
+++ b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx
@@ -343,7 +343,7 @@ const PengajuanTempo = () => {
       const address = await createPengajuanTempoApi({
         id: idTempo,
         user_id: auth.parentId,
-        formDocs: JSON.stringify(productOrder),
+        formSupplier: JSON.stringify(productOrder),
       });
       if (address.id) {
         setIdTempo(address.id);
@@ -530,7 +530,7 @@ const PengajuanTempo = () => {
             <Button
               colorScheme='red'
               w={`${isMobile ? 'full' : 'fit'}`}
-              onClick={handleDaftarTempo()}
+              onClick={handleDaftarTempo}
             >
               Daftar Tempo {<ChevronRightIcon className='w-5' />}
             </Button>
-- 
cgit v1.2.3

