Commit b6207f26 authored by Frank Bergmann's avatar Frank Bergmann

-- show only dates up to current day in order to avoid that users change rates...

-- show only dates up to current day in order to avoid that users change rates in the future and break
   the automatic update service. Besides it makes no sense to make these dates visible.
parent 884d10ec
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
(select distinct day from im_exchange_rates) days (select distinct day from im_exchange_rates) days
$rate_from $rate_from
where where
to_char(days.day, 'YYYY') = :year to_char(days.day, 'YYYY') = :year and
days.day <= now()
order by order by
days.day DESC days.day DESC
</querytext> </querytext>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment