This commit is contained in:
ivan-sim
2024-01-05 17:01:23 +07:00
parent 251c8509be
commit bc0d29f42a
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@
<div class="triangle2"></div>
<div class="triangle1"></div>
@php
if($logoPerusahaan->path) {
if(!empty($logoPerusahaan->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path)));
echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">';
}

View File

@@ -193,7 +193,7 @@
<div class="triangle2"></div>
<div class="triangle1"></div>
@php
if($logoPerusahaan->path) {
if(!empty($logoPerusahaan->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path)));
echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">';
}