@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{{ __('Edit') }} {{ __('Course') }}
{{ csrf_field() }} {{ method_field('PUT') }}
{{ __('Category') }}
*
{{ __('SelectanOption') }}
@php $category = App\Categories::all(); @endphp @foreach($category as $caat)
category_id == $caat->id ? 'selected' : "" }} value="{{ $caat->id }}">{{ $caat->title }}
@endforeach
{{ __('SubCategory') }}:
*
@php $subcategory =App\SubCategory::where('category_id', $cor->category_id)->get(); @endphp
{{ __('SelectanOption') }}
@if(!empty($subcategory)) @foreach($subcategory as $caat)
subcategory_id == $caat->id ? 'selected' : "" }} value="{{ $caat->id }}">{{ $caat->title }}
@endforeach @endif
{{ __('ChildCategory') }}:
@php $childcategory = App\ChildCategory::where('subcategory_id', $cor->subcategory_id)->get(); @endphp
{{ __('SelectanOption') }}
@if(!empty($childcategory)) @foreach($childcategory as $caat)
childcategory_id == $caat->id ? 'selected' : "" }} value="{{ $caat->id }}">{{ $caat->title }}
@endforeach @endif
{{ __('SelectUser') }}
@if(Auth::user()->role == 'admin') @foreach($users as $user)
user_id == $user->id ? 'selected' : "" }} value="{{ $user->id }}">{{ $user->fname }}
@endforeach @else
{{ Auth::user()->fname }}
@endif
@php $category = App\Categories::all(); @endphp
{{ __("Also in :") }}
@php $category = App\Categories::all(); @endphp @foreach($category as $caat)
{{ $caat->title }}
@endforeach
{{ __("If in list primary category is also present then it will auto remove from this after create product.") }}
@php $languages = App\CourseLanguage::all(); @endphp
{{ __('SelectLanguage') }}:
*
{{ __('SelectanOption') }}
@foreach($languages as $cat)
language_id == $cat->id ? 'selected' : "" }} value="{{ $cat->id }}">{{ $cat->name }}
@endforeach
@php $ref_policy = App\RefundPolicy::all(); @endphp
{{ __('SelectRefundPolicy') }}
{{ __('SelectanOption') }}
@foreach($ref_policy as $ref)
refund_policy_id == $ref->id ? 'selected' : "" }} value="{{ $ref->id }}">{{ $ref->name }}
@endforeach
@if(Auth::User()->role == "admin")
{{ __('Institute') }}:
*
@php $institute = App\Institute::all(); @endphp
{{ __('SelectanOption') }}
@foreach($institute as $inst)
id == $cor->institude_id ? 'selected' : ''}}>{{ $inst->title }}
@endforeach
@endif @if(Auth::User()->role == "instructor")
{{ __('Institute') }}:
*
@php $institute = App\Institute::where('user_id',Auth::user()->id)->get(); @endphp
{{ __('SelectanOption') }}
@foreach($institute as $inst)
id == $cor->institude_id ? 'selected' : ''}}>{{ $inst->title }}
@endforeach
@endif
{{ __('Title') }}:
*
{{ __('Slug') }}:
*
{{ __('ShortDetail') }}:
*
{!! $cor->short_detail !!}
{{ __('Requirements') }}:
*
{!! $cor->requirement !!}
@if(Auth::User()->role == "admin")
{{ __('Level/Type Tags') }}
{{ __('SelectanOption') }}
level_tags == 'trending' ? 'selected' : ''}} value="trending">{{ __('Trending') }}
level_tags == 'onsale' ? 'selected' : ''}} value="onsale">{{ __('Onsale') }}
level_tags == 'bestseller' ? 'selected' : ''}} value="bestseller">{{ __('Bestseller') }}
level_tags == 'beginner' ? 'selected' : ''}} value="beginner">{{ __('Beginner') }}
level_tags == 'intermediate' ? 'selected' : ''}} value="intermediate">{{ __('Intermediate') }}
level_tags == 'expert' ? 'selected' : ''}} value="expert">{{ __('Expert') }}
{{ __('CourseTags') }}
@if(is_array($cor['course_tags']) || is_object($cor['course_tags'])) @foreach($cor['course_tags'] as $cat)
{{ $cat }}
@endforeach @endif
@endif
{{ __('Detail') }}:
*
{!! $cor->detail !!}
{{ __('Country') }}:
@foreach($countries as $country)
name, $cor->country ?: []) ? "selected": ""}} value="{{ $country->name }}">{{ $country->name }}
@endforeach
({{ __('Select those countries where you want to block courses')}} )
{{--
{{ __('MoneyBack') }}:
day != '' ? 'checked' : '' }} />
{{ __('Days') }}:
*
--}}
{{ __('Paid') }}:
type == '1' ? 'checked' : '' }} />
{{ __('Price') }}:
*
{{ __('DiscountPrice') }}:
*
@if(Auth::User()->role == "admin")
{{ __('Featured') }}:
featured==1 ? 'checked' : '' }} />
@endif
@if(Auth::User()->role == "admin")
{{ __('Status') }}:
status==1 ? 'checked' : '' }} />
@endif
{{ __('Instructor InvolvementRequest') }}:
involvement_request==1 ? 'checked' : '' }} />
{{ __('PreviewVideo') }}:
preview_type=="video" ? 'checked' : '' }} />
{{ __('UploadVideo') }}:
*
{{ __('Upload') }}
{{ __('Choose file') }}
@if($cor->video !="")
@endif
preview_type =="video") class="display-none" @endif id="document2">
{{ __('URL') }}:
*
{{ __('Duration') }}:
duration_type == "m" ? 'checked' : '' }} />
{{ __('If enabled duration can be in months') }}.
{{ __('when Disabled duration can be in days') }}.
{{ __('Course Expire Duration') }}
@if(Auth::user()->role == 'instructor')
{{ __('PreviewImage') }}:size: 270x200
{{ __('Upload') }}
{{ __('Choose file') }}
@if($cor['preview_image'] !== NULL && $cor['preview_image'] !== '')
@else
@endif
@endif @if(Auth::user()->role == 'admin')
{{ __('Image') }}
*
{{ __('Browse') }}
({{ __('Choose Image for post') }})
@if($cor['preview_image'] !== NULL && $cor['preview_image'] !== '')
@else
@endif
@endif
@if(Auth::User()->role == "admin")
{{ __('Instructor Revenue') }}:
@endif
{{ __('Assignment') }}:
{{ __('To enable assignment on portal') }}
{{ __('Appointment') }}:
{{ __('CertificateEnable') }}:
{{ __('DripContent') }}:
{{ __('To release content on chapter & classes by a specific date or amount of days after enrollment') }}.
@section('scripts') @endsection