| # |
Fecha |
Vehículo |
Kilómetros |
Litros |
Descuento |
Precio/litro |
Importe |
{% for repostaje in repostajes %}
| {{ repostaje.id }} |
{{ repostaje.fecha }} |
{{ repostaje.vehiculos.matricula }} |
{{ "%.0f"|format(repostaje.kms) }} |
{{ "%.2f €"|format(repostaje.litros) }} |
{{ "%.2f €"|format(repostaje.descuento) }} |
{{ "%.2f €"|format(repostaje.precioxlitro) }} |
{{ "%.2f €"|format(repostaje.importe) }} |
{% endfor %}
{% for micoche in vehiculos %}
| # |
Fecha |
Vehículo |
Kilómetros |
Litros |
Descuento |
Precio/litro |
Importe |
{% for repostaje in repostajes %}
{% if repostaje.vehiculo_id == micoche.id %}
| {{ repostaje.id }} |
{{ repostaje.fecha }} |
{{ repostaje.vehiculos.matricula }} |
{{ "%.0f"|format(repostaje.kms) }} |
{{ "%.2f €"|format(repostaje.litros) }} |
{{ "%.2f €"|format(repostaje.descuento) }} |
{{ "%.2f €"|format(repostaje.precioxlitro) }} |
{{ "%.2f €"|format(repostaje.importe) }} |
{% endif %}
{% endfor %}
{% endfor %}
| # |
Marca |
Modelo |
Matricula |
{% for row in vehiculos %}
| {{ row.id }} |
{{ row.marca }} |
{{ row.modelo }} |
{{ row.matricula }} |
{% endfor %}