mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
several changes
This commit is contained in:
parent
fd4a66dd37
commit
fe1c201ecf
@ -610,7 +610,7 @@ class InventoryWidget extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$id_table = 'id_'.$row['id_module_inventory'].'_'.$nodo['server_uid'];
|
$id_table = 'id_'.$row['id_module_inventory'].'_'.uniqid().'_'.$nodo['server_uid'];
|
||||||
$table = ui_print_datatable(
|
$table = ui_print_datatable(
|
||||||
[
|
[
|
||||||
'id' => $id_table,
|
'id' => $id_table,
|
||||||
@ -621,7 +621,7 @@ class InventoryWidget extends Widget
|
|||||||
'no_sortable_columns' => [],
|
'no_sortable_columns' => [],
|
||||||
'data_element' => $data,
|
'data_element' => $data,
|
||||||
'searching' => true,
|
'searching' => true,
|
||||||
'dom_elements' => 'frtilp',
|
'dom_elements' => 'rtilp',
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => $columns[0],
|
'field' => $columns[0],
|
||||||
'direction' => 'asc',
|
'direction' => 'asc',
|
||||||
@ -729,7 +729,7 @@ class InventoryWidget extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$id_table = 'id_'.$row['id_module_inventory'].'_'.$nodo['server_uid'];
|
$id_table = 'id_'.$row['id_module_inventory'].'_'.uniqid().'_'.$nodo['server_uid'];
|
||||||
|
|
||||||
$table = ui_print_datatable(
|
$table = ui_print_datatable(
|
||||||
[
|
[
|
||||||
@ -741,7 +741,7 @@ class InventoryWidget extends Widget
|
|||||||
'no_sortable_columns' => [],
|
'no_sortable_columns' => [],
|
||||||
'data_element' => $data,
|
'data_element' => $data,
|
||||||
'searching' => true,
|
'searching' => true,
|
||||||
'dom_elements' => 'frtilp',
|
'dom_elements' => 'rtilp',
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => $columns[0],
|
'field' => $columns[0],
|
||||||
'direction' => 'asc',
|
'direction' => 'asc',
|
||||||
@ -895,7 +895,7 @@ class InventoryWidget extends Widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$id_table = 'id_'.$key_row.'_'.$row['id_module_inventory'].'_'.$row['id_agente'];
|
$id_table = 'id_'.$key_row.'_'.$row['id_module_inventory'].'_'.uniqid().'_'.$row['id_agente'];
|
||||||
|
|
||||||
$table = ui_print_datatable(
|
$table = ui_print_datatable(
|
||||||
[
|
[
|
||||||
@ -907,7 +907,7 @@ class InventoryWidget extends Widget
|
|||||||
'no_sortable_columns' => [],
|
'no_sortable_columns' => [],
|
||||||
'data_element' => $data,
|
'data_element' => $data,
|
||||||
'searching' => true,
|
'searching' => true,
|
||||||
'dom_elements' => 'frtilp',
|
'dom_elements' => 'rtilp',
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => $columns[0],
|
'field' => $columns[0],
|
||||||
'direction' => 'asc',
|
'direction' => 'asc',
|
||||||
@ -987,7 +987,7 @@ class InventoryWidget extends Widget
|
|||||||
array_push($data, $data_tmp);
|
array_push($data, $data_tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
$id_table = 'id_'.$row['id_module_inventory'];
|
$id_table = 'id_'.$row['id_module_inventory'].uniqid();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($count_rows > 1) {
|
if ($count_rows > 1) {
|
||||||
@ -1001,7 +1001,7 @@ class InventoryWidget extends Widget
|
|||||||
'no_sortable_columns' => [],
|
'no_sortable_columns' => [],
|
||||||
'data_element' => $data,
|
'data_element' => $data,
|
||||||
'searching' => true,
|
'searching' => true,
|
||||||
'dom_elements' => 'frtilp',
|
'dom_elements' => 'rtilp',
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => $columns[0],
|
'field' => $columns[0],
|
||||||
'direction' => 'asc',
|
'direction' => 'asc',
|
||||||
@ -1037,7 +1037,7 @@ class InventoryWidget extends Widget
|
|||||||
'no_sortable_columns' => [],
|
'no_sortable_columns' => [],
|
||||||
'data_element' => $data,
|
'data_element' => $data,
|
||||||
'searching' => true,
|
'searching' => true,
|
||||||
'dom_elements' => 'frtilp',
|
'dom_elements' => 'rtilp',
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => $columns[0],
|
'field' => $columns[0],
|
||||||
'direction' => 'asc',
|
'direction' => 'asc',
|
||||||
@ -1100,7 +1100,7 @@ class InventoryWidget extends Widget
|
|||||||
'columns' => $columns,
|
'columns' => $columns,
|
||||||
'column_names' => $columns_names,
|
'column_names' => $columns_names,
|
||||||
'ordering' => $ordering,
|
'ordering' => $ordering,
|
||||||
'dom_elements' => 'frtilp',
|
'dom_elements' => 'rtilp',
|
||||||
'searching' => $searching,
|
'searching' => $searching,
|
||||||
'order' => [
|
'order' => [
|
||||||
'field' => $columns[0],
|
'field' => $columns[0],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user