Rincian DAU

This commit is contained in:
Pusdatin BPKD Jkt
2023-02-22 16:58:20 +07:00
parent 2bc555bb5e
commit 55ad9ff3d7
9 changed files with 219 additions and 27 deletions
+25
View File
@@ -528,3 +528,28 @@ $(document).on("click",".export-data",function(){
}).appendTo("#"+form);
$("#"+form).submit();
})
let dauRinci = ()=>{
$('.rinci_dau').select2({
placeholder: 'Pilih Deskripsi',
allowClear: true,
ajax: {
url: Url+'/item-search-dau-rinci',
dataType: 'json',
delay: 250,
processResults: function (data) {
return {
results: $.map(data, function (item) {
return {
text: item.name,
id: item.id
}
})
};
},
cache: true
}
});
}
dauRinci();