%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emtnaeewxm/www/src/EEM/FonctionnaliteBundle/Resources/views/historique/
Upload File :
Create Path :
Current File : /home/emtnaeewxm/www/src/EEM/FonctionnaliteBundle/Resources/views/historique/mouvement.html.twig

{% form_theme form 'bootstrap_4_layout.html.twig' %}
{% extends 'layout_admin.html.twig' %}

{% block body %}
    <div class="row">
        <div class="col-md-12">
            <h4>Mouvement article</h4>
            <hr class="hr_titre">
        </div>
    </div>
    {{ form_start(form) }}
    <div class="row">
        <div class="col-lg-3">
            {{ form_row(form.dateDu,{'value':app.request.get('dateDu')}) }}
        </div>
        <div class="col-lg-3">
            {{ form_row(form.dateAu,{'value':app.request.get('dateAu')}) }}
        </div>
        <div class="col-lg-3">
            {{ form_row(form.article,{'value':app.request.get('article')}) }}
        </div>
        <div class="col-lg-3 m_t_25">
            <button  type="submit" class="btn btn-sm btn-success"><span class="fa fa-search"></span></button>
            <a href="{{ path('mouvement_article') }}" class="btn btn-sm btn-danger"><span class="fa fa-sync"></span></a>
        </div>
    </div>
    {{ form_end(form) }}
    <div class="row">
        <div class="col-md-12">
            <table class="table">
                <tr>
                    <th>Date</th>
                    <th>Opération</th>
                    <th>Article</th>
                    <th>Qte</th>
                    <th>Stock détails</th>
                    <th>Stock gros</th>
                </tr>
                {% set total_qte=0 %}
                {% for historique in historiques %}
                    <tr>
                        <td>{{ historique.createdAt ? historique.createdAt|date('d/m/Y') : '' }}</td>
                        <td>{{ historique.entity|capitalize }} {{ historique.type ? '['~ historique.type|capitalize~']' }} : {{ historique.operation }}</td>
                        <td>{{ historique.article ? historique.article.articleComplet : '' }}</td>
                        <td>{{ historique.qte }}</td>
                        <td>{{ historique.qteDetail }}</td>
                        <td>{{ historique.qteGros }}</td>
                    </tr>
                {% endfor %}
            </table>
        </div>
    </div>
{% endblock %}

Zerion Mini Shell 1.0