app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php
public function navbarParts(WorkOrder $workOrder)
    {
        return $this->fluent([
            'id'         => 'work-orders-parts',
            'title'      => 'Parts Added',
            'url'        => route('maintenance.work-orders.parts.index', [$workOrder->getKey()]),
            'menu'       => view('work-orders.parts._nav', compact('workOrder')),
            'attributes' => [
                'class' => 'navbar-default',
            ],
        ]);
    }
public function navbarParts(WorkOrder $workOrder)
    {
        return $this->fluent([
            'id'         => 'work-orders-parts',
            'title'      => 'Parts Added',
            'url'        => route('maintenance.work-orders.parts.index', [$workOrder->getKey()]),
            'menu'       => view('work-orders.parts._nav', compact('workOrder')),
            'attributes' => [
                'class' => 'navbar-default',
            ],
        ]);
    }
Returns a new navbar for the work order parts table.

@param WorkOrder $workOrder

@return \Illuminate\Support\Fluent