feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
230 changed files with 684 additions and 8193 deletions
Showing only changes of commit 1d77d65af2 - Show all commits

View File

@ -175,6 +175,19 @@ class Venta extends Service
return $data;
}
/**
* @return array
* @throws Read
*/
public function getAllWithCuotaPending(): array
{
try {
return array_map([$this, 'process'],$this->ventaRepository->fetchAllWithCuotaPending());
} catch (Implement\Exception\EmptyResult $exception) {
throw new Read(__CLASS__, $exception);
}
}
protected function process(Model\Venta $venta): Model\Venta
{
if ($venta->uf === 0.0) {