@php $checkSequenceContent = $textLesson->checkSequenceContent(); $sequenceContentHasError = (!empty($checkSequenceContent) and (!empty($checkSequenceContent['all_passed_items_error']) or !empty($checkSequenceContent['access_after_day_error']))); @endphp
{!! nl2br(clean($textLesson->summary)) !!}
@if(!empty($user) and $hasBought)
checkPassedItem())) checked @endif>
@endif
{{ $textLesson->study_time }} {{ trans('public.min') }}
{{ trans('public.attachments') }}: {{ $textLesson->attachments_count }}
@if(!empty($checkSequenceContent) and $sequenceContentHasError) @elseif($textLesson->accessibility == 'paid') @if(!empty($user) and $hasBought) {{ trans('public.read') }} @else @endif @else @if(!empty($user) and $hasBought) {{ trans('public.read') }} @else {{ trans('public.read') }} @endif @endif