mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-28 23:05:11 +02:00
Dont throw an exception, if we can not retrieve an currency exchange rate, but show an meaningful flash message
This commit is contained in:
parent
0c5180bda4
commit
2b2fc6f1e6
3 changed files with 22 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
{{ form_row(form.exchange_rate) }}
|
||||
|
||||
{% if form.update_exchange_rate is defined %}
|
||||
{{ form_row(form.update_exchange_rate, {attr: {class: 'btn-link'}}) }}
|
||||
{{ form_row(form.update_exchange_rate, {attr: {class: 'btn-info'}}) }}
|
||||
{% endif %}
|
||||
{% if entity.inverseExchangeRate %}
|
||||
<span class="form-text text-muted offset-3 col-9">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue