mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
feat(FE-33): create suppliers table and forms
This commit is contained in:
@@ -13,15 +13,7 @@ export const CustomerFormSchema = Yup.object({
|
||||
type: Yup.object({
|
||||
value: Yup.string().required(),
|
||||
label: Yup.string().required(),
|
||||
})
|
||||
.oneOf(
|
||||
[
|
||||
{ value: 'INDIVIDUAL', label: 'INDIVIDUAL' },
|
||||
{ value: 'BISNIS', label: 'BISNIS' },
|
||||
],
|
||||
'Tipe harus INDIVIDUAL atau BISNIS'
|
||||
)
|
||||
.required('Tipe wajib diisi!'),
|
||||
}).required('Tipe wajib diisi!'),
|
||||
|
||||
address: Yup.string().required('Alamat wajib diisi!'),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user