<table id="tablaOperaciones-compra-{{ hash_vista }}" class="table table-striped table-bordered" cellspacing="0" width="100%">
    <thead>
        <tr>
            <th></th>
            <th>Código</th>
            <th>Título</th>
            <th>Descripción</th>
            <th>Clase de Operación</th>
            <th>Revisa</th>
            <th>Centro de Costos</th>
            <th>Rubro</th>
        </tr>
    </thead>
    <tbody>
        {% for operacionP in operacionesPredefinidas  %}
        <tr>
            <td><input type="checkbox" id="checkb{{ operacionP.operacionPredefinidaID }}" name="checkb[]"
                value="{{ operacionP.operacionPredefinidaID }}" class="check checkOperaciones-compra"></td>
            <td>{{ operacionP.operacionPredefinidaCODIGO }}</td>
            <td>{{ operacionP.operacionPredefinidaTITULO }}</td>
            <td>{{ operacionP.operacionPredefinidaDESCRIPCION|striptags }}</td>
            <td>{{ operacionP.claseOperacionTITULO }}</td>
            <td>{{ operacionP.cargoTITULO }}</td>
            <td>{{ operacionP.centroCostosTITULO }}</td>
            <td>{{ operacionP.rubroTITULO }}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>

<script type="text/javascript">

    $(document).ready(function () {
       checkBoxSICAM('.checkOperaciones-compra'); 
       crearTablaScroll('tablaOperaciones-compra-{{ hash_vista }}', '410');
    });
</script>
