This commit is contained in:
Dennis Eichhorn 2015-11-29 21:57:18 +01:00
commit 37219196d1
11 changed files with 1309 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\ItemManagement\Admin\Install;
/**
* 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($dbPool)
{
$navData = json_decode(file_get_contents(__DIR__ . '/nav.install.json'), true);
$class = '\\Modules\\Navigation\\Admin\\Installer';
$class::installExternal($dbPool, $navData);
}
}

View File

@ -0,0 +1,126 @@
[
{
"id": 1004805001,
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/sales/item/list",
"target": "self",
"icon": null,
"order": 10,
"from": "ItemManagement",
"permission": null,
"parent": 1001601001,
"children": [
{
"id": 1004805101,
"pid": "e3d6f58661c6f42309e273740944547c93ff76a0",
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/sales/item/list",
"target": "self",
"icon": null,
"order": 1,
"from": "ItemManagement",
"permission": null,
"parent": 1004805001,
"children": [
{
"id": 1004805301,
"pid": "4a41925386568368ad4dd823b3945199e8e2628e",
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/sales/item/single",
"target": "self",
"icon": null,
"order": 1,
"from": "ItemManagement",
"permission": null,
"parent": 1004805101,
"children": []
}
]
},
{
"id": 1004805201,
"pid": "e3d6f58661c6f42309e273740944547c93ff76a0",
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/sales/item/create",
"target": "self",
"icon": null,
"order": 5,
"from": "ItemManagement",
"permission": null,
"parent": 1004805001,
"children": []
}
]
},
{
"id": 1004806001,
"pid": "754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
"type": 2,
"subtype": 1,
"name": "Articles",
"uri": "/{/lang}/backend/purchase/item/list",
"target": "self",
"icon": null,
"order": 10,
"from": "ItemManagement",
"permission": null,
"parent": 1002101001,
"children": [
{
"id": 1004806101,
"pid": "e9b2adda603aaee5f852c05fabe394bd56cf0426",
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/purchase/item/list",
"target": "self",
"icon": null,
"order": 1,
"from": "ItemManagement",
"permission": null,
"parent": 1004806001,
"children": [
{
"id": 1004806301,
"pid": "4a41925386568368ad4dd823b3945199e8e2628e",
"type": 3,
"subtype": 1,
"name": "Article",
"uri": "/{/lang}/backend/purchase/item/single",
"target": "self",
"icon": null,
"order": 1,
"from": "ItemManagement",
"permission": null,
"parent": 1004806101,
"children": []
}
]
},
{
"id": 1004806201,
"pid": "e9b2adda603aaee5f852c05fabe394bd56cf0426",
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/purchase/item/create",
"target": "self",
"icon": null,
"order": 5,
"from": "ItemManagement",
"permission": null,
"parent": 1004806001,
"children": []
}
]
}
]

56
Admin/Installer.php Normal file
View File

@ -0,0 +1,56 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\ItemManagement\Admin;
use phpOMS\DataStorage\Database\DatabaseType;
use phpOMS\DataStorage\Database\Pool;
use phpOMS\Module\InstallerAbstract;
/**
* Item Reference install class.
*
* @category Modules
* @package Modules\ItemReference
* @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(Pool $dbPool, array $info)
{
parent::install($dbPool, $info);
switch ($dbPool->get('core')->getType()) {
case DatabaseType::MYSQL:
$dbPool->get('core')->con->prepare(
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'itemreference` (
`itemreference_id` int(11) NOT NULL AUTO_INCREMENT,
`itemreference_name` varchar(30) DEFAULT NULL,
`itemreference_desc` varchar(256) DEFAULT NULL,
PRIMARY KEY (`itemreference_id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
)->execute();
break;
}
}
}

189
Controller.php Normal file
View File

@ -0,0 +1,189 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\ItemManagement;
use Modules\Navigation\Models\Navigation;
use Modules\Navigation\Views\NavigationView;
use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\RequestDestination;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
use phpOMS\Views\View;
use phpOMS\Views\ViewLayout;
/**
* ItemManagement controller class.
*
* @category Modules
* @package Modules\ItemManagement
* @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 name.
*
* @var \string
* @since 1.0.0
*/
protected static $module = 'ItemManagement';
/**
* Localization files.
*
* @var \string
* @since 1.0.0
*/
protected static $localization = [
RequestDestination::BACKEND => ['backend'],
];
/**
* Providing.
*
* @var \string
* @since 1.0.0
*/
protected static $providing = [
'Content',
];
/**
* Dependencies.
*
* @var \string
* @since 1.0.0
*/
protected static $dependencies = [];
/**
* Routing elements.
*
* @var array
* @since 1.0.0
*/
protected static $routes = [
'^.*/backend/sales/item/list.*$' => [['dest' => '\Modules\ItemManagement\Controller:viewItemManagementSalesList', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
'^.*/backend/purchase/item/list.*$' => [['dest' => '\Modules\ItemManagement\Controller:viewItemManagementPurchaseList', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
'^.*/backend/sales/item/create.*$' => [['dest' => '\Modules\ItemManagement\Controller:viewItemManagementSalesCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
'^.*/backend/purchase/item/create.*$' => [['dest' => '\Modules\ItemManagement\Controller:viewItemManagementPurchaseCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
];
/**
* @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 viewItemManagementSalesList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
{
$view = new View($this->app, $request, $response);
$view->setTemplate('/Modules/ItemManagement/Theme/backend/sales-item-list');
$view->addData('nav', $this->createNavigation(1004805001, $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 viewItemManagementPurchaseList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
{
$view = new View($this->app, $request, $response);
$view->setTemplate('/Modules/ItemManagement/Theme/backend/purchase-item-list');
$view->addData('nav', $this->createNavigation(1004806001, $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 viewItemManagementSalesCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
{
$view = new View($this->app, $request, $response);
$view->setTemplate('/Modules/ItemManagement/Theme/backend/item-create');
$view->addData('nav', $this->createNavigation(1004805001, $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 viewItemManagementPurchaseCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
{
$view = new View($this->app, $request, $response);
$view->setTemplate('/Modules/ItemManagement/Theme/backend/item-create');
$view->addData('nav', $this->createNavigation(1004806001, $request, $response));
return $view;
}
/**
* @param int $pageId Page/parent Id for navigation
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
*
* @return RenderableInterface
*
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
private function createNavigation(\int $pageId, RequestAbstract $request, ResponseAbstract $response)
{
$nav = Navigation::getInstance($request, $this->app->dbPool);
$navView = new NavigationView($this->app, $request, $response);
$navView->setTemplate('/Modules/Navigation/Theme/backend/mid');
$navView->setNav($nav->getNav());
$navView->setLanguage($request->getL11n()->language);
$navView->setParent($pageId);
return $navView;
}
}

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# OMS Item Reference Module
The OMS Item Reference Module contains the core data of all items that are in some relation to a organizaion or company.
## Relation
Modules that make use of this core module are sales, purchasing & production modules.

View File

@ -0,0 +1,627 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 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(); ?>
<div class="tabular-2">
<section class="box">
<ul class="tab-links">
<li><label for="c-tab-1"><?= $this->l11n->lang['ItemManagement']['Master'] ?></label>
<li><label for="c-tab-2"><?= $this->l11n->lang['ItemManagement']['Properties'] ?></label>
<li><label for="c-tab-4"><?= $this->l11n->lang['ItemManagement']['Sales'] ?></label>
<li><label for="c-tab-5"><?= $this->l11n->lang['ItemManagement']['Purchase'] ?></label>
<li><label for="c-tab-6"><?= $this->l11n->lang['ItemManagement']['Accounting'] ?></label>
<li><label for="c-tab-7"><?= $this->l11n->lang['ItemManagement']['Production'] ?></label>
<li><label for="c-tab-8"><?= $this->l11n->lang['ItemManagement']['StockList'] ?></label>
<li><label for="c-tab-9"><?= $this->l11n->lang['ItemManagement']['QM'] ?></label>
<li><label for="c-tab-10"><?= $this->l11n->lang['ItemManagement']['Packaging'] ?></label>
<li><label for="c-tab-11"><?= $this->l11n->lang['ItemManagement']['Media'] ?></label>
<li><label for="c-tab-12"><?= $this->l11n->lang['ItemManagement']['Stock'] ?></label>
<li><label for="c-tab-13"><?= $this->l11n->lang['ItemManagement']['Disposal'] ?></label>
<li><label for="c-tab-14"><?= $this->l11n->lang['ItemManagement']['Files'] ?></label>
<li><label for="c-tab-15"><?= $this->l11n->lang['ItemManagement']['Logs'] ?></label>
</ul>
</section>
<div class="tab-content">
<input type="radio" id="c-tab-1" name="tabular-2" checked>
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Item'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSource"><?= $this->l11n->lang[0]['ID'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iSource" name="source" type="text" placeholder="" required></span>
<tr><td><label for="iSegment"><?= $this->l11n->lang['ItemManagement']['Segment'] ?></label>
<tr><td><input id="iSegment" name="segment" type="text" placeholder="" required>
<tr><td><label for="iProductgroup"><?= $this->l11n->lang['ItemManagement']['Productgroup'] ?></label>
<tr><td><input id="iProductgroup" name="productgroup" type="text" placeholder="" required>
<tr><td><label for="iGroup"><?= $this->l11n->lang['ItemManagement']['Group'] ?></label>
<tr><td><input id="iGroup" name="group" type="text" placeholder="" required>
<tr><td><label for="iArticlegroup"><?= $this->l11n->lang['ItemManagement']['Articlegroup'] ?></label>
<tr><td><input id="iArticlegroup" name="articlegroup" type="text" placeholder="" required>
<tr><td><label for="iSSuccessor"><?= $this->l11n->lang['ItemManagement']['Successor'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iSource" name="source" type="text" placeholder="" required></span>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Create'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Language'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iLanguage"><?= $this->l11n->lang['ItemManagement']['Language'] ?></label>
<tr><td><select id="iLanguage" name="language">
<option>
</select>
<tr><td><label for="iName"><?= $this->l11n->lang['ItemManagement']['Name1'] ?></label>
<tr><td><input id="iName" name="name" type="text" placeholder="">
<tr><td><label for="iName"><?= $this->l11n->lang['ItemManagement']['Name2'] ?></label>
<tr><td><input id="iName" name="name" type="text" placeholder="">
<tr><td><label for="iName"><?= $this->l11n->lang['ItemManagement']['Name3'] ?></label>
<tr><td><input id="iName" name="name" type="text" placeholder="">
<tr><td><label for="iDescription"><?= $this->l11n->lang['ItemManagement']['Description'] ?></label>
<tr><td><textarea id="iDescription" name="description"></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-2" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Property'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Name'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iPCustomsId" name="customsid" type="text" placeholder=""></span>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['Unit'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option>
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Value'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Language'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['Language'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option>
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Property'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iPCustomsId" name="customsid" type="text" placeholder=""></span>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Translation'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Language'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['Language'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option>
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Value'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iPCustomsId" name="customsid" type="text" placeholder=""></span>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Translation'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Attribute'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Name'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iPCustomsId" name="customsid" type="text" placeholder=""></span>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['Unit'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option>
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Value'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Language'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['Language'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option>
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Attribute'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iPCustomsId" name="customsid" type="text" placeholder=""></span>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Translation'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Language'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['Language'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option>
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Value'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iPCustomsId" name="customsid" type="text" placeholder=""></span>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['Translation'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-4" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Sales'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPType"><?= $this->l11n->lang['ItemManagement']['Status'] ?></label>
<tr><td><select id="iPType" name="ptye">
<option>
</select>
<tr><td><label for="iPrice">GTIN</label>
<tr><td><input id="iPrice" name="price" type="text" placeholder="">
<tr><td colspan="2"><label for="iPPriceUnit"><?= $this->l11n->lang['ItemManagement']['PriceUnit'] ?></label>
<tr><td><select id="iPPriceUnit" name="ppriceunit">
<option value="0">
</select><td>
<tr><td colspan="2"><label for="iPQuantityUnit"><?= $this->l11n->lang['ItemManagement']['QuantityUnit'] ?></label>
<tr><td><select id="iPQuantityUnit" name="pquantityunit">
<option value="0">
</select><td>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['TradingUnit'] ?></label>
<tr><td><input id="iPTradingUnit" name="tradingunit" type="number" min="0" step="any" placeholder="">
<tr><td><label for="iPTracking"><?= $this->l11n->lang['ItemManagement']['Tracking'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option><?= $this->l11n->lang['ItemManagement']['None'] ?>
<option><?= $this->l11n->lang['ItemManagement']['Lot'] ?>
<option><?= $this->l11n->lang['ItemManagement']['SN'] ?>
<option><?= $this->l11n->lang['ItemManagement']['Purchase'] ?>
</select>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['Commission'] ?></label>
<tr><td><select id="iPVariation" name="pvariation">
<option value="0">
</select>
<tr><td><label for="iPCustomsId"><?= $this->l11n->lang['ItemManagement']['CustomsID'] ?></label>
<tr><td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
<tr><td><label for="iSInfo"><?= $this->l11n->lang['ItemManagement']['Info'] ?></label>
<tr><td><textarea id="iSInfo" name="sinfo"></textarea>
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Price'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iPName"><?= $this->l11n->lang['ItemManagement']['Name'] ?></label>
<tr><td><input id="iPName" name="pname" type="text" placeholder=""><td>
<tr><td colspan="2"><label for="iPrice"><?= $this->l11n->lang['ItemManagement']['Start'] ?></label>
<tr><td><input id="iPrice" name="price" type="datetime-local"><td>
<tr><td colspan="2"><label for="iPrice"><?= $this->l11n->lang['ItemManagement']['End'] ?></label>
<tr><td><input id="iPrice" name="price" type="datetime-local"><td>
<tr><td colspan="2"><label for="iPType"><?= $this->l11n->lang['ItemManagement']['Country'] ?></label>
<tr><td><select id="iPType" name="ptye">
<option>
</select><td>
<tr><td colspan="2"><label for="iPQuantity"><?= $this->l11n->lang['ItemManagement']['Quantity'] ?></label>
<tr><td><input id="iPQuantity" name="quantity" type="text" placeholder=""><td>
<tr><td colspan="2"><label for="iPrice"><?= $this->l11n->lang['ItemManagement']['Price'] ?></label>
<tr><td><input id="iPrice" name="price" type="number" step="any" min="0" placeholder=""><td>
<tr><td colspan="2"><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Discount'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder=""><td>
<tr><td colspan="2"><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['DiscountP'] ?></label>
<tr><td><input id="iDiscountP" name="discountp" type="number" step="any" min="0" placeholder=""><td>
<tr><td colspan="2"><label for="iBonus"><?= $this->l11n->lang['ItemManagement']['Bonus'] ?></label>
<tr><td><input id="iBonus" name="bonus" type="number" step="any" min="0" placeholder=""><td>
<tr><td colspan="2"><label for="iGroup"><?= $this->l11n->lang['ItemManagement']['ClientGroup'] ?></label>
<tr><td><input id="iGroup" name="price" type="text" placeholder=""><td><button><?= $this->l11n->lang[0]['Add'] ?></button>
<tr><td colspan="2"><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-5" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Purchase'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSupplierId"><?= $this->l11n->lang['ItemManagement']['Supplier'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iSupplierId" name="supplierid" type="text" placeholder="" required></span>
<tr><td><label for="iPrice">GTIN</label>
<tr><td><input id="iPrice" name="price" type="text" placeholder="">
<tr><td><label for="iPPriceUnit"><?= $this->l11n->lang['ItemManagement']['PriceUnit'] ?></label>
<tr><td><select id="iPPriceUnit" name="ppriceunit">
<option value="0">
</select><td>
<tr><td><label for="iPQuantityUnit"><?= $this->l11n->lang['ItemManagement']['QuantityUnit'] ?></label>
<tr><td><select id="iPQuantityUnit" name="pquantityunit">
<option value="0">
</select><td>
<tr><td><label for="iPTradingUnit"><?= $this->l11n->lang['ItemManagement']['TradingUnit'] ?></label>
<tr><td><input id="iPTradingUnit" name="tradingunit" type="number" min="0" step="any" placeholder="">
<tr><td><label for="iPTracking"><?= $this->l11n->lang['ItemManagement']['Tracking'] ?></label>
<tr><td><select id="iPTracking" name="tracking">
<option><?= $this->l11n->lang['ItemManagement']['None'] ?>
<option><?= $this->l11n->lang['ItemManagement']['Lot'] ?>
<option><?= $this->l11n->lang['ItemManagement']['SN'] ?>
</select>
<tr><td><label for="iPInfo"><?= $this->l11n->lang['ItemManagement']['Info'] ?></label>
<tr><td><textarea id="iPInfo" name="pinfo"></textarea>
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Price'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['Name'] ?></label>
<tr><td><input id="iPName" name="pname" type="text" placeholder="">
<tr><td><label for="iPQuantity"><?= $this->l11n->lang['ItemManagement']['Quantity'] ?></label>
<tr><td><input id="iPQuantity" name="quantity" type="text" placeholder="">
<tr><td><label for="iPrice"><?= $this->l11n->lang['ItemManagement']['Price'] ?></label>
<tr><td><input id="iPrice" name="price" type="number" step="any" min="0" placeholder=""><td>
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Discount'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['DiscountP'] ?></label>
<tr><td><input id="iDiscountP" name="discountp" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iBonus"><?= $this->l11n->lang['ItemManagement']['Bonus'] ?></label>
<tr><td><input id="iBonus" name="bonus" type="number" step="any" min="0" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Stock'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['Stock'] ?></label>
<tr><td><select id="iPVariation" name="pvariation">
<option value="0">
</select>
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['ReorderLevel'] ?></label>
<tr><td><input id="iPName" name="pname" type="text" placeholder="">
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['MinimumLevel'] ?></label>
<tr><td><input id="iPName" name="pname" type="text" placeholder="">
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['MaximumLevel'] ?></label>
<tr><td><input id="iPName" name="pname" type="text" placeholder="">
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['Leadtime'] ?></label>
<tr><td><input id="iPName" name="pname" type="number" min="0" step="1" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Save'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Supplier'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['Name'] ?></label>
<tr><td><input id="iPName" name="pname" type="text" placeholder="">
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['Description'] ?></label>
<tr><td><textarea></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-6" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Accounting'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iACostIndicator"><?= $this->l11n->lang['ItemManagement']['CostIndicator'] ?></label>
<tr><td><input id="iACostIndicator" name="costindicator" type="text" placeholder="">
<tr><td colspan="2"><label for="iAEarningIndicator"><?= $this->l11n->lang['ItemManagement']['EarningIndicator'] ?></label>
<tr><td><input id="iAEarningIndicator" name="earningindicator" type="text" placeholder="">
<tr><td colspan="2"><label for="iACostIndicator"><?= $this->l11n->lang['ItemManagement']['CostCenter'] ?></label>
<tr><td><input id="iACostIndicator" name="costindicator" type="text" placeholder="">
<tr><td colspan="2"><label for="iAEarningIndicator"><?= $this->l11n->lang['ItemManagement']['CostObject'] ?></label>
<tr><td><input id="iAEarningIndicator" name="earningindicator" type="text" placeholder="">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-7" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Production'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPType"><?= $this->l11n->lang['ItemManagement']['Status'] ?></label>
<tr><td><select id="iPType" name="ptye">
<option>
</select>
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Makespan'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iPType"><?= $this->l11n->lang['ItemManagement']['TimeUnit'] ?></label>
<tr><td><select id="iPType" name="ptye">
<option value="0">ms
<option value="1">s
<option value="2">m
<option value="3">h
<option value="4">d
</select>
<tr><td><label for="iPName"><?= $this->l11n->lang['ItemManagement']['Info'] ?></label>
<tr><td><textarea></textarea>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-8" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['StockList'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iSource"><?= $this->l11n->lang[0]['ID'] ?></label>
<tr><td><span class="input"><button><i class="fa fa-book"></i></button><input id="iSource" name="source" type="text" placeholder=""></span>
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Quantity'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-9" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['QM'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-10" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Packaging'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['Container'] ?></label>
<tr><td><select id="iPVariation" name="pvariation">
<option value="0">
</select>
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Quantity'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['GrossWeight'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['NetWeight'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Width'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Height'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Length'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Volume'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" step="any" min="0" placeholder="">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-11" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Media'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Media'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="file" multiple>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-12" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Stock'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['ShelfLife'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="number" min="0" step="1">
</table>
</form>
</div>
</section>
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Stock'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['Stock'] ?></label>
<tr><td><select id="iPVariation" name="pvariation">
<option value="0">
</select>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['Warehouse'] ?></label>
<tr><td><select id="iPVariation" name="pvariation">
<option value="0">
</select>
<tr><td><label for="iPVariation"><?= $this->l11n->lang['ItemManagement']['Location'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="text"><!-- can also be empty if dynamically assigned instead of fixed -->
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-13" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Disposal'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-14" name="tabular-2">
<div class="tab">
<section class="box w-33 floatLeft">
<h1><?= $this->l11n->lang['ItemManagement']['Files'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/...'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td><label for="iDiscount"><?= $this->l11n->lang['ItemManagement']['Files'] ?></label>
<tr><td><input id="iDiscount" name="discount" type="file" multiple>
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Add'] ?>">
</table>
</form>
</div>
</section>
</div>
<input type="radio" id="c-tab-15" name="tabular-2">
<div class="tab">
<?php
$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);
?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['ItemManagement']['Logs'] ?></caption>
<thead>
<tr>
<td>IP
<td><?= $this->l11n->lang[0]['ID']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Name']; ?>
<td class="wf-100"><?= $this->l11n->lang['ItemManagement']['Log']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Date']; ?>
<tfoot>
<tr>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<tr>
<td><?= $this->request->getOrigin(); ?>
<td><?= $this->request->getAccount(); ?>
<td><?= $this->request->getAccount(); ?>
<td>Creating item
<td><?= (new \DateTime('now'))->format('Y-m-d H:i:s') ?>
</table>
</section>
</div>
</div>
</div>
<!--
@todo:
maybe put a master variations selection at the beginning so that you need to change it for other variations...
this way you will however not be able to see all at once only one at a time
make container in packaging department that can be used by packaging for sales and purchase
Shelf life (stock???)
Packaging dimension+weight+units for different types (pallet, case etc.)
Language for all variations based on variables: e.g. ${size} T-shirt in ${color}
stock vergleichbar mit filiale
warehouse lager in einer filiale (sd e.g. werkstatt, impla, safe, etc),
-->

View File

@ -0,0 +1,45 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 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(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['ItemManagement']['Items'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td class="wf-100"><?= $this->l11n->lang['ItemManagement']['Name']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Price']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Available']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Reserved']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Ordered']; ?>
<tfoot>
<tr>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="6" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -0,0 +1,45 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 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(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['ItemManagement']['Items'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td class="wf-100"><?= $this->l11n->lang['ItemManagement']['Name']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Price']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Available']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Reserved']; ?>
<td><?= $this->l11n->lang['ItemManagement']['Ordered']; ?>
<tfoot>
<tr>
<td colspan="6"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="6" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -0,0 +1,104 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['ItemManagement'] = [
'Accounting' => 'Accounting',
'IsActive' => 'Active?',
'All' => 'All',
'Articlegroup' => 'Articlegroup',
'Attribute' => 'Attribute',
'Available' => 'Available',
'Bonus' => 'Bonus',
'ClientGroup' => 'Client/Group',
'Commission' => 'Commission',
'Container' => 'Container',
'CostCenter' => 'CostCenter',
'CostIndicator' => 'Cost Indicator',
'CostObject' => 'CostObject',
'Country' => 'Country',
'CustomsID' => 'Customs ID',
'Date' => 'Date',
'Description' => 'Description',
'Discount' => 'Discount',
'DiscountP' => 'Discount in %',
'Disposal' => 'Disposal',
'EarningIndicator' => 'Earning Indicator',
'End' => 'End',
'Files' => 'Files',
'GrossWeight' => 'Gross Weight',
'Group' => 'Group',
'Height' => 'Height',
'Info' => 'Info',
'Item' => 'Item',
'Items' => 'Items',
'Language' => 'Language',
'Leadtime' => 'Lead time',
'Length' => 'Length',
'Location' => 'Location',
'Log' => 'Log',
'Logs' => 'Logs',
'Lot' => 'Lot',
'Makespan' => 'Makespan',
'Master' => 'Master',
'MaximumLevel' => 'Maximum stock level',
'Media' => 'Media',
'MinimumLevel' => 'Minimum stock level',
'Name' => 'Name',
'Name1' => 'Name1',
'Name2' => 'Name2',
'Name3' => 'Name3',
'NetWeight' => 'Net Weight',
'None' => 'None',
'Ordered' => 'Ordered',
'Packaging' => 'Packaging',
'Price' => 'Price',
'Prices' => 'Prices',
'PriceUnit' => 'Unit of price',
'Productgroup' => 'Productgroup',
'Production' => 'Production',
'Properties' => 'Properties',
'Property' => 'Property',
'Purchase' => 'Purchase',
'Purchasing' => 'Purchasing',
'QM' => 'QM',
'Quantity' => 'Quantity',
'QuantityUnit' => 'Unit of quantity',
'ReorderLevel' => 'Reorder level',
'Reserved' => 'Reserved',
'Sales' => 'Sales',
'Segment' => 'Segment',
'ShelfLife' => 'Shelf life',
'SN' => 'SN',
'Source' => 'Source',
'Start' => 'Start',
'Status' => 'Status',
'Stock' => 'Stock',
'StockList' => 'Stock list',
'Successor' => 'Successor',
'Supplier' => 'Supplier',
'Tax' => 'Tax',
'TimeUnit' => 'Unit of time',
'Tracking' => 'Tracking',
'TradingUnit' => 'Trading Unit',
'Translation' => 'Translation',
'Type' => 'Type',
'Unit' => 'Unit',
'Value' => 'Value',
'Variation' => 'Variation',
'Variations' => 'Variations',
'Volume' => 'Volume',
'Warehouse' => 'Warehouse',
'Width' => 'Width',
];

View File

@ -0,0 +1,19 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['Navigation'] = [
'List' => 'List',
'Create' => 'Create',
];

53
info.json Normal file
View File

@ -0,0 +1,53 @@
{
"name": {
"id": 1004800000,
"internal": "ItemManagement",
"external": "OMS Item Reference"
},
"version": "1.0.0",
"requirements": {
"phpOMS": "1.0.0",
"phpOMS-db": "1.0.0"
},
"creator": {
"name": "Orange Management",
"website": "www.spl1nes.com"
},
"description": "Event Management module.",
"directory": "ItemManagement",
"dependencies": {},
"providing": {
"Navigation": "*"
},
"load": [
{
"pid": [
"e3d6f58661c6f42309e273740944547c93ff76a0",
"e9b2adda603aaee5f852c05fabe394bd56cf0426"
],
"type": 4,
"for": 0,
"from": "ItemManagement",
"file": "ItemManagement"
},
{
"pid": [
"754a08ddf8bcb1cf22f310f09206dd783d42f7dd"
],
"type": 5,
"from": "ItemManagement",
"for": "Navigation",
"file": "nav.backend"
},
{
"pid": [
"e3d6f58661c6f42309e273740944547c93ff76a0",
"e9b2adda603aaee5f852c05fabe394bd56cf0426"
],
"type": 5,
"for": "Content",
"file": "backend",
"from": "ItemManagement"
}
]
}