From fa6879b95f9d8128b6bbed53a52b6b54dd3266e0 Mon Sep 17 00:00:00 2001 From: Linc2427 Date: Wed, 16 Apr 2025 10:07:04 +0700 Subject: Disable NPWP input --- src/lib/auth/components/CompanyProfile.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index 6d4da1d1..4692fef6 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 = () => { + + *Untuk mengganti NPWP bisa menghubungi Sales +
{errors.npwp?.message}
-- cgit v1.2.3