</h2> </div><!-- /.col --> </div> </div> </div> <?php } ?> <div class="col-lg-3" style="width:260px;height:330px" > <div class="box box-solid box-primary"> <div class="box-header"> <h5 class="box-title">Tambah Bahan</h5> </div> <div class="box-body"> <form method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/bahan_masuk/bahan_masuk_action.php?act=tambahedit"> <?php $kode2 = $_GET['ubah']; ?> <div class=""> <div class=""> <input type="hidden" name="HEAD_ID" id="HEAD_ID" value="<?php echo $IDD;?>" class="form-control"> <input type="text" style="font-style:italic;height:31px;width:160px;" name="ID_BAHAN" id="ID_BAHAN" value="<?php echo $_GET["code"];?>" placeholder="Kode Bahan" required readonly="true"> <a href="<?=base_index();?>bahan-masuk/edit?DAFTAR_BAHAN&ubah=<?=$kode2?>" class="btn btn-success"><i class="glyphicon glyphicon-search"></i></a> <br><br> </div> </div><!-- /.form-group -->
</thead> <tbody> <?php $dtb=$db->fetch_custom("select penjualan.NO_NOTA_PENJUALAN,penjualan.TANGGAL,penjualan.OPERATOR_KASIR,outlet.NAMA_OUTLET,penjualan.ID_PENJUALAN from penjualan inner join outlet on penjualan.OUTLET=outlet.KODE_OUTLET"); $i=1; foreach ($dtb as $isi) { ?><tr id="line_<?=$isi->ID_PENJUALAN;?>"> <td align="center"><?=$i;?></td><td><?=$isi->NO_NOTA_PENJUALAN;?></td> <td><?=$isi->TANGGAL;?></td> <td><?=$isi->OPERATOR_KASIR;?></td> <td><?=$isi->NAMA_OUTLET;?></td> <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) {
<!-- 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">Ubah Supplier</h3> <div class="box-tools pull-right"> <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button> <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button> </div> </div> <div class="box-body"> <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/supplier/supplier_action.php?act=up" style="margin-top:20px"> <div class="form-group"> <label for="Kode supplier" class="control-label col-lg-2">Kode supplier</label> <div class="col-lg-10"> <input type="text" name="KODE_SUPPLIER" value="<?=$data_edit->KODE_SUPPLIER;?>" class="form-control" required> </div> </div><!-- /.form-group --> <div class="form-group"> <label for="Nama" class="control-label col-lg-2">Nama</label> <div class="col-lg-10"> <input type="text" name="NAMA_SUPPLIER" value="<?=$data_edit->NAMA_SUPPLIER;?>" class="form-control" required> </div> </div><!-- /.form-group --> <div class="form-group"> <label for="Alamat" class="control-label col-lg-2">Alamat</label> <div class="col-lg-10">
<!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar" style="-webkit-box-shadow: 0 0 30px #666; -moz-box-shadow: 0 0 30px #666; box-shadow: 0 0 30px #666;"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="pull-left image"> <img src="<?=base_admin();?><?=$profil->logo; ?>" class="img-circle" alt="User Image" /> </div> <div class="pull-left info"> <p><?=$profil->NAMA_PERUSAHAAN; ?> POS</p> <a href="<?=base_index();?>profil"><i class="glyphicon1 glyphicon-time"></i> <?php echo date('Y-m-d H:i:s');?></a> </div> </div> <!-- search form <form action="#" method="get" class="sidebar-form"> <div class="input-group"> <input type="text" name="q" class="form-control" placeholder="Search..."/> <span class="input-group-btn"> <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button> </span> </div> </form> /.search form --> <!-- sidebar menu: : style can be found in sidebar.less --> <ul class="sidebar-menu"> <li class="header"><marquee style="height:15px;color:white" behavior="scroll" >Online System Point Of Sale Consina</marquee></li>
<li class="active">Tambah Jenis Barang</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">Tambah Jenis Barang</h3> </div> <div class="box-body"> <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/jenis_barang/jenis_barang_action.php?act=in" style="margin-top:20px"> <div class="form-group"> <label for="Kode" class="control-label col-lg-2">Kode</label> <div class="col-lg-10"> <input type="text" name="KODE_JENIS" placeholder="Kode" class="form-control" required> </div> </div><!-- /.form-group --> <div class="form-group"> <label for="Golongan" class="control-label col-lg-2">Golongan</label> <div class="col-lg-10"> <select name="KODE_GOLONGAN" data-placeholder="Pilih Golongan ..." class="form-control chzn-select" tabindex="2" required> <option value=""></option> <?php foreach ($db->fetch_all("kategori") as $isi) { echo "<option value='$isi->ID_KATEGORI'>$isi->NAMA_KATEGORI</option>"; } ?> </select>
</form> <script type="text/javascript"> $(document).ready(function() { $('#datePicker').datepicker({ format: "yyyy-m-d", minViewMode: 4, orientation: "top center", autoclose: true }); $('#datePicker1').datepicker({ format: "yyyy-m-d", minViewMode: 4, orientation: "top center", autoclose: true }); }); </script> </div> </div> </div> </div> </div> </section> <!-- date-picker --> <script src="<?=base_admin();?>assets/plugins/datepicker/bootstrap-datepicker.js" type="text/javascript"></script> <!-- datepicker --> <script src="<?=base_admin();?>assets/plugins/datepicker/bootstrap-datepicker.js" type="text/javascript"></script>
<!-- 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">Ubah Lap_jual</h3> <div class="box-tools pull-right"> <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button> <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button> </div> </div> <div class="box-body"> <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/lap_jual/lap_jual_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 --> <div class="form-group"> <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">
<!-- 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">Ubah Laporan Retur Konsinyasi</h3> <div class="box-tools pull-right"> <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button> <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button> </div> </div> <div class="box-body"> <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/laporan_retur_konsinyasi/laporan_retur_konsinyasi_action.php?act=up"> <input type="hidden" name="id" value="<?=$data_edit->NO_RETUR;?>"> <div class="form-group"> <label for="tags" class="control-label col-lg-2"> </label> <div class="col-lg-10"> <input type="submit" class="btn btn-primary btn-flat" value="Ubah"> <a href="<?=base_index();?>laporan-retur-konsinyasi" class="btn btn-success btn-flat">Batal</a> </div> </div><!-- /.form-group --> </form> </div> </div> </div>
} echo" </table> </div>"; ?> <a href="<?=base_admin();?>modul/kalkulasi_bahan/kalkulasi_bahan_action.php?act=batal_kalkulasi&id=<?=$TAM_HEAD;?>" class="btn btn-danger "> Batal </a> <?php echo" <input type=\"button\" class=\"btn btn-warning btn-flat\" value=\"Cetak\" onclick=\"javascript:printDiv('printlagi')\" />"; ?> <a class="btn btn-success" href="<?=base_admin();?>modul/kalkulasi_bahan/kalkulasi_bahan_action.php?act=produksi&id=<?=$TAM_HEAD;?>">Produksi</a> <?php echo" </form> </div> </div> </div>"; ?> </section><!-- /.content -->
<li class="active">Tambah Transaksi Grosir</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">Tambah Transaksi Grosir</h3> </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"> </label> <div class="col-lg-10"> <input type="submit" class="btn btn-primary btn-flat" value="Simpan"> <a href="<?=base_index();?>transaksi-grosir" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a> </div>
<li class="active">Tambah Sales Order</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">Tambah Sales Order</h3> </div> <div class="box-body"> <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/sales_order/sales_order_action.php?act=in"> <div class="form-group"> <label for="ID_SO" class="control-label col-lg-2">ID_SO</label> <div class="col-lg-10"> <input type="text" name="ID_SO" placeholder="ID_SO" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group"> <label for="NO_SO" class="control-label col-lg-2">NO_SO</label> <div class="col-lg-10"> <input type="text" name="NO_SO" placeholder="NO_SO" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group">
</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>
echo $isi->tgl_ubah; ?> </td> <td><?php echo $isi->keterangan_ubah; ?> </td> <td><?php echo $isi->user_ubah; ?> </td> <td> <?php echo $role_act["del_act"] == "Y" ? '<button class="btn btn-danger hapus btn-flat" data-uri="' . base_admin() . 'modul/perubahan_status_aset/perubahan_status_aset_action.php" data-id="' . $isi->id_history . '"><i class="glyphicon glyphicon-trash"></i></button>' : ""; ?> </td> </tr> <?php $i++; } ?> </tbody> </table> </div><!-- /.box-body --> </div><!-- /.box --> </div> </div> </section><!-- /.content -->
<li class="active">Tambah Retur Konsinyasi</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">Tambah Retur Konsinyasi</h3> </div> <div class="box-body"> <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/retur_konsinyasi/retur_konsinyasi_action.php?act=in"> <div class="form-group"> <label for="NO_NOTA_KONSINYASI" class="control-label col-lg-2">NO_NOTA_KONSINYASI</label> <div class="col-lg-10"> <input type="text" name="NO_NOTA_KONSINYASI" placeholder="NO_NOTA_KONSINYASI" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group"> <label for="tags" class="control-label col-lg-2"> </label> <div class="col-lg-10"> <input type="submit" class="btn btn-primary btn-flat" value="Simpan"> <a href="<?=base_index();?>retur-konsinyasi" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a> </div>
<tbody> <?php $dtb=$db->fetch_custom("SELECT detail_penjualan.*,barang_pusat.* FROM detail_penjualan INNER JOIN barang_pusat on barang_pusat.KODE_BARANG=detail_penjualan.KODE_BARANG"); $i=1; foreach ($dtb as $isi) { ?> <tr id="line_<?=$isi->KODE_BARANG;?>"> <td align="center"><?=$i;?></td> <td><?=$isi->KODE_BARANG;?></td> <td><?=$isi->NAMA_BARANG;?></td> <td><?=$isi->STOK;?></td> <td>Rp.<?=number_format($isi->HARGA_BARANG);?></td> <td><?=$isi->DISKON;?> %</td> <form method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/kasir/kasir_action.php?act=ubah_scanner"> <input type="hidden" id="ID_TMP_PENJUALAN" name="ID_TMP_PENJUALAN[]" value="<?=$isi->ID_TMP_PENJUALAN;?>" > <td>X <?=$isi->JUMLAH;?></td> <td> <?php error_reporting(0); $diskon=$isi->DISKON/100*$isi->HARGA_BARANG; $jadi=($isi->HARGA_BARANG-$diskon) * $isi->JUMLAH; $subtotal=$jadi+$subtotal; echo 'Rp.'.number_format($jadi); ?> </td> <?php $i++;
if ($role_act["up_act"]=="Y") { $edit = '<a href="'.base_index()."pengiriman-barang/edit/'+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/pengiriman_barang/pengiriman_barang_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 = $("#pengiriman_barang_dtb").dataTable({ "fnCreatedRow": function( nRow, aData, iDataIndex ) { var indek = aData.length-1; $('td:eq('+indek+')', nRow).html(' <a href="<?=base_index();?>pengiriman-barang/detail/'+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/pengiriman_barang/pengiriman_barang_data.php', /* 'aoColumnDefs': [{ 'bSortable': false, 'aTargets': [0] }]*/ });</script>
<li class="active">Tambah Gudang Produksi</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">Tambah Gudang Produksi</h3> </div> <div class="box-body"> <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/gudang_produksi/gudang_produksi_action.php?act=in"> <div class="form-group"> <label for="PRD_KODE_BARANG" class="control-label col-lg-2">PRD_KODE_BARANG</label> <div class="col-lg-10"> <input type="text" name="PRD_KODE_BARANG" placeholder="PRD_KODE_BARANG" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group"> <label for="PRD_BARCODE" class="control-label col-lg-2">PRD_BARCODE</label> <div class="col-lg-10"> <input type="text" name="PRD_BARCODE" placeholder="PRD_BARCODE" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group"> <label for="PRD_NAMA_BARANG" class="control-label col-lg-2">PRD_NAMA_BARANG</label> <div class="col-lg-10">
<div class="col-lg-12"> <input type="text" name="UANG_KEMBALI" id="UANG_KEMBALI" readonly placeholder="Sisa" class="form-control" required> </div> </div> <div class="form-group"> <div class="col-lg-12"> <input type="text" name="CATATAN" placeholder="Catatan (Optional)" class="form-control" > </div> </div> <div class="form-group"> <label for="tags" class="control-label col-lg-2"> </label> <div class="col-lg-10"> <input type="submit" class="btn btn-success btn-flat" value="Selesai"> <a href="<?=base_admin();?>modul/sales-order/sales-order_action.php?act=batal_penjualan&NO_NOTA_PENJUALAN=<?php echo $w.$IDbaru.'-'.$KODEOUTLETUSER;?>" class="btn btn-success btn-flat ">Batal</a> </div> </div><!-- /.form-group --> </form> </div> </div> </div> </div> </section><!-- /.content -->
</div><hr/><!-- /.form-group --> <!-- /.form-group --> <!-- /.form-group --> <!-- /.form-group --> <div class="form-group"> <div class="col-lg-12"> <input type="text" name="KETERANGAN" placeholder="KETERANGAN " class="form-control" > </div> </div> <div class="form-group"> <label for="tags" class="control-label col-lg-2"> </label> <div class="col-lg-10"> <input type="submit" class="btn btn-success" value="Selesai"> <a href="<?=base_admin();?>modul/pengiriman_barang/pengiriman_barang_action.php?act=batal_penjualan&NO_NOTA_PENJUALAN=<?php echo $w.$IDbaru;?>" class="btn btn-success ">Batal</a> </div> </div><!-- /.form-group --> </form> </div> </div> </div> </div> </section><!-- /.content --> <!-- Main content -->
<!-- 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">Ubah Pengaturan Penjualan</h3> <div class="box-tools pull-right"> <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button> <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button> </div> </div> <div class="box-body"> <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/pengaturan_penjualan/pengaturan_penjualan_action.php?act=up" style="margin-top:20px"> <div class="form-group"> <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">
<!-- 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">Ubah Stock Adjustment Pusat</h3> <div class="box-tools pull-right"> <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button> <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button> </div> </div> <div class="box-body"> <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/stock_adjustment_pusat/stock_adjustment_pusat_action.php?act=up"> <div class="form-group"> <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="No Penyesuaian" class="control-label col-lg-2">No Penyesuaian</label> <div class="col-lg-10"> <input type="text" name="no_penyesuaian" value="<?=$data_edit->no_penyesuaian;?>" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group"> <label for="Barang" class="control-label col-lg-2">Barang</label> <div class="col-lg-10">
case 'group-user': include "modul/group_user/group_user.php"; break; case 'user-management': include "modul/user_management/user_management.php"; break; //end case system menu //end case system menu case 'change-password': include "modul/change_password/change_pass.php"; break; case 'profil': include "modul/profil/profil.php"; break; /*default: include "modul/home/home.php"; break;*/ } //dynamic menu sesuai dengan role user //jika url yang di dipanggil ada di role user, include page foreach ($db->fetch_all('sys_menu') as $isi) { if (in_array($isi->url, $role_user)) { if ($path_url != '' && $path_url == $isi->url) { include "modul/" . $isi->nav_act . "/" . $isi->nav_act . ".php"; } } } include "footer.php"; } else { redirect(base_admin() . "login.php"); }
<!-- 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">Ubah Kalkulasi Bahan</h3> <div class="box-tools pull-right"> <button class="btn btn-primary btn-sm" data-widget="collapse"><i class="glyphicon glyphicon-minus-sign"></i></button> <button class="btn btn-primary btn-sm" data-widget="remove"><i class="glyphicon glyphicon-remove-circle"></i></button> </div> </div> <div class="box-body"> <form id="update" method="post" class="form-horizontal" action="<?=base_admin();?>modul/kalkulasi_bahan/kalkulasi_bahan_action.php?act=up"> <div class="form-group"> <label for="TGL_KALKULASI" class="control-label col-lg-2">TGL_KALKULASI</label> <div class="col-lg-10"> <input type="text" name="TGL_KALKULASI" value="<?=$data_edit->TGL_KALKULASI;?>" 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" 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">
//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>
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>
($_GET["q"], array("level", "deskripsi")); $search = "where $search_condition"; } $dtb=$pg->myquery("select sys_group_users.level,sys_group_users.deskripsi,sys_group_users.id from sys_group_users $search",$limit); $no=$pg->Num($limit); $count=$pg->Num($limit); if ($dtb->rowCount()<1) { echo "<tr><td colspan='4'>No matching records found</td></tr>"; } foreach ($dtb as $isi) { ?><tr id="line_<?=$isi->id;?>"><td align="center"><?=$no;?></td><td><?=$isi->level;?></td> <td><?=$isi->deskripsi;?></td> <td><a href="<?=base_index();?>group-user/detail/<?=$isi->id;?>" class="btn btn-success btn-flat"><i class="glyphicon glyphicon-eye-open"></i></a> <a href="<?=base_index();?>group-user/edit/<?=$isi->id;?>" class="btn btn-primary btn-flat"><i class="glyphicon glyphicon-pencil"></i></a> <button class="btn btn-danger btn-flat hapus" data-uri="<?=base_admin();?>modul/group_user/group_user_action.php" data-id="<?=$isi->id;?>"><i class="glyphicon glyphicon-trash"></i> </button> </td></tr> <?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'])) {
<li class="active">Tambah Stok Ofname Pusat</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">Tambah Stok Ofname Pusat</h3> </div> <div class="box-body"> <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/stok_ofname_pusat/stok_ofname_pusat_action.php?act=in"> <div class="form-group"> <label for="Kartu Stok" class="control-label col-lg-2">Kartu Stok</label> <div class="col-lg-10"> <div class="fileinput fileinput-new" data-provides="fileinput"> <div class="input-group"> <div class="form-control uneditable-input span3" data-trigger="fileinput"> <i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename"></span> </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>
if($isi->tambah==0){ ?> <td><?=$isi->kurang;?></td> <?php } ?> <td><?php if($isi->tambah==0){ echo 'Pengurangan'; } if($isi->kurang==0){ echo 'Penambahan'; } ?></td> <td><?=$isi->user_posting;?></td> <td> <?=($role_act["del_act"]=="Y")?'<button class="btn btn-danger hapus btn-flat" data-uri="'.base_admin().'modul/stock_adjustment_outlet/stock_adjustment_outlet_action.php" data-id="'.$isi->id.'"><i class="glyphicon glyphicon-trash"></i></button>':"";?> </td> </tr> <?php $i++; } ?> </tbody> </table> </div><!-- /.box-body --> </div><!-- /.box --> </div> </div> </section><!-- /.content -->
<div class="box box-solid box-primary"> <div class="box-header"> <h3 class="box-title">Tambah User Management</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"> <div class="alert alert-danger user_exist" style="display:none"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Maaf Username Sudah Terdaftar</strong> </div> <form id="input_user" method="post" class="form-horizontal" action="<?php echo base_admin(); ?> modul/user_management/user_management_action.php?act=in"> <div class="form-group"> <label for="First Name" class="control-label col-lg-2">First Name</label> <div class="col-lg-10"> <input type="text" id="first_name" name="first_name" placeholder="First Name" class="form-control" required> </div> </div><!-- /.form-group --> <div class="form-group"> <label for="Last Name" class="control-label col-lg-2">Last Name</label> <div class="col-lg-10"> <input type="text" id="last_name" name="last_name" placeholder="Last Name" class="form-control" > </div> </div><!-- /.form-group --> <div class="form-group">
<li class="active">Tambah Pengiriman Barang</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">Tambah Pengiriman Barang</h3> </div> <div class="box-body"> <form id="input" method="post" class="form-horizontal foto_banyak" action="<?=base_admin();?>modul/pengiriman_barang/pengiriman_barang_action.php?act=in"> <div class="form-group"> <label for="tags" class="control-label col-lg-2"> </label> <div class="col-lg-10"> <input type="submit" class="btn btn-primary btn-flat" value="Simpan"> <a href="<?=base_index();?>pengiriman-barang" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i>Kembali</a> </div> </div><!-- /.form-group --> </form> </div> </div>