This commit is contained in:
='fauz 2025-07-03 20:13:58 +07:00
parent 39fb05694b
commit ded894e7be

View File

@ -839,9 +839,9 @@
$( '.select2' ).select2( {
theme: 'bootstrap-4'
} );
let total_dd_container = document.getElementById('tot_dd')
fetchTotDana(`${baseUrl}/desa/total-dana-desa`)
fethTotSerapan(`${baseUrl}/desa/total-serapan-dana`)
//let total_dd_container = document.getElementById('tot_dd')
fetchTotDana(`${baseUrl}/api/desa/total-dana-desa`)
fethTotSerapan(`${baseUrl}/api/desa/total-serapan-dana`)
function fetchTotDana(url){
fetch(url)
.then(res => res.json())