mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-02-14 23:08:40 +00:00
Bulkl path fix
This commit is contained in:
parent
2dcf463fdd
commit
5ccd5eec4d
|
|
@ -1,44 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase\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 <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase\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 <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"id": 1002101001,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 2,
|
|
||||||
"subtype": 0,
|
|
||||||
"name": "Purchase",
|
|
||||||
"uri": null,
|
|
||||||
"target": "self",
|
|
||||||
"icon": "fa fa-shopping-cart",
|
|
||||||
"order": 30,
|
|
||||||
"from": 1002100000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 0,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": 1002106001,
|
|
||||||
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
|
|
||||||
"type": 2,
|
|
||||||
"subtype": 1,
|
|
||||||
"name": "Analysis",
|
|
||||||
"uri": "/{/lang}/backend/purchase/analysis?{?}",
|
|
||||||
"target": "self",
|
|
||||||
"icon": null,
|
|
||||||
"order": 15,
|
|
||||||
"from": 1002100000,
|
|
||||||
"permission": null,
|
|
||||||
"parent": 1002101001,
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase\Admin\Install;
|
|
||||||
use phpOMS\DataStorage\Database\DatabasePool;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Navigation class.
|
|
||||||
*
|
|
||||||
* @category Modules
|
|
||||||
* @package Modules\Admin
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,104 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase\Admin;
|
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\DatabaseType;
|
|
||||||
use phpOMS\DataStorage\Database\DatabasePool;
|
|
||||||
use phpOMS\Module\InfoManager;
|
|
||||||
use phpOMS\Module\InstallerAbstract;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Purchase install class.
|
|
||||||
*
|
|
||||||
* @category Modules
|
|
||||||
* @package Modules\Purchase
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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 . 'purchase_article` (
|
|
||||||
`purchase_article_id` int(11) NOT NULL AUTO_INCREMENT,
|
|
||||||
`purchase_article_item` int(11) DEFAULT NULL,
|
|
||||||
PRIMARY KEY (`purchase_article_id`),
|
|
||||||
KEY `purchase_article_item` (`purchase_article_item`)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
|
|
||||||
)->execute();
|
|
||||||
|
|
||||||
$dbPool->get('core')->con->prepare(
|
|
||||||
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'purchase_article`
|
|
||||||
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'purchase_article_ibfk_1` FOREIGN KEY (`purchase_article_item`) REFERENCES `' . $dbPool->get('core')->prefix . 'itemreference` (`itemreference_id`);'
|
|
||||||
)->execute();
|
|
||||||
|
|
||||||
$dbPool->get('core')->con->prepare(
|
|
||||||
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'purchase_supplier` (
|
|
||||||
`purchase_supplier_id` int(11) NOT NULL AUTO_INCREMENT,
|
|
||||||
`purchase_supplier_account` int(11) NOT NULL,
|
|
||||||
PRIMARY KEY (`purchase_supplier_id`),
|
|
||||||
KEY `account` (`purchase_supplier_account`)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
|
|
||||||
)->execute();
|
|
||||||
|
|
||||||
$dbPool->get('core')->con->prepare(
|
|
||||||
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'purchase_supplier`
|
|
||||||
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'purchase_supplier_ibfk_1` FOREIGN KEY (`purchase_supplier_account`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);'
|
|
||||||
)->execute();
|
|
||||||
|
|
||||||
// TODO: create reference between WE, RG and Order?????
|
|
||||||
/* These are the invoices that get created by the purchasing department */
|
|
||||||
$dbPool->get('core')->con->prepare(
|
|
||||||
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'purchase_invoice` (
|
|
||||||
`purchase_invoice_id` int(11) NOT NULL AUTO_INCREMENT,
|
|
||||||
`purchase_invoice_status` tinyint(2) DEFAULT NULL,
|
|
||||||
`purchase_invoice_type` tinyint(2) DEFAULT NULL,
|
|
||||||
`purchase_invoice_created` datetime DEFAULT NULL,
|
|
||||||
`purchase_invoice_printed` datetime DEFAULT NULL,
|
|
||||||
`purchase_invoice_price` decimal(9,2) DEFAULT NULL,
|
|
||||||
`purchase_invoice_currency` varchar(3) DEFAULT NULL,
|
|
||||||
`purchase_invoice_creator` int(11) NOT NULL,
|
|
||||||
`purchase_invoice_supplier` int(11) NOT NULL,
|
|
||||||
`purchase_invoice_referer` int(11) NOT NULL,
|
|
||||||
PRIMARY KEY (`purchase_invoice_id`),
|
|
||||||
KEY `purchase_invoice_creator` (`purchase_invoice_creator`),
|
|
||||||
KEY `purchase_invoice_supplier` (`purchase_invoice_supplier`),
|
|
||||||
KEY `purchase_invoice_referer` (`purchase_invoice_referer`)
|
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
|
|
||||||
)->execute();
|
|
||||||
|
|
||||||
$dbPool->get('core')->con->prepare(
|
|
||||||
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'purchase_invoice`
|
|
||||||
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'purchase_invoice_ibfk_1` FOREIGN KEY (`purchase_invoice_creator`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`),
|
|
||||||
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'purchase_invoice_ibfk_2` FOREIGN KEY (`purchase_invoice_supplier`) REFERENCES `' . $dbPool->get('core')->prefix . 'purchase_supplier` (`purchase_supplier_id`),
|
|
||||||
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'purchase_invoice_ibfk_3` FOREIGN KEY (`purchase_invoice_referer`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);'
|
|
||||||
)->execute();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
use phpOMS\Router\RouteVerb;
|
|
||||||
|
|
||||||
return [
|
|
||||||
'^.*/backend/purchase/invoice/create.*$' => [
|
|
||||||
[
|
|
||||||
'dest' => '\Modules\Purchase\Controller:viewPurchaseInvoiceCreate',
|
|
||||||
'verb' => RouteVerb::GET,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'^.*/backend/purchase/invoice/list.*$' => [
|
|
||||||
[
|
|
||||||
'dest' => '\Modules\Purchase\Controller:viewPurchaseInvoiceList',
|
|
||||||
'verb' => RouteVerb::GET,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'^.*/backend/purchase/article/list.*$' => [
|
|
||||||
[
|
|
||||||
'dest' => '\Modules\Purchase\Controller:viewPurchaseArticleList',
|
|
||||||
'verb' => RouteVerb::GET,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'^.*/backend/purchase/article/recommend.*$' => [
|
|
||||||
[
|
|
||||||
'dest' => '\Modules\Purchase\Controller:viewPurchaseOrderRecommendation',
|
|
||||||
'verb' => RouteVerb::GET,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'^.*/backend/purchase/article/create.*$' => [
|
|
||||||
[
|
|
||||||
'dest' => '\Modules\Purchase\Controller:viewPurchaseArticleCreate',
|
|
||||||
'verb' => RouteVerb::GET,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'^.*/backend/purchase/article/profile.*$' => [
|
|
||||||
[
|
|
||||||
'dest' => '\Modules\Purchase\Controller:viewPurchaseArticleProfile',
|
|
||||||
'verb' => RouteVerb::GET,
|
|
||||||
],
|
|
||||||
],
|
|
||||||
];
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
$moduleRoutes = [];
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
$moduleRoutes = [];
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase\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 <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(
|
|
||||||
'purchase_invoice',
|
|
||||||
'purchase_supplier',
|
|
||||||
'purchase_article'
|
|
||||||
);
|
|
||||||
|
|
||||||
$dbPool->get()->con->prepare($query->toSql())->execute();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase\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 <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
197
Controller.php
197
Controller.php
|
|
@ -1,197 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
namespace Modules\Purchase;
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Purchase controller class.
|
|
||||||
*
|
|
||||||
* @category Modules
|
|
||||||
* @package Modules\Purchase
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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 = 'Purchase';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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 <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewPurchaseInvoiceList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Purchase/Theme/Backend/invoice-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 <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewPurchaseInvoiceCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Purchase/Theme/Backend/invoice-create');
|
|
||||||
$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 <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewPurchaseArticleList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Purchase/Theme/Backend/article-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 <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewPurchaseArticleCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Purchase/Theme/Backend/article-create');
|
|
||||||
$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 <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewPurchaseArticleProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Purchase/Theme/Backend/article-profile');
|
|
||||||
$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 <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public function viewPurchaseOrderRecommendation(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
|
||||||
{
|
|
||||||
$view = new View($this->app, $request, $response);
|
|
||||||
$view->setTemplate('/Modules/Purchase/Theme/Backend/article-order-recommendation');
|
|
||||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response));
|
|
||||||
|
|
||||||
return $view;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
return ['Navigation' => [
|
|
||||||
'Analysis' => 'Analysis',
|
|
||||||
'Articles' => 'Articles',
|
|
||||||
'Create' => 'Create',
|
|
||||||
'Invoices' => 'Invoices',
|
|
||||||
'Invoice' => 'Invoice',
|
|
||||||
'List' => 'List',
|
|
||||||
'OrderSuggestions' => 'Order Suggestions',
|
|
||||||
'PendingOrders' => 'Pending Orders',
|
|
||||||
'Profile' => 'Profile',
|
|
||||||
'Purchase' => 'Purchase',
|
|
||||||
'Suppliers' => 'Suppliers',
|
|
||||||
]];
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
$MODLANG[1] = [
|
|
||||||
];
|
|
||||||
|
|
@ -1,103 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
return ['Purchase' => [
|
|
||||||
'Account' => 'Account',
|
|
||||||
'Active' => 'Active',
|
|
||||||
'Activity' => 'Activity',
|
|
||||||
'Address' => 'Address',
|
|
||||||
'All' => 'All',
|
|
||||||
'Amount' => 'Amount',
|
|
||||||
'Analysis' => 'Analysis',
|
|
||||||
'Area' => 'Area',
|
|
||||||
'Article' => 'Article',
|
|
||||||
'Articles' => 'Articles',
|
|
||||||
'Available' => 'Available',
|
|
||||||
'Calculate' => 'Calculate',
|
|
||||||
'City' => 'City',
|
|
||||||
'Class' => 'Class',
|
|
||||||
'Confirmation' => 'Confirmation',
|
|
||||||
'CoreData' => 'Core data',
|
|
||||||
'Country' => 'Country',
|
|
||||||
'Created' => 'Created',
|
|
||||||
'Creator' => 'Creator',
|
|
||||||
'CreditNote' => 'Credit Note',
|
|
||||||
'Date' => 'Date',
|
|
||||||
'DefaultInternational' => 'Default International',
|
|
||||||
'DefaultNational' => 'Default National',
|
|
||||||
'Delivery' => 'Delivery',
|
|
||||||
'DeliveryNote' => 'Delivery Note',
|
|
||||||
'Description' => 'Description',
|
|
||||||
'Discount' => 'Discount',
|
|
||||||
'DiscountP' => 'Discount in %',
|
|
||||||
'Documentation' => 'Documentation',
|
|
||||||
'DSO' => 'DSO',
|
|
||||||
'Employee' => 'Employee',
|
|
||||||
'FAO' => 'FAO',
|
|
||||||
'From' => 'From',
|
|
||||||
'Group' => 'Group',
|
|
||||||
'Groups' => 'Groups',
|
|
||||||
'Highest' => 'Highest',
|
|
||||||
'Inactive' => 'Inactive',
|
|
||||||
'Interval' => 'Interval',
|
|
||||||
'Invoice' => 'Invoice',
|
|
||||||
'Invoices' => 'Invoices',
|
|
||||||
'IsDefault' => 'Is default?',
|
|
||||||
'Language' => 'Language',
|
|
||||||
'Last' => 'Last',
|
|
||||||
'Localization' => 'Localization',
|
|
||||||
'Loginname' => 'Loginname',
|
|
||||||
'Matchcode' => 'Matchcode',
|
|
||||||
'Media' => 'Media',
|
|
||||||
'MinPrice' => 'Min Price',
|
|
||||||
'Name' => 'Name',
|
|
||||||
'Name1' => 'Name 1',
|
|
||||||
'Name2' => 'Name 2',
|
|
||||||
'Name3' => 'Name 3',
|
|
||||||
'Offer' => 'Offer',
|
|
||||||
'Order' => 'Order',
|
|
||||||
'Orders' => 'Orders',
|
|
||||||
'Ordered' => 'Ordered',
|
|
||||||
'OrderedBy' => 'Ordered By',
|
|
||||||
'OrderedDate' => 'Ordered Date',
|
|
||||||
'Payment' => 'Payment',
|
|
||||||
'Price' => 'Price',
|
|
||||||
'Priority' => 'Priority',
|
|
||||||
'Purchases' => 'Purchases',
|
|
||||||
'Quantity' => 'Quantity',
|
|
||||||
'Receipt' => 'Receipt',
|
|
||||||
'Reference' => 'Reference',
|
|
||||||
'Sales' => 'Sales',
|
|
||||||
'Settings' => 'Settings',
|
|
||||||
'Single' => 'Single',
|
|
||||||
'State' => 'State',
|
|
||||||
'Statistics' => 'Statistics',
|
|
||||||
'Status' => 'Status',
|
|
||||||
'Stock' => 'Stock',
|
|
||||||
'Street' => 'Street',
|
|
||||||
'Subgroup' => 'Subgroup',
|
|
||||||
'Supplier' => 'Supplier',
|
|
||||||
'SupplierID' => 'Supplier ID',
|
|
||||||
'SupplierName' => 'Supplier Name',
|
|
||||||
'Suppliers' => 'Suppliers',
|
|
||||||
'Tax' => 'Tax',
|
|
||||||
'Terms' => 'Terms',
|
|
||||||
'To' => 'To',
|
|
||||||
'TopArticles' => 'Top Articles',
|
|
||||||
'Trend' => 'Trend',
|
|
||||||
'Turnover' => 'Turnover',
|
|
||||||
'Type' => 'Type',
|
|
||||||
'ZipCode' => 'ZipCode',
|
|
||||||
]];
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
return ['Navigation' => [
|
|
||||||
'Analysis' => 'Analysis',
|
|
||||||
'Articles' => 'Articles',
|
|
||||||
'Create' => 'Create',
|
|
||||||
'Invoices' => 'Invoices',
|
|
||||||
'Invoice' => 'Invoice',
|
|
||||||
'List' => 'List',
|
|
||||||
'OrderSuggestions' => 'Order Suggestions',
|
|
||||||
'PendingOrders' => 'Pending Orders',
|
|
||||||
'Profile' => 'Profile',
|
|
||||||
'Purchase' => 'Purchase',
|
|
||||||
'Suppliers' => 'Suppliers',
|
|
||||||
]];
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
$MODLANG[1] = [
|
|
||||||
];
|
|
||||||
|
|
@ -1,103 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
return ['Purchase' => [
|
|
||||||
'Account' => 'Account',
|
|
||||||
'Active' => 'Active',
|
|
||||||
'Activity' => 'Activity',
|
|
||||||
'Address' => 'Address',
|
|
||||||
'All' => 'All',
|
|
||||||
'Amount' => 'Amount',
|
|
||||||
'Analysis' => 'Analysis',
|
|
||||||
'Area' => 'Area',
|
|
||||||
'Article' => 'Article',
|
|
||||||
'Articles' => 'Articles',
|
|
||||||
'Available' => 'Available',
|
|
||||||
'Calculate' => 'Calculate',
|
|
||||||
'City' => 'City',
|
|
||||||
'Class' => 'Class',
|
|
||||||
'Confirmation' => 'Confirmation',
|
|
||||||
'CoreData' => 'Core data',
|
|
||||||
'Country' => 'Country',
|
|
||||||
'Created' => 'Created',
|
|
||||||
'Creator' => 'Creator',
|
|
||||||
'CreditNote' => 'Credit Note',
|
|
||||||
'Date' => 'Date',
|
|
||||||
'DefaultInternational' => 'Default International',
|
|
||||||
'DefaultNational' => 'Default National',
|
|
||||||
'Delivery' => 'Delivery',
|
|
||||||
'DeliveryNote' => 'Delivery Note',
|
|
||||||
'Description' => 'Description',
|
|
||||||
'Discount' => 'Discount',
|
|
||||||
'DiscountP' => 'Discount in %',
|
|
||||||
'Documentation' => 'Documentation',
|
|
||||||
'DSO' => 'DSO',
|
|
||||||
'Employee' => 'Employee',
|
|
||||||
'FAO' => 'FAO',
|
|
||||||
'From' => 'From',
|
|
||||||
'Group' => 'Group',
|
|
||||||
'Groups' => 'Groups',
|
|
||||||
'Highest' => 'Highest',
|
|
||||||
'Inactive' => 'Inactive',
|
|
||||||
'Interval' => 'Interval',
|
|
||||||
'Invoice' => 'Invoice',
|
|
||||||
'Invoices' => 'Invoices',
|
|
||||||
'IsDefault' => 'Is default?',
|
|
||||||
'Language' => 'Language',
|
|
||||||
'Last' => 'Last',
|
|
||||||
'Localization' => 'Localization',
|
|
||||||
'Loginname' => 'Loginname',
|
|
||||||
'Matchcode' => 'Matchcode',
|
|
||||||
'Media' => 'Media',
|
|
||||||
'MinPrice' => 'Min Price',
|
|
||||||
'Name' => 'Name',
|
|
||||||
'Name1' => 'Name 1',
|
|
||||||
'Name2' => 'Name 2',
|
|
||||||
'Name3' => 'Name 3',
|
|
||||||
'Offer' => 'Offer',
|
|
||||||
'Order' => 'Order',
|
|
||||||
'Orders' => 'Orders',
|
|
||||||
'Ordered' => 'Ordered',
|
|
||||||
'OrderedBy' => 'Ordered By',
|
|
||||||
'OrderedDate' => 'Ordered Date',
|
|
||||||
'Payment' => 'Payment',
|
|
||||||
'Price' => 'Price',
|
|
||||||
'Priority' => 'Priority',
|
|
||||||
'Purchases' => 'Purchases',
|
|
||||||
'Quantity' => 'Quantity',
|
|
||||||
'Receipt' => 'Receipt',
|
|
||||||
'Reference' => 'Reference',
|
|
||||||
'Sales' => 'Sales',
|
|
||||||
'Settings' => 'Settings',
|
|
||||||
'Single' => 'Single',
|
|
||||||
'State' => 'State',
|
|
||||||
'Statistics' => 'Statistics',
|
|
||||||
'Status' => 'Status',
|
|
||||||
'Stock' => 'Stock',
|
|
||||||
'Street' => 'Street',
|
|
||||||
'Subgroup' => 'Subgroup',
|
|
||||||
'Supplier' => 'Supplier',
|
|
||||||
'SupplierID' => 'Supplier ID',
|
|
||||||
'SupplierName' => 'Supplier Name',
|
|
||||||
'Suppliers' => 'Suppliers',
|
|
||||||
'Tax' => 'Tax',
|
|
||||||
'Terms' => 'Terms',
|
|
||||||
'To' => 'To',
|
|
||||||
'TopArticles' => 'Top Articles',
|
|
||||||
'Trend' => 'Trend',
|
|
||||||
'Turnover' => 'Turnover',
|
|
||||||
'Type' => 'Type',
|
|
||||||
'ZipCode' => 'ZipCode',
|
|
||||||
]];
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @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(); ?>
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB |
44
info.json
44
info.json
|
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
"name": {
|
|
||||||
"id": 1002100000,
|
|
||||||
"internal": "Purchase",
|
|
||||||
"external": "OMS Purchase"
|
|
||||||
},
|
|
||||||
"version": "1.0.0",
|
|
||||||
"requirements": {
|
|
||||||
"phpOMS": "1.0.0",
|
|
||||||
"phpOMS-db": "1.0.0"
|
|
||||||
},
|
|
||||||
"creator": {
|
|
||||||
"name": "Orange Management",
|
|
||||||
"website": "www.spl1nes.com"
|
|
||||||
},
|
|
||||||
"description": "Purchase module.",
|
|
||||||
"directory": "Purchase",
|
|
||||||
"dependencies": {
|
|
||||||
"Admin" : "1.0.0"
|
|
||||||
},
|
|
||||||
"providing": {
|
|
||||||
"Navigation": "*"
|
|
||||||
},
|
|
||||||
"load": [
|
|
||||||
{
|
|
||||||
"pid": [
|
|
||||||
"6e21607dfaf20d18e793417dd8e874941f0cc740"
|
|
||||||
],
|
|
||||||
"type": 4,
|
|
||||||
"for": 0,
|
|
||||||
"from": "Purchase",
|
|
||||||
"file": "Purchase"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"pid": [
|
|
||||||
"754a08ddf8bcb1cf22f310f09206dd783d42f7dd"
|
|
||||||
],
|
|
||||||
"type": 5,
|
|
||||||
"from": "Purchase",
|
|
||||||
"for": "Navigation",
|
|
||||||
"file": "Navigation"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user