Support Ticket Notification

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 }}

@endif
@if($type == 'new')

New Support Ticket Created

A new support ticket has been created with the following details:

Description:
{{ $ticket->description }}
@elseif($type == 'reply')

New Reply Added

{{ $user->name }} has added a new reply to this ticket:

Message:
{{ $ticketMessage->message }}
@elseif($type == 'status_update')

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

View Ticket