fix: quotation payment date
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s

This commit is contained in:
puriphatt 2025-09-25 10:14:22 +07:00
parent 11047e569d
commit d8d02a679d

View file

@ -183,7 +183,7 @@ async function selectStatus(
payment.paymentStatus = status; payment.paymentStatus = status;
const payload = { const payload = {
paymentStatus: payment.paymentStatus, paymentStatus: payment.paymentStatus,
date: new Date(payment.date), date: new Date(),
amount: payment.amount, amount: payment.amount,
}; };
const res = await quotationPayment.updateQuotationPayment( const res = await quotationPayment.updateQuotationPayment(