ajout historique list
This commit is contained in:
46
caotek_mesavoirs/templates/actifs/histo_list.pt
Normal file
46
caotek_mesavoirs/templates/actifs/histo_list.pt
Normal 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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user