@extends('layouts.app') @section('title', $app_setting['name'] . ' | Course Overview') @section('content')
{{-- top --}}

published on {{ $course?->created_at->diffForHumans() }}

{{ $course?->category?->title }}

{{ $course?->title }}

Views : {{ $course->view_count }}

{{ currency($course?->regular_price) }}
Regular Price
icon
{{ currency($course?->price ?? 0.0) }}
Offer Price
icon
{{ $enrollments }}
Total Enrollments (Lifetime)
icon
{{ currency($transactions) }}
Total Transaction Amount
icon
{{-- ABOUT TAB --}}
@php $descriptions = json_decode($course->description); @endphp @if (!empty($descriptions)) @foreach (json_decode($course->description) as $description)
{{ $description->heading }}

{!! $description->body !!}

@endforeach @endif
{{-- ABOUT TAB --}} {{-- LESSION START --}}

Lessions

@forelse ($chapters as $chapter)

@forelse ($chapter->contents as $content)
{{ $content->title }}.
{{ floor($content->duration / 60) }} hours {{ $content->duration % 60 }} minutes
@empty
no content found!!
@endforelse
@empty
no course found!!
@endforelse
{{-- LESSION END --}} {{-- REVIEW START --}}

Reviews

@forelse ($reviews as $review)
{{ $review?->user?->name }} 7
{{ \Carbon\Carbon::parse($review?->created_at)->format('d M Y') }}

{{ $review?->comment }}

@empty
no students found!!
@endforelse
{{-- REVIEW END --}} {{-- students start --}}

Students

@forelse ($students as $student)
{{ $student?->user?->name }} {{ $student?->user?->phone }}
{{ \Carbon\Carbon::parse($student?->created_at)->format('d M Y') }}
@empty
no students found!!
@endforelse {{ $students->links() }}
{{-- students end --}}
img
Total Class
{{--
7
--}} {{ $countClass }}
Total Duration
{{ floor($durationCount / 60) }} hours {{ $durationCount % 60 }} minutes
Total Videos
{{ $videoCount }}
Total Audios
{{ $audioCount }}
Total Images
{{ $imageCount }}
Total Free Chapter
{{ $freeContentCount }}

Total Course Price

@if ($course?->price && $course?->regular_price)

{{ currency($course?->price) }} {{ currency($course?->regular_price) }}

@else

{{ currency($course?->regular_price) }}

@endif
{{-- bottom --}}
@endsection