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

<div>
    <div class="card-block table-border-style">
        <div class="table-responsive">
            <table class="table table-bordered" style="width: 100%">
                <thead>
                    <tr styl="padding: 0%">
                        <th class="text-center" styl="padding: 0%">Niveau</th>
                        <th class="text-center" styl="padding: 0%">Nombre <br> classes</th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <th class="text-center py-1" colspan="3" styl="padding: 1px">Filles</th>
                                </tr>
                                <tr styl="padding: 0%">
                                    <th class="text-center py-1" style="width: 30%">Red</th>
                                    <th class="text-center py-1" style="width: 30%">N-Red</th>
                                    <th class="text-center py-1" style="width: 40%">Total</th>
                                </tr>
                            </table>
                        </th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <th class="text-center py-1" colspan="3">Garçons</th>
                                </tr>
                                <tr styl="padding: 0%">
                                    <th class="text-center py-1" style="width: 30%">Red</th>
                                    <th class="text-center py-1" style="width: 30%">N-Red</th>
                                    <th class="text-center py-1" style="width: 40%">Total</th>
                                </tr>
                            </table>
                        </th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <th class="text-center" colspan="3">Effectif total</th>
                                </tr>
                                <tr styl="padding: 0%">
                                    <th class="text-center" style="width: 30%">Red</th>
                                    <th class="text-center" style="width: 30%">N-Red</th>
                                    <th class="text-center" style="width: 40%">Total</th>
                                </tr>
                            </table>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $data; $__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; ?>
                    <?php $dts = $this->compte($item->id) ?>
                    <tr styl="padding: 0%">
                        <td styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($item->code); ?></td>
                                </tr>
                            </table>
                        </td>
                        <td styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[9] < 10 ? '0'.$dts[9]:$dts[9]); ?></td>
                                </tr>
                            </table>
                        </td>
                        <td styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[0] < 10 ? '0'.$dts[0]:$dts[0]); ?></td>
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[1] < 10 ? '0'.$dts[1]:$dts[1]); ?></td>
                                    <td class="text-center py-1" style="width: 40%"><?php echo e($dts[2] < 10 ? '0'.$dts[2]:$dts[2]); ?></td>
                                </tr>
                            </table>
                        </td>
                        <td styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[3] < 10 ? '0'.$dts[3]:$dts[3]); ?></td>
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[4] < 10 ? '0'.$dts[4]:$dts[4]); ?></td>
                                    <td class="text-center py-1" style="width: 40%"><?php echo e($dts[5] < 10 ? '0'.$dts[5]:$dts[5]); ?></td>
                                </tr>
                            </table>
                        </td>
                        <td styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[6] < 10 ? '0'.$dts[6]:$dts[6]); ?></td>
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($dts[7] < 10 ? '0'.$dts[7]:$dts[7]); ?></td>
                                    <td class="text-center py-1" style="width: 40%"><?php echo e($dts[8] < 10 ? '0'.$dts[8]:$dts[8]); ?></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <?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; ?>
                    <tr styl="padding: 0%">
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%">Total</td>
                                </tr>
                            </table>
                        </th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[9] < 10 ? '0'.$tls[9]:$tls[9]); ?></td>
                                </tr>
                            </table>
                        </th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[0] < 10 ? '0'.$tls[0]:$tls[0]); ?></td>
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[1] < 10 ? '0'.$tls[1]:$tls[1]); ?></td>
                                    <td class="text-center py-1" style="width: 40%"><?php echo e($tls[2] < 10 ? '0'.$tls[2]:$tls[2]); ?></td>
                                </tr>
                            </table>
                        </th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[3] < 10 ? '0'.$tls[3]:$tls[3]); ?></td>
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[4] < 10 ? '0'.$tls[4]:$tls[4]); ?></td>
                                    <td class="text-center py-1" style="width: 40%"><?php echo e($tls[5] < 10 ? '0'.$tls[5]:$tls[5]); ?></td>
                                </tr>
                            </table>
                        </th>
                        <th styl="padding: 0%">
                            <table style="width: 100%; margin: 0%">
                                <tr styl="padding: 0%">
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[6] < 10 ? '0'.$tls[6]:$tls[6]); ?></td>
                                    <td class="text-center py-1" style="width: 30%"><?php echo e($tls[7] < 10 ? '0'.$tls[7]:$tls[7]); ?></td>
                                    <td class="text-center py-1" style="width: 40%"><?php echo e($tls[8] < 10 ? '0'.$tls[8]:$tls[8]); ?></td>
                                </tr>
                            </table>
                        </th>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div><?php /**PATH C:\Users\EDUCAS\Desktop\App\V4_001\storage\framework/views/livewire/views/41cf4cfd.blade.php ENDPATH**/ ?>