getEscriturando(); return $view->render($response, 'ventas.facturacion', compact('proyectos')); } public function show(ServerRequestInterface $request, ResponseInterface $response, View $view, Service\Venta $ventaService, Service\Proyecto\Terreno $terrenoService, int $venta_id): ResponseInterface { $venta = $ventaService->getById($venta_id); $terreno = $terrenoService->valor($venta->proyecto()->id); return $view->render($response, 'ventas.facturacion.show', compact('venta', 'terreno')); } }