
           
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                     Productos
                    </h1>
                           <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i> Inicio</a></li>
                        <li><a href="<?=base_index();?>productos">Productos</a></li>
                        <li class="active">Añadir Productos</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">Añadir Productos</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 id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/productos/productos_action.php?act=in">
                      <div class="form-group">
                        <label for="Código" class="control-label col-lg-2">Código</label>
                        <div class="col-lg-10">
                          <input type="text" name="codigo" placeholder="Código" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Nombre" class="control-label col-lg-2">Nombre</label>
                        <div class="col-lg-10">
                          <input type="text" name="nombre" placeholder="Nombre" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Categoría" class="control-label col-lg-2">Categoría</label>
                        <div class="col-lg-10">
                          <select name="categoria_idcategoria" data-placeholder="Seleccione Categoría ..." class="form-control chzn-select" tabindex="2" >
               <option value=""></option>
               <?php foreach ($db->fetch_all("categoria") as $isi) {
                  echo "<option value='$isi->idcategoria'>$isi->categoria</option>";
               } ?>
              </select>
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Stock" class="control-label col-lg-2">Stock</label>
                        <div class="col-lg-10">
                          <input type="text" name="stock" placeholder="Stock" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Precio Costo" class="control-label col-lg-2">Precio Costo</label>
                        <div class="col-lg-10">
                          <input type="text" name="precio_costo" placeholder="Precio Costo" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="IVA" class="control-label col-lg-2">IVA</label>
                        <div class="col-lg-10">
                          <input type="text" name="iva" placeholder="IVA" class="form-control" value="0"> 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Precio Venta" class="control-label col-lg-2">Precio Venta</label>
                        <div class="col-lg-10">
                          <input type="text" name="precio_venta" placeholder="Precio Venta" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      
                      <div class="form-group">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-10">
                          <input type="submit" class="btn btn-primary btn-flat" value="Enviar">
                        </div>
                      </div><!-- /.form-group -->
                    </form>
 <a href="<?=base_index();?>productos" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i> Volver</a>
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
            