src/Product/Controllers/OrderStatusController.php
public function index()
    {
        $orderStateGrid = new OrderStatusDataGrid($this->repository->query());

        return view('avored-framework::product.order-status.index')->with('dataGrid', $orderStateGrid->dataGrid);
    }
public function index()
    {
        $orderStateGrid = new OrderStatusDataGrid($this->repository->query());

        return view('avored-framework::product.order-status.index')->with('dataGrid', $orderStateGrid->dataGrid);
    }
public function index ( ) { $ orderStateGrid = new OrderStatusDataGrid ( $ this -> repository -> query ( ) ) ; return view ( 'avored-framework::product.order-status.index' ) -> with ( 'dataGrid' , $ orderStateGrid -> dataGrid ) ; }
Display a listing of the OrderStatus.

@return \Illuminate\Http\Response
Display a listing of the OrderStatus .