<!--  AQUI COMIENZA CUESTIONARIOS -->

<section class="tile">
    <div class="tile-header dvd dvd-btm">
        <h1 class="custom-font text-elg">Cuestionarios</h1>
    </div>
    <div class="tile-body text-md">


        <div class="row">
            <div class="col-md-3">
                <div class="form-group">
                    <label for="detallePoliza">Póliza</label>
                    <input  value="<?= $venta -> poliza ?>" type="text" class="form-control" id="detallePoliza" readonly>
                </div>
            </div>
        </div>
        <hr class="mr-5 ml-5 line-full"/>
        <h1 class="custom-font text-elg">Tipo Cuestionario</h1>

        <table class="table table-hover">
            <thead>
            <tr>
                <th>ID PREGUNTA</th>
                <th>PREGUNTA</th>
                <th>RESPUESTA</th>
                <th>ROL</th>

            </tr>
            </thead>
            <tbody>
            @foreach($cuestionarios as $key => $value)
                <tr>
                    <td>{{ $value -> id_pregunta }}</td>
                    <td style="font-size: 1.1em;">{{ $value -> pregunta }}</td>
                    <td>{{ $value -> respuesta }}</td>
                    <td>{{ $value -> rol }}</td>
                </tr>
            @endforeach
            </tbody>
        </table>




    </div>
    <div class="tile-footer">
        <div class="tile-button pull-right">
            <a class="btn btn-lightred btn-ef btn-ef-4 btn-ef-4c " role="button"  onclick="irCartera('{{ $venta-> poliza }}')" ><i class="fa fa-arrow-left"></i>Regresar</a>
        </div>
    </div>



</section>


<!--  AQUI TERMINA CUESTIONARIOS -->