asdasd
This commit is contained in:
@@ -687,57 +687,6 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="setup-panel">
|
||||
<div class="setup-panel__head">
|
||||
<div>
|
||||
<span class="pill">Waehrungen</span>
|
||||
<h2>Waehrungseinstellungen</h2>
|
||||
<p class="muted">Die Auswahl wird erst verfuegbar, nachdem der Waehrungskatalog synchronisiert wurde.</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (!$fxCatalogAvailable): ?>
|
||||
<div class="setup-db-message setup-db-message--hint">
|
||||
Noch kein Waehrungskatalog vorhanden. Fuehre zuerst unten die Modulaktion <strong>Waehrungskatalog synchronisieren</strong> aus.
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="setup-grid">
|
||||
<label class="setup-field muted">
|
||||
<span>Anzeige-Basiswaehrung</span>
|
||||
<input type="hidden" name="display_base_currency" value="<?= e((string) ($current['display_base_currency'] ?? '')) ?>" data-fx-base-hidden>
|
||||
<div class="fx-setup-picker" data-fx-base-picker data-currencies='<?= e(is_string($fxCatalogJson) ? $fxCatalogJson : '[]') ?>'>
|
||||
<input
|
||||
type="text"
|
||||
value="<?= e((string) (($current['display_base_currency'] ?? '') !== '' && isset($fxCatalogOptions[(string) $current['display_base_currency']]) ? ((string) $current['display_base_currency'] . ' - ' . $fxCatalogOptions[(string) $current['display_base_currency']]) : '')) ?>"
|
||||
placeholder="Waehrung suchen"
|
||||
autocomplete="off"
|
||||
data-fx-base-input
|
||||
>
|
||||
<div class="fx-setup-suggestions" data-fx-base-suggestions hidden></div>
|
||||
</div>
|
||||
<small class="muted">Suche nach Code oder Bezeichnung und waehle einen Treffer aus.</small>
|
||||
</label>
|
||||
<label class="setup-field muted">
|
||||
<span>Bevorzugte Waehrungen</span>
|
||||
<div class="fx-setup-picker" data-fx-multi-picker data-currencies='<?= e(is_string($fxCatalogJson) ? $fxCatalogJson : '[]') ?>'>
|
||||
<input type="text" value="" placeholder="Waehrung suchen und hinzufuegen" autocomplete="off" data-fx-multi-input>
|
||||
<div class="fx-setup-suggestions" data-fx-multi-suggestions hidden></div>
|
||||
<div class="fx-setup-tags fx-setup-tags--stacked" data-fx-tags>
|
||||
<?php foreach ($fxPreferred as $code): ?>
|
||||
<?php if (!isset($fxCatalogOptions[$code])) { continue; } ?>
|
||||
<span class="fx-setup-tag" data-code="<?= e($code) ?>">
|
||||
<?= e($code) ?>
|
||||
<button type="button" data-remove-code="<?= e($code) ?>" aria-label="Entfernen">x</button>
|
||||
</span>
|
||||
<input type="hidden" name="preferred_currencies[]" value="<?= e($code) ?>" data-code-hidden="<?= e($code) ?>">
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<small class="muted">Tippen, Treffer anklicken und zur Liste hinzufuegen.</small>
|
||||
</label>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
<section class="setup-panel">
|
||||
<div class="setup-panel__head">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user