Added an console command for updating currency exchange rates.

This commit is contained in:
Jan Böhmer 2019-08-13 13:04:31 +02:00
parent 2468409212
commit 568367b59e
9 changed files with 1371 additions and 91 deletions

View file

@ -20,7 +20,7 @@
{{ form_row(form.exchange_rate) }}
{% if entity.inverseExchangeRate %}
<span class="form-text text-muted offset-3 col-9">
{{ '1'|format_currency(default_currency) }} = {{ entity.inverseExchangeRate | format_currency(entity.isoCode) }}
{{ '1'|format_currency(default_currency) }} = {{ entity.inverseExchangeRate | format_currency(entity.isoCode, {fraction_digit: 5}) }}
</span>
{% endif %}
{% endblock %}