WIP feature/editItem

This commit is contained in:
elforjani3
2020-05-23 13:53:49 +02:00
parent fa558a047c
commit 7d1952344d
8 changed files with 203 additions and 49 deletions

View File

@@ -199,7 +199,7 @@ export default {
check('sell_price').exists().isNumeric(),
check('cost_account_id').exists().isInt(),
check('sell_account_id').exists().isInt(),
check('category_id').optional().isInt(),
check('category_id').optional({ nullable: true }).isInt().toInt(),
check('note').optional(),
check('attachment').optional(),
check('')