diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..9891049 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,20 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Analyze' => 'Analyze', + 'List' => 'List', + 'Create' => 'Create', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..e3a4df0 --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,105 @@ + + * @author Dennis Eichhorn + * @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', + 'Article' => 'Article', + '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', +]; diff --git a/Theme/Backend/item-create.tpl.php b/Theme/Backend/item-create.tpl.php new file mode 100644 index 0000000..f46d836 --- /dev/null +++ b/Theme/Backend/item-create.tpl.php @@ -0,0 +1,627 @@ + + * @author Dennis Eichhorn + * @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(); ?> + +
+
+ +
+
+ +
+
+

l11n->lang['ItemManagement']['Item'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Language'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Property'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+

l11n->lang['ItemManagement']['Language'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+

l11n->lang['ItemManagement']['Language'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Attribute'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+

l11n->lang['ItemManagement']['Language'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+

l11n->lang['ItemManagement']['Language'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Sales'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Price'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Purchase'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Price'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Stock'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Supplier'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Accounting'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Production'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['StockList'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['QM'] ?>

+
+
+ + +
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Packaging'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Media'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Stock'] ?>

+
+
+ + +
+
+
+
+
+
+ +
+

l11n->lang['ItemManagement']['Stock'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Disposal'] ?>

+
+
+ + +
+
+
+
+
+ +
+
+

l11n->lang['ItemManagement']['Files'] ?>

+
+
+ + +
+
+
+
+
+
+
+
+ +
+ app, $this->request, $this->response); + $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + $footerView->setPages(20); + $footerView->setPage(1); + ?> +
+ + + + + + + + +
l11n->lang['ItemManagement']['Logs'] ?>
IP + l11n->lang[0]['ID']; ?> + l11n->lang['ItemManagement']['Name']; ?> + l11n->lang['ItemManagement']['Log']; ?> + l11n->lang['ItemManagement']['Date']; ?> +
render(); ?> +
request->getOrigin(); ?> + request->getAccount(); ?> + request->getAccount(); ?> + Creating item + format('Y-m-d H:i:s') ?> +
+
+
+
+
+ + diff --git a/Theme/Backend/purchase-item-list.tpl.php b/Theme/Backend/purchase-item-list.tpl.php new file mode 100644 index 0000000..dff2a4c --- /dev/null +++ b/Theme/Backend/purchase-item-list.tpl.php @@ -0,0 +1,45 @@ + + * @author Dennis Eichhorn + * @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(); ?> + +
+ + + + + + + + $value) : $count++; ?> + + +
l11n->lang['ItemManagement']['Items'] ?>
l11n->lang[0]['ID']; ?> + l11n->lang['ItemManagement']['Name']; ?> + l11n->lang['ItemManagement']['Price']; ?> + l11n->lang['ItemManagement']['Available']; ?> + l11n->lang['ItemManagement']['Reserved']; ?> + l11n->lang['ItemManagement']['Ordered']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/sales-item-list.tpl.php b/Theme/Backend/sales-item-list.tpl.php new file mode 100644 index 0000000..dff2a4c --- /dev/null +++ b/Theme/Backend/sales-item-list.tpl.php @@ -0,0 +1,45 @@ + + * @author Dennis Eichhorn + * @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(); ?> + +
+ + + + + + + + $value) : $count++; ?> + + +
l11n->lang['ItemManagement']['Items'] ?>
l11n->lang[0]['ID']; ?> + l11n->lang['ItemManagement']['Name']; ?> + l11n->lang['ItemManagement']['Price']; ?> + l11n->lang['ItemManagement']['Available']; ?> + l11n->lang['ItemManagement']['Reserved']; ?> + l11n->lang['ItemManagement']['Ordered']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/stock-list.tpl.php b/Theme/Backend/stock-list.tpl.php new file mode 100644 index 0000000..18f6e2c --- /dev/null +++ b/Theme/Backend/stock-list.tpl.php @@ -0,0 +1,53 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +/** + * @var \phpOMS\Views\View $this + */ + +$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response); +$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); + +$footerView->setPages(1 / 25); +$footerView->setPage(1); +$footerView->setResults(1); + +echo $this->getData('nav')->render(); ?> + +
+ + + + + + + $value) : $c++; + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?id=' . $value->getId()); ?> + + +
l11n->lang['ItemManagement']['Stock']; ?>
l11n->lang[0]['ID']; ?> + l11n->lang['ItemManagement']['Article']; ?> + l11n->lang['ItemManagement']['Quantity']; ?> +
render(); ?> +
getId(); ?> + getName(); ?> + getParent(); ?> + getUnit(); ?> + + +
l11n->lang[0]['Empty']; ?> + +
+