@php $ticketId = isset($ticket) && isset($ticket->id) ? $ticket->id : 0; @endphp