@extends('website.inc.website-layout') @section('title') {{$ticket->title}} - {{config('app.name')}} @endsection @section('content')
{{__("Back to profile")}}

{{$ticket->title}}

{{__("You")}}
{{$ticket->body}} {{$ticket->created_at->ldate('Y-m-d H:i')}}
@if($ticket->answer != null)
{{$ticket->user->name}}
{{$ticket->answer}} {{$ticket->created_at->ldate('Y-m-d H:i')}}
@endif
@foreach($ticket->subTickets as $t)
{{__("You")}}
{{$t->body}} {{$t->created_at->ldate('Y-m-d H:i')}}
@if($t->answer != null)
{{$ticket->user->name}}
{{$t->answer}} {{$t->updated_at->ldate('Y-m-d H:i')}}
@endif
@endforeach

@csrf
@endsection