@foreach( $replies as $reply)
...

{{ $reply->user->fullName() }}

{{ $reply->user->role_name }}


Warning: Undefined variable $reply in C:\xampp\htdocs\Sistemas_gerais\code-ticket-responsivo\resources\views\partials\site\replies.blade.php on line 22

Warning: Attempt to read property "created_at" on null in C:\xampp\htdocs\Sistemas_gerais\code-ticket-responsivo\resources\views\partials\site\replies.blade.php on line 22

{{ $date->diffInMonths(Carbon::now()) >= 1 ? $date->format('j M Y, g:ia') : $date->diffForHumans() }}

{!! $reply->body !!}
@if( $reply->file )
Attached File:
@endif
@endforeach
{{ $replies->render() }}
{{ Form::open([ 'route' => ['create.reply', $ticket->id], 'method' => 'post', 'id' => 'createReply', 'enctype' => 'multipart/form-data' ])}}
{{ Form::textarea('body', null, ['class' => 'form-control message', 'id' => 'reply-textarea', 'wrap' => 'hard']) }}