@extends('frontend.layouts.app'.config('theme_layout')) @section('title', trans('labels.frontend.course.bundles').' | '. app_name() ) @push('after-styles') @endpush @section('content')
@if(session()->has('success'))
{{session('success')}}
@endif
@lang('labels.frontend.course.sort_by')
@if(count($bundles) > 0 ) @foreach($bundles as $bundle)
course_image != "") style="background-image: url('{{asset('storage/uploads/'.$bundle->course_image)}}')" @endif> @if($bundle->trending == 1)
@lang('labels.frontend.badges.trending')
@endif @if($bundle->free == 1)
@lang('labels.backend.courses.fields.free')
@endif
@if($bundle->free == 1) {{trans('labels.backend.bundles.fields.free')}} @else {{$appCurrency['symbol'].' '.$bundle->price}} @endif
    @for($i=1; $i<=(int)$bundle->rating; $i++)
  • @endfor
{{$bundle->category->name}} {{ $bundle->students()->count() }} @lang('labels.frontend.course.students') {{ $bundle->courses()->count() }} @if($bundle->courses()->count() > 1 ) @lang('labels.frontend.course.courses') @else @lang('labels.frontend.course.course') @endif
@endforeach @else

@lang('labels.general.no_data_available')

@endif
@if(count($bundles) > 0 ) @foreach($bundles as $bundle) @endforeach @else @endif
@lang('labels.frontend.course.course_name') @lang('labels.frontend.course.course_type') @lang('labels.frontend.course.starts')
course_image != "") style="background-image: url({{asset('storage/uploads/'.$bundle->course_image)}})" @endif >
{{\Carbon\Carbon::parse($bundle->start_date)->format('d M Y')}}

@lang('labels.general.no_data_available')

{{ $bundles->links() }}
@include('frontend.layouts.partials.browse_courses') @endsection @push('after-scripts') @endpush