fix: assign contacts customer/vendor in make jorunal.

This commit is contained in:
a.bouhuolia
2021-04-19 18:14:43 +02:00
parent fbe39b8e9d
commit 537150b222
8 changed files with 52 additions and 36 deletions

View File

@@ -128,7 +128,6 @@ export default class ManualJournalsController extends BaseController {
.optional({ nullable: true })
.isInt({ max: DATATYPES_LENGTH.INT_10 })
.toInt(),
check('entries.*.contact_type').optional().isIn(['vendor', 'customer']),
];
}