{% extends "layout.html" %} {% block title %}OptiWarm - Fuel Type: {{ fuel_type.name }}{% endblock %} {% block content %}
| Name: | {{ fuel_type.name }} |
|---|---|
| Unit Type: | {{ fuel_type.unit_name }} |
| Description: | {{ fuel_type.description or "-" }} |
| Update URL: |
{% if fuel_type.update_url %}
{{ fuel_type.update_url|truncate(45) }}
{% else %}
-
{% endif %}
|
| Update Interval: | {{ fuel_type.update_interval.strftime('%H:%M') if fuel_type.update_interval else "-" }} |
| Additional Fee Per {{ fuel_type.unit_name }}: | {{ fuel_type.add_cost_unit or "-" }} |
| Additional Fee Per {{ fuel_type.period_type_name }}: | {{ fuel_type.add_cost_period or "-" }} |
for {{ latest.unit }} {{ fuel_type.unit_name }}
{{ "%.2f"|format(latest.price / latest.unit) }} per {{ fuel_type.unit_name }}
| {{ boiler.name }} |
{{ boiler.locationid.name }}{% if boiler.zoneid %} / {{ boiler.zoneid.name }}{% endif %}
{{ boiler.boilertypeid.name }}
{% if boiler.is_active %}
Active
{% elif not boiler.is_available %}
Maintenance
{% else %}
Inactive
{% endif %}
|
|---|
| Price | Unit | From Date | To Date | Updated | Status | Actions |
|---|---|---|---|---|---|---|
| {{ cost.price }} | {{ cost.unit }} {{ fuel_type.unit_name }} | {{ cost.from_date.strftime('%Y-%m-%d %H:%M') if cost.from_date else "-" }} | {{ cost.to_date.strftime('%Y-%m-%d %H:%M') if cost.to_date else "-" }} | {{ cost.updated.strftime('%Y-%m-%d %H:%M') }} | {% if cost.is_current %} Current {% else %} Inactive {% endif %} |