fix: update payment status based on remaining invoice amount
Deploy Application / deploy (push) Successful in 32s
Details
Deploy Application / deploy (push) Successful in 32s
Details
This commit is contained in:
parent
0f476cd2ea
commit
b8f05e501a
|
|
@ -87,6 +87,7 @@ export default async function ({ data }: { data: any }) {
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
amount: sisaInvoice < 0 ? 0 : sisaInvoice,
|
amount: sisaInvoice < 0 ? 0 : sisaInvoice,
|
||||||
|
is_pay: sisaInvoice <= 0 ? true : false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue