feat: generate order number #69
@ -146,6 +146,7 @@ router.post('/create', async (req, res, next) => {
|
|||||||
location: washing.location,
|
location: washing.location,
|
||||||
orderNumber: await generateOrderNumber(),
|
orderNumber: await generateOrderNumber(),
|
||||||
status: orderStatus.PROGRESS,
|
status: orderStatus.PROGRESS,
|
||||||
|
master: '',
|
||||||
notes: '',
|
notes: '',
|
||||||
created: new Date().toISOString(),
|
created: new Date().toISOString(),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user