{% extends "generic/object.html" %} {% load render_table from django_tables2 %} {% load plugins %} {% block content %}
Contractor
Name {{ object.name|placeholder }}
Company {{ object.company|placeholder }}
Address {{ object.address|placeholder }}
Tenant {% if object.tenant %} {{ object.tenant }} {% else %} {% endif %}
{% include "inc/panels/custom_fields.html" %} {% plugin_left_page object %}
{% include "inc/panels/tags.html" %} {% include "inc/panels/comments.html" %} {% plugin_right_page object %}
Contracts
Contract List {% if perms.inventory_monitor.add_contract %} Add Contract {% endif %}
{% htmx_table 'plugins:inventory_monitor:contract_list' contractor_id=object.pk %}
{% plugin_full_width_page object %}
{% endblock content %}