fetchAll(); $tiposCentros = $tipoCentroRepository->fetchAll(); $categorias = $categoriaCentroRepository->fetchAll('descripcion'); $tiposCuentas = $tipoCuentaRepository->fetchAll(); return $view->render($response, 'contabilidad.centros_costos', compact('centrosCostos', 'tiposCentros', 'categorias', 'tiposCuentas')); } }