Use get_country for Schengen report

This commit is contained in:
Edward Betts 2025-07-15 18:08:55 +02:00
parent f499015466
commit f41930f811
4 changed files with 7 additions and 51 deletions

View file

@ -86,7 +86,8 @@
<span class="text-muted">ongoing</span>
{% endif %}
</td>
<td>{{ stay.country | country_flag }} {{ stay.country.upper() }}</td>
{% set country = get_country(stay.country) %}
<td>{{ country.flag }} {{ country.name }}</td>
<td>{{ stay.days }}</td>
<td>
{% if stay.trip_date and stay.trip_name %}