Implement search pago

This commit is contained in:
2024-01-08 17:33:42 -03:00
parent bc2333bc95
commit d225011ae9
10 changed files with 288 additions and 22 deletions

View File

@ -76,6 +76,9 @@ class Cuota
public function getByPie(int $pie_id): array
{
return $this->cuotaRepository->fetchByPie($pie_id);
/*return array_filter($this->cuotaRepository->fetchByPie($pie_id), function(Model\Venta\Cuota $cuota) {
return !in_array($cuota->pago->currentEstado->tipoEstadoPago->descripcion, ['anulado']);
});*/
}
public function getVigenteByPie(int $pie_id): array
{