From 7e84e6b4bae2b145dd1fccab7b5d5b4adeaa516e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Tue, 25 Apr 2023 19:27:51 +0200 Subject: [PATCH] RVRNEXT-5 add/update layout for currency exchange rates --- views/communities/community.php | 8 ++- views/communities/currency_exchange_rates.php | 57 +++++++++++++++++++ 2 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 views/communities/currency_exchange_rates.php diff --git a/views/communities/community.php b/views/communities/community.php index 4630656..c703adc 100644 --- a/views/communities/community.php +++ b/views/communities/community.php @@ -17,8 +17,12 @@

Currencies

Main currency: getCurrency() ?>

- 0): ?> -

Further currencies:

+ 0): ?> +

Further currencies: + + getCode() ?> + +


diff --git a/views/communities/currency_exchange_rates.php b/views/communities/currency_exchange_rates.php new file mode 100644 index 0000000..60f0fe7 --- /dev/null +++ b/views/communities/currency_exchange_rates.php @@ -0,0 +1,57 @@ +@extends(templates/layout_normal) + +@section(main) +

getName() ?> - Exchange rates for getCode() ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Exchange rateValid fromExchange rateValid from
+
+
+ +
+ + + + getExchangeRate() ?>getValidFromDate()->format('Y-m-d H:i') ?>
+
+ +
+ + + +
+

+
+@endsection