56 lines
1.5 KiB
XML
56 lines
1.5 KiB
XML
<metal:block use-macro="main_template">
|
|
<div metal:fill-slot="content">
|
|
|
|
<p>
|
|
<a href="${request.application_url}/parametres" class="btn btn-default" role="button">
|
|
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
|
|
</p>
|
|
|
|
<table id="cabinets" class="table table-striped table-bordered table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Code</th>
|
|
<th>Nom</th>
|
|
<th>Email</th>
|
|
<th>Télépone</th>
|
|
<th>BIC</th>
|
|
<th>IBAN</th>
|
|
<th>Modif le</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
<script type="text/javascript">
|
|
var dataSet = ${dt_data};
|
|
|
|
$(document).ready(function() {
|
|
$.fn.dataTable.moment('DD/MM/YYYY - HH:mm');
|
|
$('#cabinets').DataTable({
|
|
data: dataSet,
|
|
pageLength: 50,
|
|
bLengthChange: false,
|
|
language: {
|
|
url: 'https://cdn.datatables.net/plug-ins/1.10.16/i18n/French.json'
|
|
},
|
|
order: [[ 0, "asc" ]],
|
|
columnDefs: [
|
|
{ targets: 1,
|
|
"render": function (data, type, row, meta) {
|
|
// ajouter un link vers la fiche élève
|
|
return '<a href="/societe_edit/' + row[0] + '">' + data + '</a>';
|
|
},
|
|
},
|
|
],
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</div><!-- content -->
|
|
</metal:block>
|
|
|
|
|