Compare commits
2 Commits
66dbf54714
...
52bead5104
Author | SHA1 | Date | |
---|---|---|---|
52bead5104 | |||
a6a1c3d102 |
@ -99,7 +99,7 @@ class Resumen
|
|||||||
protected function getSubsidio(Venta $venta, DateTimeInterface $up_to)
|
protected function getSubsidio(Venta $venta, DateTimeInterface $up_to)
|
||||||
{
|
{
|
||||||
if ($venta->subsidio == 0) {
|
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())];
|
return [$this->extractValueDate($venta->subsidio()->pago()), $this->extractValueDate($venta->subsidio()->subsidio())];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user