{% extends "base.html" %} {% block content %}
Add Tenants to Unit {{ unit.unit_number }}

Occupancy: {{ unit.current_occupancy }} / {{ unit.max_occupants }} | Status: {{ unit.occupancy_status }}

{% if unit.is_full %}
This unit is already full. No more tenants can be added.
{% endif %}
{% csrf_token %} {% for item in tenant_data %} {% endfor %}
Select Name Current Unit Status
{% if item.is_ready and not unit.is_full %} {% else %} {% endif %} {{ item.user.get_full_name }} {% if item.profile and item.profile.unit %} {{ item.profile.unit }} {% else %} None {% endif %} {% if not item.is_ready %} Not Onboarded {% elif item.profile and item.profile.unit %} Already Assigned {% else %} Ready {% endif %}
{% endblock %}