{% extends 'base.html' %} {% block title %}Ceny Orlen{% endblock %} {% block content %} {% if mode == 'history' %}
{% for f in fuel_types %}{% endfor %}
{% if selected_regions %}{{selected_regions|length}} wybrano{% else %}Domyślne województwo{% endif %}
{% if current_user.role in ['boss','admin'] %}
{% endif %}
{% else %}
Porównanie zawsze dotyczy jednego rodzaju paliwa.
{% if comparison_summary %}
{% for item in comparison_summary %}
{{item.label}}{% if item.average is not none %}{{'%.4f'|format(item.average)}} zł/l{% else %}Brak danych{% endif %}{% if item.count %}
Min. {{'%.4f'|format(item.minimum)}} · Maks. {{'%.4f'|format(item.maximum)}} · {{item.count}} pomiarów
{% endif %}
{% endfor %}
{% endif %} {% if summary_difference %}
Średnia w pierwszym okresie jest {% if summary_difference.value > 0 %}wyższa{% elif summary_difference.value < 0 %}niższa{% else %}taka sama{% endif %} o {{'%.4f'|format(summary_difference.value|abs)}} zł/l{% if summary_difference.percent is not none %} ({{'%.2f'|format(summary_difference.percent|abs)}}%){% endif %}.
{% endif %} {% endif %}

{% if mode == 'compare' %}Porównanie: {{compare_fuel}}{% else %}Trend ceny{% endif %} {% if include_vat %}brutto{% else %}netto{% endif %}

Cena za litr w złotych.

Brak danych dla wybranych filtrów.
{% for r in rows|reverse %}{% else %}{% endfor %}
DataPaliwoCena netto zł/lRegionPobrano
{{r.effective_date}}{{r.product_name}}{{'%.4f'|format(r.price_per_liter|float)}}{{r.region or '—'}}{{r.fetched_at.strftime('%Y-%m-%d %H:%M')}}
Brak danych w bazie.
{% endblock %} {% block scripts %}{% endblock %}