feat: generate order number #69

Open
Rustam wants to merge 2 commits from feature/dry-wash-order-number into master
Showing only changes of commit b4c741e9a1 - Show all commits

View File

@ -146,6 +146,7 @@ router.post('/create', async (req, res, next) => {
location: washing.location,
orderNumber: await generateOrderNumber(),
status: orderStatus.PROGRESS,
master: '',
notes: '',
created: new Date().toISOString(),
})