{% comment %} Reusable per-bucket table for the Action Required view. Expects: rows — list of Contract objects, sorted by end_date ascending {% endcomment %}
| Contract | Provider | End date | Flags | |
|---|---|---|---|---|
| {{ contract.name }} {% if contract.contract_number %} {{ contract.contract_number }} {% endif %} | {{ contract.provider.name }} | {{ contract.end_date|date:"SHORT_DATE_FORMAT" }} | {% if contract.auto_renew %} Auto-renew {% endif %} {% if contract.notice_period_days %} {{ contract.notice_period_days }}d notice {% endif %} | Edit → |