fixed ticket 4312

This commit is contained in:
daniel 2017-01-02 10:05:11 +01:00
parent ea20b0e5fa
commit 079545d1fa
2 changed files with 7 additions and 4 deletions

View File

@ -1330,7 +1330,7 @@ You can of course remove the warnings, that's why we include the source and do n
</tr>
<tr id="row_show_resume" style="" class="datos">
<td style="font-weight:bold;"><?php echo __('Show resume') . ui_print_help_tip(__('Show a resume table with max, min, average of total modules on the report bottom'), true);?></td>
<td style="font-weight:bold;"><?php echo __('Show resume') . ui_print_help_tip(__('Show a summary chart with max, min and average number of total modules at the end of the report and Checks.'), true);?></td>
<td>
<?php
html_print_checkbox('checkbox_show_resume', 1,

View File

@ -2143,10 +2143,13 @@ function reporting_html_availability(&$table, $item) {
$table->colspan[2][0] = 2;
$data = array();
$data[0] = html_print_table($table1, true);
$data2 = array();
$data2[0] = html_print_table($table2, true);
array_push ($table->data, $data);
array_push ($table->data, $data2);
if ($item['resume']['resume']){
$data2 = array();
$data2[0] = html_print_table($table2, true);
array_push ($table->data, $data2);
}
if ($item['resume']['resume'] && !empty($item["data"])) {
$table1->width = '99%';