{% extends "base.html" %} {% block title %}CPMP Portfolio - ICDEV™{% endblock %} {% block content %}
Contract Performance Management Portal — active contracts, health, and deliverable tracking
| Contract # | Title | Agency | Type | Status | Health | POP End | Value | CPI | SPI |
|---|---|---|---|---|---|---|---|---|---|
| {{ contract.contract_number | default('—') }} | {{ contract.title | default('—') }} | {{ contract.agency | default('—') }} | {{ contract.contract_type | default('—') }} | {% set cstatus = contract.status | default('unknown') %} {% set cstatus_colors = {'active': 'success', 'complete': 'info', 'at_risk': 'warning', 'overdue': 'error', 'closed': 'info', 'pending': 'warning'} %} {{ cstatus | replace('_', ' ') | title }} | {% set health = contract.health | default('unknown') %} {% if health == 'green' %} Green {% elif health == 'yellow' %} Yellow {% elif health == 'red' %} Red {% else %} {{ health | title }} {% endif %} | {{ contract.pop_end | default('—') }} | ${{ '{:,.0f}'.format(contract.value | default(0)) }} | {% set cpi = contract.cpi %} {% if cpi is not none %} {{ cpi | round(2) }} {% else %} — {% endif %} | {% set spi = contract.spi %} {% if spi is not none %} {{ spi | round(2) }} {% else %} — {% endif %} |
| No contracts in portfolio. | |||||||||
| CDRL # | Title | Contract | Due Date | Days Until Due | Status |
|---|---|---|---|---|---|
| {{ d.cdrl_number | default('—') }} | {{ d.title | default('—') }} | {{ d.contract_number | default('—') }} | {{ d.due_date | default('—') }} | {% if d.days_until_due is not none %} {{ d.days_until_due | round(0) | int }} {% else %} — {% endif %} | {% set dstatus = d.status | default('pending') %} {% set dstatus_colors = {'submitted': 'success', 'approved': 'success', 'in_progress': 'info', 'pending': 'warning', 'overdue': 'error', 'rejected': 'error', 'draft': 'info'} %} {{ dstatus | replace('_', ' ') | title }} |
| No upcoming deliverables. | |||||