From a6a1c3d102359ed35d5a4230746e4a7f03bcf3d6 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Mon, 7 Mar 2022 21:30:59 -0300 Subject: [PATCH] FIX: Sibsidios retorna array --- app/Service/Informe/Contabilidad/Resumen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Informe/Contabilidad/Resumen.php b/app/Service/Informe/Contabilidad/Resumen.php index 6d429c8..12b8bc1 100644 --- a/app/Service/Informe/Contabilidad/Resumen.php +++ b/app/Service/Informe/Contabilidad/Resumen.php @@ -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())]; }