@extends('student.layouts.app') @section('titlePage', $data->title) @section('content') @php $brand = $dataConfigs['brand'] ?? 'default'; @endphp
BACK

@include('common.alert')
{{$data->title}}
image
Title:

{{$data->title}}

@if (request()->type == "tests") @php $sections = json_decode($data->section_data, true); @endphp @if (is_array($sections)) @endif @php $subject = $data->category ? $data->category->category : null; @endphp @if (!empty($subject)) @endif @elseif(request()->type == "courses") @if ($data->sections_course) @endif @else @if ($data->section_content) @endif @endif
Cost : INR {{$data->price}}{{$data->selling_price}}
No. of questions : {{$data->total_questions ?? 0}}
No. of sections : {{count($sections)}}
Maximum Marks : {{$data->total_marks ?? 0}}
Subject : {{$subject}}
Total Content : {{$data->sections_course->count()}} Chapters
Total Content : {{$data->section_content->count()}} Chapters
@if (!is_null($data->payment)) @else @endif
@if (!empty($data->description))
Description:
{!! $data->description !!} @endif
@endsection @section('script') @if (is_null($data->payment)) @include('student.payment.script', ['url' => _route('student.payment', [$data->id, request()->type])]) @endif @endsection