Skip to content

Commit

Permalink
Update composer.
Browse files Browse the repository at this point in the history
  • Loading branch information
estebandelaf committed Jan 27, 2025
1 parent 710cb44 commit d22648e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 32 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand Down
55 changes: 28 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,10 @@
{% endif %}
{# Footer #}
<footer>
Boletas y Facturas con LibreDTE -
<a href="https://www.libredte.cl" style="text-decoration: none; color: inherit;">https://www.libredte.cl</a>
Documento creado utilizando LibreDTE -
<a href="https://www.libredte.cl" style="text-decoration: none; color: inherit;">
www.libredte.cl
</a>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ protected function createHandlers(): array
$result = $this->entityComponent->getRepository(
AduanaMoneda::class
)->findBy(['glosa' => $codigo]);
$moneda = ($result[0] ?? null)?->getCurrency() ?? Currency::XXX;
return $moneda->format((float) $num);
$currency = ($result[0] ?? null)?->getCurrency() ?? Currency::XXX;
return $currency->format((float) $num);
},
];
}
Expand Down

0 comments on commit d22648e

Please sign in to comment.