SPS Pendapatan ganti dari akb
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
results: $.map(data, function (item) {
|
||||
return {
|
||||
text: item.name,
|
||||
id: item.id
|
||||
id: item.idx
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
$('#txt_id_sps').append($('<option>',{value:"",text:""}));
|
||||
$.map(data, function (item) {
|
||||
$('#txt_id_sps').append($('<option>', {
|
||||
value: item.id,
|
||||
value: item.idx,
|
||||
text : item.name
|
||||
}));
|
||||
})
|
||||
@@ -247,7 +247,7 @@
|
||||
}
|
||||
|
||||
optionDAK();
|
||||
$('#txt_id_sps').val({{ $idSPS }});
|
||||
$('#txt_id_sps').val("{{ $idSPS }}");
|
||||
|
||||
$("#src").keyup(function(e){
|
||||
if (e.keyCode == 13){
|
||||
@@ -341,8 +341,8 @@
|
||||
],
|
||||
"dom": "<\"top\" <\"row\"<\"col-md-6\"l><\"col-md-6 text-right\"B>>>rt<\"bottom\" <\"row\"<\"col-md-6\"i><\"col-md-6\"p>> ><\"clear\">",
|
||||
"lengthMenu": [
|
||||
[ 10, 20, 50 ],
|
||||
[ "10", "20", "50" ]
|
||||
[ 10, 20, 50, -1 ],
|
||||
[ "10", "20", "50", "All" ]
|
||||
],
|
||||
"paging": true, // Table pagination
|
||||
"columns": [
|
||||
|
||||
Reference in New Issue
Block a user