fix: error

This commit is contained in:
Methapon Metanipat 2024-10-18 11:56:13 +07:00
parent 8d085ced4d
commit 7847a68df2

View file

@ -469,7 +469,7 @@ export class QuotationController extends Controller {
})) || { })) || {
paymentStatus: "PaymentWait", paymentStatus: "PaymentWait",
amount: price.finalPrice, amount: price.finalPrice,
date: v.date, date: new Date(),
}, },
}, },
statusOrder: +(rest.status === "INACTIVE"), statusOrder: +(rest.status === "INACTIVE"),