{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load custom_filters %} {% load render_table from django_tables2 %} {% block content %}
| 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 %} |
| 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 }} |
| 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 }} |
| 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 %} |
| Name | Segment Type | Provider | Status |
|---|---|---|---|
| {{ segment.name }} | {{ segment.get_segment_type_display }} | {% if segment.provider %} {{ segment.provider }} {% else %} {{ ''|placeholder }} {% endif %} | {{ segment.get_status_display }} |
{{ object.notes }}