<div style="height:20px;">
	
</div>
<table id="tblassygetviewbc25"></table> <div id="ptblassygetviewbc25"></div>
<input type="hidden" id="hdnidsahdr" value="<?php echo $id_sa_hdr; ?>"/>
<script type="text/javascript">
    
    $(document).ready(function(){
		var form_data={
			hdnidsahdr:$("#hdnidsahdr").val()
		
		}
		
		jQuery("#tblassygetviewbc25").jqGrid({
			url:'<?php echo base_url().'exim/ct_bc25/loaddata_bc25_gettassy'; ?>',
			mtype : "post",
			postData:form_data,
			datatype: "json",
			colNames:['ID','id_sa_hdr', 'SA NO','NPWP PEMBELI', 'NAMA PEMBELI', 'INV NO', 'ASSY CODE',
					'ASSY NO', 'TOTAL SET', 'SATUAN', 'JUMLAH_COLI', 'GROSS WEIGHT', 'SATUAN', 'NETWEIGHT', 'SATUAN','PRICE','AMOUNT',
					'create date','create by','update date','update by'
					],
			colModel:[
				{name:'id_sa',index:'id_sa', 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:'NPWP_PEMBELI',index:'NPWP_PEMBELI', width:119},
				{name:'NAMA_PEMBELI',index:'NAMA_PEMBELI', width:205},
				{name:'INV_NO',index:'INV_NO', width:130, hidden:false},
				{name:'ASSY_CODE',index:'ASSY_CODE', width: 87, hidden:false},
				{name:'ASSY_NO',index:'ASSY_NO', width:179, hidden:false},
				{name:'TOTAL_SET',index:'TOTAL_SET', width:106, hidden:false},
				{name:'SATUAN',index:'SATUAN', width:106, hidden:false},
				{name:'JUMLAH_COLI',index:'JUMLAH_COLI', width:106, hidden:false},
				{name:'GROSSWEIGHT',index:'GROSSWEIGHT', width:93, hidden:false, align:'right'},
				{name:'SATUANGROSS',index:'SATUANGROSS', width:106, hidden:false},
				{name:'NETWEIGHT',index:'NETWEIGHT', width:106, hidden:false, align:'right'},
				{name:'SATUANNET',index:'SATUANNET', width:86, hidden:false},
				{name:'PRICE',index:'PRICE', width:86, hidden:false, align:'right'},
				{name:'AMOUNT',index:'AMOUNT', width:86, hidden:false, align:'right'},
				{name:'create_date',index:'create_date', width:106, hidden:false},
				{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: '#ptblassygetviewbc25',
			sortname: 'id_sa',
			viewrecords: true,
			sortorder: "asc",
			width: 840,
			height:240,
			jsonReader: { repeatitems : false },
			caption:"List of Files Upload",
			rownumbers: true,
			shrinkToFit: false,
			afterInsertRow: function(){
				
				
			},			
			gridComplete: function(){
				
			},
		}); 
		
		
		jQuery("#tblassygetviewbc25").jqGrid('navGrid','#ptblassygetviewbc25',{del:false,add:false,edit:false},{},{},{},{multipleSearch:false});
		jQuery("#tblassygetviewbc25").jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false, defaultSearch: 'cn', ignoreCase: true});

	});
		  	
</script>



	
	