%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emtnaeewxm/www/src/EEM/VenteBundle/Resources/views/tresorie/
Upload File :
Create Path :
Current File : /home/emtnaeewxm/www/src/EEM/VenteBundle/Resources/views/tresorie/index.html.twig

{% extends 'layout_admin.html.twig' %}

{% block body %}
    <div class="row">
        <div class="col-md-12">
            <h4>Trésorie</h4>
            <hr class="hr_titre">
        </div>
    </div>
    <div class="row m_t_20">
        <div class="col-md-12">
            <table class="table table-stripped ">
                <thead>
                <tr>
                    <th>Date</th>
                    <th>Montant</th>
                    <th class="text-right d-none">Actions</th>
                </tr>
                </thead>
                <tbody>
                {% for tresorie in tresories %}
                    <tr>
                        <td>{{ tresorie.date ? tresorie.date|date('d/m/Y') }}</td>
                        <td>{{ tresorie.montant|number_format(3,'.',' ') }}</td>
                        <td>
                            {% if tresorie.date|date('Y-m-d')=='now'|date('Y-m-d') %}
                                <ul class="ul_action_bouton d-none">
                                    <li>
                                        <a class="btn btn-sm btn-warning"
                                           href="{{ path('tresorie_edit', { 'id': tresorie.id }) }}"><span
                                                    class="fa fa-info-circle"></span> Modifier</a>
                                    </li>
                                </ul>
                            {% endif %}
                        </td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="navigation">
                {{ knp_pagination_render(tresories) }}
            </div>
        </div>
    </div>
{% endblock %}

Zerion Mini Shell 1.0