{{ trans('update.this_course_requires_n_points',['points' => $course->points]) }} {{ trans('update.you_have_n_points',['points' => $user->getRewardPoints()]) }} @if($user->getRewardPoints() >= $course->points) {{ trans('update.do_you_want_to_proceed') }} @else {{ trans('update.you_have_no_enough_points_for_this_course') }} @endif