From 38202d138219ddb31ba4886f73233b8a67072800 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Thu, 31 Oct 2024 17:15:51 -0300 Subject: [PATCH] FIX: UF despues de obtener estado. --- app/src/Service/Venta/Pago.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Service/Venta/Pago.php b/app/src/Service/Venta/Pago.php index a8892d2..b4df6b7 100644 --- a/app/src/Service/Venta/Pago.php +++ b/app/src/Service/Venta/Pago.php @@ -31,7 +31,7 @@ class Pago try { $estado = $this->estadoPagoRepository->create($data); $this->estadoPagoRepository->save($estado); - $pago = $this->pagoRepository->fetchById($pago->id); + $pago = $this->process($this->pagoRepository->fetchById($pago->id)); $this->getUF($pago); return true; } catch (PDOException) {