Do not send safeliteHop amounts less than 0

Do not send safeliteHop amounts less than 0
This commit is contained in:
CarlNation 2024-12-12 15:12:47 -05:00
parent a06fdadf22
commit 4757dd93d0

View file

@ -604,7 +604,10 @@ export default {
cartItems.forEach((item) => {
if (item.name !== null && item.category != "promos") {
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
const total = (item.salesTax + item.subTotal).toFixed(2);
if (total > 0) {
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
}
}
});