<style>

</style>
<div style="height:40px;">

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

<table id="tbl_cek_pengeluaran_bc30"></table> <div id="ptbl_cek_pengeluaran_bc30"></div>


<script type="text/javascript">
    $(document).ready(function(){
		jQuery("#tbl_cek_pengeluaran_bc30").jqGrid({
			url:'<?php echo base_url().'exim/ct_bc30/cek_data_approved_pengeluaran_bc30'; ?>',
			mtype : "post",
			postData:{'q':'1', hdrbcdatamodul30_car : function(){ return $("#nocarbc30nya").val(); }},
			datatype: "json",
			colNames:['doc out no', 'doc out date', 'approve date','CAR','id_bc_out_hdr','id_terkait'
					],
			colModel:[
				{name:'doc_out_no',index:'doc_out_no', width:141, hidden:false},
				{name:'doc_out_date',index:'doc_out_date', width:104, hidden:false},
				{name:'approve_date',index:'approve_date', width:104, hidden:false}	,
				{name:'CAR',index:'CAR', width:171, hidden:false},	
				{name:'id_bc_out_hdr',index:'id_bc_out_hdr', width:104, hidden:false}	,
				{name:'id_terkait',index:'id_terkait', width:104, hidden:false}					
				
			],
			rowNum:10,
			rowList:[10,20,30],
			pager: '#ptbl_cek_pengeluaran_bc30',
			sortname: 'CAR',
			viewrecords: false,
			sortorder: "desc",
			width: 650,
			height:180,
			jsonReader: { repeatitems : false },
			caption:"DATA PENGELUARAN",
			//rownumbers: true,
			shrinkToFit: false,
			afterInsertRow: function(){
				
				
			}	
		
		});
		
		jQuery("#tbl_cek_pengeluaran_bc30").jqGrid('navGrid','#ptbl_cek_pengeluaran_bc30',{del:false,add:false,edit:false},{},{},{},{multipleSearch:false});
		
		
		$("#cekdatamodul_bc30_nonassy").button().click(function(){
			var form_data = {
				'q':'1', hdrbcdatamodul30_car : function(){ return $("#nocarbc30nya").val(); }
			};
			
			jQuery("#tbl_cek_pengeluaran_bc30").jqGrid('setGridParam', { postData:form_data });
			$('#tbl_cek_pengeluaran_bc30').trigger('reloadGrid');
		
		});
		
		

	});
		  	
</script>



	
	