Try this - in admin/stats_sales_report.php, move the table that draws the header to after the table that draws the data. In abstract, this file:
Calculates stuff
Prints out the header
Prints out the data
Take this (around line 325 - 582 - page numbers might not be exact based on revision etc, but should be close)
Code:
****** start here *******
// display the print header
if ($output_format == 'print') {
if ($auto_print) {
echo '<body onload="print();">';
}
?>
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<!-- PRINT HEADER -->
.
.
.
<tr>
<td align="left"><?php echo zen_draw_separator('pixel_trans.gif', 1, 15); ?></td>
<td align="right" valign="top" id="td_wait_text" class="alert" style="font-size:12px; visibility:hidden"><?php echo SEARCH_WAIT_TEXT; ?> </td>
</tr>
<?php
} // END <?php if ( (!$output_format || $output_format = 'display') && $output_format != 'print')
****** cut here ********
And move it after around line 1140
Code:
.
.
.
<tr>
<td valign="bottom" class="smallText"><?php printf(TEXT_PARSE_TIME, number_format($parse_time, 5) ); ?></td>
<td><?php echo zen_draw_separator('pixel_trans.gif', 1, 20); ?></td>
</tr>
<?php
}
} // END if ($output_format == 'print' || $output_format == 'display')
****** insert here *******
Bookmarks