{{-- Notices Widget — Include on dashboards Usage: @include('notices::_notices-widget') Shows latest 5 notices (pinned first) --}} @php $widgetNotices = \Modules\Notices\Models\Notice::where('company_id', auth()->user()->company_id) ->published() ->active() ->defaultOrder() ->take(5) ->get(); @endphp
No notices yet
{{ Str::limit(strip_tags($wNotice->content), 80) }}
{{ $wNotice->published_at->diffForHumans() }}