@extends('layouts.app') @section('content') @php $bg = base64_encode(file_get_contents(public_path('images/print/header-page.png'))); $logoIvory = base64_encode(file_get_contents(public_path('images/print/print-logo.png'))); $logoIvory2 = base64_encode(file_get_contents(public_path('images/print/logo.png'))); $logoIvory3 = base64_encode(file_get_contents(public_path('images/print/logo2.png'))); $logoIvory4 = base64_encode(file_get_contents(public_path('images/print/footerlogo.png'))); $line = base64_encode(file_get_contents(public_path('images/print/line.png'))); @endphp @php $logoIvory3 =''; $imgCourse = $logoIvory; $imgPath = public_path($group->img); if (file_exists($imgPath) && is_file($imgPath)) { $imgCourse = base64_encode(file_get_contents(public_path($group->img))); } if($group->companies->count()==1){ $imgPath = public_path($group->companies[0]->logo); if (file_exists($imgPath) && is_file($imgPath)) { $logoIvory3 = base64_encode(file_get_contents($imgPath)); }else{ } } @endphp {{--
{{ $group->description }}
{{ $goal }}
@if(($key + 1) % 3 == 0 || $loop->last)
{{ $goal }}
تعريف 1الخطر والتأمين
تعريف 2الخطر والتأمين
تعريف 3الخطر والتأمين
تعريف 4الخطر والتأمين
تعريف 5الخطر والتأمين
تعريف 6الخطر والتأمين
تعريف ال7خطر والتأمين
تعريف 8الخطر والتأمين
--}}
--}}
@endif
@endif
{{ $list_titles[$innerIndex]['question'] }}
{{-- --}} {{-- --}}
{{--
عدد الحضور
--}}
{{ $presentTotal[0]['value'] }}
100 % من احمالي المتدربين
{{--
عدد الغياب
--}}
{{ $presentTotal[1]['value'] }}
0 % من ا مالي المتدربين
| # | المشترك | @foreach ($presentTable as $session){{ $session['session'] }} | @endforeachالالتزام بالحضور | @if($presentTable) @foreach ($presentTable[0]['participants'] as $key => $participant)
|---|---|---|---|
| {{ $loop->iteration }} | {{ $key }} | @foreach ($presentTable as $session)@endforeach | {{ round($participantPercentage[$key], 2) }}% |
| متوسط الاختبار القبلي | % {{ $nbParticipants > 0 ? number_format(($sumBefore / $nbParticipants)*100 / $groupExamBeforeTotal,2) : 0 }} |
|---|---|
| متوسط الاختبار البعدي | % {{ $nbParticipants >0 ? number_format(($sumAfter / $nbParticipants) * 100 / $groupExamAfterTotal,2) : 0 }} |
| معدل الزيادة | % {{ $sumAfter>0 ? number_format((($sumAfter-$sumBefore) / $sumAfter)*100,2) : 0}} |