summaryrefslogtreecommitdiff
path: root/src/pages
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/pages
parentac83b0ea5afd82194f38fbc913678e16a81b5c2c (diff)
<iman> pengajuan tempo
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/my/menu.jsx25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/pages/my/menu.jsx b/src/pages/my/menu.jsx
index 407e400f..4099a935 100644
--- a/src/pages/my/menu.jsx
+++ b/src/pages/my/menu.jsx
@@ -90,17 +90,20 @@ export default function Menu() {
<p>Invoice & Faktur Pajak</p>
</div>
</LinkItem>
- <LinkItem href='/my/tempo'>
- {' '}
- <div className='flex gap-x-3 items-center'>
- <ImageNext
- src='/images/icon/icon_tempo.svg'
- width={18}
- height={20}
- />
- <p>Pembayaran Tempo</p>
- </div>
- </LinkItem>
+ {(atuh?.partnerTempo.toLowerCase().includes('tempo') ||
+ atuh.tempoProgres == 'review') && (
+ <LinkItem href='/my/tempo'>
+ {' '}
+ <div className='flex gap-x-3 items-center'>
+ <ImageNext
+ src='/images/icon/icon_tempo.svg'
+ width={18}
+ height={20}
+ />
+ <p>Pembayaran Tempo</p>
+ </div>
+ </LinkItem>
+ )}
<LinkItem href='/my/wishlist'>
<div className='flex gap-x-3 items-center'>
<ImageNext