Commit 3deb5cd5 authored by Jiri Strojil's avatar Jiri Strojil

Fixed perf report

parent d63c1b86
Pipeline #33449 failed with stage
in 34 minutes and 32 seconds
......@@ -66,6 +66,8 @@ class PerformanceReport < ApplicationRecord
group_offer_hours: hours.group_offer.total_hours,
total_hours: hours.total_hours,
total_feedbacks: feedbacks.count,
assignment_feedbacks: feedbacks.where(group_assignment: nil).count,
group_offer_feedbacks: feedbacks.where(assignment: nil).count,
assignment_trial_feedbacks: trial_feedbacks.assignment.count,
group_offer_trial_feedbacks: trial_feedbacks.group_offer.count,
total_trial_feedbacks: trial_feedbacks.count,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment