Update penulisan Serum-imun dan Serum-kimia Label

This commit is contained in:
mikael-zakaria 2024-12-18 09:29:45 +08:00
parent 736ea4d356
commit 52168d545e
2 changed files with 14 additions and 7 deletions

View File

@ -91,7 +91,15 @@ P1
$sex = $item['SEX'] == 1 ? "M" : "F";
$title = $item['SEX'] == 1 ? "Mr" : "Mrs";
$name = $item['NAME'];
$sample = $item['FULLTEXT'];
if ($sampletype == '200'){
$sample = 'SERUM KIMIA';
} else if ($sampletype == '250'){
$sample = 'SERUM IMUN';
} else {
$sample = $item['FULLTEXT'];
}
$barcode = $item['BARCODE'];
$age = $item['AGE'];
$collectiondate = $item['COLLECTIONDATE'];

View File

@ -56,6 +56,10 @@ $name = $row['NAME'];
<div class="card-title"><h3>Sample List</h3></div>
<table class='table'>
<tr> <th class='text-center'>Coll.</th> <th class='text-center'>Recv.</th> <th>Sample Name</th> <th>Action</th> <th>Comment</th> </tr>
<!-- <tr>
<td></td> <td></td> <td>Collection</td>
<td><button type='button' class='btn btn-dark m-0 px-2 py-1'><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
</tr> -->
<tr>
<td></td> <td></td> <td>All</td>
<td>
@ -65,12 +69,7 @@ $name = $row['NAME'];
<button type='button' class='btn btn-primary m-0 px-2 py-1' onclick='unreceiveAll(<?=$accessnumber;?>)'><h6 class='p-0 m-0'>Un-Rec.</h6></button>
</td>
</tr>
<!--
<tr>
<td></td> <td></td> <td>Collection</td>
<td><button type='button' class='btn btn-dark m-0 px-2 py-1'><h6 class='p-0 m-0'> <i class='bi bi-printer'></i></h6></button></td>
</tr>
-->
<?php
foreach($data as $row) {
$sampletype = $row['SAMPLETYPE'];