/** * Goto Edit Inventory page * GET /inventory/(id)/edit * * @return View */ public function edit(Inventory $item) { $suppliers = Supplier::all(); // Create Navigation for Next and Previous Tool $navigate = $item->getNextPrev(); return view('inventory.edit', compact('item', 'suppliers', 'navigate')); }