{% set allocated = program.totalBudget|default(0) %}
{% set committed = program.getTotalCommittedBudget|default(0) %}
{% set disbursed = program.totalDisbursedBudget|default(0) %}
{% set nonCommitted = allocated > committed ? (allocated - committed) : 0 %}
{% set nonDisbursed = allocated > disbursed ? (allocated - disbursed) : 0 %}
{% set pctCommitted = allocated > 0 ? (committed / allocated * 100) : 0 %}
{% set pctNonCommitted = allocated > 0 ? (nonCommitted / allocated * 100) : 0 %}
{% set pctDisbursed = allocated > 0 ? (disbursed / allocated * 100) : 0 %}
{% set pctNonDisbursed = allocated > 0 ? (nonDisbursed / allocated * 100) : 0 %}
Engagé
{{ pctCommitted|round(0) }}%
{{ committed|minify_budget }} {{ program.currency }}
Non engagé
{{ pctNonCommitted|round(0) }}%
{{ nonCommitted|minify_budget }} {{ program.currency }}
Décaissé
{{ pctDisbursed|round(0) }}%
{{ disbursed|minify_budget }} {{ program.currency }}
Non décaissé
{{ pctNonDisbursed|round(0) }}%
{{ nonDisbursed|minify_budget }} {{ program.currency }}
Total alloué aux projets: {{ allocated|minify_budget }} {{ program.currency }}