</div>

                  <div class="box-body">
                     <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/transaksi_grosir/transaksi_grosir_action.php?act=in">
                      <div class="form-group">
                        <label for="NO_NOTA_PENJUALAN" class="control-label col-lg-2">NO_NOTA_PENJUALAN</label>
                        <div class="col-lg-10">
                          <input type="text" name="NO_NOTA_PENJUALAN" placeholder="NO_NOTA_PENJUALAN" 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="Simpan"> &nbsp;
						   <a href="<?=base_index();?>transaksi-grosir" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
                      </div><!-- /.form-group -->
                    </form>

          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
            
        <td>
        <a href="<?=base_index();?>lap_jual/detail/<?=$isi->ID_PENJUALAN;?>" class="btn btn-success btn-flat"><i class="fa fa-eye"></i></a> 
        <?=($role_act["up_act"]=="Y")?'<a href="'.base_index().'lap_jual/edit/'.$isi->ID_PENJUALAN.'" class="btn btn-primary btn-flat"><i class="fa fa-pencil"></i></a>':"";?>  
        <?=($role_act["del_act"]=="Y")?'<button class="btn btn-danger hapus btn-flat" data-uri="'.base_admin().'modul/lap_jual/lap_jual_action.php" data-id="'.$isi->ID_PENJUALAN.'"><i class="fa fa-trash-o"></i></button>':"";?>
        </td>
        </tr>
				<?php
				$i++;
			}
			?>
                                        </tbody>
                                    </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
        <?php
       foreach ($db->fetch_all("sys_menu") as $isi) {
                      if ($path_url==$isi->url) {
                          if ($role_act["insert_act"]=="Y") {
                    ?>
          <a href="<?=base_index();?>lap-jual/tambah" class="btn btn-primary btn-flat"><i class="glyphicon glyphicon-plus-sign"></i> Tambah</a>
                          <?php
                          } 
                       } 
}
?>  
                </section><!-- /.content -->
        
                        <label for="Nama perusahaan" class="control-label col-lg-2">Nama perusahaan</label>
                        <div class="col-lg-10">
                          <input type="text" name="NAMA_PERUSAHAAN" value="<?=$data_edit->NAMA_PERUSAHAAN;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Tanggal terdaftar" class="control-label col-lg-2">Tanggal terdaftar</label>
                        <div class="col-lg-10">
                          <input type="text" id="tgl1" data-rule-date="true" name="TANGGAL_TERDAFTAR" value="<?=$data_edit->TANGGAL_TERDAFTAR;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->ID_SUPPLIER;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>supplier" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
                        <label for="STATUS" class="control-label col-lg-2">STATUS</label>
                        <div class="col-lg-10">
                          <input type="text" name="STATUS" value="<?=$data_edit->STATUS;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="KETERANGAN" class="control-label col-lg-2">KETERANGAN</label>
                        <div class="col-lg-10">
                          <input type="text" name="KETERANGAN" value="<?=$data_edit->KETERANGAN;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->ID_KALKULASI;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>kalkulasi-bahan" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.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">Detail Pengiriman Barang</h3>
                                   
                                 </div>

                  <div class="box-body">
                   <form class="form-horizontal">
                      
					  
					   <div class="form-group">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-10">
                             <a href="<?=base_index();?>pengiriman-barang" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
                      </div>
                    </form>
                
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
Exemplo n.º 6
0

                        <li class="treeview <?=$db->terpilih($path_url,$main_menu->id);?>">
                            <a href="#">
                                <i class="<?=$main_menu->icon;?>"></i>
                                &nbsp;&nbsp;<span><?=ucwords($main_menu->modul_name);?></span>
                                 <i class="glyphicon1 glyphicon-chevron-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <?php 
$sub= $db->fetch_custom("select * from sys_menu where modul_id=? order by urutan_menu asc",array('modul_id'=>$main_menu->id));
            foreach ($sub as $sub_menu) {
               if (in_array($sub_menu->url, $role_user)) {
                ?>
   <li class="<?=($path_url==$sub_menu->url)?'active':'';?>">
                <a href="<?=base_index().$sub_menu->url;?>">
                  <i class="glyphicon1 glyphicon-record"></i> <?=ucwords($sub_menu->page_name);?></a> 
              </li>
                <?php
              } 
              
            }
            ?>

                                </ul>
                        </li>

<?php 

}
}
                        <label for="Sisa" class="control-label col-lg-2">Sisa</label>
                        <div class="col-lg-10">
                          <input type="text" readonly name="UANG_KEMBALI" id="UANG_KEMBALI" value="<?php echo str_replace("-","",$data_edit->UANG_KEMBALI);?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
					  <div class="form-group">
                        <label for="Biaya Kirim" class="control-label col-lg-2">Nominal Pelunasan</label>
                        <div class="col-lg-10">
                          <input type="text"  name="NOMINAL_PELUNASAN" id="NOMINAL_PELUNASAN" onchange="hitung();" value="" placeholder="Rp." class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->ID_PENJUALAN;?>">
                      <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="Simpan">&nbsp;
						 <a href="<?=base_index();?>piutang-grosir/detail/<?php echo $data_edit->ID_PENJUALAN;?>" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
                        <label for="Parameter" class="control-label col-lg-2">Parameter</label>
                        <div class="col-lg-10">
                          <input type="text" name="PARAMETER_NAME" value="<?=$data_edit->PARAMETER_NAME;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Nilai Parameter" class="control-label col-lg-2">Nilai Parameter</label>
                        <div class="col-lg-10">
                          <input type="text" name="PARAMETER_VALUE" value="<?=$data_edit->PARAMETER_VALUE;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->PARAMETER_ID;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>pengaturan-penjualan" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 

                <!-- Content Header (Page header) -->
                <section class="content-header">
                 
                   <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i>Home</a></li>
                        <li><a href="<?=base_index();?>penjualan">Penjualan</a></li>
                        <li class="active">Detail Penjualan</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">Consigment Invoice</h3>
                                   
                                 </div>

                  <div class="box-body">
                    <section class="invoice">
          <!-- title row -->
          <div class="row">
            <div class="col-xs-12">
              <h2 class="page-header">
                 <i class="glyphicon glyphicon-list-alt" style="color:black"></i>&nbsp;<?=$data_edit->NO_NOTA_KONSINYASI;?>
                <small class="pull-right">Tanggal: <?=$data_edit->TANGGAL;?></small>
              </h2>
Exemplo n.º 10
0
        ?>
</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <?php 
        $sub = $db->fetch_custom("select * from sys_menu where modul_id=? order by urutan_menu asc", array('modul_id' => $main_menu->id));
        foreach ($sub as $sub_menu) {
            if (in_array($sub_menu->url, $role_user)) {
                ?>
   <li class="<?php 
                echo $path_url == $sub_menu->url ? 'active' : '';
                ?>
">
                <a href="<?php 
                echo base_index() . $sub_menu->url;
                ?>
">
                  <i class="fa fa-circle-o"></i> <?php 
                echo ucwords($sub_menu->page_name);
                ?>
</a> 
              </li>
                <?php 
            }
        }
        ?>

                                </ul>
                        </li>
						<div class="form-group">
                        <div class="col-lg-12">
                          <input type="text" name="STOK" id="STOK" value="<?php echo $_GET["stok"];?>" placeholder="Stok Saat ini" readonly class="form-control" required> 
                        </div>
                        </div><!-- /.form-group -->
						<!-- /.form-group -->

                       <!-- /.form-group -->

                      
                      <div class="form-group" style="margin-top:-30px">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-12" style="margin-left:35px">
                           <button type="submit" class="btn btn-success btn-flat" id="input_scanner"><i class="glyphicon glyphicon-chevron-left"></i></button> 
						 <a href="<?=base_index();?>sales-order?DAFTAR_BARANG" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-search"></i></a>
						   <a href="<?=base_index();?>sales-order" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-refresh"></i></a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>

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


    <div class="col-lg-3" style="width:260px;margin-top:60px"> 
        <div class="box box-solid box-primary">
                               

                  <div class="box-body">
													//Restore orignal HTML
													document.body.innerHTML = oldPage;


												}
											</script>
											
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                     Kalukulasi Bahan
                    </h1>
                           <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i>Beranda</a></li>
                        <li><a href="<?=base_index();?>kalukulasi-bahan">Produksi Barang</a></li>
                        <li class="active">Kalukulasi Bahan</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">

      
		<?php	
				echo'

				
				<div class="row">
					<div class="col-lg-12"> 
						<div class="box box-solid box-primary">
Exemplo n.º 13
0
           
                <!-- Content Header (Page header) -->
                <section class="content-header">
                
                           <ol class="breadcrumb">
                        <li><a href="<?=base_index();?>"><i class="fa fa-dashboard"></i>Beranda</a></li>
                        <li><a href="<?=base_index();?>laporan">Filter</a></li>
                        <li class="active">Laporan</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">Periode laporan penjualan</h3>
                                   
                                </div>

					<div class="box-body">
                     <form id="input" method="post" class="form-horizontal foto_banyak" action="" style="margin-top:20px">
                      <div class="form-group">
                        <label for="AWAL" class="control-label col-lg-2">Tanggal awal</label>
                        <div class="col-lg-10">
						   <input type="text" id="tgl1" data-rule-date="true" name="AWAL" placeholder="AWAL" class="form-control" > 
                        </div>
                      </div>
                        <label for="SATUAN" class="control-label col-lg-2">SATUAN</label>
                        <div class="col-lg-10">
                          <input type="text" name="SATUAN" value="<?=$data_edit->SATUAN;?>" class="form-control" > 
                        </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" value="<?=$data_edit->STOCK;?>" class="form-control" readonly="true" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->ID_BAHAN;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>master-bahan" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
Exemplo n.º 15
0
                        <label for="TANGGAL" class="control-label col-lg-2">TANGGAL</label>
                        <div class="col-lg-10">
                          <input type="text" id="tgl1" data-rule-date="true" name="TANGGAL" value="<?=$data_edit->TANGGAL;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="OPERATOR_KASIR" class="control-label col-lg-2">OPERATOR_KASIR</label>
                        <div class="col-lg-10">
                          <input type="text" id="tgl2" data-rule-date="true" name="OPERATOR_KASIR" value="<?=$data_edit->OPERATOR_KASIR;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->ID_PENJUALAN;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>lap-jual" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
  //jika url = url dari table menu
  if ($path_url==$isi->url) {
    //check edit permission

  if ($role_act['del_act']=='Y') {
   $del = "<span data-id='+aData[indek]+' data-uri=".base_admin()."modul/stok_ofname_pusat/stok_ofname_pusat_action.php".' alt="Hapus" title="Hapus" class="btn btn-danger hapus btn-flat"><i class="glyphicon glyphicon-trash"></i></span>';
  } else {
    $del="";
  }
                   } 
  }
  
?>  
                </section><!-- /.content -->
        <script type="text/javascript">
var dataTable = $("#stok_ofname_pusat_dtb").dataTable({
           "fnCreatedRow": function( nRow, aData, iDataIndex ) {
            var indek = aData.length-1;           
     $('td:eq('+indek+')', nRow).html(' <a href="<?=base_index();?>stok-ofname-pusat/detail/'+aData[indek]+'" alt="Detail" title="Detail" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-eye-open"></i></a> <?=$del;?>');
       $(nRow).attr('id', 'line_'+aData[indek]);
   },
           'bProcessing': true,
            'bServerSide': true,
        'sAjaxSource': '<?=base_admin();?>modul/stok_ofname_pusat/stok_ofname_pusat_data.php',
         /*     'aoColumnDefs': [{
                'bSortable': false,
                'aTargets': [0]
            }]*/
        });</script>  
            
                        <label for="Keterangan" class="control-label col-lg-2">Keterangan</label>
                        <div class="col-lg-10">
                          <textarea id="editbox" name="keterangan" class="editbox"><?=$data_edit->keterangan;?> </textarea>
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="User Posting" class="control-label col-lg-2">User Posting</label>
                        <div class="col-lg-10">
                          <input type="text" name="user_posting" value="<?=$data_edit->user_posting;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->id;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>stock-adjustment-pusat" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
        <?php
        $no++;
      }
      ?>
                                        </tbody>
                                    </table>
                                    <div class="col-xs-6" style="margin-top:10px">
    Showing <?=$count;?> to <?=$no-1;?> of <?=$pg->total_record;?> entries
                        
                        </div>

                        <div class="col-xs-6">
                          
                                    <?php
                                  if (isset($_GET['q'])) {
$pg->url=base_index()."group-user?q=".$_GET['q']."&page=";
                                  }
                                    $pg->setParameter(array(
                                      'range'=>$limit,
                                      ));
                                      ?>

                                    <div class="dataTables_paginate paging_bootstrap">
                                    <ul class="pagination">
                                    <?=$pg->create();?>
                                    </ul>
                                    </div>
                        </div>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
               <?php foreach ($db->fetch_all("satuan_barang") as $isi) {

               		if ($data_edit->ID_SATUAN==$isi->KODE_SATUAN) {
               			echo "<option value='$isi->KODE_SATUAN' selected>$isi->NAMA_SATUAN</option>";
               		} else {
               		echo "<option value='$isi->KODE_SATUAN'>$isi->NAMA_SATUAN</option>";
               			}
               } ?>
              </select>
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->ID_BARANG;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>barang-pusat" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
                        <li class="active">Daftar Stock Adjustment Outlet</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box">
                                <div class="box-header">
                                  <?php
       foreach ($db->fetch_all("sys_menu") as $isi) {
                      if ($path_url==$isi->url) {
                          if ($role_act["insert_act"]=="Y") {
                    ?>
          <a href="<?=base_index();?>stock-adjustment-outlet/tambah" class="btn btn-primary btn-flat"><i class="glyphicon glyphicon-plus-sign"></i> Tambah</a>
                          <?php
                          } 
                       } 
}
?>  
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
                                    <table id="dtb_manual" class="table table-bordered table-striped">
                                   <thead>
                                     <tr>
                           <th style="width:25px" align="center">No</th>
                          <th>Tanggal</th>
													<th>No Penyesuaian</th>
													<th>Kode Barang</th>
													<th>Nama Barang</th>
                      <div class="form-group">
                        <label for="Level User" class="control-label col-lg-2">Level User</label>
                        <div class="col-lg-10">
                          <input type="text" id="level" name="level" value="<?=$data_edit->level;?>" class="form-control" required> 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="Deskripsi" class="control-label col-lg-2">Deskripsi</label>
                        <div class="col-lg-10">
                          <input type="text" id="deskripsi" name="deskripsi" value="<?=$data_edit->deskripsi;?>" class="form-control" required> 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->id;?>">
                      <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" value="submit">
                        </div>
                      </div><!-- /.form-group -->
                    </form>
                    <a href="<?=base_index();?>group-user" class="btn btn-success">Kembali</a>
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
                        <div class="col-lg-10">
                          <input type="text" name="PRD_STOCK" placeholder="PRD_STOCK" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="STATUS" class="control-label col-lg-2">STATUS</label>
                        <div class="col-lg-10">
                          <input type="text" name="STATUS" placeholder="STATUS" 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="Simpan"> &nbsp;
						   <a href="<?=base_index();?>gudang-produksi" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
                      </div><!-- /.form-group -->
                    </form>

          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
            
  if ($role_act["up_act"]=="Y") {
  $edit = '<a href="'.base_index()."manufacturing/edit?ubah='+aData[indek]+'".'" alt="Ubah" title="Ubah" class="btn btn-primary btn-flat"><i class="glyphicon glyphicon-pencil"></i></a>';
  } else {
    $edit ="";
  }
  if ($role_act['del_act']=='Y') {
   $del = "<span data-id='+aData[indek]+' data-uri=".base_admin()."modul/manufacturing/manufacturing_action.php".' alt="Hapus" title="Hapus" class="btn btn-danger hapus btn-flat"><i class="glyphicon glyphicon-trash"></i></span>';
  } else {
    $del="";
  }
                   } 
  }
  
?>  
                </section><!-- /.content -->
        <script type="text/javascript">
var dataTable = $("#manufacturing_dtb").dataTable({
           "fnCreatedRow": function( nRow, aData, iDataIndex ) {
            var indek = aData.length-1;           
     $('td:eq('+indek+')', nRow).html(' <a href="<?=base_index();?>manufacturing/detail/?id='+aData[indek]+'" alt="Detail" title="Detail" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-eye-open"></i></a> <?=$edit;?> <?=$del;?>');
       $(nRow).attr('id', 'line_'+aData[indek]);
   },
           'bProcessing': true,
            'bServerSide': true,
        'sAjaxSource': '<?=base_admin();?>modul/manufacturing/manufacturing_data.php',
         /*     'aoColumnDefs': [{
                'bSortable': false,
                'aTargets': [0]
            }]*/
        });</script>  
            
                                    </div>
                                </div>

                  <div class="box-body">
                     <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/laporan_retur/laporan_retur_action.php?act=up">
                      <div class="form-group">
                        <label for="NO_NOTA_PENJUALAN" class="control-label col-lg-2">NO_NOTA_PENJUALAN</label>
                        <div class="col-lg-10">
                          <input type="text" name="NO_NOTA_PENJUALAN" value="<?=$data_edit->NO_NOTA_PENJUALAN;?>" class="form-control" > 
                        </div>
                      </div><!-- /.form-group -->

                      <input type="hidden" name="id" value="<?=$data_edit->NO_RETUR;?>">
                      <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="Ubah">&nbsp;
						 <a href="<?=base_index();?>laporan-retur" class="btn btn-success btn-flat">Batal</a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>
					
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
 
Exemplo n.º 25
0
                        <label for="Alamat" class="control-label col-lg-2">Alamat</label>
                        <div class="col-lg-10">
                          <textarea id="editbox" name="ALAMAT" disabled="" class="editbox"><?=$data_edit->ALAMAT;?> </textarea>
                        </div>
                      </div><!-- /.form-group -->
<div class="form-group">
                        <label for="No telepon" class="control-label col-lg-2">No telepon</label>
                        <div class="col-lg-10">
                          <input type="text" disabled="" value="<?=$data_edit->NO_TELEPON;?>" 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">
                             <a href="<?=base_index();?>outlet" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
                      </div>
                    </form>
                
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
<div class="row">
    <div class="col-lg-12">
        <div class="box box-solid box-primary">
                                   <div class="box-header">
                                    <h3 class="box-title">Laporan Divisi Produksi</h3>
                                   
                                 </div>

                  <div class="box-body">

<div class="panel panel-warning">
   <h1 class="headingtable" style="margin-top:0px" ></h1>
	
    <div class="panel-body">
		<div class="well">
            <form class="form-horizontal laporan_gajiForm" id="laporan_gajiForm" action="<?=base_index();?>laporan-produksi/tambah" method="POST">
                <div class="form-group">
                    <label for="AWAL" class="col-sm-1 control-label">&nbsp;</label>
                    <div class="col-sm-3">
                        <div class="input-group date" id="datePicker1">
                            <input type="text" class="form-control" id="AWAL" name="AWAL" placeholder="Periode Awal"  required><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group date" id="datePicker">
                            <input type="text" class="form-control" id="AKHIR" name="AKHIR" placeholder="Periode Akhir"  required><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
                        </div>
                    </div>

					<div class="col-sm-3">
                              </div>
                              <span class="input-group-addon btn btn-default btn-file"><span class="fileinput-new">Select file</span> <span class="fileinput-exists">Change</span> 
                                <input type="file" accept=".xls" name="kartustok" required>
                              </span> 
                              <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a> 
                            </div>
                          </div>
						  <label for="Kartu Stok" class="control-label">-File yang bisa di import Excel 2003/(.xls)</label>
                        </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="Simpan"> &nbsp;
						   <a href="<?=base_index();?>stok-ofname-pusat" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a>
						  
                        </div>
                      </div><!-- /.form-group -->
                    </form>

          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
            
                        </div><!-- /.form-group -->
						<div class="form-group">
                         <div class="col-lg-12">
                          <input type="text" name="JUMLAH" id="JUMLAH" value="" onKeyPress="return goodchars(event,'0123456789',this)" placeholder="QTY" class="form-control" required> 
                        </div>
                      </div><!-- /.form-group -->

                       <!-- /.form-group -->

                      
                      <div class="form-group">
                        <label for="tags" class="control-label col-lg-2">&nbsp;</label>
                        <div class="col-lg-12" style="margin-left:35px">
                           <button type="submit" class="btn btn-success" id="input_scanner"><i class="glyphicon glyphicon-chevron-left"></i></button> 
						   <a href="<?=base_index();?>pengiriman_barang/?DAFTAR_BARANG" class="btn btn-success"><i class="glyphicon glyphicon-search"></i></a>
						   <a href="<?=base_index();?>pengiriman_barang" class="btn btn-success "><i class="glyphicon glyphicon-refresh"></i></a>
                        </div>
                      </div><!-- /.form-group -->
                    </form>

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


    <div class="col-lg-3" style="width:260px;margin-top:190px"> 
        <div class="box box-solid box-primary">
                               

                  <div class="box-body">
                          <select name="id_group" data-placeholder="Pilih Group User ..." class="form-control chzn-select" tabindex="2" >
               <option value=""></option>
               <?php 
foreach ($db->fetch_custom("select * from sys_group_users ") as $isi) {
    echo "<option value='{$isi->id}'>{$isi->level}</option>";
}
?>
              </select>
                        </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" value="submit">
                        </div>
                      </div><!-- /.form-group -->
                    </form>
 <a href="<?php 
echo base_index();
?>
user-management" class="btn btn-success">Kembali</a>
          
                  </div>
                  </div>
              </div>
</div>
                  
                </section><!-- /.content -->
        
            
                         
                        </tr>
                                      </thead>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>
        <?php
     
  $edit = '<a href="'.base_index()."profil-perusahaan/edit/'+aData[indek]+'".'" class="btn btn-primary btn-flat"><i class="glyphicon glyphicon-pencil"></i></a>';
?>  
                </section><!-- /.content -->
        <script type="text/javascript">
var dataTable = $("#profil_perusahaan_dtb").dataTable({
           "fnCreatedRow": function( nRow, aData, iDataIndex ) {
            var indek = aData.length-1;           
     $('td:eq('+indek+')', nRow).html(' <a href="<?=base_index();?>profil-perusahaan/detail/'+aData[indek]+'" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-eye-open"></i></a> <?=$edit;?>');
       $(nRow).attr('id', 'line_'+aData[indek]);
   },
           'bProcessing': true,
            'bServerSide': true,
        'sAjaxSource': '<?=base_admin();?>modul/profil_perusahaan/profil_perusahaan_data.php',
         /*     'aoColumnDefs': [{
                'bSortable': false,
                'aTargets': [0]
            }]*/
        });</script>