Title
{{ Form::label('courses_category_id', 'Course Category') }}
*
{{ Form::select('courses_category_id', $notes_category, $selectedCourseCategoryID, ['class' => 'form-control', 'placeholder' => 'Select','id'=>'courses_category_id']) }}
{{--
Sub category
*
Select Topic
@if( !empty($data) && !empty($subCategoryMap[$data->courses_category_id]) ) @foreach($subCategoryMap[$data->courses_category_id] as $topic)
course_sub_category ? 'selected' : ''}} >{{$topic['sub_cat_name']}}
@endforeach @endif
--}}
Description
{!! getValueInput($data,'description') !!}
Course Type
*
course_type ?? null) == 0) selected @endif>Free
course_type ?? null) == 1) selected @endif>Paid
Cost Price
Selling Price
*
@include('common.lfm', [ 'type' => 'image', 'name' => 'image', 'input' => 'image', 'required' => true, 'file' => $data->image ?? null, ])
{{--
@if(old('section') != null) @php $i = 0 @endphp @foreach(old('section') as $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
--}}
Upload Pdf
Choose
@push('script')