Merge remote-tracking branch 'origin/staging' into origin/production

This commit is contained in:
Server D3 Linksehat
2025-05-13 08:37:27 +07:00
2 changed files with 24 additions and 9 deletions

View File

@@ -270,22 +270,29 @@
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">'; echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
} }
@endphp --> @endphp -->
@php @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'))); $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 . '">'; 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 @endphp
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> ">
@php @php
if (!empty($dataMember->code_perusahaan) == 'VALEIND') { if ($dataMember->code_perusahaan == 'VALEIND' && $dataRequestLog->submission_date >= '2025-05-12') {
@endphp @endphp
<u><b>Dr. Hery Hermas, M.Kes</b></u> <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 @php
} else { } else {
@endphp @endphp
(.......................................) (.......................................)
@php @php
} }
@endphp @endphp

View File

@@ -444,24 +444,32 @@
} }
@endphp --> @endphp -->
@php @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'))); $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 . '">'; 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 @endphp
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> ">
@php @php
if (!empty($dataMember->code_perusahaan) == 'VALEIND') { if ($dataMember->code_perusahaan == 'VALEIND' && $dataRequestLog->submission_date >= '2025-05-12') {
@endphp @endphp
<u><b>Dr. Hery Hermas, M.Kes</b></u> <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 @php
} else { } else {
@endphp @endphp
(.......................................) (.......................................)
@php @php
} }
@endphp @endphp
<br><b>Offsite Medical Treatment</b> <br><b>Offsite Medical Treatment</b>
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-1-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-1-<?php echo now()->timestamp; ?> ">