summaryrefslogtreecommitdiff
path: root/src/lib/pengajuan-tempo/component/FinishTempo.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-12-02 09:31:44 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-12-02 09:31:44 +0700
commit77f9843ad5072583cb1797d7ecf5ac80394bad3f (patch)
tree61d25d17d7c1a090112f673fabc96dd8ffceb79a /src/lib/pengajuan-tempo/component/FinishTempo.jsx
parentac83b0ea5afd82194f38fbc913678e16a81b5c2c (diff)
<iman> pengajuan tempo
Diffstat (limited to 'src/lib/pengajuan-tempo/component/FinishTempo.jsx')
-rw-r--r--src/lib/pengajuan-tempo/component/FinishTempo.jsx27
1 files changed, 16 insertions, 11 deletions
diff --git a/src/lib/pengajuan-tempo/component/FinishTempo.jsx b/src/lib/pengajuan-tempo/component/FinishTempo.jsx
index 2b6f69d0..612b502a 100644
--- a/src/lib/pengajuan-tempo/component/FinishTempo.jsx
+++ b/src/lib/pengajuan-tempo/component/FinishTempo.jsx
@@ -61,12 +61,21 @@ const FinishTempo = ({ query }) => {
: 'Form Pengajuan Tempo kamu Telah Berhasil Didaftarkan Mohon menunggu hingga Proses Selesai'}
</h1>
</div>
- <Image
- src='/images/REGISTRASI-TEMPO.svg'
- alt='Checkout Pesanan'
- width={isMobile ? 300 : 450}
- height={isMobile ? 300 : 450}
- />
+ {query?.status != 'switch-account' ? (
+ <Image
+ src='/images/REGISTRASI-TEMPO.svg'
+ alt='Registrasi Tempo'
+ width={isMobile ? 300 : 450}
+ height={isMobile ? 300 : 450}
+ />
+ ) : (
+ <Image
+ src='/images/ICON TEMPO-02.svg'
+ alt='Registrasi Tempo'
+ width={isMobile ? 300 : 450}
+ height={isMobile ? 300 : 450}
+ />
+ )}
<div
className={`mt-2 text-center opacity-75 leading-6 p-4 md:p-0 ${
@@ -78,11 +87,7 @@ 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'}
</div>
<Link
- href={
- query?.status == 'switch-account'
- ? `/profil`
- : `/my/quotations/${data?.id}`
- }
+ href={query?.status == 'switch-account' ? `/profil` : `/my/tempo/`}
className='btn-solid-red rounded-md text-base flex flex-row'
>
{query?.status == 'switch-account'