mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-26 20:16:14 +00:00
31 lines
937 B
Twig
31 lines
937 B
Twig
{% from 'ChillBudgetBundle:Budget:_macros.html.twig' import table_elements, table_results %}
|
|
|
|
{# <h2 class="subtitle">{{ 'Actual budget'|trans }}</h2> #}
|
|
|
|
<div class="flex-table">
|
|
<h4 class="family-title">{{ 'Actual resources'|trans }}</h4>
|
|
|
|
{% if actualResources|length > 0 %}
|
|
<div class="item-bloc">
|
|
{{ table_elements(actualResources, 'resource') }}
|
|
</div>
|
|
{% else %}
|
|
<div class="item-bloc">
|
|
<span class="chill-no-data-statement">{{ 'No resources registered'|trans }}</span>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="flex-table">
|
|
<h4 class="family-title">{{ 'Actual charges'|trans }}</h4>
|
|
{% if actualCharges|length > 0 %}
|
|
<div class="item-bloc">
|
|
{{ table_elements(actualCharges, 'charge') }}
|
|
</div>
|
|
{% else %}
|
|
<div class="item-bloc">
|
|
<span class="chill-no-data-statement">{{ 'No charges registered'|trans }}</span>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|