FIX: UF despues de obtener estado.

This commit is contained in:
Juan Pablo Vial
2024-10-31 17:15:51 -03:00
parent 1b99358597
commit 38202d1382

View File

@ -31,7 +31,7 @@ class Pago
try { try {
$estado = $this->estadoPagoRepository->create($data); $estado = $this->estadoPagoRepository->create($data);
$this->estadoPagoRepository->save($estado); $this->estadoPagoRepository->save($estado);
$pago = $this->pagoRepository->fetchById($pago->id); $pago = $this->process($this->pagoRepository->fetchById($pago->id));
$this->getUF($pago); $this->getUF($pago);
return true; return true;
} catch (PDOException) { } catch (PDOException) {