From 10bd014433e5e2487969727445d5bb1e40d999fb Mon Sep 17 00:00:00 2001 From: Aart van Halteren Date: Fri, 9 Dec 2022 12:25:33 +0100 Subject: [PATCH] bug fix --- app/models/cost.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/cost.rb b/app/models/cost.rb index ed460a2..c928344 100644 --- a/app/models/cost.rb +++ b/app/models/cost.rb @@ -183,7 +183,6 @@ class Cost # catch-all, incase 'formated_hour' is outside any of the cases normaal_kwh_cost = 0.0 dal_kwh_cost = 0.0 - end end normaal_cost = add_tax(formatted_hour, normaal_kwh,normaal_kwh_cost,0,0) # return_kwh already accounted for dal_cost = add_tax(formatted_hour, dal_kwh, dal_kwh_cost,0,0)