FIX: transacciones, tipocambio and headers

This commit is contained in:
2022-01-06 15:19:36 -03:00
parent b17225549c
commit 3cb2a877de
3 changed files with 6 additions and 1 deletions

View File

@ -69,6 +69,9 @@ class TiposCambios {
return $cambio->valor;
}
$valor = $this->getValor($fecha, $moneda->codigo);
if ($valor === null) {
return 1;
}
$data = [
'fecha' => $fecha->format('Y-m-d H:i:s'),
'desde_id' => $moneda->id,