adds tax number to organization

This commit is contained in:
Robert Koch
2023-10-12 12:42:36 +11:00
parent b42153bcc4
commit d313774205
9 changed files with 42 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ export default class OrganizationController extends BaseController {
check('fiscal_year').exists().isIn(MONTHS),
check('language').exists().isString().isIn(ACCEPTED_LOCALES),
check('date_format').optional().isIn(DATE_FORMATS),
check('tax_number').optional({ nullable: true }).isString().trim().escape(),
];
}