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

{{ $ticket->subject }} #{{ $ticket->code }}

  • {{ $ticket->user->name }}
  • {{ $ticket->created_at }}
  • {{ ucfirst($ticket->status) }}
@csrf
@foreach($ticket->ticketreplies as $ticketreply)
@if($ticketreply->user->avatar_original != null) @else @endif
{{ $ticketreply->user->name }}

{{$ticketreply->created_at}}

@php echo $ticketreply->reply; @endphp @if($ticketreply->files != null && is_array(json_decode($ticketreply->files)))
@foreach (json_decode($ticketreply->files) as $key => $file) @endforeach
@endif
@endforeach
@if($ticket->user->avatar_original != null) Profile Picture @else Profile Picture @endif

@php echo $ticket->details; @endphp @if($ticket->files != null && is_array(json_decode($ticket->files)))

@foreach (json_decode($ticket->files) as $key => $file) @endforeach
@endif

@endsection @section('script') @endsection