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

{{ __('Detail') }}

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

{{ __('Courses In batch') }}

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

{{ __('Bundles In batch') }}

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