\ No newline at end of file
diff --git a/Theme/Backend/department-profile.tpl.php b/Theme/Backend/department-profile.tpl.php
index 643b25d..650a97f 100644
--- a/Theme/Backend/department-profile.tpl.php
+++ b/Theme/Backend/department-profile.tpl.php
@@ -12,6 +12,8 @@
*/
declare(strict_types=1);
+use phpOMS\Uri\UriFactory;
+
/**
* @var \phpOMS\Views\View $this
* @var \Mouldes\Organization\Models $department;
@@ -22,10 +24,10 @@ echo $this->getData('nav')->render(); ?>
diff --git a/Theme/Backend/position-create.tpl.php b/Theme/Backend/position-create.tpl.php
index 75e3cd3..23bc7a5 100644
--- a/Theme/Backend/position-create.tpl.php
+++ b/Theme/Backend/position-create.tpl.php
@@ -12,18 +12,19 @@
*/
declare(strict_types=1);
+use phpOMS\Uri\UriFactory;
+
/**
* @var \phpOMS\Views\View $this
*/
-
echo $this->getData('nav')->render(); ?>
diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php
index a4f44b3..bde4ca4 100644
--- a/Theme/Backend/position-list.tpl.php
+++ b/Theme/Backend/position-list.tpl.php
@@ -22,17 +22,15 @@ echo $this->getData('nav')->render(); ?>
-
+
+
= $this->getHtml('Positions') ?>
- = $this->getHtml('Positions') ?>
| = $this->getHtml('ID', '0', '0'); ?>
| = $this->getHtml('Name') ?>
| = $this->getHtml('Parent') ?>
| = $this->getHtml('Department') ?>
- |
- |
|
$value) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}organization/position/profile?{?}&id=' . $value->getId()); ?>
@@ -46,6 +44,7 @@ echo $this->getData('nav')->render(); ?>
| = $this->getHtml('Empty', '0', '0'); ?>
|
+
diff --git a/Theme/Backend/position-profile.tpl.php b/Theme/Backend/position-profile.tpl.php
index 2fd2246..099c09f 100644
--- a/Theme/Backend/position-profile.tpl.php
+++ b/Theme/Backend/position-profile.tpl.php
@@ -12,6 +12,8 @@
*/
declare(strict_types=1);
+use phpOMS\Uri\UriFactory;
+
/**
* @var \phpOMS\Views\View $this
* @var \Modules\Organization\Models\Position;
@@ -22,10 +24,10 @@ echo $this->getData('nav')->render(); ?>
-
- = $this->getHtml('Position') ?>
-
diff --git a/Theme/Backend/unit-create.tpl.php b/Theme/Backend/unit-create.tpl.php
index 58c59d0..7a4a4a3 100644
--- a/Theme/Backend/unit-create.tpl.php
+++ b/Theme/Backend/unit-create.tpl.php
@@ -12,18 +12,19 @@
*/
declare(strict_types=1);
+use phpOMS\Uri\UriFactory;
+
/**
* @var \phpOMS\Views\View $this
*/
-
echo $this->getData('nav')->render(); ?>
-
- = $this->getHtml('Unit') ?>
-
-
+
diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php
index cc5e031..fecb9bf 100644
--- a/Theme/Backend/unit-list.tpl.php
+++ b/Theme/Backend/unit-list.tpl.php
@@ -22,16 +22,14 @@ echo $this->getData('nav')->render(); ?>
-
+
+
= $this->getHtml('Units') ?>
- = $this->getHtml('Units') ?>
| = $this->getHtml('ID', '0', '0'); ?>
| = $this->getHtml('Name') ?>
| = $this->getHtml('Parent') ?>
- |
- |
|
$value) :
$url = \phpOMS\Uri\UriFactory::build('{/prefix}organization/unit/profile?{?}&id=' . $value->getId()); ?>
@@ -41,6 +39,7 @@ echo $this->getData('nav')->render(); ?>
= $this->printHtml($value->getParent()->getName()); ?>
|
+
diff --git a/Theme/Backend/unit-profile.tpl.php b/Theme/Backend/unit-profile.tpl.php
index b189841..2897eba 100644
--- a/Theme/Backend/unit-profile.tpl.php
+++ b/Theme/Backend/unit-profile.tpl.php
@@ -12,6 +12,8 @@
*/
declare(strict_types=1);
+use phpOMS\Uri\UriFactory;
+
/**
* @var \phpOMS\Views\View $this
* @var \Modules\Organization\Models\Unit $unit;
@@ -22,10 +24,10 @@ echo $this->getData('nav')->render(); ?>
-
- = $this->getHtml('Unit') ?>
-
-
+
+
+ = $this->getHtml('Unit') ?>
+
-
+
+
+
+
diff --git a/info.json b/info.json
index e07d5f4..411c0cd 100644
--- a/info.json
+++ b/info.json
@@ -14,7 +14,7 @@
"name": "Orange Management",
"website": "www.spl1nes.com"
},
- "description": "The buisness module.",
+ "description": "The business module.",
"directory": "Organization",
"dependencies": {
"Admin": "1.0.0",
@@ -31,7 +31,7 @@
"type": 4,
"for": "Organization",
"file": "Organization",
- "from": "Admin"
+ "from": "Organization"
},
{
"pid": [