{% extends 'base.html' %} {% block title %}Add area access record{% endblock %} {% block content %}

New area access record

Only use this form under extraordinary circumstances (such as when tablet login is not working). This form is not intended to be used regularly.

{% csrf_token %}
Customer: {{ customer }}
{% if customer.active_project_count == 1 %} Area access will be billed to the customer's only project, "{{ customer.active_projects.0 }}" {% else %} Which of the customer's projects would you like to bill?
{% for p in customer.active_projects %}
{% endfor %}
{% endif %}
{% if areas|length == 1 %} The customer only has access to the {{ areas.0|lower }}. Access will be billed for that area. {% else %} {{ customer }} has access to the following areas. Which would you like to bill for access?
{% for a in areas %}
{% endfor %}
{% endif %}
{% endblock %}