fixed problem with unicode characters in names when checking office availability for daily planning
Compare changes
Files
2+ 1
− 1
@@ -185,7 +185,7 @@ class Worker(models.Model):
@@ -185,7 +185,7 @@ class Worker(models.Model):
office_availability = OfficeAvailability('{} {}'.format(self.first_name, self.last_name), start=start_date, end=end_date)
subject_appointments = AppointmentTypeLink.objects.filter(worker=self.id, date_when__gte=start_date, date_when__lte=end_date)