Bug Fix: Capacity per Week overload on department change
Fixed an issue in the availability API that caused incorrect capacity calculations when a resource changed departments during a week or month. Capacities are now calculated based on the actual availability days within the respective department.