mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Display of budget result
This commit is contained in:
parent
8b37f008e6
commit
969f0b8aeb
@ -92,15 +92,5 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# <div class="flex-table">
|
|
||||||
<div class="item-bloc">
|
|
||||||
<div class="item-col">
|
|
||||||
<p><span class="budget-result">result of budget</span></p>
|
|
||||||
</div>
|
|
||||||
<div class="item-col">
|
|
||||||
<p>{{}}</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> #}
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,13 +26,4 @@
|
|||||||
<span class="chill-no-data-statement">{{ 'No charges registered'|trans }}</span>
|
<span class="chill-no-data-statement">{{ 'No charges registered'|trans }}</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# {% if results|length > 0 %} #}
|
|
||||||
<div class="flex-table">
|
|
||||||
<h3 class="family-title">{{ 'Budget calculator'|trans }}</h2>
|
|
||||||
<div class="item-bloc">
|
|
||||||
{{ table_results(actualCharges, actualResources) }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{# {% endif %} #}
|
|
||||||
</div>
|
</div>
|
@ -83,7 +83,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Result</td>
|
<td>{{ 'The balance'|trans }}</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td>
|
<td>
|
||||||
{{ result|format_currency('EUR') }}
|
{{ result|format_currency('EUR') }}
|
||||||
|
@ -23,6 +23,13 @@
|
|||||||
'household': household
|
'household': household
|
||||||
} %}
|
} %}
|
||||||
|
|
||||||
|
<div class="flex-table">
|
||||||
|
<h3 class="family-title">{{ 'Budget calculator'|trans }}</h2>
|
||||||
|
<div class="item-bloc">
|
||||||
|
{{ table_results(charges, resources) }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if household.getCurrentMembers|length > 0 %}
|
{% if household.getCurrentMembers|length > 0 %}
|
||||||
<h2 class="subtitle">{{ 'Current budget household members'|trans }}</h2>
|
<h2 class="subtitle">{{ 'Current budget household members'|trans }}</h2>
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{% extends "@ChillPerson/Person/layout.html.twig" %}
|
{% extends "@ChillPerson/Person/layout.html.twig" %}
|
||||||
|
|
||||||
|
{% from 'ChillBudgetBundle:Budget:_macros.html.twig' import table_results %}
|
||||||
|
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = '' %}
|
||||||
{% set title = 'Budget for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
{% set title = 'Budget for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
||||||
{% block title title %}
|
{% block title title %}
|
||||||
@ -21,6 +23,13 @@
|
|||||||
'person': person
|
'person': person
|
||||||
} %}
|
} %}
|
||||||
|
|
||||||
|
<div class="flex-table">
|
||||||
|
<h3 class="family-title">{{ 'Budget calculator'|trans }}</h2>
|
||||||
|
<div class="item-bloc">
|
||||||
|
{{ table_results(charges, resources) }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if is_granted('CHILL_BUDGET_ELEMENT_CREATE', person) %}
|
{% if is_granted('CHILL_BUDGET_ELEMENT_CREATE', person) %}
|
||||||
<ul class="record_actions sticky-form-buttons">
|
<ul class="record_actions sticky-form-buttons">
|
||||||
<li>
|
<li>
|
||||||
|
@ -70,6 +70,7 @@ charge.help.not-concerned: Non concerné
|
|||||||
|
|
||||||
Budget calculator: Calculs et indices sur le budget
|
Budget calculator: Calculs et indices sur le budget
|
||||||
Budget calculator result: Résultats
|
Budget calculator result: Résultats
|
||||||
|
The balance: Le solde budgétaire
|
||||||
|
|
||||||
Valid since %startDate% until %endDate%: Valide depuis le %startDate% jusqu'au %endDate%
|
Valid since %startDate% until %endDate%: Valide depuis le %startDate% jusqu'au %endDate%
|
||||||
Valid since %startDate%: Valide depuis le %startDate%
|
Valid since %startDate%: Valide depuis le %startDate%
|
Loading…
x
Reference in New Issue
Block a user