Update report filtering, helper, and template

- Updated Filters.php configuration
- Enhanced ReportHelper library functionality
- Modified report template view for improved rendering
This commit is contained in:
mahdahar 2026-03-05 12:34:24 +07:00
parent b102ba657c
commit a65feb0495
3 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ class Filters extends BaseFilters
'after' => [
'pagecache', // Web Page Caching
'performance', // Performance Metrics
#'toolbar', // Debug Toolbar
'toolbar', // Debug Toolbar
],
];

View File

@ -267,7 +267,7 @@ class ReportHelper
$i = 0;
$page = 1;
$line = 0;
$lpp = 38;
$lpp = 39;
$done[1] = "";
$nline = 0;
$RERUN = 1;

View File

@ -65,7 +65,7 @@ $i = 1;
</table>
<br/>
<?php if ($others != '' && substr_count($others, "\r") + substr_count($result[$npage], "\r") < 38): ?>
<?php if ($others != '' && substr_count($others, "\r") + substr_count($result[$npage - 1], "\r") < 39): ?>
<table>
<tr><td><b><?= esc($othertitle) ?>:</b><br/>
<?= $others ?></td></tr>
@ -129,8 +129,8 @@ endforeach;
Status : <?= esc($status) ?>
<pre class='small'>Collected on <?= esc($collData) ?>
Received on <?= esc($recvData) ?>
Val1 By : <?= esc($val1User) ?> | Val2 By <?= esc($val2User) ?>
Page <?= $i ?>/<?= $npage ?> Printed By : <?= esc($valBy) ?> <?= esc($date) ?></pre>
Val1 By : <?= esc($val1User) ?> (<?= esc($val1Date) ?>) | Val2 By : <?= esc($val2User) ?> (<?= esc($val2Date) ?>)
Page <?= $npage + 1 ?>/<?= $npage + 1 ?> Printed By : <?= esc($valBy) ?> <?= esc($date) ?></pre>
</td>
<td class='right'>
<pre><b>&rdquo;This result is valid without signature.&rdquo;</b></pre>