Some adjustments to show customer's logo.

This commit is contained in:
2025-02-01 13:05:29 +01:00
parent 922f3ae175
commit ba92198750
7 changed files with 36 additions and 7 deletions

View File

@@ -1,7 +1,11 @@
<header>
<div>
<div class="left header-left">
<img class="header-logo" src="{{ $options->company_logo }}" />
@php
$arr = explode(';base64,', $options->company_logo);
$type = substr($arr[0], strpos($arr[0], '/') + 1);
@endphp
<img class="header-logo" src="{{ base_path('/public/storage/company_logo.' . $type) }}" />
</div>
<div class="right header-right text-right">
<div>{{ $options->company_name }}</div>