@foreach($task->User as $user) {{ $user->full_name }} {!! $user->pivot->rating ? getRatingStar($user->pivot->rating) : '' !!} {{ $user->pivot->rating ? $user->pivot->comment : '' }} {{ $user->pivot->rating ? showDateTime($user->pivot->updated_at) : '' }} @if($task->user_id == Auth::user()->id)
@if($user->pivot->rating) @else @endif @if($user->pivot->rating) @endif
@endif @endforeach