{% extends "company/company_base.html" %} {% load static %} {% block details %} {% include 'company/tabs.html' with tab='details' %}

Company Details

Customer {% include 'yesnolabel.html' with value=company.is_customer %}
Supplier {% include 'yesnolabel.html' with value=company.is_supplier %}
{% if company.notes %}
Notes
{{ company.notes }}
{% endif %}
{% endblock %} {% block js_load %} {% endblock %} {% block js_ready %} {{ block.super }} $('#edit-company').click(function() { launchModalForm("#modal-form", "{% url 'company-edit' company.id %}", { reload: true }); }); $('#delete-company').click(function() { launchDeleteForm("#modal-delete", "{% url 'company-delete' company.id %}", { redirect: "{% url 'company-index' %}" }); }); {% endblock %}