• {{ $unseenCount }}
    • Assignment Messages View all

    • @php $notificationClassArray = ['success','danger','warning','primary','info','muted']; $number = 0; @endphp @forelse ($messages as $msg) @php $roleNames = [ 1 => 'Admin', 2 => 'Office Admin', 3 => 'Adjuster', 4 => 'Appraiser', 5 => 'Supervisor', ]; $notificationclasstext = $notificationClassArray[$number % count($notificationClassArray)]; $notifyuserrole = $roleNames[$msg['user_role'] ?? 0] ?? 'Unknown'; $notificationcolor = $msg['is_seen_by_current'] ? '#fff' : '#f3f7ed'; @endphp
    •   {{ $msg['name'] }} - {{ $notifyuserrole }}

      {{ $msg['subject'] }}

      Message : {!! Str::limit($msg['message'], 300) !!}
      File# {{ $msg['file_no'] }}

      {{ \Carbon\Carbon::parse($msg['msgdate'])->format('m/d/Y h:i:s A') }}

      @if ($msg['email_status'] == 1 && $msg['send_type'] === 'email')

      Email Opened Time : {{ isset($msg['email_opened_time']) && $msg['email_opened_time'] ? \Carbon\Carbon::parse($msg['email_opened_time'])->format('m-d-Y H:i:s') : 'N/A' }}
      IP Address : {{ $msg['email_opened_user_ip'] ?? 'N/A' }}

      @elseif ($msg['email_status'] == 0 && $msg['send_type'] === 'email')

      Email Not opened

      @endif

    • @php $number++; @endphp @empty
    • No messages for today.

    • @endforelse
    • Show all assignment messages