Stability Schooltype

This commit is contained in:
2018-04-10 16:31:25 +02:00
parent 6247ec5037
commit d94a8e88c5
7 changed files with 188 additions and 15272 deletions

View File

@@ -40,7 +40,7 @@ var data = <?php echo json_encode($data); ?>;
//console.log(JSON.stringify({data: hot.getData()}));
$.ajax({
//url: "editajax?id=<?php echo $budget['id']; ?>",
url: "<?php echo $this->Url->build(array('controller' => 'budget', 'action' => 'editajax',$budget['id']), true); ?>",
url: "<?php echo $this->Url->build(array('controller' => 'budget', 'action' => 'editajax'), true) . '?budget=' . $budget['id'] . '&schooltype=' . $schooltype ?>",
data: JSON.stringify(hot.getData()),
type: 'POST',
success: function (res) {