{% extends "_base.html" %} {% load static %} {% load filters %} {% block styles %} {{ block.super }} {% endblock styles %} {% block page_title %}'visits'{% endblock page_title %} {% block page_header %}Details of the visit{% endblock page_header %} {% block page_description %}{% endblock page_description %} {% block title %}{{ block.super }} - Details of visit {% endblock %} {% block breadcrumb %} {% include "subjects/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} {% block content %}
Back

Details of visit

{% for field in vform %}
{{ field|add_class:'form-control' }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %} Visit finished: {% if visFinished %} {% else %} {% endif %}

Visit's assignments

{% if loApp %} {% for app in loApp %} {% endfor %}
No. Type Date Time Length [min] Responsible Plan/Modify
{{ forloop.counter }} {{ app.appointmentType }} {{ app.appDateTime | date:"d-M-Y" }} {{ app.appDateTime | time:"H:i" }} {{ app.appLength }} {% if app.flyingTeam %}{{ app.workerAssigned.firstName }} {{app.workerAssigned.lastName}} {% else %} {{ app.flyingTeam }} {% endif %} TODO
{% else %}

No appointments found.

{% endif %}

Subject's details

{% for field in sform %}
{{ field|add_class:'form-control' }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% endblock %} {% endblock maincontent %} {% block scripts %} {{ block.super }} {% endblock scripts %}