diff --git a/app/src/Service/Venta/Credito.php b/app/src/Service/Venta/Credito.php index 3d8b5d2..cea7bb1 100644 --- a/app/src/Service/Venta/Credito.php +++ b/app/src/Service/Venta/Credito.php @@ -51,7 +51,7 @@ class Credito extends Ideal\Service $valor = $this->valorService->clean($data['valor']); $pago = $this->pagoService->add([ 'fecha' => $fecha->format('Y-m-d'), - 'valor' => $valor * $uf, + 'valor' => round($valor * $uf), 'uf' => $uf, 'tipo' => $tipoPago->id ]);