<?php
use App\Models\ReportQuarter;
use App\Models\AnimateurVisit;
use App\Services\RepportService;
use Livewire\Component;
?>

<div>
    <div class="table-responsive">
        <table class="table table-bordered" style="width: 100%">
            <thead>
            <tr>
                <th class="text-center" style="width: 3%; padding: 8px">N°</th>
                <th class="text-center" style="width: 25%; padding: 8px">Qualité de l'observateur</th>
                <th class="text-center" style="width: 17%; padding: 8px">Professeur</th>
                <th class="text-center" style="width: 15%; padding: 8px">Discipline</th>
                <th class="text-center" style="width: 15%; padding: 8px">Dates</th>
                <th class="text-center" style="width: 10%; padding: 8px">Hueres</th>
                <th class="text-center" style="width: 15%; padding: 8px">Classes</th>
            </tr>
            </thead>
            <tbody>
                <?php $i = 1; ?>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                    <tr>
                        <th class="text-center" style="padding: 8px"><?php echo e($i < 10 ? '0'.$i++:$i++); ?></th>
                        <td style="padding: 8px"><?php echo e(ucfirst($item->qualite)); ?></td>
                        <td style="padding: 8px">
                            <?php echo e(($item->user->sexe == 'F' ? 'Mme':'Mr').' '.strtoupper($item->user->first_name).' '.ucwords($item->user->last_name)); ?>

                        </td>
                        <td style="padding: 8px"><?php echo e(ucfirst($item->school_matter->matter->libelle)); ?></td>
                        <td class="text-center" style="padding: 8px"><?php echo e(date('d/m/Y', strtotime($item->date))); ?></td>
                        <td class="text-center" style="padding: 8px"><?php echo e($item->time); ?></td>
                        <td class="text-center" style="padding: 8px"><?php echo e($item->classe->libelle); ?></td>
                    </tr>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
                    <tr>
                        <td colspan="7" class="text-center" style="padding: 8px">Underdefined data</td>
                    </tr>
                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </tbody>
        </table>
    </div>
</div><?php /**PATH C:\Users\EDUCAS\Desktop\App\V4_001\storage\framework/views/livewire/views/79a35850.blade.php ENDPATH**/ ?>