
<div class="container">
<div class="btn-group pull-right">
 <form id="form" class="navbar-form navbar" method="GET" action="<?=base_url()?>clientes/administrador/clienteA">
  <input type="submit" class="btn btn-primary" id="buscar" value="ver todos" />
  </form>
</div>
<head>
  <!-- Manda a traer el javascript para validar el formulario -->
  <script type="text/javascript" src="<?php echo base_url()?>assets/dist/js/site.js"></script>
  <link rel="stylesheet" href="<?php echo base_url().'assets/dist/css/validacion.css'?>">
</head>
<div class="row">


<center>

   </center>
  
   <br>
<CENTER>
<h1>Pagos</h1>
<form id="form" class="navbar-form navbar" method="GET" action="<?=base_url()?>clientes/administrador/clienteA/buscarporfranquicia">
  
    <label for="name1">Franquicia  </label>
    <select class="form-control" id="query" name="query"> <?php foreach ($ReFranq as $i => $franquicia)    
    echo '<option value="',$i,'">',$franquicia,'</option>'; ?> </select>
    <input type="submit" class="btn btn-primary" id="buscar" value="Acceder" />

</form>

</CENTER>
<div class="col-md-7">
<form id="form" class="navbar-form navbar" method="GET" action="<?=base_url()?>clientes/administrador/clienteA/buscar">
<a href="<?=base_url()?>clientes/administrador/clienteA/agregar"><button type="button" class="btn btn-primary"><span class='glyphicon glyphicon-plus'></span></button></a>
<input type="text" class="form-control"  id="query" name="query" />
<input type="submit" class="btn btn-primary" id="buscar" value="Buscar" />

</form>

           
</div>
</div>
  
  <table class="table table-striped table-bordered">
<tr>
 <!-- <th>Id Cliente</th>-->
  <th>Nombre Cliente</th>
<!--  <th>Fecha Nacimiento</th>-->
  <th>Id Venta </th>
  <th>Pago 1</th>
 <!-- <th>Correo Electronico</th>-->
<th>Pago 2</th>
 <!--   <th>Edad</th>
  <th>Sexo</th>
  <th>Estado Civil</th>
  <th>Ocupación</th>
  <th>Medio Informacion</th>
  <th>Recomendado por</th>-->
  <th>Resta</th>

  <!-- <th>Crear Expediente</th>-->


</tr>
  <?php 
          if ($consulta != FALSE){
            foreach ($consulta as $fila){
              echo "<tr>";
               
                echo "<td>MONSE DIAZ CRUZ</td>";
              
                echo "<td>FMASATLV0089</td>";
                echo "<td>200</td>";
                
                echo "<td>0</td>";
                echo "<td>300</td>";
               
               
                



//echo "<td>";
 //                echo "<a href='".base_url()."expediente/expedienteA/crearExpediente/".$fila->IdClientes."' class='label label-primary'>";
  //                  echo "<span class='glyphicon glyphicon-list-alt'></a></span>";    echo "</td>";

                echo "</tr>";
            } 
          } 

          


  
     ?>


        
      </table>  


  
  
</form>
</div>
</div>
</div>



