diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-23 11:55:59 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-23 11:55:59 +0700 |
| commit | 6bbf1dbd94355f34f58f4b72f134f3dbeac776aa (patch) | |
| tree | ff3cbc95e5c5f5cb6d2806bfeefd7112f934a761 /src/lib/pengajuan-tempo/component/FinishTempo.jsx | |
| parent | 87e70c5ddc13b47ed4a9101d23174a65f52a0336 (diff) | |
<iman> update tempo
Diffstat (limited to 'src/lib/pengajuan-tempo/component/FinishTempo.jsx')
| -rw-r--r-- | src/lib/pengajuan-tempo/component/FinishTempo.jsx | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/lib/pengajuan-tempo/component/FinishTempo.jsx b/src/lib/pengajuan-tempo/component/FinishTempo.jsx index f4336d8a..2b6f69d0 100644 --- a/src/lib/pengajuan-tempo/component/FinishTempo.jsx +++ b/src/lib/pengajuan-tempo/component/FinishTempo.jsx @@ -14,7 +14,6 @@ const FinishTempo = ({ query }) => { const [transactionData, setTransactionData] = useState(); const { isDesktop, isMobile } = useDevice(); const auth = useAuth(); - const so_order = query?.order_id?.replaceAll('-', '/'); useEffect(() => { const fetchData = async () => { @@ -57,8 +56,9 @@ const FinishTempo = ({ query }) => { isMobile ? 'text-lg' : 'text-3xl' }`} > - Form Pengajuan Tempo kamu Telah Berhasil Didaftarkan Mohon menunggu - hingga Proses Selesai + {query?.status == 'switch-account' + ? 'Form Pengajuan Tempo kamu gagal dilakukan' + : 'Form Pengajuan Tempo kamu Telah Berhasil Didaftarkan Mohon menunggu hingga Proses Selesai'} </h1> </div> <Image @@ -73,15 +73,22 @@ const FinishTempo = ({ query }) => { isMobile ? 'w-full text-sm' : 'w-4/5 text-base' }`} > - 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' + : '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={`/my/quotations/${data?.id}`} + href={ + query?.status == 'switch-account' + ? `/profil` + : `/my/quotations/${data?.id}` + } className='btn-solid-red rounded-md text-base flex flex-row' > - Lihat Status Pendaftaran <ChevronRightIcon className='w-5' /> + {query?.status == 'switch-account' + ? 'Ubah Akun' + : 'Lihat Status Pendaftaran'}{' '} + <ChevronRightIcon className='w-5' /> </Link> </div> ); |
