laporan file dan spd pada dbh

This commit is contained in:
Pusdatin BPKD Jkt
2022-10-27 14:44:04 +07:00
parent 2edffa6584
commit 2df12fe3d2
17 changed files with 596 additions and 45 deletions
+27 -1
View File
@@ -232,7 +232,8 @@ $('.prog_search').select2({
};
},
cache: true
}
},
dropdownParent: $('#modal-default')
});
$('.keg_search').select2({
@@ -382,6 +383,31 @@ $('.sps_search').select2({
}
});
let callKodeRekening = ()=>{
$('.kode_rekening').select2({
placeholder: 'Pilih Kode Rekening',
allowClear: true,
ajax: {
url: Url+'/item-search-rekening?ta='+ta,
dataType: 'json',
delay: 250,
processResults: function (data) {
return {
results: $.map(data, function (item) {
return {
text: item.name,
id: item.idx
}
})
};
},
cache: true,
}
});
}
callKodeRekening();
$(document).on("click",".modalButton",function (e){
$("#overlayLoader").removeClass("d-flex");
$("#overlayLoader").addClass("d-flex");