@if(userCan('SetTrainingCurriculum-list')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'Training List'; @endphp @section('title',$pageTitle) @section('PageHead') @if ( session('massage') )
× Success! {{session('massage')}}
@endif @if ( session('error') )
× Not Success! {{session('error')}}
@endif @if (Session::has('errors'))
@endif @php $ChapterName= app('request')->input('chapter_name'); $TrainingId= app('request')->input('training_id'); $CurriculumId= app('request')->input('curriculum_id'); $appPerPage= app('request')->input('perPage'); @endphp

{{$pageTitle}}

@stop @section('content')
Per Page @php $curentperPagesnum = isset($_GET['perPage'])?$_GET['perPage']:10; @endphp @php $perPages = array(10,15,20,50,100,500,1000);@endphp
{{paginationHeaderInfo($datas)}}
{{$datas->appends([ 'chapter_name' => $ChapterName, 'training_id' => $TrainingId, 'curriculum_id' => $CurriculumId, 'perPage' => $appPerPage ])->links('pagination::bootstrap-4')}}

@foreach($datas as $key=>$data) @endforeach
Chapter Name Curriculum Curriculum Section Trainning Namae Duration Status Action
{{@$data->chapter_name}} {{@$data->topic}} {{@$data->section_type->value}} {{@$data->training_type->name}} {{@$data->duration}} {!!TrainingDurationType(@$data->duration_type_id,1)!!} @if(intval(@$data->status)>0) Active @else Deactive @endif @if(userCan('SetTrainingCurriculum-edit')>0) @endif
{{paginationHeaderInfo($datas)}}
{{$datas->appends([ 'chapter_name' => $ChapterName, 'training_id' => $TrainingId, 'curriculum_id' => $CurriculumId, 'perPage' => $appPerPage ])->links('pagination::bootstrap-4')}}
@stop