@extends('Front.PatientLayout.mainLayout') @section('title', 'Education') @section('css') @endsection @section('content') {{-- {{pre($playNow->toArray(),1)}} --}} {{-- {{ pre($records->Education->toArray()) }} --}} @php $lang = app()->getLocale(); $is_wacthed_video = $videoIdArray->toArray(); @endphp
@if (!empty($playNow->video_url)) @else @endif

{{ $playNow->name }}

{{--

{{ $playNow->sub_title }}

--}} {!! html_entity_decode($playNow->description) !!}
@isset($is_wacthed_video) @if (in_array($playNow->id, $is_wacthed_video))
@if ($playNow->type == 'video') {{--

{{ __('education.watched') }}

--}} @else

{{ __('education.finishReading') }}

@endif
@else
@if ($playNow->type != 'video')

{{ __('education.readingQuestion') }}

@endif
{{ csrf_field() }}
@endif @endisset
@section('js') @endsection @endsection