diff --git a/templates/index.html b/templates/index.html index 3d45a39..9b1cbe3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -77,6 +77,7 @@ Last Mileage Oil Litres $/Litre + $ Total @@ -87,6 +88,9 @@ Last Mileage {{ point['oilhealth'] }} {{ point['fuel'] }} {{ point['fuelcost'] }} + {% if point['fuel'] %} + {{ '%0.2f' % ((point['fuel'] | float) * (point['fuelcost'] | float)) }} + {% endif %} {% endfor %}