diff --git a/Admin/Activate.php b/Admin/Activate.php deleted file mode 100644 index da06ae8..0000000 --- a/Admin/Activate.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\ActivateAbstract; -use phpOMS\Module\InfoManager; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Activate extends ActivateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function activate(DatabasePool $dbPool, InfoManager $info) - { - parent::activate($dbPool, $info); - } -} diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php deleted file mode 100644 index 8bc19f8..0000000 --- a/Admin/Deactivate.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\DeactivateAbstract; -use phpOMS\Module\InfoManager; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Deactivate extends DeactivateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function deactivate(DatabasePool $dbPool, InfoManager $info) - { - parent::deactivate($dbPool, $info); - } -} diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json deleted file mode 100644 index c34d261..0000000 --- a/Admin/Install/Navigation.install.json +++ /dev/null @@ -1,64 +0,0 @@ -[ - { - "id": 1004301001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 0, - "name": "Production", - "uri": "/{/lang}/backend/production/dashboard?{?}", - "target": "self", - "icon": "fa fa-fire", - "order": 70, - "from": 1004300000, - "permission": null, - "parent": 1000201001, - "children": [ - { - "id": 1004303001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 1, - "name": "Production", - "uri": "/{/lang}/backend/production/list?{?}", - "target": "self", - "icon": null, - "order": 5, - "from": 1004300000, - "permission": null, - "parent": 1004301001, - "children": [ - { - "id": 1004303101, - "pid": "8bcf3571d1d43ecefeeb78a999f83418ccfd4f71", - "type": 3, - "subtype": 1, - "name": "List", - "uri": "/{/lang}/backend/production/list?{?}", - "target": "self", - "icon": null, - "order": 5, - "from": 1004300000, - "permission": null, - "parent": 1004303001, - "children": [] - }, - { - "id": 1004303201, - "pid": "8bcf3571d1d43ecefeeb78a999f83418ccfd4f71", - "type": 3, - "subtype": 1, - "name": "Create", - "uri": "/{/lang}/backend/production/create?{?}", - "target": "self", - "icon": null, - "order": 10, - "from": 1004300000, - "permission": null, - "parent": 1004303001, - "children": [] - } - ] - } - ] - } -] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php deleted file mode 100644 index f45ff96..0000000 --- a/Admin/Install/Navigation.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production\Admin\Install; -use phpOMS\DataStorage\Database\DatabasePool; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Navigation -{ - public static function install(string $path, DatabasePool $dbPool) - { - $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); - - $class = '\\Modules\\Navigation\\Admin\\Installer'; - /** @var $class \Modules\Navigation\Admin\Installer */ - $class::installExternal($dbPool, $navData); - } -} diff --git a/Admin/Installer.php b/Admin/Installer.php deleted file mode 100644 index 0122a54..0000000 --- a/Admin/Installer.php +++ /dev/null @@ -1,99 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production\Admin; - -use phpOMS\DataStorage\Database\DatabaseType; -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\InfoManager; -use phpOMS\Module\InstallerAbstract; - -/** - * Production install class. - * - * @category Modules - * @package Modules\Production - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Installer extends InstallerAbstract -{ - - /** - * {@inheritdoc} - */ - public static function install(string $path, DatabasePool $dbPool, InfoManager $info) - { - parent::install($path, $dbPool, $info); - - switch ($dbPool->get('core')->getType()) { - case DatabaseType::MYSQL: - $dbPool->get('core')->con->prepare( - 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'production_process` ( - `ProcessID` int(11) NOT NULL AUTO_INCREMENT, - `product` int(11) NOT NULL, - `status` tinyint(2) NOT NULL, - `quantity` int(11) NOT NULL, - `for` int(11) NULL, - `orderer` int(11) NULL, - `ordered` datetime DEFAULT NULL, - `due` datetime DEFAULT NULL, - `planned` datetime DEFAULT NULL, - `started` datetime DEFAULT NULL, - `done` datetime DEFAULT NULL, - PRIMARY KEY (`ProcessID`), - KEY `product` (`product`), - KEY `for` (`for`), - KEY `orderer` (`orderer`) - )ENGINE=InnoDB DEFAULT CHARSET=utf8;' - )->execute(); - - /*$dbPool->get('core')->con->prepare( - 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'production_process` - ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'production_process_ibfk_1` FOREIGN KEY (`creator`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);' - )->execute();*/ - - $dbPool->get('core')->con->prepare( - 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'production_guideline` ( - `ProductionGuidelineID` int(11) NOT NULL AUTO_INCREMENT, - `product` int(11) NOT NULL, - PRIMARY KEY (`ProductionGuidelineID`), - KEY `product` (`product`) - )ENGINE=InnoDB DEFAULT CHARSET=utf8;' - )->execute(); - - $dbPool->get('core')->con->prepare( - 'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'production_guideline_step` ( - `ProductionStepID` int(11) NOT NULL AUTO_INCREMENT, - `guideline` int(11) NOT NULL, - `title` varchar(50) NOT NULL, - `text` text NOT NULL, - `order` tinyint(3) NOT NULL, - PRIMARY KEY (`ProductionStepID`), - KEY `guideline` (`guideline`) - )ENGINE=InnoDB DEFAULT CHARSET=utf8;' - )->execute(); - - $dbPool->get('core')->con->prepare( - 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'production_guideline_step` - ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'production_guideline_step_ibfk_1` FOREIGN KEY (`guideline`) REFERENCES `' . $dbPool->get('core')->prefix . 'production_guideline` (`ProductionGuidelineID`);' - )->execute(); - break; - } - } -} diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php deleted file mode 100644 index dfc6f34..0000000 --- a/Admin/Routes/Web/Backend.php +++ /dev/null @@ -1,30 +0,0 @@ - [ - [ - 'dest' => '\Modules\Production\Controller:viewProductionList', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/production/create.*$' => [ - [ - 'dest' => '\Modules\Production\Controller:viewProductionCreate', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/production/process/list.*$' => [ - [ - 'dest' => '\Modules\Production\Controller:viewProductionProcessList', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/production/process/create.*$' => [ - [ - 'dest' => '\Modules\Production\Controller:viewProductionProcessCreate', - 'verb' => RouteVerb::GET, - ], - ], -]; diff --git a/Admin/Routes/console.php b/Admin/Routes/console.php deleted file mode 100644 index 1ecbfac..0000000 --- a/Admin/Routes/console.php +++ /dev/null @@ -1,3 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\DataStorage\Database\Schema\Builder; -use phpOMS\Module\UninstallAbstract; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Uninstall extends UninstallAbstract -{ - - /** - * {@inheritdoc} - */ - public static function uninstall(DatabasePool $dbPool, InfoManager $info) - { - parent::uninstall($dbPool, $info); - - $query = new Builder($dbPool->get()); - - $query->prefix($dbPool->get('core')->getPrefix())->drop( - 'production_guideline_step', - 'production_guideline', - 'production_process' - ); - - $dbPool->get()->con->prepare($query->toSql())->execute(); - } -} diff --git a/Admin/Update.php b/Admin/Update.php deleted file mode 100644 index f7c9e00..0000000 --- a/Admin/Update.php +++ /dev/null @@ -1,46 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\UpdateAbstract; -use phpOMS\System\File\Directory; - -/** - * Navigation class. - * - * @category Modules - * @package Modules\Admin - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Update extends UpdateAbstract -{ - - /** - * {@inheritdoc} - */ - public static function update(DatabasePool $dbPool, array $info) - { - Directory::deletePath(__DIR__ . '/Update'); - mkdir('Update'); - parent::update($dbPool, $info); - } -} diff --git a/Controller.php b/Controller.php deleted file mode 100644 index dbc6413..0000000 --- a/Controller.php +++ /dev/null @@ -1,159 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\Production; - -use Modules\Navigation\Models\Navigation; -use Modules\Navigation\Views\NavigationView; -use phpOMS\Contract\RenderableInterface; -use phpOMS\Message\RequestAbstract; -use phpOMS\Message\ResponseAbstract; -use phpOMS\Module\ModuleAbstract; -use phpOMS\Module\WebInterface; -use phpOMS\Views\View; -use phpOMS\Views\ViewLayout; - -/** - * Production class. - * - * @category Modules - * @package Modules\Production - * @author OMS Development Team - * @author Dennis Eichhorn - * @license OMS License 1.0 - * @link http://orange-management.com - * @since 1.0.0 - */ -class Controller extends ModuleAbstract implements WebInterface -{ - - /** - * Module path. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_PATH = __DIR__; - - /** - * Module version. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_VERSION = '1.0.0'; - - /** - * Module name. - * - * @var string - * @since 1.0.0 - */ - /* public */ const MODULE_NAME = 'Production'; - - /** - * Providing. - * - * @var string - * @since 1.0.0 - */ - protected static $providing = []; - - /** - * Dependencies. - * - * @var string - * @since 1.0.0 - */ - protected static $dependencies = [ - ]; - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewProductionList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Production/Theme/Backend/production-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1004303001, $request, $response)); - - return $view; - } - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewProductionCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Production/Theme/Backend/production-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1004303001, $request, $response)); - - return $view; - } - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewProductionProcessList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Production/Theme/Backend/process-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); - - return $view; - } - - /** - * @param RequestAbstract $request Request - * @param ResponseAbstract $response Response - * @param mixed $data Generic data - * - * @return RenderableInterface - * - * @since 1.0.0 - * @author Dennis Eichhorn - */ - public function viewProductionProcessCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/Production/Theme/Backend/process-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); - - return $view; - } - -} diff --git a/README.md b/README.md deleted file mode 100644 index 5570222..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# Production # diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php deleted file mode 100644 index b58f321..0000000 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ /dev/null @@ -1,20 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['Navigation' => [ - 'Articles' => 'Articles', - 'Production' => 'Production', - 'Process' => 'Process', -]]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php deleted file mode 100644 index afe845f..0000000 --- a/Theme/Backend/Lang/api.en.lang.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -$MODLANG[1] = [ -]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php deleted file mode 100644 index b0f3e32..0000000 --- a/Theme/Backend/Lang/en.lang.php +++ /dev/null @@ -1,30 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['Production' => [ - 'Article' => 'Article', - 'Done' => 'Done', - 'Due' => 'Due', - 'For' => 'For', - 'Name' => 'Name', - 'Orderer' => 'Orderer', - 'Ordered' => 'Ordered', - 'Process' => 'Process', - 'Product' => 'Product', - 'Productions' => 'Productions', - 'Quantity' => 'Quantity', - 'Start' => 'Start', - 'Status' => 'Status', -]]; diff --git a/Theme/Backend/process-create.tpl.php b/Theme/Backend/process-create.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/Backend/process-create.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/Backend/process-list.tpl.php b/Theme/Backend/process-list.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/Backend/process-list.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/Backend/process-single.tpl.php b/Theme/Backend/process-single.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/Backend/process-single.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/Backend/production-create.tpl.php b/Theme/Backend/production-create.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/Backend/production-create.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/Backend/production-list.tpl.php b/Theme/Backend/production-list.tpl.php deleted file mode 100644 index 978c940..0000000 --- a/Theme/Backend/production-list.tpl.php +++ /dev/null @@ -1,58 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ - -$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); -$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); - -$footerView->setPages(1 / 25); -$footerView->setPage(1); -$footerView->setResults(1); - -echo $this->getData('nav')->render(); ?> - -
- - - - - - - $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> - - -
getText('Productions'); ?>
getText('Status'); ?> - getText('ID', 0, 0); ?> - getText('ID', 0, 0); ?> - getText('Article'); ?> - getText('Quantity'); ?> - getText('Start'); ?> - getText('Due'); ?> - getText('Done'); ?> -
render(); ?> -
getId(); ?> - getName(); ?> - getParent(); ?> - getUnit(); ?> - - -
getText('Empty', 0, 0); ?> - -
-
diff --git a/Theme/backend/Lang/Navigation.en.lang.php b/Theme/backend/Lang/Navigation.en.lang.php deleted file mode 100644 index b58f321..0000000 --- a/Theme/backend/Lang/Navigation.en.lang.php +++ /dev/null @@ -1,20 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['Navigation' => [ - 'Articles' => 'Articles', - 'Production' => 'Production', - 'Process' => 'Process', -]]; diff --git a/Theme/backend/Lang/api.en.lang.php b/Theme/backend/Lang/api.en.lang.php deleted file mode 100644 index afe845f..0000000 --- a/Theme/backend/Lang/api.en.lang.php +++ /dev/null @@ -1,17 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -$MODLANG[1] = [ -]; diff --git a/Theme/backend/Lang/en.lang.php b/Theme/backend/Lang/en.lang.php deleted file mode 100644 index b0f3e32..0000000 --- a/Theme/backend/Lang/en.lang.php +++ /dev/null @@ -1,30 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['Production' => [ - 'Article' => 'Article', - 'Done' => 'Done', - 'Due' => 'Due', - 'For' => 'For', - 'Name' => 'Name', - 'Orderer' => 'Orderer', - 'Ordered' => 'Ordered', - 'Process' => 'Process', - 'Product' => 'Product', - 'Productions' => 'Productions', - 'Quantity' => 'Quantity', - 'Start' => 'Start', - 'Status' => 'Status', -]]; diff --git a/Theme/backend/process-create.tpl.php b/Theme/backend/process-create.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/backend/process-create.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/backend/process-list.tpl.php b/Theme/backend/process-list.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/backend/process-list.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/backend/process-single.tpl.php b/Theme/backend/process-single.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/backend/process-single.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/backend/production-create.tpl.php b/Theme/backend/production-create.tpl.php deleted file mode 100644 index 5fb3eea..0000000 --- a/Theme/backend/production-create.tpl.php +++ /dev/null @@ -1,19 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ -$task = new \Modules\Tasks\Models\Task(null); diff --git a/Theme/backend/production-list.tpl.php b/Theme/backend/production-list.tpl.php deleted file mode 100644 index 978c940..0000000 --- a/Theme/backend/production-list.tpl.php +++ /dev/null @@ -1,58 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -/** - * @var \phpOMS\Views\View $this - */ - -$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); -$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); - -$footerView->setPages(1 / 25); -$footerView->setPage(1); -$footerView->setResults(1); - -echo $this->getData('nav')->render(); ?> - -
- - - - - - - $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> - - -
getText('Productions'); ?>
getText('Status'); ?> - getText('ID', 0, 0); ?> - getText('ID', 0, 0); ?> - getText('Article'); ?> - getText('Quantity'); ?> - getText('Start'); ?> - getText('Due'); ?> - getText('Done'); ?> -
render(); ?> -
getId(); ?> - getName(); ?> - getParent(); ?> - getUnit(); ?> - - -
getText('Empty', 0, 0); ?> - -
-
diff --git a/img/module_teaser_small.png b/img/module_teaser_small.png deleted file mode 100644 index f56e6ff..0000000 Binary files a/img/module_teaser_small.png and /dev/null differ diff --git a/info.json b/info.json deleted file mode 100644 index 1d3a68e..0000000 --- a/info.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": { - "id": 1004300000, - "internal": "Production", - "external": "OMS Production" - }, - "version": "1.0.0", - "requirements": { - "phpOMS": "1.0.0", - "phpOMS-db": "1.0.0" - }, - "creator": { - "name": "Orange Management", - "website": "www.spl1nes.com" - }, - "description": "Production module.", - "directory": "Production", - "dependencies": { - "Admin" : "1.0.0" - }, - "providing": { - "Navigation": "*" - }, - "load": [ - { - "pid": [ - "8bcf3571d1d43ecefeeb78a999f83418ccfd4f71" - ], - "type": 4, - "for": 0, - "from": "Production", - "file": "Production" - }, - { - "pid": [ - "754a08ddf8bcb1cf22f310f09206dd783d42f7dd" - ], - "type": 5, - "from": "Production", - "for": "Navigation", - "file": "Navigation" - } - ] -}