adjustments templates

This commit is contained in:
2022-03-01 14:30:12 +01:00
parent 67948f7f3a
commit f38cfb4b28
7 changed files with 37 additions and 7 deletions

View File

@@ -49,18 +49,34 @@
{% endif %}
<h2 class="subtitle">{{ 'Past budget'|trans }}</h2>
{% if pastCharges|length > 0 or pastResources|length > 0 %}
{% include 'ChillBudgetBundle:Budget:_past_budget.html.twig' with {
'pastCharges': pastCharges,
'pastResources': pastResources,
'entity': entity
} %}
{% else %}
<div class="flex-table">
<div class="item-bloc">
<p><span class="chill-no-data-statement">{{ "There isn't any element recorded"|trans }}</span></p>
</div>
</div>
{% endif %}
<h2 class="subtitle">{{ 'Future budget'|trans }}</h2>
{% if futureCharges|length > 0 or futureResources|length > 0 %}
{% include 'ChillBudgetBundle:Budget:_future_budget.html.twig' with {
'futureResources': futureResources,
'futureCharges': futureCharges,
'entity': entity
} %}
{% else %}
<div class="flex-table">
<div class="item-bloc">
<p><span class="chill-no-data-statement">{{ "There isn't any element recorded"|trans }}</span></p>
</div>
</div>
{% endif %}