1
0
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:
Bacca97 2018-04-20 15:50:57 +02:00
parent f4c11ca495
commit e34b9ac54d
3 changed files with 4 additions and 2 deletions

View File

@ -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>';

View File

@ -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");

View File

@ -266,7 +266,7 @@ class App
'search' => $search,
'slow' => $slow,
'format' => $format,
'summable' => [],
'summable' => $summable,
];
}