@extends('layouts.app') @section('title', 'Ticket ' . $ticket->ticket_number) @section('content')
Created {{ $ticket->created_at->diffForHumans() }} by {{ $ticket->creator->name ?? 'Unknown' }}
Name
{{ $ticket->customer_name }}
{{ $ticket->customer_email }}
Phone
{{ $ticket->customer_phone }}
PID
{{ $ticket->customer_pid }}
Product Types
Issue Types
Issue Description
{{ $ticket->issue_explanation }}
Solution
{{ $ticket->solution_explanation }}
{{ $history->action_label }} by {{ $history->performer->name ?? 'System' }}
@if($history->toDepartment || $history->toUser)@if($history->fromDepartment || $history->fromUser) From: {{ $history->fromDepartment->name ?? '' }} {{ $history->fromUser->name ?? '' }} → @endif To: {{ $history->toDepartment->name ?? '' }} {{ $history->toUser->name ?? '' }}
@endif @if($history->notes){{ $history->notes }}
Department
{{ $ticket->assignedDepartment->name ?? 'Not assigned' }}
Assigned To
{{ $ticket->assignedUser->name ?? 'Not assigned' }}
Picked Up By
{{ $ticket->pickedUpByUser->name }} ({{ $ticket->picked_up_at->diffForHumans() }})