@extends('layouts.auth') @section('page-title') {{ __('Ticket') }} - {{$ticket->ticket_id}} @endsection @section('style') @endsection @push('scripts') @endpush @section('content')
{{ __('Ticket') }} - {{$ticket->ticket_id}}
@csrf
{{$ticket->name}} ({{$ticket->created_at->diffForHumans()}})

{!! $ticket->description !!}

@php $attachments=json_decode($ticket->attachments); @endphp @if(!is_null($attachments) && count($attachments)>0)
{{ __('Attachments') }} :
    @foreach($attachments as $index => $attachment)
  • {{$attachment}}
  • @endforeach
@endif
@foreach($ticket->conversions as $conversion)
{{$conversion->replyBy()->name}} ({{$conversion->created_at->diffForHumans()}})
{!! $conversion->description !!}
@php $attachments=json_decode($conversion->attachments); @endphp @if(count($attachments))
{{ __('Attachments') }} :
    @foreach($attachments as $index => $attachment)
  • {{$attachment}}
  • @endforeach
@endif
@endforeach @if($ticket->status != 'Closed')
@csrf
{{ $errors->first('reply_description') }}

@else

{{ __('Ticket is closed you cannot replay.') }}

@endif
@endsection @push('scripts') @endpush