@extends('Training::backend.layouts.app') @section('title', 'Training History') @push('css') @endpush @section('content')

Training History

Filter

Clear

Lists

@foreach($tests as $test) @endforeach @foreach($tests as $test) @endforeach @foreach($trainee_list as $trainee) @foreach($tests as $test) @php $data = App\Modules\Training\Models\TrTestParticipant::where('selected_candidate_id', $trainee->candidate->selectedCandidate->id)->get(); $istest = ''; $result = 0; foreach($data as $val){ $testschedule = App\Modules\Training\Models\TrTestSchedule::where('id', $val->tr_test_schedule_id)->first(); if($testschedule->trTest->id == $test->id){ $istest = 'Yes'; $result = $val->trRating->percentage ?? ''; }else{ $istest = 'No'; $result = 0; } } @endphp @endforeach @endforeach
## Date Name Mobile no Department Designation Area Name{{$test->name ?? ''}}
Yes/No Score
{{ $loop->iteration ?? '' }} {{ \Carbon\Carbon::parse($trainee->completed_at)->format('d-M-Y H:i') ?? '' }} {{ $trainee->name ?? '' }} {{ $trainee->phone ?? '' }} {{ $trainee->department_name ?? '' }} {{ $trainee->designation_name ?? '' }} {{ $trainee->area_name ?? '' }}{{ $istest ?? '' }} {{ $result ?? ''}}
{{ $trainee_list->links() ?? '' }} Total Record show: {{ $trainee_list->total() }}
@include('admin.sections.footer')
@endsection @push('js') @endpush