diff options
Diffstat (limited to 'src/lib/pengajuan-tempo/component/FinishTempo.jsx')
| -rw-r--r-- | src/lib/pengajuan-tempo/component/FinishTempo.jsx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/lib/pengajuan-tempo/component/FinishTempo.jsx b/src/lib/pengajuan-tempo/component/FinishTempo.jsx index ba28ab2a..933ede62 100644 --- a/src/lib/pengajuan-tempo/component/FinishTempo.jsx +++ b/src/lib/pengajuan-tempo/component/FinishTempo.jsx @@ -14,6 +14,7 @@ const FinishTempo = ({ query }) => { const [transactionData, setTransactionData] = useState(); const { isDesktop, isMobile } = useDevice(); const auth = useAuth(); + console.log('auth', auth); const so_order = query?.order_id?.replaceAll('-', '/'); useEffect(() => { const fetchData = async () => { @@ -62,6 +63,7 @@ const FinishTempo = ({ query }) => { 'Form Pengajuan Tempo Kamu Gagal Dilakukan'} {query?.status == 'review' && 'Pengajuan Tempo dalam Proses Verifikasi'} + {query?.status == 'approve' && 'Pengajuan Tempo Berhasil'} </h1> </div> {query?.status == 'finish' && ( @@ -88,6 +90,14 @@ const FinishTempo = ({ query }) => { height={isMobile ? 300 : 550} /> )} + {query?.status == 'approve' && ( + <Image + src='/images/ICON-WEBSITE-TELAH-MENDAFTAR-AKUN-TEMPO.svg' + alt='Registrasi Tempo' + width={isMobile ? 300 : 600} + height={isMobile ? 300 : 550} + /> + )} <div className={`mt-2 text-center opacity-75 leading-6 p-4 md:p-0 ${ @@ -100,6 +110,8 @@ const FinishTempo = ({ query }) => { 'Mohon menunggu untuk verifikasi dokumen dan kelengkapan data yang telah anda berikan. Proses approval pembayaran tempo kamu berhasil atau tidak akan diinfokan melalui email perusahaan / email yang mendaftar'} {query?.status == 'review' && 'Proses pengajuan tempo anda saat ini sedang dalam tahapan proses verifikasi oleh tim indoteknik, mohon menunggu'} + {query?.status == 'approve' && + 'Proses pengajuan tempo anda sudah berhasil terdaftar di indoteknik.com. Nikmati pembelian anda di website indoteknik dengan menggunakan pembayaran tempo'} </div> <Link href={query?.status == 'switch-account' ? `/my/profile` : `/my/tempo/`} @@ -107,7 +119,9 @@ const FinishTempo = ({ query }) => { > {query?.status == 'switch-account' ? 'Ubah Akun' - : 'Lihat Status Pendaftaran'}{' '} + : query?.status == 'approve' + ? 'Lihat Detail Tempo' + : 'Lihat Status Pendaftaran'} <ChevronRightIcon className='w-5' /> </Link> </div> |
