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 . '">';
}
@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

View 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; ?> ">