diff --git a/Theme/Backend/department-create.tpl.php b/Theme/Backend/department-create.tpl.php index 2b9d335..f085fc2 100644 --- a/Theme/Backend/department-create.tpl.php +++ b/Theme/Backend/department-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(); ?>
-
-

getHtml('Department') ?>

-
-
+
+ +
getHtml('Department') ?>
+
@@ -34,11 +35,13 @@ echo $this->getData('nav')->render(); ?>
getData('editor')->render('department-editor'); ?>
getData('editor')->getData('text')->render('department-editor', 'description', 'fDepartmentCreate'); ?> -
- -
-
+
+
+ +
+ +
diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index bd0652b..c9aadf7 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -22,17 +22,15 @@ echo $this->getData('nav')->render(); ?>
-
+
+
getHtml('Departments') ?>
- - $value) : ++$c; $url = \phpOMS\Uri\UriFactory::build('{/prefix}organization/department/profile?{?}&id=' . $value->getId()); ?> @@ -47,6 +45,7 @@ echo $this->getData('nav')->render(); ?>
getHtml('Departments') ?>
getHtml('ID', '0', '0'); ?> getHtml('Name') ?> getHtml('Parent') ?> getHtml('Unit') ?> -
getHtml('Empty', '0', '0'); ?>
+
\ 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(); ?>
-
-

getHtml('Department') ?>

-
-
+
+ +
getHtml('Department') ?>
+
@@ -46,11 +48,13 @@ echo $this->getData('nav')->render(); ?> $department->getDescriptionRaw(), $department->getDescription() ); ?> -
- -
-
+
+
+ +
+ +
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(); ?>
-
-

getHtml('Position') ?>

-
-
+
+ +
getHtml('Position') ?>
+
@@ -38,11 +39,13 @@ echo $this->getData('nav')->render(); ?>
getData('editor')->render('position-editor'); ?>
getData('editor')->getData('text')->render('position-editor', 'description', 'fPositionCreate'); ?> -
- -
-
+
+
+ +
+ +
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(); ?>
-
+
+
getHtml('Positions') ?>
- - $value) : ++$count; $url = \phpOMS\Uri\UriFactory::build('{/prefix}organization/position/profile?{?}&id=' . $value->getId()); ?> @@ -46,6 +44,7 @@ echo $this->getData('nav')->render(); ?>
getHtml('Positions') ?>
getHtml('ID', '0', '0'); ?> getHtml('Name') ?> getHtml('Parent') ?> getHtml('Department') ?> -
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(); ?>
-
-

getHtml('Position') ?>

-
-
+
+ +
getHtml('Position') ?>
+
@@ -46,11 +48,13 @@ echo $this->getData('nav')->render(); ?> $position->getDescriptionRaw(), $position->getDescription() ); ?> -
- -
-
+
+
+ +
+ +
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(); ?>
-
-

getHtml('Unit') ?>

-
-
+
+ +
getHtml('Unit') ?>
+
@@ -39,11 +40,13 @@ echo $this->getData('nav')->render(); ?>
getData('editor')->render('unit-editor'); ?>
getData('editor')->getData('text')->render('unit-editor', 'description', 'fUnitCreate'); ?> -
- -
-
+
+
+ +
+ +
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(); ?>
-
+
+
getHtml('Units') ?>
- - $value) : $url = \phpOMS\Uri\UriFactory::build('{/prefix}organization/unit/profile?{?}&id=' . $value->getId()); ?> @@ -41,6 +39,7 @@ echo $this->getData('nav')->render(); ?>
getHtml('Units') ?>
getHtml('ID', '0', '0'); ?> getHtml('Name') ?> getHtml('Parent') ?> -
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(); ?>
-
-

getHtml('Unit') ?>

-
-
+
+ +
getHtml('Unit') ?>
+
@@ -44,13 +46,14 @@ echo $this->getData('nav')->render(); ?> $unit->getDescriptionRaw(), $unit->getDescription() ); ?> -
- -
- -
-
+
+
+ + +
+ +
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": [