Kuantitas Pembaruan Laravel Fasih
foreach ($items as $item) {
$product = Product::find($item['id']);
$product->decrement('quantity', $item['qty']);
}
Disturbed Dunlin