src/Order/Controllers/OrderController.php
public function editStatus(Model $order)
    {
        $orderStatus = OrderStatus::all()->pluck('name', 'id');

        $view = view('avored-framework::order.view')
            ->with('order', $order)
            ->with('orderStatus', $orderStatus)
            ->with('changeStatus', true);

        return $view;
    }
public function editStatus(Model $order)
    {
        $orderStatus = OrderStatus::all()->pluck('name', 'id');

        $view = view('avored-framework::order.view')
            ->with('order', $order)
            ->with('orderStatus', $orderStatus)
            ->with('changeStatus', true);

        return $view;
    }
public function editStatus ( Model $ order ) { $ orderStatus = OrderStatus :: all ( ) -> pluck ( 'name' , 'id' ) ; $ view = view ( 'avored-framework::order.view' ) -> with ( 'order' , $ order ) -> with ( 'orderStatus' , $ orderStatus ) -> with ( 'changeStatus' , true ) ; return $ view ; }
Edit the Order Status View

@param \AvoRed\Framework\Models\Database\Order $order
@return \Illuminate\Http\Response
Edit the Order Status View