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

{% block title %}SqrGeneratedKeyDomaine index{% endblock %}

{% block body %}
    <h1>SqrGeneratedKeyDomaine index</h1>

    <table class="table">
        <thead>
            <tr>
                <th>Id</th>
                <th>GeneratedNumber</th>
                <th>MaxNumber</th>
                <th>DateEnregistrement</th>
                <th>actions</th>
            </tr>
        </thead>
        <tbody>
        {% for sqr_generated_key_domaine in sqr_generated_key_domaines %}
            <tr>
                <td>{{ sqr_generated_key_domaine.id }}</td>
                <td>{{ sqr_generated_key_domaine.generatedNumber }}</td>
                <td>{{ sqr_generated_key_domaine.maxNumber }}</td>
                <td>{{ sqr_generated_key_domaine.dateEnregistrement ? sqr_generated_key_domaine.dateEnregistrement|date('Y-m-d H:i:s') : '' }}</td>
                <td>
                    <a href="{{ path('app_sqr_generated_key_domaine_show', {'id': sqr_generated_key_domaine.id}) }}">show</a>
                    <a href="{{ path('app_sqr_generated_key_domaine_edit', {'id': sqr_generated_key_domaine.id}) }}">edit</a>
                </td>
            </tr>
        {% else %}
            <tr>
                <td colspan="5">no records found</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <a href="{{ path('app_sqr_generated_key_domaine_new') }}">Create new</a>
{% endblock %}
