{% extends 'generic/object.html' %} {% load plugins %} {% load render_table from django_tables2 %} {% load i18n %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block content %}
{% trans "Contract" %}
{% if not 'tenant' in hidden_fields %} {% endif %} {% if not 'start_date' in hidden_fields %} {% endif %} {% if not 'end_date' in hidden_fields %} {% endif %} {% if not 'initial_term' in hidden_fields %} {% endif %} {% if not 'renewal_term' in hidden_fields %} {% endif %} {% if not 'notice_period' in hidden_fields %} {% endif %} {% if not 'parent' in hidden_fields %} {% endif %} {% if object.documents %} {% endif %}
{% trans "Name" %} {{ object.name }}
{% trans "External partie type" %} {{ object.external_partie_object_type }}
{% trans "External partie" %} {{ object.external_partie_object.name }}
{% trans "Status" %} {% badge object.get_status_display bg_color=object.get_status_color %}
{% trans "External reference" %} {{ object.external_reference }}
{% trans "Internal partie" %} {{ object.internal_partie }}
{% trans "Tenant" %} {{ object.tenant }}
{% trans "Start date" %} {{ object.start_date }}
{% trans "End date" %} {{ object.end_date }}
{% trans "Initial term" %} {{ object.initial_term }} {% trans "month" %}
{% trans "Renewal term" %} {{ object.renewal_term }} {% trans "month" %}
{% trans "Notice period" %} {{ object.notice_period }} {% trans "days" %}
{% trans "Currency" %} {{ object.currency }}
{% trans "Monthly recuring costs" %} {{ object.mrc }}
{% trans "Yearly recuring costs" %} {{ object.yrc }}
{% trans "calculated corresponding Yearly or Monthly value" %} {{ object.calculated_rc }}
{% trans "Non recuring costs" %} {{ object.nrc }}
{% trans "Invoice frequency" %} {{ object.invoice_frequency }}
{% trans "Parent" %} {{ object.parent.name }}
{% trans "Documents" %} {% trans "Documents" %}
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% if invoice_template %}
{% trans "Invoice template" %}
{% trans "Number" %} {{ invoice_template.number }}
{% trans "Currency" %} {{ invoice_template.currency }}
{% trans "Total amount" %} {{ invoice_template.total_invoicelines_amount }}
{% trans "Invoice template lines" %}
{% render_table invoicelines_table %}
{% endif %}
{% trans "Assignments" %}
{% render_table assignments_table %}
{% if childs_table %}
{% trans "childs" %}
{% render_table childs_table %}
{% endif %} {% if perms.netbox_contract.view_invoice %}
{% trans "Invoices" %} {% if perms.netbox_contract.add_invoice %} {% endif %}
{% render_table invoices_table %}
{% endif %} {% plugin_right_page object %} {% endblock content %}