Title*
Description
*
{!! getValueInput($data,'description') !!}
@include('common.script.select-multi-section')
@include('common.lfm', [ 'type' => 'image', 'name' => 'Image', 'input' => 'image', 'required' => false, 'file' => $data->image ?? null, ])
@if(old('section') != null) @php $i = 0 @endphp @foreach(old('section') as $key => $oldData)
{{$content_name}}
@if(count($dataContent) > 0) @foreach($dataContent as $e)
{{$e['title']}}
@endforeach @endif
@php $i++ @endphp @endforeach @else @if(!empty($data->sections_course) && count($data->sections_course)) @php $i = 0 @endphp @foreach($data->sections_course as $section)
{{$content_name}}
@if(count($dataContent) > 0) @php $content = json_decode($section->content,true); $content = is_array($content) ? $content : []; @endphp @foreach($content as $keyMap) @if(array_key_exists($keyMap,$dataContent))
{{$dataContent[$keyMap]['title']}}
@endif @endforeach @foreach($dataContent as $e) @if(!in_array($e['value'],$content))
{{$e['title']}}
@endif @endforeach @endif
@php $i++ @endphp @endforeach @else
{{$content_name}}
@if(count($dataContent) > 0) @foreach($dataContent as $e)
{{$e['title']}}
@endforeach @endif
@endif @endif
Start Date*
End Date*