{{__('frontend.My Bundle')}}

@if(isset($BundleCourse)) @forelse($BundleCourse as $value) @php $oldPrice = 0; foreach ($value->course as $raw){ $oldPrice += $raw->course->price; } @endphp

{{$value->title}}

@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

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

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

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

{{getPriceFormat($raw->course->price)}}
@endforeach
@if(count($value->course)>3)
@endif
@empty

{{__('common.No data available in the table')}}

@endforelse @endif