Skip to content

Commit

Permalink
Fixed Dashboard Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Oct 25, 2020
1 parent bd95a25 commit 5c0bb60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/facility/summarisation/facility_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def FacilityCapacitySummary():
capacity_summary[facility_obj.id]["actual_live_patients"] = patients_in_facility.filter(is_active=True).count()
discharge_patients = patients_in_facility.filter(is_active=False)
capacity_summary[facility_obj.id]["actual_discharged_patients"] = discharge_patients.count()
capacity_summary[facility_obj.id]["availability"] = []

for capacity_object in capacity_objects:
facility_id = capacity_object.facility.id
Expand Down

0 comments on commit 5c0bb60

Please sign in to comment.