{% extends "base.html" %} {% block title %}{{ layout.t("tx.title") }}{% endblock %} {% block content %}

{{ layout.t("tx.title") }}

⇩ {{ layout.t("tx.csv") }}

{% if let Some(u) = layout.user %} {% if u.is_admin() %}
{% endif %} {% endif %} {% for r in rows %} {% endfor %} {% if rows.is_empty() %}{% endif %}
ID{{ layout.t("common.wallbox") }}C.idTag{{ layout.t("common.employee") }}{{ layout.t("common.start") }}{{ layout.t("common.end") }}{{ layout.t("common.energy") }}
{{ r.id }} {{ r.wallbox_name }} {{ r.connector_id }} {{ r.id_tag }} {{ r.employee_name.as_deref().unwrap_or("—") }} {{ r.start_time }} {{ r.stop_time.as_deref().unwrap_or(layout.t("common.running")) }} {% if let Some(e) = r.energy_kwh %}{{ e }} kWh{% else %}—{% endif %}{% if let Some(p) = r.power_kw %} · {{ p }} kW{% endif %}
{{ layout.t("tx.none") }}
{% endblock %}