

                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                     Nuevoingreso
                    </h1>
                   <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i> Inicio</a></li>
                        <li><a href="<?=base_index();?>nuevoingreso">Nuevoingreso</a></li>
                        <li class="active">Detalle Nuevoingreso</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 Nuevoingreso</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="Forma de Pago" class="control-label col-lg-2">Forma de Pago</label>
                        <div class="col-lg-10">
                          <?php foreach ($db->fetch_all("formadepago") as $isi) {
                  if ($data_edit->formadepago_idformadepago==$isi->idformadepago) {

                    echo "<input disabled class='form-control' type='text' value='$isi->formadepago'>";
                  }
               } ?>
              
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Factura" class="control-label col-lg-2">Factura</label>
                        <div class="col-lg-10">
                          <?php foreach ($db->fetch_all("factura") as $isi) {
                  if ($data_edit->factura_idfactura==$isi->idfactura) {

                    echo "<input disabled class='form-control' type='text' value='$isi->numfact'>";
                  }
               } ?>
              
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Tipo de Pago" class="control-label col-lg-2">Tipo de Pago</label>
                        <div class="col-lg-10">
                          <?php foreach ($db->fetch_all("tipo_pago") as $isi) {
                  if ($data_edit->tipo_pago_idtipo_pago==$isi->idtipo_pago) {

                    echo "<input disabled class='form-control' type='text' value='$isi->tipo_pago'>";
                  }
               } ?>
              
                        </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="<?=tgl_indo($data_edit->fecha);?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Valor" class="control-label col-lg-2">Valor</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->valor;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Descripción" class="control-label col-lg-2">Descripción</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->descripcion;?>" class="form-control">
                        </div>
                      </div><!-- /.form-group -->

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