Update Flags dan Nama Dr Komang dan Jarak Tabel ke Header

This commit is contained in:
mikael-zakaria 2025-03-13 09:41:44 +08:00
parent d1e489ea45
commit b99321e56b
2 changed files with 23 additions and 13 deletions

View File

@ -489,7 +489,7 @@ class PrintResult extends BaseController {
if ($hostordernumber[0] == 'B' || $hostordernumber[0] == 'Z') { if ($hostordernumber[0] == 'B' || $hostordernumber[0] == 'Z') {
if ($uservalidator != null){ if ($uservalidator != null){
$doctor = "dr. I Komang Parwata, SpPK Subip.B.D.K.T.(k)"; $doctor = "dr. I Komang Parwata, SpPK Subip.B.D.K.T.(K)";
$analyst = "Mrs. Gusti Ayu Riska Mastari"; $analyst = "Mrs. Gusti Ayu Riska Mastari";
$noreg = "Reg. No: 570/SIPDS/0001/I/DPMPTSP/2023"; $noreg = "Reg. No: 570/SIPDS/0001/I/DPMPTSP/2023";
$signature = "<img src='http://cmod.id/assets/img/ttd_dr_komang.png' alt=''>"; $signature = "<img src='http://cmod.id/assets/img/ttd_dr_komang.png' alt=''>";
@ -790,23 +790,25 @@ class PrintResult extends BaseController {
<colgroup> <colgroup>
<col style='width: 35%;'> <col style='width: 35%;'>
<col style='width: 20%;'> <col style='width: 19%;'>
<col style='width: 13%;'> <col style='width: 1%;'>
<col style='width: 12%;'>
<col style='width: 20%;'> <col style='width: 20%;'>
<col style='width: 12%;'> <col style='width: 12%;'>
</colgroup> </colgroup>
<tr style='border: none;'> <tr style='border: none;'>
<th colspan='5' style='border: none;'> <th colspan='6' style='border: none;'>
</th> </th>
<tr> <tr>
<tr class='padmaColor'> <tr class='padmaColor'>
<th colspan='5' class='text-left left-pad'> <th colspan='6' class='text-left left-pad'>
$tempChapEng $tempChapEng
</th> </th>
</tr> </tr>
<tr> <tr>
<th>Parameter</th> <th>Parameter</th>
<th>Result</th> <th class='khusus-kanan-h'>Result</th>
<th class='khusus-kiri-h'></th>
<th>Unit</th> <th>Unit</th>
<th>Normal Range</th> <th>Normal Range</th>
<th>Sample</th> <th>Sample</th>
@ -904,7 +906,7 @@ class PrintResult extends BaseController {
} else if ($resvalue==null && $rescomment == null && $unit == null && $reff==null && $serum_type == null) { //Jika Ini adalah nama chapter } else if ($resvalue==null && $rescomment == null && $unit == null && $reff==null && $serum_type == null) { //Jika Ini adalah nama chapter
$resultTest .= " $resultTest .= "
<tr> <tr>
<td colspan='5' class=''> <td colspan='6' class=''>
".$test." ".$test."
</td> </td>
</tr> </tr>
@ -915,8 +917,9 @@ class PrintResult extends BaseController {
<td style='width: 35%;' colspan='1' class=''> <td style='width: 35%;' colspan='1' class=''>
".$test." ".$test."
</td> </td>
<td style='width: 20%;' class='right-pad ".$color."'>" . $resvalue . " $resflag " . $rescomment ."</td> <td style='width: 19%;' class='right-pad khusus-kanan-d $color'>" . $resvalue . $rescomment ."</td>
<td style='width: 13%;' class='left-pad'>" . "<pre>" .$unit. "<pre>" . "</td> <td style='width: 2%;' class='$color khusus-kiri-d'>" . "<pre>" .$resflag. "<pre>" . "</td>
<td style='width: 12%;' class='left-pad'>" . "<pre>" .$unit. "<pre>" . "</td>
<td style='width: 20%;' class='left-pad'>" . "<pre>" .$reff. "<pre>" . "</td> <td style='width: 20%;' class='left-pad'>" . "<pre>" .$reff. "<pre>" . "</td>
<td style='width: 12%;' class='left-pad'>" . $serum_type . "</td> <td style='width: 12%;' class='left-pad'>" . $serum_type . "</td>
</tr> </tr>

View File

@ -32,7 +32,7 @@ body {
text-align: justify; text-align: justify;
} }
#dinfo { #dinfo {
margin-top: 125px; margin-top: 118px;
background-size: 100% auto; background-size: 100% auto;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
@ -74,10 +74,17 @@ th,td {
border: 1px solid rgb(0, 0, 0); border: 1px solid rgb(0, 0, 0);
} }
th.khusus-kanan { th.khusus-kanan-h {
border-right: none; border-right: none;
} }
th.khusus-kiri { th.khusus-kiri-h {
border-left: none;
}
td.khusus-kanan-d {
border-right: none;
}
td.khusus-kiri-d {
border-left: none; border-left: none;
} }
@ -85,7 +92,7 @@ th.left-pad, td.left-pad {
padding-left: 0.5rem; padding-left: 0.5rem;
} }
td.right-pad { td.right-pad {
padding-right: 0.5rem; padding-right: 0.3rem;
text-align: right; text-align: right;
} }
td.center-pad { td.center-pad {