{% extends "base.html" %} {% block title %}Import Contracts & Facilities{% endblock %} {% block content %}
Bulk-create contracts and their facilities from an Excel workbook.
Contracts
contract_name *requireddescription — optionalactive — yes/no (default: yes)Facilities
contract_name *required — must match a row in Contracts sheetfacility_name *requiredaddress, contact_person, contact_phone — optionalactive — yes/no (default: yes)| Row | Sheet | Contract Name | Facility Name | Status |
|---|---|---|---|---|
| {{ row.row }} | {{ row.sheet }} | {{ row.contract_name or '—' }} | {{ row.facility_name or '—' }} |
{% if row.status == 'ok' %}
Ready
{% elif row.status == 'exists' %}
Exists
{{ row.note }}
{% else %}
Error
|