Dear {{ $client?$client->name:'Sir' }},

priority) { case '1': $priority="Low"; break; case '2': $priority="Medium"; break; case '3': $priority="High"; break; case '4': $priority="Urgent"; break; default: break; } $status=''; switch ($ticket->status) { case '0': $status='Initiated'; break; case '1': $status='In Process'; break; case '2': $status='Onhold'; break; case '3': $status='Closed'; break; default: # code... break; } ?>

The following ticket has been created

Ticket ID: {{ $ticket->ticket_id }}
Client Name: {{ $created_by->name }}
Company: {{ $company->name }}
Service: {{ $service->name }}
Priority: {{ $priority }}
Ticket Title: {{ $ticket->title }}
Details: {{ $ticket->details }}



Regards