use correct model and fix style

This commit is contained in:
osaajani 2021-07-19 17:32:23 +02:00
parent e21b89cc7c
commit e957c9feb7
29 changed files with 105 additions and 111 deletions

View file

@ -83,6 +83,7 @@ jQuery(document).ready(function ()
"language": {
"url": HTTP_PWD + "/assets/js/datatables/french.json",
},
"orderMulti": false,
"columnDefs": [{
'targets': 'checkcolumn',
'orderable': false,

View file

@ -73,6 +73,7 @@ jQuery(document).ready(function ()
"language": {
"url": HTTP_PWD + "/assets/js/datatables/french.json",
},
"orderMulti": false,
"columnDefs": [{
'targets': 'checkcolumn',
'orderable': false,

View file

@ -86,9 +86,9 @@ jQuery(document).ready(function ()
"columns" : [
{
data: 'number_formatted',
},
}
<?php if ($_SESSION['user']['admin'] ?? false) { ?>
{
,{
data: 'id',
render: function (data, type, row, meta) {
return '<input name="ids[]" type="checkbox" value="' + data + '">';