diff --git a/pandora_console/godmode/agentes/module_manager_editor_prediction.php b/pandora_console/godmode/agentes/module_manager_editor_prediction.php index c033298045..cf35c8b0bf 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_prediction.php +++ b/pandora_console/godmode/agentes/module_manager_editor_prediction.php @@ -192,6 +192,23 @@ push_table_simple($data, 'prediction_module'); $data = []; $data[0] = ''; +$data[1] .= html_print_label(__('Calculation type'), 'estimation_type', true).'
'; +$data[1] .= html_print_input( + [ + 'type' => 'select', + 'return' => 'true', + 'name' => 'estimation_type', + 'class' => 'w250px', + 'fields' => [ + 'estimation_absolute' => __('Estimated absolute value'), + 'estimation_calculation' => __('Calculation of days to reach limit'), + ], + 'selected' => $estimation_type, + ], + 'div', + false +); + $data[1] .= '
'; $data[1] .= html_print_label(__('Future estimation'), 'estimation_interval', true).'
'; $data[1] .= html_print_input( @@ -220,24 +237,6 @@ $data[1] .= html_print_input( ); $data[1] .= '
'; - -$data[1] .= html_print_label(__('Calculation type'), 'estimation_type', true).'
'; -$data[1] .= html_print_input( - [ - 'type' => 'select', - 'return' => 'true', - 'name' => 'estimation_type', - 'class' => 'w250px', - 'fields' => [ - 'estimation_absolute' => __('Estimated absolute value'), - 'estimation_calculation' => __('Calculation of days to reach limit'), - ], - 'selected' => $estimation_type, - ], - 'div', - false -); - push_table_simple($data, 'capacity_planning'); // Services are an Enterprise feature.