update final log
This commit is contained in:
17
resources/views/pdf/final_log_page_2.blade.php
Normal file → Executable file
17
resources/views/pdf/final_log_page_2.blade.php
Normal file → Executable file
@@ -270,22 +270,29 @@
|
||||
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
|
||||
}
|
||||
@endphp -->
|
||||
@php
|
||||
if(!empty($dataMember->code_perusahaan) == 'VALEIND') {
|
||||
@php
|
||||
if(!empty($dataMember->code_perusahaan) == 'VALEIND' && $dataRequestLog->submission_date >= '2025-05-12') {
|
||||
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/ttd_dr_vale.png')));
|
||||
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
|
||||
}
|
||||
} else if(!empty($dataMember->code_perusahaan) == 'VALEIND'){
|
||||
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/ttd_dr_irma.png')));
|
||||
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
|
||||
}
|
||||
@endphp
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> ">
|
||||
@php
|
||||
if (!empty($dataMember->code_perusahaan) == 'VALEIND') {
|
||||
if ($dataMember->code_perusahaan == 'VALEIND' && $dataRequestLog->submission_date >= '2025-05-12') {
|
||||
@endphp
|
||||
<u><b>Dr. Hery Hermas, M.Kes</b></u>
|
||||
@php
|
||||
} elseif ($dataMember->code_perusahaan == 'VALEIND') {
|
||||
@endphp
|
||||
<u><b>dr Irmawati Baso, S.ked, MM</b></u>
|
||||
@php
|
||||
} else {
|
||||
@endphp
|
||||
(.......................................)
|
||||
(.......................................)
|
||||
@php
|
||||
}
|
||||
@endphp
|
||||
|
||||
16
resources/views/pdf/req_log_page_1.blade.php
Normal file → Executable file
16
resources/views/pdf/req_log_page_1.blade.php
Normal file → Executable file
@@ -444,24 +444,32 @@
|
||||
}
|
||||
@endphp -->
|
||||
@php
|
||||
if(!empty($dataMember->code_perusahaan) == 'VALEIND') {
|
||||
if(!empty($dataMember->code_perusahaan) == 'VALEIND' && $dataRequestLog->submission_date >= '2025-05-12') {
|
||||
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/ttd_dr_vale.png')));
|
||||
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
|
||||
}
|
||||
} else if(!empty($dataMember->code_perusahaan) == 'VALEIND'){
|
||||
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/ttd_dr_irma.png')));
|
||||
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
|
||||
}
|
||||
@endphp
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> ">
|
||||
@php
|
||||
if (!empty($dataMember->code_perusahaan) == 'VALEIND') {
|
||||
if ($dataMember->code_perusahaan == 'VALEIND' && $dataRequestLog->submission_date >= '2025-05-12') {
|
||||
@endphp
|
||||
<u><b>Dr. Hery Hermas, M.Kes</b></u>
|
||||
@php
|
||||
} elseif ($dataMember->code_perusahaan == 'VALEIND') {
|
||||
@endphp
|
||||
<u><b>dr Irmawati Baso, S.ked, MM</b></u>
|
||||
@php
|
||||
} else {
|
||||
@endphp
|
||||
(.......................................)
|
||||
(.......................................)
|
||||
@php
|
||||
}
|
||||
@endphp
|
||||
|
||||
<br><b>Offsite Medical Treatment</b>
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-1-<?php echo now()->timestamp; ?> ">
|
||||
|
||||
Reference in New Issue
Block a user