Skip to content
Snippets Groups Projects
Commit 1c6cc1f2 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

appointment view contain information about subject vouchers

parent 64b8f67e
No related branches found
No related tags found
1 merge request!116Resolve "PDP study patient data"
Pipeline #
......@@ -35,7 +35,7 @@
</div>
<div class="box box-info">
<form method="post" action="" enctype="multipart/form-data" class="form-horizontal">
<form method="post" action="" enctype="multipart/form-data" class="form-horizontal">
{% csrf_token %}
<fieldset>
<div class="box-header with-border">
......@@ -136,6 +136,11 @@
</div><!-- /.box-footer -->
</form>
</div>
{% if appointment.visit.subject.study.columns.vouchers %}
{% include 'includes/subject_vouchers_box.html' with subject=appointment.visit.subject %}
{% endif %}
{% include 'includes/mail_templates_box.html' with instance_id=appointment.id %}
{% if appointment.visit %}
{% include 'includes/contact_attempts_box.html' with subject=appointment.visit.subject contact_attempts=contact_attempts appointment_id=appointment.id %}
......
......@@ -139,7 +139,6 @@ def appointment_edit(request, id):
'appointment_form': appointment_form,
'study_subject_form': study_subject_form,
'subject_form': subject_form,
'id': id,
'appointment': the_appointment,
'contact_attempts': contact_attempts,
'mail_templates': MailTemplate.get_appointment_mail_templates(languages)
......
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