fix(diagnosis): restore lab_test_no column in report tables to fix DataTables column count warning

This commit is contained in:
DevSoftTech Server 2026-10-01 11:38:29 +05:30
parent 1f4fcf6546
commit 0b75b52377
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
<tr>
<td><?= esc($row->invoice_code ?? '-') ?></td>
<td><?= esc($row->daily_sr_no ?? '-') ?></td>
<td><?= esc($row->lab_test_no ?? '-') ?></td>
<?php $displayName = (!empty($row->inv_name) && trim((string) $row->inv_name) !== '-') ? $row->inv_name : (!empty($row->p_fname) ? $row->p_fname : '-'); ?>
<td><?= esc($displayName) ?> | <?= esc($row->age ?? '-') ?></td>
<td><?= esc($row->inv_date ?? '-') ?></td>

View File

@ -27,6 +27,7 @@
<tr>
<td><?= esc($row->invoice_code ?? '-') ?></td>
<td><?= esc($row->daily_sr_no ?? '-') ?></td>
<td><?= esc($row->lab_test_no ?? '-') ?></td>
<?php $displayName = (!empty($row->inv_name) && trim((string) $row->inv_name) !== '-') ? $row->inv_name : (!empty($row->p_fname) ? $row->p_fname : '-'); ?>
<td><?= esc($displayName) ?> | <?= esc($row->age ?? '-') ?></td>
<td><?= esc($row->inv_date ?? '-') ?></td>