<table id="tabla_entidades_bancarias" class="table table-bordered text-right table-hover">
    <thead>
        <tr class="text-center" style="background-color:#eeeeee;">
            <th>Código Entidad</th>
            <th>Nombre</th>
            <th>Nombre Corto</th>
            <th>Grupo</th>
            <th>Nombre Grupo</th>
            <th class="no-sort"></th>
            <th class="no-sort"></th>
        </tr>
    </thead>

    <tbody>
        @foreach ($ent_bancaria as $banco)
                <tr>
                    <td class="id_banco">{{$banco->id_banco}}</td>
                    <td class="nombre text-left">{{$banco->nombre}}</td>
                    <td class="nombre_corto text-left">{{$banco->nombre_corto}}</td>
                    <td class="grupo text-left">{{$banco->grupo}}</td>
                    <td class="nombre_grupo text-left">{{$banco->nombre_grupo}}</td>
                    <td>
                        <button id="modificar_{{$banco->id_banco}}" type="button" class="btn btn-info btn-fidelitas text-center"
                            data-toggle="modal" data-target="#modalEntidadesBancarias">
                            Modificar
                        </button>
                    </td>
                    <td>
                        <!--form name="baja_{{$banco->id_banco}}" class="baja_{{$banco->id_banco}}">
              <input type="hidden" id="accion" name="accion" value="B">
              <input type="hidden" name="id_banco" class="id" value="{{$banco->id_banco}}">
              <input type="hidden" name="_token"  id="token" value="{{ csrf_token() }}"-->
                        <button id="baja_{{$banco->id_banco}}" type="button" class="btn btn-info btn-fidelitas text-center"
                            disabled>Baja</button>
                        <!--/form-->
                    </td>
                </tr>
        @endforeach
    </tbody>

    <tfoot>
        <tr class="text-center" style="background-color:#eeeeee;">
            <th>Código Entidad</th>
            <th>Nombre</th>
            <th>Nombre Corto</th>
            <th>Grupo</th>
            <th>Nombre Grupo</th>
            <th class="no-sort"></th>
            <th class="no-sort"></th>
        </tr>
    </tfoot>


</table>

<script>
    crearDataTable("#tabla_entidades_bancarias");
</script>