Skip to content
Snippets Groups Projects
Commit 78ed48a7 authored by Carlos Vega's avatar Carlos Vega
Browse files

Issue #273 message in case there are no appointment types set

parent bd410622
No related branches found
No related tags found
1 merge request!188Feature/improve management of visits from subject list
Pipeline #7371 passed
......@@ -356,7 +356,7 @@ def serialize_subject(study_subject):
appointment_types = ['{} ({})'.format(at.code, at.description) for at in visit.appointment_types.all()]
if len(appointment_types) == 0:
appointment_types = 'No appointment types set.'
appointment_types = ['No appointment types set.']
serialized_visits.append({
"status": status,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment