diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-11 11:51:45 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-11 11:51:45 +0700 |
| commit | 0f84963214ee6dc5b5a44d945540826a66bec9e0 (patch) | |
| tree | 4011423ed5147059f40afa873f87e167202f5f79 /src-migrate | |
| parent | cecccfaf318e0e7c52132cf1d04c90c0df745d14 (diff) | |
<iman> update pengajuan tempo
Diffstat (limited to 'src-migrate')
| -rw-r--r-- | src-migrate/modules/register/stores/usePengajuanTempoStore.ts | 2 | ||||
| -rw-r--r-- | src-migrate/validations/tempo.ts | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src-migrate/modules/register/stores/usePengajuanTempoStore.ts b/src-migrate/modules/register/stores/usePengajuanTempoStore.ts index 0551b275..48d789cd 100644 --- a/src-migrate/modules/register/stores/usePengajuanTempoStore.ts +++ b/src-migrate/modules/register/stores/usePengajuanTempoStore.ts @@ -50,6 +50,7 @@ export const usePengajuanTempoStore = create<State & Action>((set, get) => ({ estimasi: '', tempoDuration: '', bersedia: '', + website: '', categoryProduk: '', tempoLimit: '', }, @@ -95,6 +96,7 @@ export const usePengajuanTempoStore = create<State & Action>((set, get) => ({ bankName: '', accountName: '', accountNumber: '', + website: '', estimasi: '', tempoDuration: '', bersedia: '', diff --git a/src-migrate/validations/tempo.ts b/src-migrate/validations/tempo.ts index 0154c1c9..646e9b4d 100644 --- a/src-migrate/validations/tempo.ts +++ b/src-migrate/validations/tempo.ts @@ -22,6 +22,7 @@ export const TempoSchema = z.object({ message: 'Nomor rekening hanya boleh mengandung angka', }), estimasi: z.string().optional(), + website: z.string().optional(), tempoDuration: z.string().min(1, { message: 'Durasi tempo harus dipilih' }), bersedia: z.string().min(1, { message: 'Harus dipilih' }), categoryProduk: z |
