@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $tenantTimezone = $tenant->timezone ?? config('app.timezone'); $local = fn ($carbon) => $carbon?->copy()->setTimezone($tenantTimezone); @endphp
@if($notice->image_path) {{ $notice->title }} @endif

{{ $notice->body }}

Created by {{ $notice->createdBy->name }} on {{ $local($notice->created_at)->format('M j, Y g:ia') }} @if($notice->published_at) · Published {{ $local($notice->published_at)->format('M j, Y g:ia') }} @endif

@if($notice->requires_acknowledgement)

Acknowledgements ({{ $notice->acknowledgements->count() }})

@forelse($notice->acknowledgements as $ack) @empty @endforelse
User Acknowledged At
{{ $ack->user->name }} {{ $local($ack->acknowledged_at)->format('M j, Y g:ia') }}
No acknowledgements yet.
@endif