BathHacked/energy-sparks

View on GitHub
app/views/schools/advice/gas_out_of_hours/_insights.html.erb

Summary

Maintainability
Test Coverage
<%= render 'insights_intro', school: @school %>
<%= render 'schools/advice/out_of_hours/current_usage',
           school: @school,
           analysis_dates: @analysis_dates,
           dashboard_alerts: @dashboard_alerts,
           annual_usage_breakdown: @annual_usage_breakdown,
           alert_classes: [AlertOutOfHoursGasUsage],
           fuel_type: :gas %>
<%= render 'schools/advice/out_of_hours/comparison',
           school: @school,
           benchmarked_usage: @benchmarked_usage,
           analysis_dates: @analysis_dates,
           well_managed_percent: @well_managed_percent,
           fuel_type: :gas %>