billing: add consult history action labels in profile and search

This commit is contained in:
DevSoftTech Server 2026-04-22 11:45:38 +05:30
parent 7d09bc3354
commit 846e21ce4b
2 changed files with 14 additions and 5 deletions

View File

@ -14,7 +14,7 @@
<th>Age</th>
<th>Last Visit</th>
<th>Insurance</th>
<th>Patient History</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@ -27,8 +27,17 @@
<td><?=$data[$i]->Last_Visit ?></td>
<td><?php echo ($data[$i]->insurance_id==0 ? 'Self': 'Insuranced'); ?></td>
<td>
<a href="javascript:load_form('<?= base_url('billing/patient/show_profile_opd') ?>/<?=$data[$i]->id ?>/1');" class="btn btn-info btn-xs">
<span class="fa fa-history"></span> Patient History
<a href="javascript:load_form('<?= base_url('billing/patient/show_profile_opd') ?>/<?=$data[$i]->id ?>/1');"
class="btn btn-info btn-sm"
title="Patient History"
aria-label="Patient History">
<i class="bi bi-clock-history"></i>
</a>
<a href="javascript:load_form('<?= base_url('billing/patient/person_record') ?>/<?=$data[$i]->id ?>');"
class="btn btn-primary btn-sm"
title="Open Profile"
aria-label="Open Profile">
<i class="bi bi-person-vcard"></i>
</a>
</td>
</tr>
@ -42,7 +51,7 @@
<th>Age</th>
<th>Last Visit</th>
<th>Insurance</th>
<th>Patient History</th>
<th>Action</th>
</tr>
</tfoot>
</table>

View File

@ -35,7 +35,7 @@
<div class="d-flex gap-2 flex-wrap justify-content-center">
<button type="button" class="btn btn-danger btn-sm" onclick="load_form('<?= base_url('billing/patient/person_record') ?>/<?=$data[0]->id?>/1');">Profile Edit</button>
<button type="button" class="btn btn-success btn-sm" onclick="load_form('<?= base_url('billing/patient/show_profile_image') ?>/<?=$data[0]->id?>/1');">Edit Picture</button>
<button type="button" class="btn btn-info btn-sm" onclick="load_form('<?= base_url('billing/patient/show_profile_opd') ?>/<?=$data[0]->id?>/1');">OPD Scan</button>
<button type="button" class="btn btn-info btn-sm" onclick="load_form('<?= base_url('billing/patient/show_profile_opd') ?>/<?=$data[0]->id?>/1');">Consult History</button>
</div>
<div class="mt-3 w-100">
<div class="d-grid gap-2">