Facturacion
This commit is contained in:
@ -46,6 +46,10 @@ class Venta extends Service
|
||||
$ventas = $this->ventaRepository->fetchActivaByProyecto($proyecto_id);
|
||||
return array_map([$this, 'process'], $ventas);
|
||||
}
|
||||
public function getIdsByProyecto(int $proyecto_id): array
|
||||
{
|
||||
return $this->ventaRepository->fetchIdsByProyecto($proyecto_id);
|
||||
}
|
||||
public function getByProyectoAndUnidad(string $proyecto_nombre, int $unidad_descripcion): Model\Venta
|
||||
{
|
||||
$venta = $this->ventaRepository->fetchByProyectoAndUnidad($proyecto_nombre, $unidad_descripcion);
|
||||
|
Reference in New Issue
Block a user