feat: close status in receipt.

This commit is contained in:
elforjani3
2020-12-16 12:50:36 +02:00
parent 57d05102a9
commit 153b71184f
7 changed files with 122 additions and 31 deletions

View File

@@ -28,6 +28,7 @@ const Schema = Yup.object().shape({
.min(1)
.max(DATATYPES_LENGTH.TEXT)
.label(formatMessage({ id: 'note' })),
closed: Yup.boolean().required(),
entries: Yup.array().of(
Yup.object().shape({
quantity: Yup.number()