{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load custom_filters %} {% load render_table from django_tables2 %} {% block content %}
Contract Information
Contract Number {{ object.contract_number|placeholder }}
Contract Type {{ object.get_contract_type_display }}
Version v{{ object.version }} {% if object.is_active %} Active {% else %} Superseded {% endif %}
Financial Information
{% if object.non_recurring_charge %} {% endif %} {% if object.total_cumulative_non_recurring %} {% endif %}
Currency {{ object.get_charge_currency_display }}
Recurring Charge {{ object.charge_currency }} {{ object.recurring_charge|floatformat:2|spacecomma }}
Recurring Period {{ object.get_recurring_charge_period_display }}
Number of Charges {{ object.number_of_recurring_charges }}
Total Recurring Cost {{ object.charge_currency }} {{ object.total_recurring_cost|floatformat:2|spacecomma }}
Non-Recurring Charge {{ object.charge_currency }} {{ object.non_recurring_charge|floatformat:2|spacecomma }}
Cumulative Non-Recurring {{ object.charge_currency }} {{ object.total_cumulative_non_recurring|floatformat:2|spacecomma }}
Total Contract Value {{ object.charge_currency }} {{ object.total_contract_value|floatformat:2|spacecomma }}
Contract Dates
{% if object.commitment_end_date %} {% endif %}
Start Date {{ object.start_date|placeholder }}
End Date {% if object.end_date %} {{ object.end_date }} {% else %} {{ ''|placeholder }} {% endif %}
Commitment End Date {{ object.commitment_end_date }}
{% plugin_left_page object %}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %} {% if version_history %}
Version History
{% for version in version_history %} {% endfor %}
Version Type Status Actions
v{{ version.version }} {{ version.get_contract_type_display }} {% if version.is_active %} Active {% else %} Superseded {% endif %} {% if version.pk != object.pk %} View {% else %} Current {% endif %}
{% endif %} {% if segments %}
Related Segments
{% for segment in segments %} {% endfor %}
Name Segment Type Provider Status
{{ segment.name }} {{ segment.get_segment_type_display }} {% if segment.provider %} {{ segment.provider }} {% else %} {{ ''|placeholder }} {% endif %} {{ segment.get_status_display }}
{% endif %} {% if object.notes %}
Notes
{{ object.notes }}
{% endif %} {% plugin_right_page object %}
{% endblock content %}