mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-22 05:23:41 +01:00
Bugfix: sistemata visualizzazione totale colonna datatables
This commit is contained in:
parent
f4c11ca495
commit
e34b9ac54d
@ -141,6 +141,8 @@ if (!empty($module_options) && $module_options != 'menu' && $module_options != '
|
||||
|
||||
<tfoot>
|
||||
<tr>';
|
||||
echo '
|
||||
<td></td>';
|
||||
foreach ($total['fields'] as $key => $field) {
|
||||
echo '
|
||||
<td></td>';
|
||||
|
@ -720,7 +720,7 @@ function start_datatables() {
|
||||
}
|
||||
},
|
||||
footerCallback: function (row, data, start, end, display) {
|
||||
var i = 0;
|
||||
var i = -1;
|
||||
this.api().columns().every(function () {
|
||||
if (sum.summable[i] != undefined) {
|
||||
$(this.footer()).addClass("text-right");
|
||||
|
@ -266,7 +266,7 @@ class App
|
||||
'search' => $search,
|
||||
'slow' => $slow,
|
||||
'format' => $format,
|
||||
'summable' => [],
|
||||
'summable' => $summable,
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user