Merge branch '96-availability-report-icons-on-pdf-dev' into 'develop'

Not show graph icons legend - #96

See merge request !269
This commit is contained in:
Enrique Camargo 2017-03-16 13:46:28 +01:00
commit 6846dd89b0
1 changed files with 4 additions and 0 deletions

View File

@ -2511,6 +2511,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) {
}
}
}
if($item['type'] == 'availability_graph'){
//table_legend_graphs;
$table2 = new stdClass();
@ -2547,6 +2549,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) {
$table2->size[11] = '15%';
$table2->data[0][11] = '<span>'.__('Ignore time'). '</span>';
}
$table->colspan['charts']['cell'] = 2;
$table->data['charts']['cell'] = html_print_table($table1, true);
$table->colspan['legend']['cell'] = 2;