diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 0e3073d..e049e07 100755 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -81,13 +81,14 @@ echo $this->getData('nav')->render(); ?> - $value) : ++$c; - $url = UriFactory::build('{/prefix}organization/department/profile?{?}&id=' . $value->getId()); ?> + $value) : ++$c; + $url = UriFactory::build('{/prefix}organization/department/profile?{?}&id=' . $value->getId()); ?> getId(); ?> printHtml($value->name); ?> - printHtml($value->parent->name); ?> - printHtml($value->unit->name); ?> + printHtml($value->parent->name); ?> + printHtml($value->unit->name); ?> diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php index ff614d8..bba6196 100755 --- a/Theme/Backend/position-list.tpl.php +++ b/Theme/Backend/position-list.tpl.php @@ -86,8 +86,8 @@ echo $this->getData('nav')->render(); ?> getId(); ?> printHtml($value->name); ?> - printHtml($value->parent->name); ?> - printHtml($value->department->name); ?> + printHtml($value->parent->name); ?> + printHtml($value->department->name); ?> getHtml('Empty', '0', '0'); ?> diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index feb632c..5cb3593 100755 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -90,7 +90,7 @@ echo $this->getData('nav')->render(); ?> UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') : UriFactory::build('{/prefix}' . $value->image->getPath()); ?>"> printHtml($value->name); ?> - printHtml($value->parent->name); ?> + printHtml($value->parent->name); ?>
diff --git a/composer.json b/composer.json index 7ad134b..7cf5769 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require-dev": { "phpunit/phpunit": ">=9.4", "friendsofphp/php-cs-fixer": ">=3.0", - "squizlabs/php_codesniffer": ">=3.5", + "squizlabs/php_codesniffer": ">=3.6", "phpmd/phpmd": ">=2.9", "phpstan/phpstan": ">=0.12.58", "phan/phan": ">=3.2.6"