mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
fix(resolve): fix resolve merge
This commit is contained in:
@@ -177,7 +177,9 @@ export const MovementFormSchema: Yup.ObjectSchema<MovementFormSchemaType> =
|
||||
'Gudang tujuan tidak boleh sama dengan gudang asal!',
|
||||
function (value) {
|
||||
const { source_warehouse_id } = this.parent;
|
||||
return !value || !source_warehouse_id || value !== source_warehouse_id;
|
||||
return (
|
||||
!value || !source_warehouse_id || value !== source_warehouse_id
|
||||
);
|
||||
}
|
||||
),
|
||||
products: Yup.array()
|
||||
|
||||
Reference in New Issue
Block a user