1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| <table id="tableShipping" class="table table-hover table-responsive table-striped table-bordered">
<thead>
<tr>
<th>{{ knp_pagination_sortable(pagination, 'Sexe', 'customers.sexe') }}</th>
<th{% if pagination.isSorted('customers.nom') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(pagination, 'Nom', 'customers.nom') }}</th>
{#<th class="col-md-2">{{ sylius_resource_sort('name', 'StanhomeRhBundle.customers.page_index.sexe'|trans) }}</th>#}
<th class="col-md-2">{{ 'StanhomeRhBundle.customers.page_index.lastName'|trans }}</th>
<th class="col-md-2">{{ 'StanhomeRhBundle.customers.page_index.fixe'|trans }}</th>
<th class="col-md-2">{{ 'StanhomeRhBundle.customers.page_index.mobile'|trans }}</th>
<th class="col-md-2">{{ 'StanhomeRhBundle.customers.page_index.email'|trans }}</th>
<th>{{ 'StanhomeRhBundle.customers.page_index.modify'|trans }}</th>
{#<th>{{ sylius_resource_sort('name', 'StanhomeRhBundle.customers.page_index.delete'|trans) }}</th>#}
</tr>
</thead>
<tbody>
{% for customer in pagination %}
<tr>
<td> {{ customer.sexe }}</td>
<td>
<div class="checkbox left">
<input type="checkbox" class="flat-checkbox-1 check">
</div>
<a href="{{ path('stanhome_rh_customer_show', { 'id': customer.id }) }}">{{ customer.nom }}</a>
</td>
<td> {{ customer.prenom }}</td>
<td> {{ customer.fixe }}</td>
<td> {{ customer.portable }}</td>
<td> <a href="mailto:{{ customer.email }}">{{ customer.email }}</a></td>
<input type='hidden' name='_method' value='PUT'>
<td class="center"><a href="{{ path('stanhome_rh_customer_edit', { 'id': customer.id }) }}"><i class="icon-pencil2"></i></a></td>
{#<input type='hidden' name='_method' value='DELETE'>#}
{#<td class="center"><a href="{{ path('stanhome_rh_customer_delete', { 'id': customer.id }) }}"><i class="icon-pencil2"></i></a></td>#}
</tr>
{% endfor %}
</tbody>
</table> |
Partager