diff --git a/app/Controllers/PrintLabel.php b/app/Controllers/PrintLabel.php index 44ea7a1..f0627ba 100644 --- a/app/Controllers/PrintLabel.php +++ b/app/Controllers/PrintLabel.php @@ -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']; diff --git a/app/Views/admin/dashboard_viewAccess.php b/app/Views/admin/dashboard_viewAccess.php index 519d4a8..7913701 100644 --- a/app/Views/admin/dashboard_viewAccess.php +++ b/app/Views/admin/dashboard_viewAccess.php @@ -56,6 +56,10 @@ $name = $row['NAME'];
| Coll. | Recv. | Sample Name | Action | Comment |
|---|---|---|---|---|
| All | @@ -65,12 +69,7 @@ $name = $row['NAME']; |