ajout historique list

This commit is contained in:
CAO Thien-An
2017-07-26 15:26:05 +02:00
parent dbeac03c37
commit ae59de4fe9
4 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<metal:block use-macro="main_template">
<div metal:fill-slot="content">
<p>
<a href="${request.application_url}/" class="btn btn-default" role="button">
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
</p>
<table id="histo_list" class="table table-striped table-bordered">
<thead>
<tr>
<th>Date</th>
<th>Mvt Cash</th>
<th>Valeur Pf</th>
<th>Nb Part</th>
<th>Valeur Part</th>
<th>Nb Part ref</th>
<th>Valeur Part ref</th>
</tr>
</thead>
</table>
<br />
<br />
<script type="text/javascript">
var dataSet = ${dt_data};
$(document).ready(function() {
$.fn.dataTable.moment('DD/MM/YYYY');
$('#histo_list').DataTable({
data: dataSet,
pageLength: 50,
bLengthChange: false,
columnDefs: [
{className:"text-right", "targets": [1,2,3,4,5,6]}
]
});
});
</script>
</div><!-- content -->
</metal:block>