mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Changes to center report
This commit is contained in:
parent
03e71ea4a5
commit
3952cfefde
@ -4132,6 +4132,10 @@ function html_print_table(&$table, $return=false)
|
|||||||
} else {
|
} else {
|
||||||
$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…
x
Reference in New Issue
Block a user