@extends('layouts.admin_template') @section('content')

Show Ticket

@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) @endif @endforeach
#{{ $ticket->ticket_id }} - {{ $ticket->title }}

{{ $ticket->message }}

Enquiry Type: {{ $ticket->category }}

Username: {{$username}}

@if ($ticket->status === 'Open') Status: {{ $ticket->status }} @else Status: {{ $ticket->status }} @endif

Created on: {{ $ticket->created_at->diffForHumans() }}


@include('admin.ticket.comments')
@if ($ticket->status === 'Open') @include('admin.ticket.reply') @endif
@endsection