diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-04 10:59:21 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-04 10:59:21 +0700 |
| commit | 9a49b8d84761781531cb417731cb9ef802f63541 (patch) | |
| tree | 140f9ca02190789d0d20f8ca13d00f20e81b6adc /src/lib/pengajuan-tempo/component/FinishTempo.jsx | |
| parent | 77f9843ad5072583cb1797d7ecf5ac80394bad3f (diff) | |
<iman> update pengajuan tempo
Diffstat (limited to 'src/lib/pengajuan-tempo/component/FinishTempo.jsx')
| -rw-r--r-- | src/lib/pengajuan-tempo/component/FinishTempo.jsx | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/src/lib/pengajuan-tempo/component/FinishTempo.jsx b/src/lib/pengajuan-tempo/component/FinishTempo.jsx index 612b502a..ba28ab2a 100644 --- a/src/lib/pengajuan-tempo/component/FinishTempo.jsx +++ b/src/lib/pengajuan-tempo/component/FinishTempo.jsx @@ -52,28 +52,40 @@ const FinishTempo = ({ query }) => { } justify-center items-center`} > <h1 - className={`text-red-500 text-center font-semibold ${ + className={`text-red-500 text-center py-4 font-semibold ${ isMobile ? 'text-lg' : 'text-3xl' }`} > - {query?.status == 'switch-account' - ? 'Form Pengajuan Tempo kamu gagal dilakukan' - : 'Form Pengajuan Tempo kamu Telah Berhasil Didaftarkan Mohon menunggu hingga Proses Selesai'} + {query?.status == 'finish' && + 'Form Pengajuan Tempo kamu Telah Berhasil Didaftarkan Mohon menunggu hingga Proses Verifikasi Selesai Dilakukan'} + {query?.status == 'switch-account' && + 'Form Pengajuan Tempo Kamu Gagal Dilakukan'} + {query?.status == 'review' && + 'Pengajuan Tempo dalam Proses Verifikasi'} </h1> </div> - {query?.status != 'switch-account' ? ( + {query?.status == 'finish' && ( + <Image + src='/images/ICON-TEMPO.png' + alt='Registrasi Tempo' + width={isMobile ? 300 : 550} + height={isMobile ? 300 : 550} + /> + )} + {query?.status == 'switch-account' && ( <Image src='/images/REGISTRASI-TEMPO.svg' alt='Registrasi Tempo' - width={isMobile ? 300 : 450} - height={isMobile ? 300 : 450} + width={isMobile ? 300 : 550} + height={isMobile ? 300 : 550} /> - ) : ( + )} + {query?.status == 'review' && ( <Image - src='/images/ICON TEMPO-02.svg' + src='/images/ICON-DOKUMEN-VERIFIKASI.png' alt='Registrasi Tempo' - width={isMobile ? 300 : 450} - height={isMobile ? 300 : 450} + width={isMobile ? 300 : 550} + height={isMobile ? 300 : 550} /> )} @@ -82,12 +94,15 @@ const FinishTempo = ({ query }) => { isMobile ? 'w-full text-sm' : 'w-4/5 text-base' }`} > - {query?.status == 'switch-account' - ? 'Terima kasih atas minat anda untuk mendaftar Tempo, namun sayangnya akun anda bukan merupakan akun bisnis. Segera ubah akun anda menjadi Bisnis untuk menggunakan fitur ini' - : '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 == 'switch-account' && + 'Terima kasih atas minat anda untuk mendaftar Tempo, namun sayangnya akun anda bukan merupakan akun bisnis. Segera ubah akun anda menjadi Bisnis untuk menggunakan fitur ini'} + {query?.status == 'finish' && + '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'} </div> <Link - href={query?.status == 'switch-account' ? `/profil` : `/my/tempo/`} + href={query?.status == 'switch-account' ? `/my/profile` : `/my/tempo/`} className='btn-solid-red rounded-md text-base flex flex-row' > {query?.status == 'switch-account' |
