diff --git a/www/app/pages/reference/employeelist.php b/www/app/pages/reference/employeelist.php index 3f385c7da..7708a5223 100644 --- a/www/app/pages/reference/employeelist.php +++ b/www/app/pages/reference/employeelist.php @@ -105,6 +105,9 @@ public function addOnClick($sender) { $this->employeedetail->setVisible(true); // Очищаем форму $this->employeedetail->clean(); + $this->employeedetail->editlogin->setOptionList(Employee::getFreeLogins()); + $this->employeedetail->editlogin->setValue('0'); + $b = \App\System::getBranch(); $this->employeedetail->editbranch->setValue($b > 0 ? $b : 0);