feat: generate order number #69
@ -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(),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user