Org: Warn if overlaps occur in availability periods in add / edit. - #2597
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
| ) | ||
| ) | ||
|
|
||
| warn_about_skipped_allocations(request, form, new_allocations_count) |
There was a problem hiding this comment.
I think this should be new_allocations_count + updated_count
There was a problem hiding this comment.
Thanks for catching that.
It seems also that warn_about_skipped_allocations would need to be remembered to be called by other views if they modify rules somehow.
Please fill in the commit message below and work through the checklist. You can delete parts that are not needed, e.g. the optional description, the link to a ticket or irrelevant options of the checklist.
Commit message
Org: Warn if overlaps occur in availability periods in add / edit.
TYPE: Feature
LINK: OGC-2602
Checklist