diff --git a/app/src/Service/Venta/Pago.php b/app/src/Service/Venta/Pago.php index bc6d9f5..a8892d2 100644 --- a/app/src/Service/Venta/Pago.php +++ b/app/src/Service/Venta/Pago.php @@ -31,6 +31,7 @@ class Pago try { $estado = $this->estadoPagoRepository->create($data); $this->estadoPagoRepository->save($estado); + $pago = $this->pagoRepository->fetchById($pago->id); $this->getUF($pago); return true; } catch (PDOException) {