Merge branch 'ent-13375-descuadre-informe-sql-query' into 'develop'
Changes to center report See merge request artica/pandorafms!7157
This commit is contained in:
commit
30674ea13e
|
@ -4133,6 +4133,10 @@ function html_print_table(&$table, $return=false)
|
||||||
$headStyle = '';
|
$headStyle = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($table->headStyle[$heading])) {
|
||||||
|
$headStyle = ' style = "'.$table->headStyle[$heading].'" ';
|
||||||
|
}
|
||||||
|
|
||||||
$output .= '<th class="'.$table->headclass[$key].'" '.$headColspan.$headStyle.' scope="col">'.$heading.'</th>';
|
$output .= '<th class="'.$table->headclass[$key].'" '.$headColspan.$headStyle.' scope="col">'.$heading.'</th>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6380,6 +6380,7 @@ function reporting_html_sql($table, $item, $pdf=0)
|
||||||
// Print the header.
|
// Print the header.
|
||||||
foreach ($row as $key => $value) {
|
foreach ($row as $key => $value) {
|
||||||
$table2->head[] = $key;
|
$table2->head[] = $key;
|
||||||
|
$table2->headStyle[$key] = 'text-align: center;';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue