Mejora en velocidad de busqueda
This commit is contained in:
@ -75,6 +75,10 @@ class Venta extends Service
|
||||
$ventas = $this->ventaRepository->fetchEscriturasByProyecto($proyecto_id);
|
||||
return array_map([$this, 'process'], $ventas);
|
||||
}
|
||||
public function getByIdForSearch(int $venta_id): array
|
||||
{
|
||||
return $this->ventaRepository->fetchByIdForSearch($venta_id);
|
||||
}
|
||||
|
||||
protected function process(Model\Venta $venta): Model\Venta
|
||||
{
|
||||
|
Reference in New Issue
Block a user