Merge branch 'ent-12006-filtro-order-by-agent-de-inventario-rompe-la-vista-si-se-especifica-modulo' into 'develop'

Ent 12006 Filtro "Order by agent" de inventario rompe la vista si se especifica módulo

See merge request artica/pandorafms!6459
This commit is contained in:
Rafael Ameijeiras 2023-09-19 10:09:40 +00:00
commit 8b267c530f

View File

@ -256,7 +256,7 @@ class InventoryWidget extends Widget
'arguments' => [ 'arguments' => [
'name' => 'free_search', 'name' => 'free_search',
'type' => 'text', 'type' => 'text',
'class' => 'w100p', 'class' => 'w96p',
'input_class' => 'flex-row', 'input_class' => 'flex-row',
'value' => $values['freeSearch'], 'value' => $values['freeSearch'],
'return' => true, 'return' => true,
@ -612,7 +612,7 @@ class InventoryWidget extends Widget
$table = ui_print_datatable( $table = ui_print_datatable(
[ [
'id' => $id_table, 'id' => $id_table,
'class' => 'info_table w100p', 'class' => 'info_table w96p',
'style' => 'width: 100%', 'style' => 'width: 100%',
'columns' => $columns, 'columns' => $columns,
'column_names' => $columns, 'column_names' => $columns,
@ -642,8 +642,8 @@ class InventoryWidget extends Widget
true, true,
true, true,
'', '',
'white-box-content w100p', 'white-box-content w96p',
'box-shadow white_table_graph w100p', 'box-shadow white_table_graph w96p',
'images/arrow_down_green.png', 'images/arrow_down_green.png',
'images/arrow_right_green.png', 'images/arrow_right_green.png',
false, false,
@ -666,8 +666,8 @@ class InventoryWidget extends Widget
true, true,
true, true,
'', '',
'white-box-content w100p', 'white-box-content w96p',
'box-shadow white_table_graph w100p', 'box-shadow white_table_graph w96p',
); );
} }
@ -682,7 +682,10 @@ class InventoryWidget extends Widget
'', '',
'', '',
false, false,
false false,
'',
'white-box-content',
'box-flat white_table_graph w96p'
); );
} }
} else { } else {
@ -729,7 +732,7 @@ class InventoryWidget extends Widget
$table = ui_print_datatable( $table = ui_print_datatable(
[ [
'id' => $id_table, 'id' => $id_table,
'class' => 'info_table w100p', 'class' => 'info_table w96p',
'style' => 'width: 100%', 'style' => 'width: 100%',
'columns' => $columns, 'columns' => $columns,
'column_names' => $columns, 'column_names' => $columns,
@ -759,8 +762,8 @@ class InventoryWidget extends Widget
true, true,
true, true,
'', '',
'white-box-content w100p', 'white-box-content w96p',
'box-shadow white_table_graph w100p', 'box-shadow white_table_graph w96p',
'images/arrow_down_green.png', 'images/arrow_down_green.png',
'images/arrow_right_green.png', 'images/arrow_right_green.png',
false, false,
@ -782,8 +785,8 @@ class InventoryWidget extends Widget
true, true,
true, true,
'', '',
'white-box-content w100p', 'white-box-content w96p',
'box-shadow white_table_graph w100p', 'box-shadow white_table_graph w96p',
); );
} }
@ -895,7 +898,7 @@ class InventoryWidget extends Widget
$table = ui_print_datatable( $table = ui_print_datatable(
[ [
'id' => $id_table, 'id' => $id_table,
'class' => 'info_table w100p', 'class' => 'info_table w96p',
'style' => 'width: 100%', 'style' => 'width: 100%',
'columns' => $columns, 'columns' => $columns,
'column_names' => $columns, 'column_names' => $columns,
@ -925,8 +928,8 @@ class InventoryWidget extends Widget
true, true,
true, true,
'', '',
'white-box-content w100p', 'white-box-content w96p',
'box-shadow white_table_graph w100p', 'box-shadow white_table_graph w96p',
'images/arrow_down_green.png', 'images/arrow_down_green.png',
'images/arrow_right_green.png', 'images/arrow_right_green.png',
false, false,
@ -947,7 +950,10 @@ class InventoryWidget extends Widget
'', '',
'', '',
false, false,
false false,
'',
'white-box-content',
'box-flat white_table_graph w96p'
); );
} }
} else { } else {
@ -986,7 +992,7 @@ class InventoryWidget extends Widget
$table = ui_print_datatable( $table = ui_print_datatable(
[ [
'id' => $id_table, 'id' => $id_table,
'class' => 'info_table w100p', 'class' => 'info_table w96p',
'style' => 'width: 100%', 'style' => 'width: 100%',
'columns' => $columns, 'columns' => $columns,
'column_names' => $columns, 'column_names' => $columns,
@ -1022,7 +1028,7 @@ class InventoryWidget extends Widget
$table = ui_print_datatable( $table = ui_print_datatable(
[ [
'id' => $id_table, 'id' => $id_table,
'class' => 'info_table w100p', 'class' => 'info_table w96p',
'style' => 'width: 100%', 'style' => 'width: 100%',
'columns' => $columns, 'columns' => $columns,
'column_names' => $columns, 'column_names' => $columns,
@ -1049,7 +1055,7 @@ class InventoryWidget extends Widget
$id_agente = $inventory_id_agent; $id_agente = $inventory_id_agent;
$agentes = []; $agentes = [];
$data = []; $data = [];
$class = 'info_table w100p'; $class = 'info_table w96p';
$style = 'width: 100%; font-size: 100px !important;'; $style = 'width: 100%; font-size: 100px !important;';
$ordering = true; $ordering = true;
$searching = false; $searching = false;