ticket->description ?? ''); return [ 'ticket_num' => $this->ticket->ticket_num, 'subject_text' => $this->ticket->subject, 'room' => $this->ticket->roomLabel() ?? 'N/A', 'customer_name' => $this->customer->fullname ?: 'N/A', 'customer_email'=> $this->customer->email, 'description' => mb_substr($description, 0, 500) . (mb_strlen($description) > 500 ? '…' : ''), 'ticket_url' => MailGlobals::frontendUrl() . '/tickets/' . $this->ticket->ticket_num, ]; } }