2 Commits

Author SHA1 Message Date
52bead5104 Merge branch 'develop' 2022-03-07 21:31:10 -03:00
a6a1c3d102 FIX: Sibsidios retorna array 2022-03-07 21:30:59 -03:00

View File

@ -99,7 +99,7 @@ class Resumen
protected function getSubsidio(Venta $venta, DateTimeInterface $up_to)
{
if ($venta->subsidio == 0) {
return $this->defaultValueDate($up_to);
return [$this->defaultValueDate($up_to), $this->defaultValueDate($up_to)];
}
return [$this->extractValueDate($venta->subsidio()->pago()), $this->extractValueDate($venta->subsidio()->subsidio())];
}