Update nama Reff dan Lokasi Laporan Berdasar Site

This commit is contained in:
mikael-zakaria 2025-02-10 16:23:39 +07:00
parent 79936abdff
commit def21a53e5
2 changed files with 3 additions and 4 deletions

View File

@ -152,7 +152,7 @@ class PrintResult extends BaseController {
<th style='width:18%' align='left'>RM Number</th>
<td style='width:2%'>:</td>
<td style='width:35%'>$rm_number</td>
<th style='width:18%' align='left'>Reff Number</th>
<th style='width:18%' align='left'>Visit Number</th>
<td style='width:2%'>:</td>
<td style='width:35%'>$hostordernumber</td>
</tr>
@ -650,7 +650,7 @@ class PrintResult extends BaseController {
$fullPage .= $this->otherTests($data_feces_lengkap, $data, $note);
}
return view('result_report', ['data' => $fullPage]);
return view('result_report', ['data' => $fullPage, 'site' => $header['HOSTORDERNUMBER']]);
}
}

View File

@ -1,6 +1,5 @@
<?php
$cityid = session()->get('usercityid');
if ($cityid == 2) {
if ($site[0] == 'S' || $site[0] == 's') {
$image = 'sby_bcg.jpg';
} else {
$image = 'bali_bcg.jpg';