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

Ticket Details

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
  • Username
    {{ @$ticket_user }}
  • Ticket Name
    {{ @$ticket_data->ticket_name }}
  • Description
    {{ @$ticket_data->description }}
  • Priority
    {{ ucfirst(@$ticket_data->priority) }}
  • Category
    {{ @$ticket_data->category }}
  • Status
    @php if(@$ticket_data->status == 'in-progress'){ $status = str_replace("-", " ", $ticket_data->status); } else { $status = $ticket_data->status; } @endphp {{ ucfirst(@$status) }}
  • Created At
    {{$formatdate}}
  • @if($ticket_data->ticket_file)
  • Attachement
  • @endif

Ticket Comments

@if( count(@$ticketcomments) > 0) @foreach($ticketcomments as $ticketcomment)
{{$username}} ({{$formatdate}})

{{$ticketcomment->comment}}

@endforeach @else
Admin

There are no comments.

@endif
@if( $ticket_data->status != 'closed')
{{ csrf_field() }}

Ticket Reply

@endif
@endsection