@php $review = App\Models\Review::where('id', $id) ->where('user_id', auth()->user()->id) ->first(); @endphp @if ($review)
{{ get_phrase('Rate this course : ') }}
{{ get_phrase('Data not found.') }}