drag and drop gewenst bij Route
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user