mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
BIG-26: fix items preferences form.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import * as Yup from 'yup';
|
||||
|
||||
const Schema = Yup.object().shape({
|
||||
preferred_sell_account: Yup.number().nullable(),
|
||||
preferred_cost_account: Yup.number().nullable(),
|
||||
preferred_inventory_account: Yup.number().nullable(),
|
||||
});
|
||||
|
||||
export const ItemPreferencesSchema = Schema;
|
||||
Reference in New Issue
Block a user