mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
WIP feature/ Dashboard_breadcrumbs & fix_localize
This commit is contained in:
@@ -52,11 +52,11 @@ function AccountFormDialog({
|
||||
}) {
|
||||
const { formatMessage } = useIntl();
|
||||
const accountFormValidationSchema = Yup.object().shape({
|
||||
name: Yup.string().required(formatMessage({ id: 'required' })),
|
||||
name: Yup.string().required().label(formatMessage({id:'account_name_'})),
|
||||
code: Yup.number(),
|
||||
account_type_id: Yup.string()
|
||||
.nullable()
|
||||
.required(formatMessage({ id: 'required' })),
|
||||
.required().label(formatMessage({id:'account_type_id'})),
|
||||
description: Yup.string().trim()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user