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_ticket_reply.blade.php

@php
    if (!isset($notification->data['subject'])) {
        $ticketReply = \App\Models\Ticket::find($notification->data['id']);
        $subject = $ticketReply->ticket->subject;
    } else {
        $subject = $notification->data['subject'];
    }
    $notificationUser = \App\Models\User::withoutGlobalScope(\App\Scopes\ActiveScope::class)->find($notification->data['user_id']);
@endphp

@if ($notificationUser)
    <x-cards.notification :notification="$notification" :link="route('tickets.show', $notification->data['ticket_number'])"
                        :image="$notificationUser->image_url"
                        :title="__('email.ticketReply.subject') . ' #' . $notification->data['ticket_number']" :text="$subject"
                        :time="$notification->created_at"/>
@endif

Zerion Mini Shell 1.0