out of stock notification
This commit is contained in:
@ -153,6 +153,10 @@ class Bills extends Controller
|
||||
$item_object = Item::find($item['item_id']);
|
||||
|
||||
$item_sku = $item_object->sku;
|
||||
|
||||
// Increase stock (item bought)
|
||||
$item_object->quantity++;
|
||||
$item_object->save();
|
||||
}
|
||||
|
||||
$tax = $tax_id = 0;
|
||||
|
Reference in New Issue
Block a user