@extends(theme('layouts.master')) @section('title') {{Settings('site_title') ? Settings('site_title') : 'Infix LMS'}} | {{__('frontend.Bundle')}} @endsection @section('css') @endsection @section('mainContent')
@if(Settings('hide_category_for_bundle_subscription')!=1)
@else
@endif
@if(isset($BundleCourse)) @foreach($BundleCourse as $value) @php $oldPrice = 0; foreach ($value->course as $raw){ $oldPrice += empty($raw->course->discount_price)?$raw->course->price:$raw->course->discount_price; } @endphp

{{$value->title}}

@if(Settings('show_review_for_bundle_subscription'))
@php $star = 5; @endphp @for($x=0; $x < $value->reviews->avg('star'); $x++) @php $star -= 1; @endphp @endfor @for($x=0; $x < $star; $x++) @endfor
@endif

({{$value->student}} {{__('bundleSubscription.students')}})

@foreach($value->course as $key=>$raw)

{{ Str::limit($raw->course->title, 40) }}

{{getPriceFormat(empty($raw->course->discount_price)?$raw->course->price:$raw->course->discount_price)}}
@endforeach
@if(count($value->course)>3)
@endif
@endforeach @endif
@endsection @section('js') @endsection