Working in the refactor the code of reports.
This commit is contained in:
parent
868d1d5b39
commit
10156ffa77
File diff suppressed because it is too large
Load Diff
|
@ -41,6 +41,7 @@ if (empty($report) || ! check_acl ($config['id_user'], $report['id_group'], "RR"
|
|||
|
||||
// Include with the functions to calculate each kind of report.
|
||||
require_once ($config['homedir'] . '/include/functions_reporting.php');
|
||||
require_once ($config['homedir'] . '/include/functions_reporting_html.php');
|
||||
require_once ($config['homedir'] . '/include/functions_groups.php');
|
||||
|
||||
enterprise_include("include/functions_reporting.php");
|
||||
|
@ -192,7 +193,7 @@ if (defined("METACONSOLE")) {
|
|||
$table->data[1][2] .= html_print_input_text ('time', $time, '', 10, 7, true) . ' ';
|
||||
$table->data[1][2] .= html_print_submit_button (__('Update'), 'date_submit', false, 'class="sub next"', true) . ' </div>';
|
||||
}
|
||||
else{
|
||||
else {
|
||||
if ($report['description'] != '') {
|
||||
$table->data[0][1] = '<div style="float:left">'.$report['description'].'</div>';
|
||||
}
|
||||
|
@ -353,7 +354,7 @@ foreach ($contents as $content) {
|
|||
$table->rowstyle = array ();
|
||||
|
||||
// Calculate new inteval for all reports
|
||||
if ($enable_init_date){
|
||||
if ($enable_init_date) {
|
||||
if ($datetime_init >= $datetime) {
|
||||
$datetime_init = $date_init_less;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue