Update ttd

This commit is contained in:
ivan-sim
2024-01-14 01:35:31 +07:00
parent f16e1510d8
commit 092bc6188f
4 changed files with 22 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -427,7 +427,7 @@
</table> </table>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php @php
if (!empty($logoPerusahaan->code) === 'VALEIND') { if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
@@ -435,7 +435,7 @@
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113 Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php @php
} else if(!empty($logoPerusahaan->code) === 'PETROLAB') { } else if(!empty($logoPerusahaan->code) == 'PETROLAB') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>

View File

@@ -264,16 +264,22 @@
{{ $dataMember->nama_perusahaan }} {{ $dataMember->nama_perusahaan }}
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-2-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-2-<?php echo now()->timestamp; ?> ">
@php <!-- @php
if(!empty($signatureDr->path)) { if(!empty($signatureDr->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $signatureDr->path))); $imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $signatureDr->path)));
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">'; echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
} }
@endphp -->
@php
if(!empty($logoPerusahaan->code) == 'VALEIND') {
$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 . '">';
}
@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($logoPerusahaan->code) === 'VALEIND') { if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp @endphp
<u><b>Dr. Hery Hermas, M.Kes</b></u> <u><b>Dr. Hery Hermas, M.Kes</b></u>
@php @php
@@ -309,7 +315,7 @@
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php @php
if (!empty($logoPerusahaan->code) === 'VALEIND') { if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
@@ -317,7 +323,7 @@
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113 Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php @php
} else if(!empty($logoPerusahaan->code) === 'PETROLAB') { } else if(!empty($logoPerusahaan->code) == 'PETROLAB') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>

View File

@@ -430,16 +430,22 @@
{{ $dataMember->nama_perusahaan }} {{ $dataMember->nama_perusahaan }}
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-2-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-2-<?php echo now()->timestamp; ?> ">
@php <!-- @php
if(!empty($signatureDr->path)) { if(!empty($signatureDr->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $signatureDr->path))); $imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $signatureDr->path)));
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">'; echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
} }
@endphp -->
@php
if(!empty($logoPerusahaan->code) == 'VALEIND') {
$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 . '">';
}
@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($logoPerusahaan->code) === 'VALEIND') { if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp @endphp
<u><b>Dr. Hery Hermas, M.Kes</b></u> <u><b>Dr. Hery Hermas, M.Kes</b></u>
@php @php
@@ -472,7 +478,7 @@
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php @php
if (!empty($logoPerusahaan->code) === 'VALEIND') { if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
@@ -480,7 +486,7 @@
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113 Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php @php
} else if(!empty($logoPerusahaan->code) === 'PETROLAB') { } else if(!empty($logoPerusahaan->code) == 'PETROLAB') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>