@php $logoPath = public_path('images/logo-white-pdf.png'); $logo = is_file($logoPath) ? 'data:image/png;base64,'.base64_encode(file_get_contents($logoPath)) : null; @endphp
@if ($logo) Money-Wise @else
moneywise
@endif
{{ $title }} · {{ now()->format('j F Y') }} @if($currency) · Currency: {{ $currency }} @endif
@if ($highlight)
{{ $highlight['value'] }}
{{ $highlight['label'] }}
@endif @if (! empty($chart) && \Illuminate\Support\Str::startsWith($chart, 'data:image/'))
@if (! empty($chartTitle))

{{ $chartTitle }}

@endif Chart
@endif @foreach ($sections as $section)

{{ $section['title'] }}

@foreach ($section['rows'] as $row) @endforeach
{{ $row[0] }} {{ $row[1] }}
@endforeach @if (!empty($note))

Next step

{{ $note }}

@endif