<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Add Conduite {{ $classe['libelle'].' '.ucfirst($cutting['cutting']['libelle']) }}</title>
    <style>
        table {
          width: 100%;
          border-collapse: collapse;
          margin: 20px auto;
          font-family: Arial, sans-serif;
        }
    
        th, td {
          border: 1px solid black;
          padding: 100px;
        }
    </style>
</head>
<body>
  <table>
    <thead>
      <tr>
        <th style="width: 150%; text-align:center">num</th>
        <th style="width: 200%; text-align:center">matricule</th>
        <th style="width: 500%; text-align:center">nom_prenoms</th>
        <th style="width: 200%; text-align:center">sexe</th>
        <th style="width: 300%; text-align:center">nbre_heure_justifie</th>
        <th style="width: 300%; text-align:center">nbre_heure_non_justifie</th>
        <th style="width: 300%; text-align:center">moyenne</th>
      </tr>
    </thead>
    <tbody>
      @foreach ($data as $item)
        <tr>
          <td style="height: 230%; text-align:center">{{ $classe['id'].'_'.$cutting['id'].'_'.$item['id'] }}</td>
          <td style="height: 230%; text-align:center">{{ $item['matricule'] }}</td>
          <td style="height: 230%">{{ $item['name'] }}</td>
          <td style="height: 230%; text-align:center">{{ $item['sexe'] }}</td>
          <td style="height: 230%; text-align:center"></td>
          <td style="height: 230%; text-align:center"></td>
          <td style="height: 230%; text-align:center"></td>
        </tr>
      @endforeach
    </tbody>
  </table>
</body>
</html>