From 915dc67e1ce31eab1f2415cc8df95cebb75a137d Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Fri, 13 Dec 2024 14:18:03 +0700 Subject: update pengajuan tempo request --- src/lib/auth/components/CompanyProfile.jsx | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'src/lib/auth') diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index 7bda992f..220d5be1 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -61,6 +61,8 @@ const CompanyProfile = () => { setValue('npwp', dataProfile.npwp); setValue('alamat_wajib_pajak', dataProfile.alamatWajibPajak); setValue('alamat_bisnis', dataProfile.alamatBisnis); + setValue('email_bisnis', dataProfile.email); + setValue('mobile_bisnis', dataProfile.mobile); }; if (auth) loadProfile(); }, [auth, setValue]); @@ -75,6 +77,8 @@ const CompanyProfile = () => { tax_name: values.taxName, alamat_lengkap_text: values.alamat_wajib_pajak, street: values.alamat_bisnis, + email: values.email_bisnis, + mobile: values.mobile_bisnis, }; const isUpdated = await odooApi( 'PUT', @@ -198,6 +202,28 @@ const CompanyProfile = () => { {errors.taxName?.message} +
+ + +
+ {errors.email_bisnis?.message} +
+
+
+ + +
+ {errors.mobile_bisnis?.message} +
+