@extends('theme.master') @section('title', "$batch->title") @section('content') @include('admin.message')
@if (Auth::check())
{{ csrf_field() }}
@else  {{ __('frontstaticword.AddToCart') }} @endif

{{ __('frontstaticword.Detail') }}

  • {!! $batch->detail !!}

{{ __('frontstaticword.CoursesInbatch') }}

@foreach ($batch->allowed_courses as $batchs) @php $course = App\Course::where('id', $batchs)->first(); @endphp
{{ $course->short_detail }}
@endforeach
@if(isset($batch->allowed_bundles))

{{ __('frontstaticword.BundlesInbatch') }}

@foreach ($batch->allowed_bundles as $bundles) @php $course = App\BundleCourse::where('id', $bundles)->first(); @endphp
{{ $course->short_detail }}
@endforeach
@endif
@endsection