<!DOCTYPE html>
<html lang="en">

<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">

    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
        integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
    <link href="vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

    <title>Listado de los Planes de Estudios</title>
</head>

<body>
    <style>
        @page {
            margin: 0cm 0cm;
        }

        body {
            font-family: sans-serif;
            margin-top: 2cm;
            margin-bottom: 2cm;
            margin-left: 2cm;
            margin-right: 2cm;
        }

        header {
            position: fixed;
            top: 0cm;
            left: 0cm;
            right: 0cm;
            height: 2cm;
            text-align: center;
            line-height: 30px;

        }

        footer {
            position: fixed;
            bottom: 0cm;
            left: 0cm;
            right: 0cm;
            height: 2cm;
            text-align: center;
            line-height: 35px;
        }
    </style>
    <header>
        <img src="https://academico.zitacuaro.tecnm.mx/img/encabezado_pie/{{ $enca->encabezado_encpie }}" width="90%"
            alt="">
    </header>
    <br>
    <br>
    <br>
    <h1 class="text-center">Listado de los Planes de Estudios</h1>
    <table class="table table-striped">
        <thead>
            <tr>
                <th>NO</th>
                <th>CLAVE OFICIAL</th>
                <th>NOMBRE</th>
                <th>RETÍCULA</th>
                <th>NIVEL ESCOLAR</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($planEst as $pe)
                <tr>
                    <td>{{ $loop->iteration }}</td>
                    <td>{{ $pe->claveOfi_planest }}</td>
                    <td>{{ $pe->nombre_planest }}</td>
                    <td>{{ $pe->reticula_planest }}</td>
                    <td>{{ $pe->nivesc_planest }}</td>
                </tr>
            @endforeach
        </tbody>
    </table>


</body>

</html>
