public function navbar(Inventory $item)
    {
        return $this->fluent([
            'id'         => 'inventory-stocks',
            'title'      => 'Item Stocks',
            'url'        => route('maintenance.inventory.stocks.index', [$item->getKey()]),
            'menu'       => view('inventory.stocks._nav', compact('item')),
            'attributes' => [
                'class' => 'navbar-default',
            ],
        ]);
    }
public function navbar(Inventory $item)
    {
        return $this->fluent([
            'id'         => 'inventory-stocks',
            'title'      => 'Item Stocks',
            'url'        => route('maintenance.inventory.stocks.index', [$item->getKey()]),
            'menu'       => view('inventory.stocks._nav', compact('item')),
            'attributes' => [
                'class' => 'navbar-default',
            ],
        ]);
    }
public function navbar ( Inventory $ item ) { return $ this -> fluent ( [ 'id' => 'inventory-stocks' , 'title' => 'Item Stocks' , 'url' => route ( 'maintenance.inventory.stocks.index' , [ $ item -> getKey ( ) ] ) , 'menu' => view ( 'inventory.stocks._nav' , compact ( 'item' ) ) , 'attributes' => [ 'class' => 'navbar-default' , ] , ] ) ; }
Returns a new navbar for the inventory stock index.

@param Inventory $item

@return \Illuminate\Support\Fluent
Returns a new navbar for the inventory stock index .