@if($previousComment)
قبلی

{{$previousComment->title}} ثبت شده در تاریخ {{\Morilog\Jalali\Jalalian::fromDateTime("{$previousComment->created_at}")->format(' %d F %y')}}

@endif @if($nextComment)
بعدی

{{$nextComment->title}} ثبت شده در تاریخ {{\Morilog\Jalali\Jalalian::fromDateTime("{$nextComment->created_at}")->format(' %d F %y')}}

@endif
{{$comment->title}}
توسط {{$comment->user->fname.' '.$comment->user->lname}} در تاریخ {{\Morilog\Jalali\Jalalian::fromDateTime("{$comment->created_at}")->format(' %d F %y')}}
    @foreach ($comment->product->rating()->get() as $rating) @if($rating->mark()->where('user_id',$comment->user_id)->first() != null)
  • {{$rating->name}}
    mark()->where('user_id',$comment->user_id)->first()->mark > 4) data-rate-digit="عالی" @elseif($rating->mark()->where('user_id',$comment->user_id)->first()->mark > 3) data-rate-digit="خوب" @elseif($rating->mark()->where('user_id',$comment->user_id)->first()->mark > 2) data-rate-digit="معمولی" @elseif($rating->mark()->where('user_id',$comment->user_id)->first()->mark > 1) data-rate-digit="بد" @else data-rate-digit="خیلی بد" @endif >
  • @endif @endforeach
@if($comment->advantages != null || $comment->disadvantages != null) @if($comment->advantages != null)
نقاط قوت
    @foreach(explode(',',$comment->advantages) as $advantages)
  • {{$advantages}}
  • @endforeach
@endif @if($comment->disadvantages != null)
نقاط ضعف
    @foreach(explode(',',$comment->disadvantages) as $disadvantages)
  • {{$disadvantages}}
  • @endforeach
@endif @endif

{!! $comment->body !!}

status == 1) checked @endif>
status == 0) checked @endif>
status == 2) checked @endif>
status == 3) checked @endif>

{{\Morilog\Jalali\Jalalian::fromDateTime("{$comment->created_at}")->format('h:i %d F %y')}}