personnes: icon for the service from which the schedules are viewed hidden

Closes #4114
This commit is contained in:
Serghei Mihai 2013-12-17 09:45:16 +01:00
parent bc16b4d1a7
commit 488c701fcd
No known key found for this signature in database
GPG Key ID: 76D1C964BF2FA1AF
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def get_daily_appointments(date, worker, service, time_tables, events, holidays)
services = holiday.services.all()
if service not in services:
appointment.type = 'busy-elsewhere'
appointment.other_services_names = [s.slug for s in services]
appointment.other_services_names = [s.slug for s in services if s != service]
appointments.append(appointment)
for time_table in time_tables:
interval_set = IntervalSet.between(time_table.to_interval(date).lower_bound.time(),