overzicht mon fin
This commit is contained in:
@@ -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')
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user