1404/11/19-add inventory for product

This commit is contained in:
2026-02-09 13:43:02 +03:30
parent 71312d809d
commit 8919374055
10 changed files with 55 additions and 43 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ async function handleCheckout() {
return {
direction: 1, // 1 for buy (cart items are always buy orders)
price: productPrice,
amount: item.quantity,
amount: product.amount,
gateway: item.gateway,
product_id: product.id,
method: item.method,