Editar desistimiento venta

This commit is contained in:
2023-12-21 21:06:38 -03:00
parent d7d17a3051
commit ac52305002
7 changed files with 173 additions and 54 deletions

View File

@ -114,4 +114,10 @@ class Ventas
$venta = $ventaService->getById($venta_id);
return $view->render($response, 'ventas.desistir', compact('venta'));
}
public function desistida(ServerRequestInterface $request, ResponseInterface $response, Service\Venta $ventaService,
View $view, int $venta_id): ResponseInterface
{
$venta = $ventaService->getById($venta_id);
return $view->render($response, 'ventas.desistida', compact('venta'));
}
}