{% extends "leases/base.html" %} {% block title %}Import leases{% endblock %} {% block content %}

Bulk import leases

{% csrf_token %}{{ form.as_p }} Download template
{% if result %} {% if result.errors %}
Nothing was imported.
{% else %}
Imported {{ result.created|length }} leases: {{ result.created|join:", " }}
{% endif %} {% endif %}

Columns

Required: the first eight. Blank ibr is taken from the IBR table. frequency: monthly, quarterly, annual. timing: advance or arrears. exemption: none, short_term, low_value. Dates are YYYY-MM-DD.

{{ columns|join:", " }}

{% endblock %}