<div class="content-wrapper">
  <!-- Content Header (Page header) -->
  <div class="content-header">
    <div class="container-fluid">
      <div class="row mb-2">
        <div class="col-sm-6">
          <h1 class="m-0 text-dark">Bancos</h1>
        </div><!-- /.col -->
        <div class="col-sm-6">
          <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item"><a href="#">Agregar</a></li>
            <li class="breadcrumb-item active">Bancos</li>
          </ol>
        </div><!-- /.col -->
      </div><!-- /.row -->
    </div><!-- /.container-fluid -->
  </div>
  <!-- /.content-header -->

  <!-- Main content -->
  <!-- Main content -->
  <section class="content">
    <div class="row">
      <!-- /.card -->
      <div class="col-md-12" id="datos_producto" >
        <div class="card  card-body" >
          <div class="card-header" >
          <h3 class="card-title" >Bancos</h3>

            <div class="card-tools" id="botones_header">
              <button class="btn btn-primary" id="add_modal" >Agregar <i class="fa fa-plus-square"></i></button>
            </div>
          </div>
          <div class="card-body">

            <table id="list_banks" class="table table-bordered table-striped" style="width: 100%;">
              <thead>
                <tr style="text-align: center;">
                  <th></th>
                  <th>Nombre</th>
                  <th>Cuentas</th>
                  <th>Status</th>
                  <th>Acciones</th>
                </tr>
              </thead>

              <tfoot>
                <tr>
                  <th></th>
                  <th colspan="4" style="text-align: center;">Bancos</th>
                </tr>
              </tfoot>
            </table>
          </div>
          <!-- /.card-body -->
        </div>
        <!-- /.card -->
      </div>

    </div>

  </section>
</div>

<div class="modal fade" id="addcat">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <form role="form">
        <div class="modal-header">
          <h4 class="modal-title" id="title_modal"></h4>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body">
          <div class="card-body">
           <div class="container-fluid">
            <div class="row">
              <div class="form-group col-sm-12">
                <label for="name">Nombre<span style="color: red">*</span></label>
                <input type="text" class="form-control" id="name" placeholder="Nombre" autocomplete="off">
              </div>

              <div class="custom-control custom-switch custom-switch-off-danger custom-switch-on-success col-sm-6" id="sts">
                <input type="checkbox" class="custom-control-input" id="status">
                <label class="custom-control-label" for="status"><?php echo $_SESSION['lang']['OPCIONESTATUS'];?> <span style="color: red">*</span></label>
              </div>
              <input type="hidden" class="form-control" id="id_rol" >

            </div>
          </div>
        </div>
      </div>
      <div class="modal-footer justify-content-between">
        <button type="button" class="btn btn-default close_m" data-dismiss="modal"><?php echo $_SESSION['lang']['CERRAR'];?></button>
        <button type="button" class="btn btn-primary " id="edit"><?php echo $_SESSION['lang']['SALVAR'];?></button>
        <button type="button" class="btn btn-primary " id="save"><?php echo $_SESSION['lang']['SALVAR'];?></button>

      </div>
    </form>
  </div>
  <!-- /.modal-content -->
</div>
</div>
<div class="modal fade" id="modal_eliminar">
  <div class="modal-dialog">
    <div class="modal-content bg-danger">
      <div class="modal-header">
        <h4 class="modal-title">Desea eliminar Banco?</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <p>Presiona confirmar para eliminar</p>
      </div>
      <div class="modal-footer justify-content-between">
        <button type="button" class="btn btn-outline-light" data-dismiss="modal">Cerrar</button>
        <button type="button" class="btn btn-outline-light" id="delete_cat">Confirmar</button>
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- /.modal -->

