<?php
use App\Services\Chapter1Service;
use Livewire\Component;
?>

<div>
    <div id="accordion" role="tablist" aria-multiselectable="true">
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $levels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
        <div class="accordion-panel">
            <div class="accordion-heading" role="tab" id="headingOne">
                <h3 class="card-title accordion-title">
                    <a class="accordion-msg px-0" data-toggle="collapse" data-parent="#accordion" href="#collapse_<?php echo e($item->id); ?>" aria-expanded="true" aria-controls="collapse_<?php echo e($item->id); ?>">
                        <span style="font-size: 15px; text-decoration: none; color: black">
                            <span><u>Niveau</u> : <?php echo e($item->code); ?></span>
                            <i class="fas fa-chevron-circle-down" style="float: right; color: grey"></i>
                        </span>
                        <div class="table-responsive">
                            <?php $dta = $this->clclPourctage($item->id) ?>
                            <table class="table table-bordered" style="width: 100%">
                                <thead>
                                    <tr>
                                        <th class="text-center">Nbre de classe</th>
                                        <th class="text-center">Effectif</th>
                                        <th class="text-center">Classé</th>
                                        <th class="text-center">Non classé</th>
                                        <th class="text-center">Moy ≥ 10</th>
                                        <th class="text-center">8.5 ≤ Moy ≤ 9.99</th>
                                        <th class="text-center">Moy < 8.5</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td class="text-center"><?php echo e($this->cmptClass($item->id)); ?></td>
                                        <td class="text-center"><?php echo e($this->cmptEffts($item->id)); ?></td>
                                        <td class="text-center"><?php echo e($dta[0]['nbre']); ?></td>
                                        <td class="text-center"><?php echo e($dta[1]['nbre']); ?></td>
                                        <td class="text-center"><?php echo e($dta[2]['nbre'].' soit '.$dta[2]['pctge']); ?></td>
                                        <td class="text-center"><?php echo e($dta[3]['nbre'].' soit '.$dta[3]['pctge']); ?></td>
                                        <td class="text-center"><?php echo e($dta[4]['nbre'].' soit '.$dta[4]['pctge']); ?></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </a>
                </h3>
            </div>
            <div id="collapse_<?php echo e($item->id); ?>" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="heading_<?php echo e($item->id); ?>">
                <div class="accordion-content accordion-desc">
                <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('chapter1.list_class', ['class' => $item->id, 'cutting' => $cutting, 'school' => $school]);

$__keyOuter = $__key ?? null;

$__key = null;
$__componentSlots = [];

$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-4144503507-0', $__key);

$__html = app('livewire')->mount($__name, $__params, $__key, $__componentSlots);

echo $__html;

unset($__html);
unset($__key);
$__key = $__keyOuter;
unset($__keyOuter);
unset($__name);
unset($__params);
unset($__componentSlots);
unset($__split);
?>
                </div>
            </div>
        </div>
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
    </div>
</div><?php /**PATH C:\Users\EDUCAS\Desktop\App\V4_001\storage\framework/views/livewire/views/a2a7fee6.blade.php ENDPATH**/ ?>