@extends('frontend.layouts.app') @section('title', 'Subject All') @section('content') @include('frontend.common.header') @push('script') @endpush @push("style") @endpush

{{$data[0]->topic_name}}

@foreach ($data as $topic)

{{$topic->topic_name}}

{!! $topic->description !!} @endforeach @php $action = "true"; $active = "active"; $show = ""; @endphp @if(count($data[0]->test_tags)>0 || count($data[0]->testSeries_tags)>0 || count($data[0]->courses_tags)>0)
@forelse($data[0]->test_tags as $test_market)
images
{!!str_limit($test_market->title, 30)!!}
Know more @if (is_student_master()) @if (!check_student_paid($test_market->id, 'test')) @php $itemId = 'test' . '-' . $test_market->id; @endphp @if (empty(Cart::session(user()->id)->get($itemId))) @endif @push('script') @include('student.payment.script-payment-multi', [ 'data' => $test_market, 'url' => route('fe.student.payment', [$test_market->id, 'test']), 'urlCart' => route('fe.student.cart.add', [$test_market->id, 'test']), ]) @endpush @else Paid @endif @else Buy Now @endif
@empty @endforelse
@forelse($data[0]->testSeries_tags as $testserices_market)
images
{!!str_limit($testserices_market->title, 30)!!}
Know more @if (is_student_master()) @if (!check_student_paid($testserices_market->id, 'test-series')) @php $itemId = 'test-series' . '-' . $testserices_market->id; @endphp @if (empty(Cart::session(user()->id)->get($itemId))) @endif @push('script') @include('student.payment.script-payment-multi', [ 'data' => $testserices_market, 'url' => route('fe.student.payment', [$testserices_market->id, 'test-series']), 'urlCart' => route('fe.student.cart.add', [$testserices_market->id, 'test-series']), ]) @endpush @else Paid @endif @else Buy Now @endif
@empty @endforelse
@forelse($data[0]->courses_tags as $cource_market)
images
{!!str_limit($cource_market->title, 30)!!}
Know more @if (is_student_master()) @if (!check_student_paid($cource_market->id, 'courses')) @php $itemId = 'courses' . '-' . $cource_market->id; @endphp @if (empty(Cart::session(user()->id)->get($itemId))) @endif @push('script') @include('student.payment.script-payment-multi', [ 'data' => $cource_market, 'url' => route('fe.student.payment', [$cource_market->id, 'courses']), 'urlCart' => route('fe.student.cart.add', [$cource_market->id, 'courses']), ]) @endpush @else Paid @endif @else Buy Now @endif
@empty @endforelse
@endif
@include('frontend.common.right-side-menu')
@endsection