diff options
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' /> |
