Ids de ventas

This commit is contained in:
Juan Pablo Vial
2024-04-23 14:22:32 -04:00
parent d2511901ec
commit 435180ebaf

View File

@ -28,7 +28,7 @@ class Facturacion
$output['ventas'] = $this->fetchRedis($redisService, $redisKey); $output['ventas'] = $this->fetchRedis($redisService, $redisKey);
} catch (EmptyRedis) { } catch (EmptyRedis) {
try { try {
$output['ventas'] = $ventaService->getActivaByProyecto($proyecto_id); $output['ventas'] = $ventaService->getIdsByProyecto($proyecto_id);
$this->saveRedis($redisService, $redisKey, $output['ventas']); $this->saveRedis($redisService, $redisKey, $output['ventas']);
} catch (EmptyResult) {} } catch (EmptyResult) {}
} }