@php $checkSequenceContent = $assignment->checkSequenceContent(); $sequenceContentHasError = (!empty($checkSequenceContent) and (!empty($checkSequenceContent['all_passed_items_error']) or !empty($checkSequenceContent['access_after_day_error']))); @endphp
{!! nl2br(clean($assignment->description)) !!}
{{ trans('update.min_grade') }}: {{ $assignment->pass_grade }}
@if(!empty($checkSequenceContent) and $sequenceContentHasError) @elseif(!empty($user) and $hasBought) {{ trans('public.read') }} @else @endif