form builder module
This commit is contained in:
@@ -285,10 +285,7 @@ export class OrderService {
|
||||
}
|
||||
|
||||
async createInvoice(orderId: string) {
|
||||
const order = await this.findOrderOrFail(orderId)
|
||||
await this.updateStatus(orderId, OrderStatusEnum.INVOICED)
|
||||
// await this.calculateOrder(order)
|
||||
await this.em.flush()
|
||||
}
|
||||
|
||||
async getOrderAsUser(userId: string, orderId: string) {
|
||||
|
||||
Reference in New Issue
Block a user