mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Display of budget result
This commit is contained in:
parent
8b37f008e6
commit
969f0b8aeb
@ -92,15 +92,5 @@
|
||||
</div>
|
||||
{% 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>
|
||||
</div>
|
||||
{% 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>
|
@ -83,7 +83,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Result</td>
|
||||
<td>{{ 'The balance'|trans }}</td>
|
||||
<td> </td>
|
||||
<td>
|
||||
{{ result|format_currency('EUR') }}
|
||||
|
@ -23,6 +23,13 @@
|
||||
'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 %}
|
||||
<h2 class="subtitle">{{ 'Current budget household members'|trans }}</h2>
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
{% extends "@ChillPerson/Person/layout.html.twig" %}
|
||||
|
||||
{% from 'ChillBudgetBundle:Budget:_macros.html.twig' import table_results %}
|
||||
|
||||
{% set activeRouteKey = '' %}
|
||||
{% set title = 'Budget for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
||||
{% block title title %}
|
||||
@ -21,6 +23,13 @@
|
||||
'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) %}
|
||||
<ul class="record_actions sticky-form-buttons">
|
||||
<li>
|
||||
|
@ -70,6 +70,7 @@ charge.help.not-concerned: Non concerné
|
||||
|
||||
Budget calculator: Calculs et indices sur le budget
|
||||
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%: Valide depuis le %startDate%
|
Loading…
x
Reference in New Issue
Block a user