diff --git a/app/Views/report/custom1.php b/app/Views/report/custom1.php
index e021126..78df732 100644
--- a/app/Views/report/custom1.php
+++ b/app/Views/report/custom1.php
@@ -81,22 +81,22 @@
- | TEST NAME |
+ Institution |
+ Laboratorium Trisensa |
+ Instrument |
+ |
+
+
+ | Test |
|
- NO. LOT |
- |
+ Control |
+ |
- | METHOD |
+ Method |
|
- EXP |
- |
-
-
- | PERIOD |
- |
- Unit |
- |
+ Lot-No |
+ |
@@ -934,6 +934,26 @@
return this.testData ? this.testData.testName : '';
},
+ get institutionName() {
+ return this.testData ? (this.testData.institutionName || 'Trisensa Diagnostic Centre') : 'Trisensa Diagnostic Centre';
+ },
+
+ get instrumentName() {
+ if (!this.testData) return '-';
+ if (this.testData.instrumentName) return this.testData.instrumentName;
+ const dept = this.testData.deptName;
+ const mapping = {
+ 'Kimia': 'TMS 50i',
+ 'Imun': 'Mindray CL900i'
+ };
+ return mapping[dept] || '-';
+ },
+
+ get controlNames() {
+ if (this.controls.length === 0) return '-';
+ return this.controls.map(c => c.controlName).join(', ');
+ },
+
get testCode() {
return this.testData ? (this.testData.testCode || this.testData.testName) : '';
},