logo logo

{{ $company->name }}

Company
@php($myMentions = \App\Models\Mention::with(['comment', 'mentionedBy', 'applicant']) ->where('mentioned_user_id', auth()->id()) ->latest()->limit(10)->get()) @php($unreadMentions = $myMentions->whereNull('read_at')->count())
  • @if ($unreadMentions > 0) {{ $unreadMentions }} @endif
    Mentions ({{ $unreadMentions }})
    @if ($unreadMentions > 0)
    @csrf
    @endif
      @forelse ($myMentions as $mention)
    • {{ $mention->mentionedBy?->name ?? 'Someone' }} {{ $mention->read_at ? '✓ Read' : 'New' }}
      mentioned you: "{{ \Illuminate\Support\Str::limit($mention->comment?->body, 40) }}"
      {{ $mention->created_at?->diffForHumans() }}
    • @empty
    • No mentions yet.
    • @endforelse
  • {{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
    {{ auth()->user()->name }}

    Company

    • {{ auth()->user()->email }}
    • @csrf