WIP Preorderlogistics
This commit is contained in:
@@ -6,6 +6,7 @@ class WorkerPermission extends mfBaseModel {
|
||||
public $isTechnician = false;
|
||||
public $isPreorderfront = false;
|
||||
public $isPreorderaddressreporting = false;
|
||||
public $isPreorderlogistics = false;
|
||||
|
||||
public function loadByUserId($userid) {
|
||||
$res = $this->db->select($this->table,"*","worker_id=$userid");
|
||||
@@ -37,6 +38,9 @@ class WorkerPermission extends mfBaseModel {
|
||||
if($this->preorderaddressreporting == 'true') {
|
||||
$this->isPreorderaddressreporting= true;
|
||||
}
|
||||
if($this->preorderlogistics == 'true') {
|
||||
$this->isPreorderlogistics = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user