overzicht mon fin

This commit is contained in:
2025-03-11 13:04:54 +01:00
parent 89b9891033
commit c526c48446
2 changed files with 17 additions and 8 deletions
@@ -453,15 +453,24 @@ ls.initBestemmingenModel = function(){
}
console.log(sd, 'bedrag')
$.post("index.php/monfin2/bestemmingen/updatebedrag", sd);
$.post("index.php/monfin2/bestemmingen/updatebedrag", sd, function(result){
console.log(result, '1e keer')
if(result) {
var sd2 = {
'id': subtotID,
'bedrag': subtotaal
}
$.post("index.php/monfin2/bestemmingen/updatebedrag", sd2, function (ok) {
console.log(ok, '2e keer')
});
}
},'json',);
var sd2 = {
'id' : subtotID,
'bedrag': subtotaal
}
$.post("index.php/monfin2/bestemmingen/updatebedrag", sd2);
console.log(sd, 'regeltotaal')
},