diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-24 08:46:44 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-24 08:46:44 +0700 |
| commit | 0bca1bfb2bc7e52a31dde39602dd599d7c640e73 (patch) | |
| tree | 2859fefbcde9243d394f03929814d7951b41014a /src-migrate/modules/register/stores | |
| parent | bf33cdda7fb249cdd2473e0d1039704fd2171589 (diff) | |
<iman> update new register
Diffstat (limited to 'src-migrate/modules/register/stores')
| -rw-r--r-- | src-migrate/modules/register/stores/useRegisterStore.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src-migrate/modules/register/stores/useRegisterStore.ts b/src-migrate/modules/register/stores/useRegisterStore.ts index 2db0b602..75d2ab34 100644 --- a/src-migrate/modules/register/stores/useRegisterStore.ts +++ b/src-migrate/modules/register/stores/useRegisterStore.ts @@ -28,7 +28,7 @@ type Action = { export const useRegisterStore = create<State & Action>((set, get) => ({ form: { business_name: '', - company_type_id: 0, + company_type_id: '', name: '', email: '', email_partner: '', @@ -37,15 +37,16 @@ export const useRegisterStore = create<State & Action>((set, get) => ({ sppkp_document: '', npwp_document: '', nameWajibPajak: '', - industry_id: 0, + industry_id: '', badanUsaha: '', jenisUsaha: '', npwp: '', nama_wajib_pajak : '', is_pkp: '', + type_acc:'' }, formBisnis: { - company_type_id: 0, + company_type_id: '', business_name: '', name: '', nama_wajib_pajak : '', @@ -56,11 +57,12 @@ export const useRegisterStore = create<State & Action>((set, get) => ({ sppkp_document: '', npwp_document: '', nameWajibPajak: '', - industry_id: 0, + industry_id: '', badanUsaha: '', jenisUsaha: '', npwp: '', is_pkp:'', + type_acc:'' }, updateForm: (name, value) => set((state) => ({ form: { ...state.form, [name]: value } })), |
