Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $inventoryParent = Inventories::find($existingInventory['ItemMasterId']);
- $inventoryParent->update($existingInventory['inventory']);
- $existingInventory2 = InventoryBranches::with('inventory','legalEntity', 'branch')->find($itemId);
- $existingInventory2->Quantity100 = $request->Quantity100;
- $existingInventory2->Quantity90 = $request->Quantity90;
- $existingInventory2->Quantity60 = $request->Quantity60;
- $existingInventory2->Quantity30 = $request->Quantity30;
- $existingInventory2->save();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement