fix: payment always trigger payment success
This commit is contained in:
parent
09b3097d02
commit
7908d2dab5
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ export class QuotationPayment extends Controller {
|
|||
where: { id: quotation.id },
|
||||
data: {
|
||||
quotationStatus:
|
||||
paymentSum._sum.amount || 0 >= quotation.finalPrice
|
||||
(paymentSum._sum.amount || 0) >= quotation.finalPrice
|
||||
? "PaymentSuccess"
|
||||
: "PaymentInProcess",
|
||||
requestData: await (async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue