mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
16 lines
390 B
JavaScript
16 lines
390 B
JavaScript
import * as Yup from 'yup';
|
|
import { DATATYPES_LENGTH } from 'common/dataTypes';
|
|
import { defaultTo } from 'lodash';
|
|
|
|
|
|
const Schema = Yup.object().shape({
|
|
format_money: Yup.string(),
|
|
show_zero: Yup.boolean(),
|
|
show_in_red: Yup.boolean(),
|
|
divide_on_1000: Yup.boolean(),
|
|
negative_format: Yup.string(),
|
|
precision: Yup.string(),
|
|
});
|
|
|
|
export const CreateNumberFormateSchema = Schema;
|