@extends('admin.layout') @section('title', 'Ticket Details') @section('header', 'Ticket Details - ' . e($ticket->ticket_id)) @section('content')

{{ $ticket->ticket_id }}

{{ ucfirst($ticket->priority) }} Priority {{ ucfirst(str_replace('_', ' ', $ticket->status)) }}

Customer Information

Name:

{{ $ticket->first_name }} {{ $ticket->last_name }}

Email:

{{ $ticket->email }}

Phone:

{{ $ticket->phone }}

Location Information

Apartment:

{{ $ticket->apartment->name }}

Location:

{{ $ticket->location }}

Date Raised:

{{ $ticket->date_raised->format('M d, Y') }}

Issue Description

{{ $ticket->issue_description }}

Technician Assignment

@if($ticket->technician)

Assigned to: {{ $ticket->technician->name }}

@else
@csrf
@endif
Back to Tickets
Edit Ticket @if($ticket->status != 'completed') @if($ticket->status == 'assigned')
@csrf
@endif @if($ticket->status == 'in_progress')
@csrf
@endif @endif
@endsection