This commit is contained in:
2024-12-26 17:45:58 +01:00
parent 9a2e4755e1
commit 4b798fd1f9
39 changed files with 1445 additions and 71 deletions

View File

@ -0,0 +1 @@
{% extends 'base.html.twig' %}

View File

@ -3,7 +3,8 @@
{% block body %}
<div class="d-flex justify-content-center">
<div class="d-flex justify-content-center mt-5">
{% for accounting in accountings %}
<div class="card" style="width:400px">
<div class="card-body d-flex align-items-center">
@ -11,7 +12,19 @@
<i class="fas {{accounting.icon}} fa-4x"></i>
</div>
<div class="p-3 fs-1">{{accounting.title}}</div>
<div class="p-3 fs-1 d-flex flex-column flex-grow-1 align-items-center">
<div>{{accounting.title}}</div>
<div>{{accounting.solde}}€</div>
<div class="d-flex ">
<a class="p-3" href="{{path('app_user_operation_submitwithaccounting',{id:accounting.id,direction:'credit'})}}">
<i class="fas fa-minus bg-danger text-white rounded-circle fa-fw" style="height:60px; padding-top:7px;"></i>
</a>
<a class="p-3" href="{{path('app_user_operation_submitwithaccounting',{id:accounting.id,direction:'debit'})}}">
<i class="fas fa-plus bg-success text-white rounded-circle fa-fw" style="height:60px; padding-top:7px;"></i>
</a>
</div>
</div>
</div>
</div>
{% endfor %}

View File

@ -1 +1,4 @@
<h2>Veuillez selectionner une compagnie</h2>
{% extends 'base.html.twig' %}
{%block body%}
<h2>Veuillez selectionner une compagnie</h2>
{%endblock%}