Update Laporan Hasil(Header :, Ubah Format tgl, Ubah TTD dr Komang)
This commit is contained in:
parent
69fcc8e464
commit
aa31a93939
@ -489,10 +489,10 @@ 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 Subsp.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 = "<td class='margin_right'><img src='http://cmod.id/assets/img/ttd_dr_komang.png' alt=''></td>";
|
$signature = "<td class='margin_right_img_bali'><img id='ttd_k' src='http://cmod.id/assets/img/ttdnewdokpar3.png' alt=''></td>";
|
||||||
$enteredby = "<td><u>Entered By</u></td>";
|
$enteredby = "<td><u>Entered By</u></td>";
|
||||||
$labtech = "<td>Lab Technician</td>";
|
$labtech = "<td>Lab Technician</td>";
|
||||||
$verifiedby = "<td class='margin_right'><u>Verified By</u></td>";
|
$verifiedby = "<td class='margin_right'><u>Verified By</u></td>";
|
||||||
@ -556,7 +556,7 @@ class PrintResult extends BaseController {
|
|||||||
|
|
||||||
$birth_date = $data[0]['BIRTHDATE'];
|
$birth_date = $data[0]['BIRTHDATE'];
|
||||||
$birth_date = \DateTime::createFromFormat('Y-m-d H:i:s.u', $birth_date);
|
$birth_date = \DateTime::createFromFormat('Y-m-d H:i:s.u', $birth_date);
|
||||||
if ($birth_date) { $birth_date = $birth_date->format('d-m-Y'); }
|
if ($birth_date) { $birth_date = $birth_date->format('d F Y'); }
|
||||||
|
|
||||||
if ($hostordernumber[0] == 'B' || $hostordernumber[0] == 'Z') {
|
if ($hostordernumber[0] == 'B' || $hostordernumber[0] == 'Z') {
|
||||||
$branch = "PMG Bali";
|
$branch = "PMG Bali";
|
||||||
@ -569,7 +569,7 @@ class PrintResult extends BaseController {
|
|||||||
$collection_date = $data[0]['COLLECTIONDATE'];
|
$collection_date = $data[0]['COLLECTIONDATE'];
|
||||||
$dateTimeCol = \DateTime::createFromFormat('Y-m-d H:i:s.u', $collection_date);
|
$dateTimeCol = \DateTime::createFromFormat('Y-m-d H:i:s.u', $collection_date);
|
||||||
if ($dateTimeCol) {
|
if ($dateTimeCol) {
|
||||||
$collection_date = $dateTimeCol->format('d-m-Y H:i');
|
$collection_date = $dateTimeCol->format('d F Y H:i');
|
||||||
}
|
}
|
||||||
|
|
||||||
$result_date = end($resultData);
|
$result_date = end($resultData);
|
||||||
@ -584,7 +584,7 @@ class PrintResult extends BaseController {
|
|||||||
if ($year < 2020) {
|
if ($year < 2020) {
|
||||||
$result_date = "";
|
$result_date = "";
|
||||||
} else {
|
} else {
|
||||||
$result_date = $dateTimeRes->format('d-m-Y H:i');
|
$result_date = $dateTimeRes->format('d F Y H:i');
|
||||||
}
|
}
|
||||||
|
|
||||||
// $result_date = $dateTimeRes->format('d-m-Y H:i');
|
// $result_date = $dateTimeRes->format('d-m-Y H:i');
|
||||||
@ -621,35 +621,28 @@ class PrintResult extends BaseController {
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style='width:50%' align='left' class='left-pad'><pre><b>RM Number:</b> $rm_number</pre></td>
|
<td style='width:50%' align='left' class='left-pad'><pre><b>RM Number :</b> $rm_number</pre></td>
|
||||||
|
<td style='width:50%' align='left' class='left-pad'><pre><b>Visit Number :</b> $hostordernumber</pre></td>
|
||||||
|
|
||||||
<td style='width:50%' align='left' class='left-pad'><pre><b>Visit Number:</b> $hostordernumber</pre></td>
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align='left' class='left-pad'><pre><b>Name:</b> $first_name $last_name</pre></td>
|
<td align='left' class='left-pad'><pre><b>Name :</b> $first_name $last_name</pre></td>
|
||||||
|
<td align='left' class='left-pad'><pre><b>Company :</b> $company</pre></td>
|
||||||
<td align='left' class='left-pad'><pre><b>Company:</b> $company</pre></td>
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align='left' class='left-pad'><pre><b>DOB:</b> $birth_date</pre></td>
|
<td align='left' class='left-pad'><pre><b>DOB :</b> $birth_date</pre></td>
|
||||||
|
<td align='left' class='left-pad'><pre><b>Visit Type :</b> $visittype</pre></td>
|
||||||
<td align='left' class='left-pad'><pre><b>Visit Type:</b> $visittype</pre></td>
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align='left' class='left-pad'><pre><b>Gender:</b> $sex</pre></td>
|
<td align='left' class='left-pad'><pre><b>Gender :</b> $sex</pre></td>
|
||||||
<td align='left' class='left-pad'><pre><b>Order Date / Time:</b> $collection_date</pre></td>
|
<td align='left' class='left-pad'><pre><b>Order Date / Time :</b> $collection_date</pre></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align='left' class='left-pad'><pre><b>Branch:</b> $branch</pre></td>
|
<td align='left' class='left-pad'><pre><b>Branch :</b> $branch</pre></td>
|
||||||
<td align='left' class='left-pad'><pre><b>Result Date / Time:</b> $result_date</pre></td>
|
<td align='left' class='left-pad'><pre><b>Result Date / Time :</b> $result_date</pre></td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@ -41,7 +41,7 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
/* height: 18.47cm; */
|
/* height: 18.47cm; */
|
||||||
height: 19.60cm;
|
height: 18.40cm;
|
||||||
}
|
}
|
||||||
.result {
|
.result {
|
||||||
/* table-layout:fixed; */
|
/* table-layout:fixed; */
|
||||||
@ -179,6 +179,11 @@ tr.chapter td {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
/* background-color: aqua; */
|
/* background-color: aqua; */
|
||||||
}
|
}
|
||||||
|
.table_footer tr td.margin_right_img_bali {
|
||||||
|
padding-right: 55px;
|
||||||
|
text-align: right;
|
||||||
|
/* background-color: aqua; */
|
||||||
|
}
|
||||||
|
|
||||||
.table_footer tr td.margin_right_sby_img {
|
.table_footer tr td.margin_right_sby_img {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
@ -200,6 +205,10 @@ tr.chapter td {
|
|||||||
#ttd_p {
|
#ttd_p {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
#ttd_k {
|
||||||
|
width: 23%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
@page { margin:0; size:210mm 297mm; }
|
@page { margin:0; size:210mm 297mm; }
|
||||||
|
|||||||
BIN
public/assets/img/ttdnewdokpar.jpg
Normal file
BIN
public/assets/img/ttdnewdokpar.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 173 KiB |
BIN
public/assets/img/ttdnewdokpar3.png
Normal file
BIN
public/assets/img/ttdnewdokpar3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Loading…
x
Reference in New Issue
Block a user