From 5223ea0ec8e84c06410d2a644ea8705263a06ed4 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 12 Feb 2017 21:42:39 +0100 Subject: [PATCH] Bulkl path fix --- Admin/Activate.php | 44 ---- Admin/Deactivate.php | 44 ---- Admin/Install/Navigation.install.json | 139 ------------ Admin/Install/Navigation.php | 40 ---- Admin/Installer.php | 50 ----- Admin/Routes/Web/Backend.php | 30 --- Admin/Routes/console.php | 3 - Admin/Routes/socket.php | 3 - Admin/Uninstall.php | 43 ---- Admin/Update.php | 46 ---- Controller.php | 140 ------------ README.md | 1 - Theme/Backend/Lang/Navigation.en.lang.php | 17 -- Theme/Backend/Lang/en.lang.php | 68 ------ Theme/Backend/clients-create.tpl.php | 261 ---------------------- Theme/Backend/clients-list.tpl.php | 89 -------- Theme/Backend/clients-single.tpl.php | 19 -- Theme/backend/Lang/Navigation.en.lang.php | 17 -- Theme/backend/Lang/en.lang.php | 68 ------ Theme/backend/clients-create.tpl.php | 261 ---------------------- Theme/backend/clients-list.tpl.php | 89 -------- Theme/backend/clients-single.tpl.php | 19 -- info.json | 44 ---- 23 files changed, 1535 deletions(-) delete mode 100644 Admin/Activate.php delete mode 100644 Admin/Deactivate.php delete mode 100644 Admin/Install/Navigation.install.json delete mode 100644 Admin/Install/Navigation.php delete mode 100644 Admin/Installer.php delete mode 100644 Admin/Routes/Web/Backend.php delete mode 100644 Admin/Routes/console.php delete mode 100644 Admin/Routes/socket.php delete mode 100644 Admin/Uninstall.php delete mode 100644 Admin/Update.php delete mode 100644 Controller.php delete mode 100644 README.md delete mode 100644 Theme/Backend/Lang/Navigation.en.lang.php delete mode 100644 Theme/Backend/Lang/en.lang.php delete mode 100644 Theme/Backend/clients-create.tpl.php delete mode 100644 Theme/Backend/clients-list.tpl.php delete mode 100644 Theme/Backend/clients-single.tpl.php delete mode 100644 Theme/backend/Lang/Navigation.en.lang.php delete mode 100644 Theme/backend/Lang/en.lang.php delete mode 100644 Theme/backend/clients-create.tpl.php delete mode 100644 Theme/backend/clients-list.tpl.php delete mode 100644 Theme/backend/clients-single.tpl.php delete mode 100644 info.json diff --git a/Admin/Activate.php b/Admin/Activate.php deleted file mode 100644 index a6c32a0..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\ClientManagement\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 680d83f..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\ClientManagement\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 c99878d..0000000 --- a/Admin/Install/Navigation.install.json +++ /dev/null @@ -1,139 +0,0 @@ -[ - { - "id": 1003102001, - "pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd", - "type": 2, - "subtype": 1, - "name": "Clients", - "uri": "/{/lang}/backend/sales/client/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1001601001, - "children": [ - { - "id": 1003102101, - "pid": "25a25434541197e2ca3ff0164a8b02173c5fcd8b", - "type": 3, - "subtype": 1, - "name": "List", - "uri": "/{/lang}/backend/sales/client/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102001, - "children": [ - { - "id": 1003103001, - "pid": "734f84316536b783ab45b9777a4cdefa56ba6aa0", - "type": 5, - "subtype": 1, - "name": "Create", - "uri": "/{/lang}/backend/sales/client/create?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102101, - "children": [] - }, - { - "id": 1003103004, - "pid": "734f84316536b783ab45b9777a4cdefa56ba6aa0", - "type": 5, - "subtype": 1, - "name": "Profile", - "uri": "/{/lang}/backend/sales/client/profile?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102101, - "children": [] - }, - { - "id": 1003103005, - "pid": "734f84316536b783ab45b9777a4cdefa56ba6aa0", - "type": 5, - "subtype": 1, - "name": "Turnover", - "uri": "/{/lang}/backend/sales/client/turnover?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102101, - "children": [] - }, - { - "id": 1003103201, - "pid": "734f84316536b783ab45b9777a4cdefa56ba6aa0", - "type": 3, - "subtype": 1, - "name": "Invoices", - "uri": "/{/lang}/backend/sales/client/invoice/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102101, - "children": [] - }, - { - "id": 1003103301, - "pid": "734f84316536b783ab45b9777a4cdefa56ba6aa0", - "type": 3, - "subtype": 1, - "name": "Articles", - "uri": "/{/lang}/backend/sales/client/article/list?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102101, - "children": [] - }, - { - "id": 1003103401, - "pid": "734f84316536b783ab45b9777a4cdefa56ba6aa0", - "type": 3, - "subtype": 1, - "name": "Analysis", - "uri": "/{/lang}/backend/sales/client/profile/analysis?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102101, - "children": [] - } - ] - }, - { - "id": 1003102201, - "pid": "25a25434541197e2ca3ff0164a8b02173c5fcd8b", - "type": 3, - "subtype": 1, - "name": "Create", - "uri": "/{/lang}/backend/sales/client/create?{?}", - "target": "self", - "icon": null, - "order": 1, - "from": 1003100000, - "permission": null, - "parent": 1003102001, - "children": [] - } - ] - } -] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php deleted file mode 100644 index 16e2fa0..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\ClientManagement\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 eac4c65..0000000 --- a/Admin/Installer.php +++ /dev/null @@ -1,50 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\ClientManagement\Admin; - -use phpOMS\DataStorage\Database\DatabaseType; -use phpOMS\DataStorage\Database\DatabasePool; -use phpOMS\Module\InfoManager; -use phpOMS\Module\InstallerAbstract; - -/** - * Client Management install 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 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: - - break; - } - } -} diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php deleted file mode 100644 index 02b9f80..0000000 --- a/Admin/Routes/Web/Backend.php +++ /dev/null @@ -1,30 +0,0 @@ - [ - [ - 'dest' => '\Modules\ClientManagement\Controller:viewClientManagementClientList', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/sales/client/create.*$' => [ - [ - 'dest' => '\Modules\ClientManagement\Controller:viewClientManagementClientCreate', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/sales/client/profile.*$' => [ - [ - 'dest' => '\Modules\ClientManagement\Controller:viewClientManagementClientProfile', - 'verb' => RouteVerb::GET, - ], - ], - '^.*/backend/sales/client/analysis.*$' => [ - [ - 'dest' => '\Modules\ClientManagement\Controller:viewClientManagementClientAnalysis', - '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\ClientManagement\Admin; - - -use phpOMS\DataStorage\Database\DatabasePool; -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); - } -} diff --git a/Admin/Update.php b/Admin/Update.php deleted file mode 100644 index 24c21c9..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\ClientManagement\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 f4446b2..0000000 --- a/Controller.php +++ /dev/null @@ -1,140 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -namespace Modules\ClientManagement; - -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; - -/** - * ClientManagement class. - * - * @category Modules - * @package Modules\ClientManagement - * @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 = 'ClientManagement'; - - /** - * 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 viewClientManagementClientList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/ClientManagement/Theme/Backend/clients-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003102001, $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 viewClientManagementClientCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/ClientManagement/Theme/Backend/clients-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003102001, $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 viewClientManagementClientProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable - { - $view = new View($this->app, $request, $response); - $view->setTemplate('/Modules/ClientManagement/Theme/Backend/clients-profile'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003102001, $request, $response)); - - return $view; - } - -} diff --git a/README.md b/README.md deleted file mode 100644 index 0722c4c..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# Business # diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php deleted file mode 100644 index d28b242..0000000 --- a/Theme/Backend/Lang/Navigation.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 - */ -return ['Navigation' => [ -]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php deleted file mode 100644 index 65f0376..0000000 --- a/Theme/Backend/Lang/en.lang.php +++ /dev/null @@ -1,68 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['ClientManagement' => [ - 'Accounting' => 'Accounting', - 'Address' => 'Address', - 'Addresses' => 'Addresses', - 'AreaManager' => 'Area Manager', - 'Articlegroup' => 'Articlegroup', - 'Bonus' => 'Bonus', - 'Business' => 'Business', - 'City' => 'City', - 'Client' => 'Client', - 'Clients' => 'Clients', - 'Contact' => 'Contact', - 'Country' => 'Country', - 'Creditcard' => 'Creditcard', - 'Date' => 'Date', - 'Default' => 'Default', - 'Delivery' => 'Delivery', - 'Discount' => 'Discount', - 'DiscountP' => 'Discount %', - 'Email' => 'Email', - 'Fax' => 'Fax', - 'Files' => 'Files', - 'Freightage' => 'Freightage', - 'Group' => 'Group', - 'ID' => 'ID', - 'Info' => 'Info', - 'Invoice' => 'Invoice', - 'IsDefault' => 'Is default?', - 'Log' => 'Log', - 'Logs' => 'Logs', - 'Master' => 'Master', - 'Name' => 'Name', - 'Name1' => 'Name1', - 'Name2' => 'Name2', - 'Name3' => 'Name3', - 'Office' => 'Office', - 'Payment' => 'Payment', - 'PaymentTerm' => 'Payment Term', - 'Phone' => 'Phone', - 'Prices' => 'Prices', - 'Price' => 'Price', - 'Private' => 'Private', - 'Productgroup' => 'Productgroup', - 'Purchase' => 'Purchase', - 'Quantity' => 'Quantity', - 'Sales' => 'Sales', - 'Segment' => 'Segment', - 'Subtype' => 'Subtype', - 'Support' => 'Support', - 'Type' => 'Type', - 'Wire' => 'Wire', - 'Zip' => 'Zip', -]]; diff --git a/Theme/Backend/clients-create.tpl.php b/Theme/Backend/clients-create.tpl.php deleted file mode 100644 index d8837ab..0000000 --- a/Theme/Backend/clients-create.tpl.php +++ /dev/null @@ -1,261 +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 - */ -echo $this->getData('nav')->render(); ?> - -
-
- -
-
- -
-
-

getText('Client') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('Contact') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('Address') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('PaymentTerm') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('Payment') ?>

-
-
- -
-
-
-
-
-
-
-
- -
-
-

getText('Price') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('AreaManager') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
- app, $this->request, $this->response); - $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); - $footerView->setPages(20); - $footerView->setPage(1); - ?> -
- - - - - - - - -
getText('Logs') ?>
IP - getText('ID', 0, 0); ?> - getText('Name'); ?> - getText('Log'); ?> - getText('Date'); ?> -
render(); ?> -
request->getOrigin(); ?> - request->getAccount(); ?> - request->getAccount(); ?> - Creating customer - format('Y-m-d H:i:s') ?> -
-
-
-
-
diff --git a/Theme/Backend/clients-list.tpl.php b/Theme/Backend/clients-list.tpl.php deleted file mode 100644 index ddc9d1b..0000000 --- a/Theme/Backend/clients-list.tpl.php +++ /dev/null @@ -1,89 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ - -$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); -$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); -$footerView->setPages(20); -$footerView->setPage(1); - -echo $this->getData('nav')->render(); ?> - - - -
-
-
- - - - - - - - $value) : $count++; ?> - - -
getText('Clients') ?>
getText('ID', 0, 0); ?> - getText('Name1'); ?> - getText('Name2'); ?> - getText('Name3'); ?> - getText('City'); ?> - getText('Zip'); ?> - getText('Address'); ?> - getText('Country'); ?> -
render(); ?> -
getText('Empty', 0, 0); ?> - -
-
-
-
diff --git a/Theme/Backend/clients-single.tpl.php b/Theme/Backend/clients-single.tpl.php deleted file mode 100644 index 9e3f926..0000000 --- a/Theme/Backend/clients-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 - */ -echo $this->getData('nav')->render(); ?> diff --git a/Theme/backend/Lang/Navigation.en.lang.php b/Theme/backend/Lang/Navigation.en.lang.php deleted file mode 100644 index d28b242..0000000 --- a/Theme/backend/Lang/Navigation.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 - */ -return ['Navigation' => [ -]]; diff --git a/Theme/backend/Lang/en.lang.php b/Theme/backend/Lang/en.lang.php deleted file mode 100644 index 65f0376..0000000 --- a/Theme/backend/Lang/en.lang.php +++ /dev/null @@ -1,68 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ -return ['ClientManagement' => [ - 'Accounting' => 'Accounting', - 'Address' => 'Address', - 'Addresses' => 'Addresses', - 'AreaManager' => 'Area Manager', - 'Articlegroup' => 'Articlegroup', - 'Bonus' => 'Bonus', - 'Business' => 'Business', - 'City' => 'City', - 'Client' => 'Client', - 'Clients' => 'Clients', - 'Contact' => 'Contact', - 'Country' => 'Country', - 'Creditcard' => 'Creditcard', - 'Date' => 'Date', - 'Default' => 'Default', - 'Delivery' => 'Delivery', - 'Discount' => 'Discount', - 'DiscountP' => 'Discount %', - 'Email' => 'Email', - 'Fax' => 'Fax', - 'Files' => 'Files', - 'Freightage' => 'Freightage', - 'Group' => 'Group', - 'ID' => 'ID', - 'Info' => 'Info', - 'Invoice' => 'Invoice', - 'IsDefault' => 'Is default?', - 'Log' => 'Log', - 'Logs' => 'Logs', - 'Master' => 'Master', - 'Name' => 'Name', - 'Name1' => 'Name1', - 'Name2' => 'Name2', - 'Name3' => 'Name3', - 'Office' => 'Office', - 'Payment' => 'Payment', - 'PaymentTerm' => 'Payment Term', - 'Phone' => 'Phone', - 'Prices' => 'Prices', - 'Price' => 'Price', - 'Private' => 'Private', - 'Productgroup' => 'Productgroup', - 'Purchase' => 'Purchase', - 'Quantity' => 'Quantity', - 'Sales' => 'Sales', - 'Segment' => 'Segment', - 'Subtype' => 'Subtype', - 'Support' => 'Support', - 'Type' => 'Type', - 'Wire' => 'Wire', - 'Zip' => 'Zip', -]]; diff --git a/Theme/backend/clients-create.tpl.php b/Theme/backend/clients-create.tpl.php deleted file mode 100644 index d8837ab..0000000 --- a/Theme/backend/clients-create.tpl.php +++ /dev/null @@ -1,261 +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 - */ -echo $this->getData('nav')->render(); ?> - -
-
- -
-
- -
-
-

getText('Client') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('Contact') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('Address') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('PaymentTerm') ?>

-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('Payment') ?>

-
-
- -
-
-
-
-
-
-
-
- -
-
-

getText('Price') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-

getText('AreaManager') ?>

-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
- app, $this->request, $this->response); - $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); - $footerView->setPages(20); - $footerView->setPage(1); - ?> -
- - - - - - - - -
getText('Logs') ?>
IP - getText('ID', 0, 0); ?> - getText('Name'); ?> - getText('Log'); ?> - getText('Date'); ?> -
render(); ?> -
request->getOrigin(); ?> - request->getAccount(); ?> - request->getAccount(); ?> - Creating customer - format('Y-m-d H:i:s') ?> -
-
-
-
-
diff --git a/Theme/backend/clients-list.tpl.php b/Theme/backend/clients-list.tpl.php deleted file mode 100644 index ddc9d1b..0000000 --- a/Theme/backend/clients-list.tpl.php +++ /dev/null @@ -1,89 +0,0 @@ - - * @author Dennis Eichhorn - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link http://orange-management.com - */ - -$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); -$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); -$footerView->setPages(20); -$footerView->setPage(1); - -echo $this->getData('nav')->render(); ?> - - - -
-
-
- - - - - - - - $value) : $count++; ?> - - -
getText('Clients') ?>
getText('ID', 0, 0); ?> - getText('Name1'); ?> - getText('Name2'); ?> - getText('Name3'); ?> - getText('City'); ?> - getText('Zip'); ?> - getText('Address'); ?> - getText('Country'); ?> -
render(); ?> -
getText('Empty', 0, 0); ?> - -
-
-
-
diff --git a/Theme/backend/clients-single.tpl.php b/Theme/backend/clients-single.tpl.php deleted file mode 100644 index 9e3f926..0000000 --- a/Theme/backend/clients-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 - */ -echo $this->getData('nav')->render(); ?> diff --git a/info.json b/info.json deleted file mode 100644 index b78b43c..0000000 --- a/info.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": { - "id": 1003100000, - "internal": "ClientManagement", - "external": "OMS Client Management" - }, - "version": "1.0.0", - "requirements": { - "phpOMS": "1.0.0", - "phpOMS-db": "1.0.0" - }, - "creator": { - "name": "Orange Management", - "website": "www.spl1nes.com" - }, - "description": "The buisness module.", - "directory": "ClientManagement", - "dependencies": { - "Admin" : "1.0.0" - }, - "providing": { - "Navigation": "*" - }, - "load": [ - { - "pid": [ - "25a25434541197e2ca3ff0164a8b02173c5fcd8b" - ], - "type": 4, - "for": 0, - "from": "ClientManagement", - "file": "ClientManagement" - }, - { - "pid": [ - "754a08ddf8bcb1cf22f310f09206dd783d42f7dd" - ], - "type": 5, - "from": "ClientManagement", - "for": "Navigation", - "file": "Navigation" - } - ] -}