/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { // Soitem::destroy($id); return redirect('sales/soitems'); }
public function listBySalesorder() { $items = Soitem::latest('created_at')->paginate(10); return view('inventory.inventoryavailability.index', compact('items')); }