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> <th style='width:18%' align='left'>RM Number</th>
<td style='width:2%'>:</td> <td style='width:2%'>:</td>
<td style='width:35%'>$rm_number</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:2%'>:</td>
<td style='width:35%'>$hostordernumber</td> <td style='width:35%'>$hostordernumber</td>
</tr> </tr>
@ -650,7 +650,7 @@ class PrintResult extends BaseController {
$fullPage .= $this->otherTests($data_feces_lengkap, $data, $note); $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 <?php
$cityid = session()->get('usercityid'); if ($site[0] == 'S' || $site[0] == 's') {
if ($cityid == 2) {
$image = 'sby_bcg.jpg'; $image = 'sby_bcg.jpg';
} else { } else {
$image = 'bali_bcg.jpg'; $image = 'bali_bcg.jpg';