@php $b = $branding ?? []; $inst = (array) ($b['institution'] ?? []); $stampDate = $stampDateLabel ?? null; $legal = (string) (($inst['legal_name'] ?? null) ?: ($inst['display_name'] ?? 'Institution')); $address = trim((string) ($inst['address'] ?? '')); @endphp
@if (! empty($b['stamp_uri']))
@if ($stampDate)
{{ $stampDate }}
@endif
@else
{{ strtoupper($legal) }}
@if ($address !== '')
{{ $address }}
@endif @if ($stampDate)
{{ $stampDate }}
@endif
@endif