diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-30 17:06:25 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-30 17:06:25 +0700 |
| commit | cb58889bc19bf60ba24f6a38804c990b0f0083a1 (patch) | |
| tree | 212b64fd5a9ab41db7eacabc5224607ab596f4c6 | |
| parent | 9ce1b5ea896ace6f2a8cf2566a61410d7020e4c3 (diff) | |
<iman> update pengajuan tempo
| -rw-r--r-- | src/pages/pengajuan-tempo/index.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/pengajuan-tempo/index.jsx b/src/pages/pengajuan-tempo/index.jsx index 6987bd29..5ddd3e18 100644 --- a/src/pages/pengajuan-tempo/index.jsx +++ b/src/pages/pengajuan-tempo/index.jsx @@ -48,7 +48,7 @@ export default function TrackingOrder() { router.push(`/login?next=${nextUrl}`); } else if (auth.tempoProgres === 'approve' || auth?.partnerTempo) { router.push('/pengajuan-tempo/approve'); - } else if (!auth.parentId) { + } else if (!auth.parentId && !auth.company) { router.push('/pengajuan-tempo/switch-account'); } else if (auth.tempoProgres === 'review' && !tempo?.paymentTerm) { router.push('/pengajuan-tempo/review'); |
