drag and drop gewenst bij Route

This commit is contained in:
Monique
2022-09-27 16:02:13 +02:00
parent 9cb045b89e
commit 2c43f85c81
5 changed files with 34 additions and 92 deletions
@@ -85,9 +85,10 @@ class Rapijkpunten extends MY_Controller{
function checkLevel(){
if (!$this->userid) die;
$soort = $this->Organisaties_model->get_fieldvalue(array("id"=>$this->globorgid), 'soort' );
$soort = $this->Organisaties_model->get_fieldvalue(array("id"=>$this->globorgid), 'soort' );
$werkter = $this->Orgusers_model->get_fieldvalue(array("user_id"=>$this->userid, "organisatie_id"=>$this->globorgid),"id");
$level = 0;
$level = 0;
if ($soort < 4 && $werkter) {
$level = 1;
@@ -96,6 +97,8 @@ class Rapijkpunten extends MY_Controller{
echo json_encode($level);
}
function checkLevelInspectie(){
if (!$this->userid) die;
$soort = $this->Organisaties_model->get_fieldvalue(array("id"=>$this->globorgid), 'soort' );
@@ -25,6 +25,12 @@ class Rapontwikkel extends MY_Controller {
};// if
}
function getModule(){
$module = $this->session->userdata('module');
echo json_encode($module);
}
function savegewenst()
{
//TODO clean input