

                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                     Nuevafactura
                    </h1>
                   <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i> Inicio</a></li>
                        <li><a href="<?=base_index();?>nuevafactura">Nuevafactura</a></li>
                        <li class="active">Detalle Nuevafactura</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
<div class="row">
    <div class="col-lg-12">
        <div class="box box-solid box-primary">
                                   <div class="box-header">
                                    <h3 class="box-title">Detalle Nuevafactura</h3>
                                    <div class="box-tools pull-right">
                                        <button class="btn btn-info btn-sm" data-widget="collapse"><i class="fa fa-minus"></i></button>
                                        <button class="btn btn-info btn-sm" data-widget="remove"><i class="fa fa-times"></i></button>
                                    </div>
                                </div>

                  <div class="box-body">
                   <form class="form-horizontal">
                      <div class="form-group">
                        <label for="Número" class="control-label col-lg-2">Número</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->numfact;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Fecha" class="control-label col-lg-2">Fecha</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->fecha;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Clientes" class="control-label col-lg-2">Clientes</label>
                        <div class="col-lg-10">
                          <?php foreach ($db->fetch_all("clientes") as $isi) {
                  if ($data_edit->clientes_idclientes==$isi->idclientes) {

                    echo "<input disabled class='form-control' type='text' value='$isi->razon_social'>";
                  }
               } ?>
              
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Condiciones" class="control-label col-lg-2">Condiciones</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->condiciones;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Total" class="control-label col-lg-2">Total</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->total_venta;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Estado" class="control-label col-lg-2">Estado</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->estado;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->

                   
                    </form>
                    <a href="<?=base_index();?>nuevafactura" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i> Volver</a>
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
