feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
282 changed files with 853 additions and 11978 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) {