diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-23 11:55:59 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-23 11:55:59 +0700 |
| commit | 6bbf1dbd94355f34f58f4b72f134f3dbeac776aa (patch) | |
| tree | ff3cbc95e5c5f5cb6d2806bfeefd7112f934a761 /src-migrate/validations/tempo.ts | |
| parent | 87e70c5ddc13b47ed4a9101d23174a65f52a0336 (diff) | |
<iman> update tempo
Diffstat (limited to 'src-migrate/validations/tempo.ts')
| -rw-r--r-- | src-migrate/validations/tempo.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-migrate/validations/tempo.ts b/src-migrate/validations/tempo.ts index 7f02019c..cb2b279d 100644 --- a/src-migrate/validations/tempo.ts +++ b/src-migrate/validations/tempo.ts @@ -3,7 +3,7 @@ import { z } from 'zod'; export const TempoSchema = z.object({ name: z.string().min(1, { message: 'Nama harus diisi' }), street: z.string().min(1, { message: 'Alamat harus diisi' }), - industry_id: z.string().min(1, { message: 'Jenis usaha harus dipilih' }), + industryId: z.string().min(1, { message: 'Jenis usaha harus dipilih' }), zip: z.string().min(1, { message: 'Kode pos harus diisi' }), state: z.string().min(1, { message: 'Provinsi harus dipilih' }), city: z.string().min(1, { message: 'Kota harus dipilih' }), @@ -74,6 +74,7 @@ export const TempoSchemaPengiriman = z.object({ .string() .min(1, { message: 'Provinsi invoice harus dipilih' }), isSameAddrees: z.string(), + isSameAddreesStreet: z.string(), cityInvoice: z.string().min(1, { message: 'Kota invoice harus dipilih' }), everyWeekday: z.boolean().optional(), everyWeekdayInput: z.string().optional(), |
