diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..196c9b0 --- /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'] = [ + 'Create' => 'Create', + 'List' => 'List', + 'Suppliers' => 'Suppliers', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..8f106ac --- /dev/null +++ b/Theme/Backend/Lang/en.lang.php @@ -0,0 +1,55 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['SupplierManagement'] = [ + 'Accounting' => 'Accounting', + 'Address' => 'Address', + 'Addresses' => 'Addresses', + 'Articlegroup' => 'Articlegroup', + 'City' => 'City', + 'Contact' => 'Contact', + 'Country' => 'Country', + 'Creditcard' => 'Creditcard', + 'Default' => 'Default', + 'Delivery' => 'Delivery', + 'Email' => 'Email', + 'Fax' => 'Fax', + 'Files' => 'Files', + 'Freightage' => 'Freightage', + 'Group' => 'Group', + 'Info' => 'Info', + 'Invoice' => 'Invoice', + 'IsDefault' => 'Is default', + 'Master' => 'Master', + 'Name' => 'Name', + 'Name1' => 'Name1', + 'Name2' => 'Name2', + 'Name3' => 'Name3', + 'Office' => 'Office', + 'PaymentTerm' => 'Payment Term', + 'Payment' => 'Payment', + 'Phone' => 'Phone', + 'Productgroup' => 'Productgroup', + 'Purchase' => 'Purchase', + 'Sales' => 'Sales', + 'Segment' => 'Segment', + 'Subtype' => 'Subtype', + 'Support' => 'Support', + 'Supplier' => 'Supplier', + 'Suppliers' => 'Suppliers', + 'Type' => 'Type', + 'Wire' => 'Wire', + 'Zip' => 'Zip', +]; diff --git a/Theme/Backend/supplier-create.tpl.php b/Theme/Backend/supplier-create.tpl.php new file mode 100644 index 0000000..2d1d006 --- /dev/null +++ b/Theme/Backend/supplier-create.tpl.php @@ -0,0 +1,163 @@ + + * @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['SupplierManagement']['Supplier'] ?>

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

l11n->lang['SupplierManagement']['Contact'] ?>

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

l11n->lang['SupplierManagement']['Address'] ?>

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

l11n->lang['SupplierManagement']['PaymentTerm'] ?>

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

l11n->lang['SupplierManagement']['Payment'] ?>

+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
diff --git a/Theme/Backend/supplier-list.tpl.php b/Theme/Backend/supplier-list.tpl.php new file mode 100644 index 0000000..2ddeb5d --- /dev/null +++ b/Theme/Backend/supplier-list.tpl.php @@ -0,0 +1,48 @@ + + * @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['SupplierManagement']['Suppliers'] ?>
l11n->lang[0]['ID']; ?> + l11n->lang['SupplierManagement']['Name1']; ?> + l11n->lang['SupplierManagement']['Name2']; ?> + l11n->lang['SupplierManagement']['Name3']; ?> + l11n->lang['SupplierManagement']['City']; ?> + l11n->lang['SupplierManagement']['Zip']; ?> + l11n->lang['SupplierManagement']['Address']; ?> + l11n->lang['SupplierManagement']['Country']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/supplier-single.tpl.php b/Theme/Backend/supplier-single.tpl.php new file mode 100644 index 0000000..9dd9c79 --- /dev/null +++ b/Theme/Backend/supplier-single.tpl.php @@ -0,0 +1,19 @@ + + * @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(); ?>