<div style="height:20px;">
	
</div>
<table id="tblbbgetviewbc25"></table> <div id="ptblbbgetviewbc25"></div>
<input type="hidden" id="hbngetidsahdbb" value="<?php echo $id_sa_hdr ?>"/>
<script type="text/javascript">
    
    $(document).ready(function(){
	
		
		jQuery("#tblbbgetviewbc25").jqGrid({
			url:'<?php echo base_url().'exim/ct_bc25/loaddata_bc25_getbb'; ?>',
			mtype : "post",
			postData:{'id_sa_hdr':$("#hbngetidsahdbb").val()},
			datatype: "json",
			colNames:['id_sa_bb'
			  ,'id_sa_hdr'
			  ,'SA NO'
			  ,'NO URUT'
			  ,'PART NAME'
			  ,'QTY'
			  ,'UNIT'
			  ,'STATUS'
			  ,'CURR'
			  ,'PRICE'
			  ,'CIF'
			  ,'NDPMB'
			  ,'NDPDM NOW'
			  ,'HARGA PABEAN'
			  ,'HS'
			  ,'BM'
			  ,'PPN'
			  ,'PPH'
			  ,'BM RP'
			  ,'PPN RP'
			  ,'PPH RP'
			  ,'create_date'
			  ,'create_by'
			  ,'update_date'
			  ,'update_by'
					],
			colModel:[
				{name:'id_sa_bb',index:'id_sa_bb', width:60, hidden:true},
				{name:'id_sa_hdr',index:'id_sa_hdr', width:160, hidden:true},
				{name:'SA_NO',index:'SA_NO', width:166,stype:"text",searchoptions:{}},
				{name:'NO_URUT',index:'NO_URUT', width:119},
				{name:'PART_NAME',index:'PART_NAME', width:205},
				{name:'QTY',index:'QTY', width:130, hidden:false},
				{name:'UNIT',index:'UNIT', width: 87, hidden:false},
				{name:'STATUS',index:'STATUS', width:179, hidden:false},
				{name:'CURR',index:'CURR', width:106, hidden:false},
				{name:'PRICE',index:'PRICE', width:106, hidden:false,align:'right'},
				{name:'CIF',index:'CIF', width:106, hidden:false, align:'right'},
				{name:'NDPMB',index:'NDPMB', width:93, hidden:false, align:'right'},
				{name:'NDPDM_NOW',index:'NDPDM_NOW', width:106, hidden:false,align:'right'},
				{name:'HARGA_PABEAN',index:'HARGA_PABEAN', width:106, hidden:false,align:'right'},
				{name:'HS',index:'HS', width:86, hidden:false},
				{name:'BM',index:'BM', width:106, hidden:false,align:'right'},
				{name:'PPN',index:'PPN', width:106, hidden:false,align:'right'},
				{name:'PPH',index:'PPH', width:106, hidden:false,align:'right'},
				{name:'BM_RP',index:'BM_RP', width:106, hidden:false,align:'right'},
				{name:'PPN_RP',index:'PPN_RP', width:86, hidden:false,align:'right'},
				{name:'PPH_RP',index:'PPH_RP', width:106, hidden:false,align:'right'},
				{name:'create_date',index:'create_date', width:106, hidden:false,align:'right'},
				{name:'create_by',index:'create_by', width:106, hidden:false},
				{name:'update_date',index:'update_date', width:106, hidden:false},
				{name:'update_by',index:'update_by', width:106, hidden:false},
				
				],
			rowNum:10,
			rowList:[10,20,30],
			pager: '#ptblbbgetviewbc25',
			sortname: 'id_sa_bb',
			viewrecords: true,
			sortorder: "asc",
			width: 840,
			height:240,
			jsonReader: { repeatitems : false },
			caption:"List BB SA",
			rownumbers: true,
			shrinkToFit: false,
			afterInsertRow: function(){
				
				
			},			
			gridComplete: function(){
				
			},
		}); 
		
		
		jQuery("#tblbbgetviewbc25").jqGrid('navGrid','#ptblbbgetviewbc25',{del:false,add:false,edit:false},{},{},{},{multipleSearch:false});
		jQuery("#tblbbgetviewbc25").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : true, defaultSearch: 'cn', ignoreCase: true});

	});
		  	
</script>



	
	