Ticket #{{ $ticket->ticket_number }}
Subject: {{ $ticket->subject }}
Status: {{ ucfirst($ticket->status) }}
Priority: {{ ucfirst($ticket->priority) }}
Created by: {{ $ticket->user->name . ' ' . $ticket->user->last_name }}
Created at: {{ $ticket->created_at->format('M d, Y h:i A') }}
@if($ticket->assignedTo)Assigned to: {{ $ticket->assignedTo->name }}
@endifNew Support Ticket Created
A new support ticket has been created with the following details:
{{ $ticket->description }}
New Reply Added
{{ $user->name }} has added a new reply to this ticket:
{{ $ticketMessage->message }}
Ticket Status Updated
The status of this ticket has been updated to: {{ ucfirst($ticket->status) }}
@elseif($type == 'priority_update')Ticket Priority Updated
The priority of this ticket has been updated to: {{ ucfirst($ticket->priority) }}
@elseif($type == 'assigned')Ticket Assigned
This ticket has been assigned to: {{ $ticket->assignedTo->name }}
@endif