diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-04-17 09:51:09 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2025-04-17 09:51:09 +0000 |
| commit | 20b2f505cf98af8012437b5044289ae9b3518899 (patch) | |
| tree | 21d2da27c1947932d9f0abda4f035a4f0185ce0e /src/lib | |
| parent | bcef1ad48eaed981600c05b5a55f0f6cd2dd2bce (diff) | |
| parent | ba8a6b9b6dc731d66a0d9cef3e29c4d5153d2172 (diff) | |
Merged in disable_npwp (pull request #404)
<miqdad>Disable npwp input
Approved-by: trisusilo
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/auth/components/CompanyProfile.jsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index 6d4da1d1..77cf536f 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -59,7 +59,11 @@ const CompanyProfile = () => { useEffect(() => { const loadProfile = async () => { const dataProfile = await addressApi({ - id: auth?.company ? (auth.parentId ? auth.parentId : auth.partnerId) : auth.partnerId, + id: auth?.company + ? auth.parentId + ? auth.parentId + : auth.partnerId + : auth.partnerId, }); setCompany_type(dataProfile?.companyType); setValue('name', dataProfile?.name); @@ -311,9 +315,13 @@ const CompanyProfile = () => { <input {...register('npwp')} type='text' + disabled className='form-input mt-3' maxLength={16} /> + <span className='text-xs opacity-60 text-red-500'> + *Untuk mengganti NPWP bisa menghubungi kami <a href='https://wa.me/6281717181922' target='_blank' style={{ textDecoration: "underline" }}>disini.</a> + </span> <div className='text-caption-2 text-danger-500 mt-1'> {errors.npwp?.message} </div> |
