diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-18 14:39:16 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-18 14:39:16 +0700 |
| commit | b8b3b1df835d429920975e023d956b7c6ca33f43 (patch) | |
| tree | d2488bf9c67d03ec5e9c686b17b0f994f3da6c77 /src/lib/auth | |
| parent | ab0782b5cf7b65930b0b40528b9205f3f0dfc3a0 (diff) | |
| parent | baa9b1e32c0afabf074f6c181274312d757a7099 (diff) | |
Merge branch 'Feature/new-register' into Feature/switch-account
Diffstat (limited to 'src/lib/auth')
| -rw-r--r-- | src/lib/auth/components/CompanyProfile.jsx | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index 20be6829..cebb15b0 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -21,9 +21,9 @@ const CompanyProfile = () => { taxName: '', npwp: '', alamat_wajib_pajak: '', + alamat_bisnis: '', }, }); - const [industries, setIndustries] = useState([]); useEffect(() => { const loadIndustries = async () => { @@ -73,6 +73,7 @@ const CompanyProfile = () => { industry_id: values.industry, tax_name: values.taxName, alamat_lengkap_text: values.alamat_wajib_pajak, + street: values.alamat_bisnis, }; const isUpdated = await odooApi( 'PUT', @@ -185,17 +186,25 @@ const CompanyProfile = () => { /> </div> <div> - <label>Nomor NPWP</label> + <label>Alamat Wajib Pajak</label> <input - {...register('npwp')} + {...register('alamat_wajib_pajak')} type='text' className='form-input mt-3' /> </div> <div> - <label>Alamat Wajib Pajak</label> + <label>Alamat Bisnis</label> <input - {...register('alamat_wajib_pajak')} + {...register('alamat_bisnis')} + type='text' + className='form-input mt-3' + /> + </div> + <div> + <label>Nomor NPWP</label> + <input + {...register('npwp')} type='text' className='form-input mt-3' /> |
