added banning for when amount is under 0

This commit is contained in:
2026-07-20 21:29:30 +03:30
parent 5d98a6f041
commit 10a510529d
4 changed files with 48 additions and 0 deletions
@@ -421,6 +421,7 @@ class CartController extends Controller
}
app(ConfigService::class)->assertProductTradingOpen($product);
app(ConfigService::class)->assertMainGoldZeroBeforeOtherProductBuy($wallet_interface->wallet, $product);
$qty = (int) $item->quantity;