{% extends 'base.html.twig' %}
{% block title %}JournalComptable index{% endblock %}
{% block body %}
<h1>JournalComptable index</h1>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Date</th>
<th>Libelle</th>
<th>CreatedAt</th>
<th>UpdatedAt</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for journal_comptable in journal_comptables %}
<tr>
<td>{{ journal_comptable.id }}</td>
<td>{{ journal_comptable.date ? journal_comptable.date|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ journal_comptable.libelle }}</td>
<td>{{ journal_comptable.createdAt ? journal_comptable.createdAt|date('Y-m-d H:i:s') : '' }}</td>
<td>{{ journal_comptable.updatedAt ? journal_comptable.updatedAt|date('Y-m-d H:i:s') : '' }}</td>
<td>
<a href="{{ path('app_journal_comptable_show', {'id': journal_comptable.id}) }}">show</a>
<a href="{{ path('app_journal_comptable_edit', {'id': journal_comptable.id}) }}">edit</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="6">no records found</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{ path('app_journal_comptable_new') }}">Create new</a>
{% endblock %}