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

possibility to add appointment from visit list

parent 4e67260d
No related branches found
No related tags found
1 merge request!61possibility to add appointment from visit list
Pipeline #
...@@ -44,6 +44,14 @@ ...@@ -44,6 +44,14 @@
</h5> </h5>
</div> </div>
<div class="box-footer"> <div class="box-footer">
{% if not element.2 %}
<div>
<a href="{% url 'web.views.appointment_add' element.3 %}" class="btn btn-app">
<i class="fa fa-plus"></i>
Add new appointment
</a>
</div>
{% endif %}
{% for field in element.0 %} {% for field in element.0 %}
{% if not field|is_checkbox %} {% if not field|is_checkbox %}
<div class="col-md-6 form-group {% if field.errors %}has-error{% endif %} {% if field|is_checkbox %}multi-checkboxes{% endif %}"> <div class="col-md-6 form-group {% if field.errors %}has-error{% endif %} {% if field|is_checkbox %}multi-checkboxes{% endif %}">
...@@ -63,6 +71,7 @@ ...@@ -63,6 +71,7 @@
</div> </div>
</div> </div>
<div class="box box-widget widget-user-2"> <div class="box box-widget widget-user-2">
<div class="widget-user-header bg-default"> <div class="widget-user-header bg-default">
<h3 class="widget-user-username">Visit's appointments</h3> <h3 class="widget-user-username">Visit's appointments</h3>
......
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