Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redhat-beyond/Hotails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6d6b01a9477893b3c357e3079524e1d1dd74b237
Choose a base ref
..
head repository: redhat-beyond/Hotails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 981fa2f9dcd1e093a3a3f96c01736e55b153c20b
Choose a head ref
Showing with 0 additions and 1 deletion.
  1. +0 −1 orders/models.py
1 change: 0 additions & 1 deletion orders/models.py
Original file line number Diff line number Diff line change
@@ -103,4 +103,3 @@ def day_care_is_available_on_dates(daycare: DayCare, start_date: str, end_date:
end_date = datetime.date.fromisoformat(end_date)
capacity_per_day_list = Order.get_capacity_of_daycare_in_dates_range(daycare.id, start_date, end_date)
return all(current_capacity < daycare.capacity for current_capacity in capacity_per_day_list)