|
|
@@ -270,13 +270,13 @@ class DeclarationForm extends Model
|
|
|
$conUser = $this->_tempParentUser[$this->conUserName];
|
|
|
// 判断接点会员的下级会员是否大于三个,如果大于三个则不允许
|
|
|
if($conUser['CON_NUM'] >= 3){
|
|
|
- if($this->insertUserName){
|
|
|
- // $this->addError($attribute, '为'.$this->insertUserName.'报单,指导老师'.$this->conUserName.'下级点位已满');
|
|
|
- $this->addError($attribute, 'To'.$this->insertUserName.'Entry,Instructor'.$this->conUserName.'lower level is full');
|
|
|
- } else {
|
|
|
- //$this->addError($attribute, '指导老师'.$this->conUserName.'下级点位已满');
|
|
|
- $this->addError($attribute, 'Instructor'.$this->conUserName.'lower level is full');
|
|
|
- }
|
|
|
+// if($this->insertUserName){
|
|
|
+// // $this->addError($attribute, '为'.$this->insertUserName.'报单,指导老师'.$this->conUserName.'下级点位已满');
|
|
|
+// $this->addError($attribute, 'To'.$this->insertUserName.'Entry,Instructor'.$this->conUserName.'lower level is full');
|
|
|
+// } else {
|
|
|
+// //$this->addError($attribute, '指导老师'.$this->conUserName.'下级点位已满');
|
|
|
+// $this->addError($attribute, 'Instructor'.$this->conUserName.'lower level is full');
|
|
|
+// }
|
|
|
return;
|
|
|
}
|
|
|
if($this->insertUserName){
|