{% 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 %}
{% if visFinished %} {% else %} {% endif %}

Visit's assignments

Add new assignment
{% if loApp %} {% for app in loApp %} {% endfor %}
No. Type Date Time Length [min] Responsible Plan/Modify
{{ forloop.counter }} {{ app.appointment_type }} {{ app.datetime_when | date:"d-M-Y" }} {{ app.datetime_when | time:"H:i" }} {{ app.length }} {% if app.flying_team %}{{ app.worker_assigned.first_name }} {{app.worker_assigned.last_name}} {% else %} {{ app.flying_team }} {% endif %} TODO
{% else %}

No appointments found.

{% endif %}

Subject's details

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