diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index 1f822d1..322693f 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -36,7 +36,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Parent') ?> getHtml('Unit') ?> - render(); ?> + getData('list:elements') as $key => $value) : $c++; $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?> diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php index 65b63b0..c65c1ca 100644 --- a/Theme/Backend/position-list.tpl.php +++ b/Theme/Backend/position-list.tpl.php @@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Parent') ?> getHtml('Department') ?> - render(); ?> + $value) : $count++; $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?> diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index d433f1c..dec80a4 100644 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Name') ?> getHtml('Parent') ?> - render(); ?> + getData('list:elements') as $key => $value) : $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?>