feat: organization setup.

This commit is contained in:
a.bouhuolia
2021-09-04 10:04:07 +02:00
parent f2c51c6023
commit 8141674da8
18 changed files with 188 additions and 252 deletions

View File

@@ -59,7 +59,7 @@ export default class OrganizationController extends BaseController {
check('organization_name').exists().trim(),
check('base_currency').exists().isIn(BASE_CURRENCY),
check('timezone').exists(),
check('fiscal_year').exists().isISO8601(),
check('fiscal_year').exists(),
check('industry').optional().isString(),
check('date_format').optional().isIn(DATE_FORMATS),
];