{{-- FULL FILE REPLACEMENT NOTE Use your reverted ticket-show.blade.php and replace only the SLA metrics count card block with the block below. Reason: - The component replacement sets $ticket->public_replies_count and $ticket->time_spent_minutes safely. - This Blade block does not introduce new undefined variables. - Public replies and minutes logged are colour coded. - Soft-deleted/tombstoned comments are excluded in TicketShow.php before the counts are assigned. Replace this original block:
{{ $ticket->public_replies_count }}
Public replies
{{ $ticket->time_spent_minutes }}
Minutes logged
With this: --}}
{{ $ticket->public_replies_count }}
Public replies
{{ $ticket->time_spent_minutes }}
Minutes logged