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

<div>
    @foreach ($levels as $item)
    <div style="font-size: 13px; margin-bottom: 20px; margin-left: 50px">
        <u>Niveau</u> : <strong>{{ $item->code }}</strong>
    </div>
    <div class="table-responsive" style="margin-bottom: 20px">
        @livewire('pdf.list_classe_1', [
            'class' => $item->id, 
            'cutting' => $cutting, 
            'school' => $school,
            'dta' => $this->clclPourctage($item->id),
            'total' => $this->cmptEffts($item->id)
        ])
    </div>
    @endforeach
</div>