{# Plan tab KPI strip — 4 tiles. Inputs: plan_view. #}
{# Total Planned #}
Total Planned
${{ "%.2f"|format(plan_view.total_planned_dollar|float) }}
{% if plan_view.planned_rows_with_quote < plan_view.planned_rows_total %}
{{ plan_view.planned_rows_with_quote }}/{{ plan_view.planned_rows_total }} priced
{% endif %}
{# To Fill #}
To Fill
{% if plan_view.total_to_fill_dollar > 0 %}+{% endif %}${{ "%.2f"|format(plan_view.total_to_fill_dollar|float) }}
{# Free Cash #}
Free Cash
${{ "%.2f"|format(plan_view.free_cash|float) }}
{# Coverage #}
{% if plan_view.coverage_pct is not none %} {% set cov = plan_view.coverage_pct|float %} {% if cov >= 100 %}{% set cov_color = 'var(--color-pos)' %} {% elif cov >= 50 %}{% set cov_color = 'var(--color-warn)' %} {% else %}{% set cov_color = 'var(--color-neg)' %}{% endif %}
Coverage
{{ "%.0f"|format(cov) }}%
{% if cov < 100 %}
short by ${{ "%.2f"|format((plan_view.total_to_fill_dollar - plan_view.free_cash)|float) }}
{% endif %} {% else %}
Coverage
All targets met
{% endif %}