{% load static %}


{% include "diaxeirisi/00_head.html" %}
<body id="app-container" class="menu-default show-spinner">
{% include "diaxeirisi/01_menu.html" %}

    <main>
        <div class="container-fluid">
            <div class="row mb-4">
             <div class="col-12">
                <h2>Προϊόντα Παραγγελιών</h2>
                <div class="separator mb-5"></div>
                 {% if messages %}
                    <div class="alert alert-success">
                        {% for m in messages %}
                        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ m }}</li>
                        {% endfor %}
                    </div>
                 {% endif %}
             </div>
                <div class="col-12 mb-4 mx-auto">
                    <div class="card">
                        <div class="card-body">
                            <table class="table table-responsive data-table data-table-feature3">
                                <thead>
                                    <tr>
                                        <th>Α/Α</th>
                                        <th>Ημερομηνίες</th>
                                        <th>Πελάτης</th>
                                        <th>Προϊόν</th>
                                        <th>Ποσότητα</th>
                                        <th>Κατάστημα</th>
                                        <th>Πληροφορίες</th>
                                        <th>Παραλαβή</th>

                                    </tr>
                                </thead>
                                <tbody>
                                {% for db_object in  DB_Objects %}
                                    <tr>
                                        <td>{{ db_object.id }}</td>
                                        <td>{{ db_object.order }}</td>
                                        <td>{{ db_object.product }}</td>
                                        <td>{{ db_object.amount }}</td>
                                        <td>{{ db_object.info }}</td>
                                    </tr>
                                {% endfor %}
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </main>


{% include "diaxeirisi/99_footer.html" %}