conversions6

This commit is contained in:
Filipriec
2026-08-23 18:36:51 +02:00
parent 0c33d1fa5c
commit 6666f7a5b1
24 changed files with 45 additions and 51 deletions

View File

@@ -80,18 +80,12 @@
{% if page.draft.show_accounting_currency() %}
<label>{{ nav.tr("builder-accounting-currency") }}
<input name="accounting_currency" value="{{ page.draft.accounting_currency }}" list="currency-codes"
maxlength="3" placeholder="EUR">
{#
The list stays complete: EUR-only books are the server's current
limitation, not the shape of the field. When it accepts more, this
hint goes and nothing else here has to change.
#}
maxlength="3" placeholder="USD">
<small>{{ nav.tr("builder-accounting-currency-hint") }}</small>
</label>
<label>Rate source
<select name="rate_source_id">
<option value="ecb" {% if page.draft.rate_source_id == "ecb" %}selected{% endif %}>ECB</option>
</select>
<input name="rate_source_id" value="{{ page.draft.rate_source_id }}"
placeholder="provider-id">
</label>
<label>Initial foreign currencies
<input name="foreign_currencies" value="{{ page.draft.foreign_currencies }}"
@@ -212,7 +206,7 @@
{% if page.draft.columns.show_money_options() %}
<label>{{ nav.tr("td-currency") }}
<input name="column_currency_input" value="{{ page.draft.columns.currency_input }}" list="currency-codes"
maxlength="3" placeholder="EUR">
maxlength="3" placeholder="USD">
</label>
<label>{{ nav.tr("td-rounding") }}
<select name="column_rounding_input">

View File

@@ -18,7 +18,7 @@
{% if page.can_manage_validations %}<a href="/admin/validation/sets/new">{{ nav.tr("admin-add-rule") }}</a>{% endif %}
{% if page.can_import %}<a href="/admin/import">{{ nav.tr("admin-import") }}</a>{% endif %}
{% if page.can_export %}<a href="/admin/export">{{ nav.tr("admin-export") }}</a>{% endif %}
{% if page.can_ecb %}<a href="/admin/ecb">{{ nav.tr("admin-exchange-rates") }}</a>{% endif %}
{% if page.can_exchange_rates %}<a href="/admin/ecb">{{ nav.tr("admin-exchange-rates") }}</a>{% endif %}
</div>
</section>
<div id="admin-workspace">{% include "pages/admin/admin/workspace.html" %}</div>