csdsd
This commit is contained in:
@@ -12,6 +12,7 @@ if ($assets) {
|
|||||||
$settings = module_fn('fx-rates', 'settings');
|
$settings = module_fn('fx-rates', 'settings');
|
||||||
$service = module_fn('fx-rates', 'service');
|
$service = module_fn('fx-rates', 'service');
|
||||||
$preferredCurrencies = is_array($settings['preferred_currencies'] ?? null) ? $settings['preferred_currencies'] : [];
|
$preferredCurrencies = is_array($settings['preferred_currencies'] ?? null) ? $settings['preferred_currencies'] : [];
|
||||||
|
$apiDescribeUrl = APP_API_BASE . '/fx-rates/v1/endpoints';
|
||||||
$notice = trim((string) ($_GET['notice'] ?? ''));
|
$notice = trim((string) ($_GET['notice'] ?? ''));
|
||||||
$error = trim((string) ($_GET['error'] ?? ''));
|
$error = trim((string) ($_GET['error'] ?? ''));
|
||||||
|
|
||||||
@@ -56,6 +57,11 @@ $pageData = json_encode([
|
|||||||
<div class="fx-message is-error"><?= e($error) ?></div>
|
<div class="fx-message is-error"><?= e($error) ?></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<p class="fx-api-note">
|
||||||
|
API-Self-Describe-Endpoint:
|
||||||
|
<a href="<?= e($apiDescribeUrl) ?>" target="_blank" rel="noopener noreferrer"><?= e($apiDescribeUrl) ?></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>Umrechnung</h2>
|
<h2>Umrechnung</h2>
|
||||||
<p>Umrechnung auf Basis des letzten verfuegbaren Kurses zwischen den bevorzugten Waehrungen.</p>
|
<p>Umrechnung auf Basis des letzten verfuegbaren Kurses zwischen den bevorzugten Waehrungen.</p>
|
||||||
<div class="fx-form-grid">
|
<div class="fx-form-grid">
|
||||||
|
|||||||
Reference in New Issue
Block a user