<div class="modal modales col-md-6" tabindex="-1" id="gastos"  >
  <div class="modal-dialog modal-xl ">
    <div class="modal-content ">
      <div class="modal-header">
        <h5 class="modal-title">Gastos</h5>
      
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>

      <div class="modal-body">
        
      <div id="modagastos" class="col-md-12">


<label for="">cedula o telefono<input type="text" id="ceducligasto" class="form-control " ></input></label> 
<input id="busproCliGas" class=""  value="." type="button"  >





<input type="button" class="btn btn-primary" name="" id="buscarcliengastos" value="Buscar">

<label for="" class="col-md-3">Tipo_Cruze
   <select name="" id="tipoCruze"  class=" form-control col-md-12">
  
   <option value="CajaDia">Caja Dia</option> 
   <option value="CajaMayor">Caja Mayor</option> 

   </select>     
 </label>
 <label for="" class="col">Fecha Gasto <input type="date" id="FachaGasto"<?php if ($_SESSION["tipo"] == 0) {echo ("disabled='disabled'");} ?>   value="<?php echo date("Y-m-d")?>"></label>
<input type="button" class="btn btn-success" hidden name="" id="crearcligast" value="Crear Provedor">
<br>

<label for="">cedula<input type="text"  class=" form-control" disabled="disabled" id="ceducligas" ></input></label> 
<label for="">Nombre<input type="text"  class="clic form-control" disabled="disabled" id="nombreclicgas" ></input></label> 
<label for="" class="col-md-6">Tipo de  Gasto
   <select name="" id="tipogasto"  class=" form-control col-md-12">
   <option value=""></option>

   <!-- <option value="520505">Sueldos =>520505</option>
   <option value="520510">Horas extras y recargos =>520510</option>
   <option value="520515">Auxilio de transporte =>520515</option>
   <option value="522010">construcciones y edificaciones =>522010</option>
   <option value="523515">asistencia tecnica =>523515</option>
   <option value="523525">acueducto y alcantarillado=>523525</option>
   <option value="523530">energia electrica=>523530</option>
   <option value="523535">telefono=>523535</option>
   <option value="524520">equipo de oficina=>524520</option>
   <option value="524525">equipo de computacion y comunicación=>524525</option>
   <option value="524500">Otros gastos=>524500</option>
   <option value="524500">Pago Facturas</option>
     <option value="524500">gastos Droguerias</option>
  
   
     <option value="524500">Comisiones</option>

     <option value="524500">Honorarios</option>
     <option value="524500">Internet</option>
     <option value="524500">Fletes</option>
     <option value="524500">Gastos Locatarios </option>
     <option value="524500">Arriendo</option> -->
   
     <?php
                                               
                                               $cunetas= new marcacategoria();
                                               $dtos=$cunetas->cunetasGast();
                                               while($fila=mysqli_fetch_object($dtos)){
                                               
                                               echo("<option value=$fila->codeC >$fila->NombreCuenta ($fila->codeC)</option> ");
                                               }                          
                                                       
       ?>



     
           
   
   </select>     
                       
</label>	

<label for="" class="col-md-4">Valor Gasto <input type="number" class="form-control col-md-12" name="" id="vlrgasto" value="Valor">	</input></label>
   
<label for="" class="col-md-6"  >Forma De pago
   <select name="" id="FormaPagoGast"  class=" form-control col-md-12">
   

   <option value="Contado" select >Contado</option> 
   <option value="Credito">Credito</option> 
   <option value="Banco">Banco</option> 
   <option value="TRAS">Trasferencia</option> 

   </select>     
 </label>

</div>
   <div class="col-12 ">
           <label for="" class="col-12">Observacion
                           <textarea id="observacion"  style="height: 20%; width: 100%;" ></textarea>
                           </label>
   </div>       
<div>
   
   <!-- <a href="#carterac" rel="modal:close" class="btn btn-primary col-md-2 " id="salirgas">Salir</a>	 -->
  
   <input class="clic  btn btn-success" type="button" id="guargastoc" value="Guardar"></input>
</div>





      </div>

      <div class="d-flex p-2 bg-light border">
        <label for="">
          <h4 class="h4">Reimpresion Gastos</h4> <br>
         
        <label for="">id gasto<input type="text"  class=" form-control"  id="idgastos" ></input></label> 
        <button type="button" class="btn btn-primary" id="ReimprimirGast">Reimprimir</button>
      </div>
      <div class="modal-footer">

        <button type="button" class="btn btn-primary" data-bs-dismiss="modal">Close</button>
       

      
      </div>

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



