@extends('frontend.layouts.app') @php $title = $top_sellers->title ?? "Knewton Plans"; @endphp @section('title', $title) @push('script') @endpush @push('style') @endpush @section('content') @include('frontend.common.header')

{{$title}}

@if(request()->get('screen')=="full") @endif
@php $div_full = "col-12"; $div_card = "col-lg-4 col-md-4"; @endphp @if(request()->get('screen')!="full") @php $div_full = "col-lg-9 col-md-8"; $div_card = "col-lg-6 col-md-6"; @endphp @endif

Plan Description:

{!! $top_sellers->description !!}

@if (is_student_master()) @if (is_null($top_sellers->payment) && ($purchased_package_count >= 1)) @php $itemId = request()->type . '-' . $top_sellers->id; $top_sellers['model'] = 'package'; @endphp @elseif(is_null($top_sellers->payment)) @else @endif @php $top_sellers->model = 'package'; @endphp @push('script') @include('student.payment.script-payment-multi', [ 'data' => $top_sellers, 'url' => route('fe.student.paymentPackage', [$top_sellers->id, 'package']), 'urlCart' => route('fe.student.cart.add', [$top_sellers->id, 'package']), ]) @endpush @else Buy Now @endif
@include('frontend.common.right-side-menu')
{{--
Subscription Plans:
@php $plans = json_decode($top_sellers->subscription_plan,true); @endphp
    @if(count($plans) > 0) @foreach($plans as $key => $value) @php if($value['offer_type_'.$key] == 1) $discount = ($value['discount_'.$key] / 100) * $value['cost_price_'.$key]; else $discount = ($value['cost_price_'.$key] - $value['discount_'.$key]); @endphp
  • {{ $value['plan_name_'.$key] }}

    Cost Price : ₹{{ $value['cost_price_'.$key] }}

    Discount Price : ₹{{ $value['cost_price_'.$key] - $discount }}

  • @endforeach @endif
@if (is_student_master()) @if (!check_student_paid($top_sellers->id, 'package')) @php $itemId = 'package' . '-' . $top_sellers->id; $top_sellers->model = 'package'; @endphp @if (empty(Cart::session(user()->id)->get($top_sellers->id))) @endif @push('script') @include('student.payment.script-payment-multi', [ 'data' => $top_sellers, 'url' => route('fe.student.paymentPackage', [$top_sellers->id, 'package']), 'urlCart' => route('fe.student.cart.add', [$top_sellers->id, 'package']), ]) @endpush @else Paid @endif @else @endif
--}}
@include('frontend.block.subscribe') @endsection @push("script") @endpush