@foreach($compare as $cour) @php $c = App\Course::where('id', $cour->course_id)->first(); @endphp |
{{ $c->title }} |
@endforeach
Price |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
{{ $c->price }} | @endforeach
Discount Price |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@if($c->discount_price) {{ $c->discount_price }} @else @endif | @endforeach
Language |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@php
$lang = App\Language::where('id', $c->language_id)->first();
@endphp
{{ $lang->name }} |
@endforeach
Last updated at |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
{{ date('d-M-Y', strtotime($c->updated_at)); }} |
@endforeach
Duration end time |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@if($c->duration && $c->duration_type) {{ $c->duration }} {{ $c->duration_type }} @else Life time @endif |
@endforeach
Requirements |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
{{ $c->requirement }} |
@endforeach
Short Detail |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
{{ $c->short_detail }} |
@endforeach
Category |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@php
$cate = App\Categories::where('id', $c->category_id)->first();
@endphp
{{ $cate->title }} |
@endforeach
Sub Category |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@php
$subcate = App\SubCategory::where('id', $c->subcategory_id)->first();
@endphp
{{ $subcate->title }} |
@endforeach
Certificate |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@if($c->certificate_enable == 1) @else @endif |
@endforeach
Appointment |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@if($c->appointment_enable == 1) @else @endif |
@endforeach
Assignment |
@foreach($compare as $cour)
@php
$c = App\Course::where('id', $cour->course_id)->first();
@endphp
@if($c->assignment_enable == 1) @else @endif |
@endforeach
@foreach($compare as $cour) | {{ __("Remove") }} | @endforeach