<table border=0 width=100%> <tr> <td width="20%">Tahun</td> <td><?php echo $hsl_data->Tahun;?></td> </tr> <tr> <td width="20%">SKPD</td> <td><?php echo show_skpd($hsl_data->Satker_ID);?></td> </tr> <tr> <td width="20%">Lokasi</td> <td><?php echo show_lokasi($hsl_data->Lokasi_ID);?></td> </tr> <tr> <td width="20%">Nama/Jenis Barang</td> <td><?php echo show_kelompok($hsl_data->Kelompok_ID);?></td> </tr> <tr> <td width="20%">Spesifikasi</td> <td><?php echo $hsl_data->Merk;?></td> </tr> <tr> <td>Kode Rekening</td> <td>[<?php echo show_koderekening($hsl_data->KodeRekening);?>]-<?php echo show_namarekening($hsl_data->KodeRekening);?></td> </tr> <tr> <td>Jumlah Barang Berdasarkan RKB</td> <td><?php echo $hsl_data->Kuantitas;?></td> </tr> <tr> <td>Harga Pemeliharaan</td>
<td><?php echo $hsl_data->Keterangan;?></td> </tr> <tr> <td>Harga</td> <td><?php echo number_format($hsl_data->NilaiStandar,2,',','.')?></td> </tr> </table> </td> <td align="center" class="style5"><?php echo number_format($hsl_data->Pemeliharaan,2,',','.')?></td> <td align="center" class="style5"> <form method="POST" action="shpb_edit_data.php?pid=1" onsubmit="return confirm('Apakah data nama/jenis barang = <?php echo show_kelompok($hsl_data->Kelompok_ID);?> ini ingin diedit?'); "> <input type="hidden" name="ID" value="<?php echo $hsl_data->StandarHarga_ID;?>" id="ID_<?php echo $i?>"> <input type="submit" value="Edit" name="edit"/> </form> <form method="POST" action="shpb-proses.php" onsubmit="return confirm('Apakah data nama/jenis barang = <?php echo show_kelompok($hsl_data->Kelompok_ID);?> ini ingin dihapus?'); "> <input type="hidden" name="ID" value="<?php echo $hsl_data->StandarHarga_ID;?>" id="ID_<?php echo $i?>"> <input type="submit" value="Hapus" name="submit_hapus"/> </form> </td> </tr> <?php $no++; $pid++; } } ?> </tbody> <tfoot> <tr> <th colspan="4">Daftar Standar Harga Pemeliharaan Barang</th> </tr>
<?php $alamat_simpul_lokasi="$url_rewrite/function/dropdown/radio_simpul_lokasi_pengadaan.php"; $alamat_search_lokasi="$url_rewrite/function/dropdown/radio_search_lokasi_pengadaan.php"; js_radiopengadaanlokasi($alamat_simpul_lokasi, $alamat_search_lokasi,"rkb_edit_lokasi","lokasi_id",'lokasi','p_provinsi','p_kabupaten','p_kecamatan','p_desa','lok'); $style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\""; radiopengadaanlokasi($style1,"lokasi_id",'lokasi',"lok"); ?> </div> </td> </tr> <tr> <td width="25%" class="style6">Nama/Jenis Barang</td> <td> <input class="w300" name="rkb_edit_njb" id="rkb_edit_njb" type="text" value="<?php echo show_kelompok($select_njb); ?>" required="required" readonly="readonly"/> <input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);"> <div class="inner" style="display:none;"> <?php $alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php"; $alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php"; js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"rkb_edit_njb","kelompok_id",'kelompok','rkbkelompokedit'); $style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\""; radiokelompok($style,"kelompok_id",'kelompok',"rkbkelompokedit|$select_njb"); ?> </div> </td> </tr> <script> function get_data_merek(kelompok,tahun,data){
<div class="titleLegend"><span class="label label-info Legendtitle">Buat Standar Harga Barang</span></div> <p> </p> <div class="detailright"> <a href="<?php echo "$url_rewrite/module/perencanaan/"; ?>shb_daftar_data.php" class="btn"> Kembali ke Halaman Sebelumnya</a> </div> <div style="height:5px;width:100%;clear:both"></div> <form name="shbeditdata" method="POST" action="<?php echo "$url_rewrite/module/perencanaan/"; ?>shb-proses.php" method="post"> <ul> <li> <span class="span2">Nama/Jenis Barang</span> <div class="input-append"> <input type="text" name="shb_add_njb" id="shb_add_njb" class="span6" value="<?php echo show_kelompok($select_njb); ?>" required="required" readonly="readonly" /> <input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" class="btn" value="Pilih" onclick = "showSpoiler(this);" /> <div class="inner" style="display:none;"> <?php $alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php"; $alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php"; js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"shb_add_njb","kelompok_id",'kelompok','shbkelompokadd'); $style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\""; radiokelompok($style,"kelompok_id",'kelompok',"shbkelompokadd|$select_njb"); ?> </div> </div> </li> <li> <span class="span2">Merk/Tipe</span>
<div id="perencanaan_new"> <!-- Form Edit Data --> <form name="shbeditdata" method="POST" action="<?php echo "$url_rewrite/module/perencanaan/"; ?>shpb-proses.php" method="post"> <table width="100%" class="style1"> <!-- script untuk js table dropdown--> <script type="text/javascript" src="../../JS/tabel.js"></script> <tr bgcolor="#004933"> <td class="white" colspan="2" align=left>Tambah Data Baru</td> </tr> <tr> <td width="25%" class="style6">Nama/Jenis Barang</td> <td> <input type="text" name="shb_edit_njb" id="shb_edit_njb" class="w450" value="<?php echo show_kelompok($select_njb); ?>" readonly="readonly"/> </td> </tr> <tr> <td width="25%" class="style6">Merk/Tipe</td> <td><input class="w300" name="shb_edit_mat" id="shpb_edit_mat" type="text" value="<?php echo $select_mat; ?>" readonly="readonly"/></td> </tr> <tr> <td width="25%" class="style6">Tanggal</td> <td><input type="text" style="text-align:center;" name="shpb_edit_tgl" value="<?php echo $select_tgl; ?>" id="tanggal12" readonly="readonly"/></td> </tr> <tr> <td width="25%" class="style6">Spesifikasi</td> <td><input class="w300" name="shb_edit_bhn" id="shpb_edit_bhn" type="text" value="<?php echo $select_bhn; ?>" readonly="readonly"/></td> </tr> <tr>
<li> <span class="span2">Tahun</span> <input style="width: 50px;" name="rkpb_add_thn" type="text" value="<?php echo $select_tahun; ?>" required="required" readonly="readonly"/> </li> <li> <span class="span2">SKPD</span> <input style="width: 300px;" name="rkpb_add_skpd" type="text" value="<?php echo show_skpd($select_skpd); ?>" required="required" readonly="readonly"/> </li> <li> <span class="span2">Lokasi</span> <input style="width: 300px;" name="rkpb_add_lokasi" type="text" value="<?php echo show_lokasi($select_lokasi); ?>" required="required" readonly="readonly"/> </li> <li> <span class="span2">Nama/Jenis Barang</span> <input style="width: 300px;" name="rkpb_add_njb" type="text" value="<?php echo show_kelompok($select_njb); ?>" required="required" readonly="readonly"/> </li> <li> <span class="span2">Merk/Tipe</span> <input style="width: 300px;" name="rkpb_add_merk" type="text" value="<?php echo $select_merk; ?>" required="required" readonly="readonly"/> </li> <li> <span class="span2">Kode Rekening</span> <input style="width: 150px;" name="rkpb_add_korek" type="text" value="<?php echo show_namarekening($select_korek); ?>" required="required" readonly="readonly"/> </li> <li> <span class="span2">Jumlah Barang Pada RKB</span> <input style="width: 30px;" name="rkpb_add_jml" id="rkpb_add_jml" type="text" value="<?php echo $select_jml; ?>" required="required" readonly="readonly"/> </li> <li>
include "../../config/config.php"; $menu_id = 3; $SessionUser = $SESSION->get_session_user(); $USERAUTH->FrontEnd_check_akses_menu($menu_id,$SessionUser); $paging = $LOAD_DATA->paging($_GET['pid']); if (isset($_POST['pemeliharaan'])) { unset($_SESSION['ses_retrieve_filter_'.$parameter['menuID'].'_'.$SessionUser->UserSes['ses_uid']]); $get_data_filter = $RETRIEVE->retrieve_shpb_pemeliharaan(array('param'=>$_POST, 'menuID'=>$menu_id, 'type'=>'', 'paging'=>$paging)); } foreach ($get_data_filter as $key => $hsl_data) //while($hsl_data=mysql_fetch_array($exec)) { $select_njb = show_kelompok($hsl_data->Kelompok_ID); $select_mat = $hsl_data->Merk; $select_bhn = $hsl_data->Spesifikasi; $select_satuan = $hsl_data->Satuan; $tanggal = explode("-",$hsl_data->TglUpdate); $select_tgl = $tanggal[2]."/".$tanggal[1]."/".$tanggal[0]; $select_ket = $hsl_data->Keterangan; $select_hrg = $hsl_data->NilaiStandar; } ?> <html> <?php include "$path/header.php";