{% load i18n %} {% load filters %}
{% trans "Support Contracts" %}
{% if active or future or unspecified or expired_count %}
{% if active %}
{% for assignment in active %} {% endfor %}
{% trans "Contract" %} {% trans "SKU" %} {% trans "Vendor" %} {% trans "End Date" %}
{{ assignment.contract.contract_id }} {% if assignment.sku %}{{ assignment.sku.sku }}{% else %}-{% endif %} {{ assignment.contract.vendor|default:"-" }} {{ assignment.end_date|date:"Y-m-d" }}
{% endif %} {% if future %}
{% for assignment in future %} {% endfor %}
{% trans "Contract" %} {% trans "SKU" %} {% trans "Vendor" %} {% trans "Starts" %} {% trans "Ends" %}
{{ assignment.contract.contract_id }} {% if assignment.sku %}{{ assignment.sku.sku }}{% else %}-{% endif %} {{ assignment.contract.vendor|default:"-" }} {{ assignment.contract.start|date:"Y-m-d" }} {{ assignment.end_date|date:"Y-m-d" }}
{% endif %} {% if unspecified %}
{% for assignment in unspecified %} {% endfor %}
{% trans "Contract" %} {% trans "SKU" %} {% trans "Vendor" %} {% trans "Started" %}
{{ assignment.contract.contract_id }} {% if assignment.sku %}{{ assignment.sku.sku }}{% else %}-{% endif %} {{ assignment.contract.vendor|default:"-" }} {{ assignment.contract.start|date:"Y-m-d"|default:"-" }}
{% endif %} {% if expired_count %}
{% endif %}
{% else %}
{% trans "None" %}
{% endif %}