From 5d5513cb2f78fea8944c764894eea95a0b850a7b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 26 Mar 2016 18:59:38 +0100 Subject: [PATCH] Case fix! --- Theme/Backend/Lang/Navigation.en.lang.php | 18 +++ Theme/Backend/Lang/en.lang.php | 53 +++++++ Theme/Backend/invoice-archive.tpl.php | 19 +++ Theme/Backend/invoice-create.tpl.php | 153 ++++++++++++++++++++ Theme/Backend/invoice-list.tpl.php | 47 ++++++ Theme/Backend/invoice-single.tpl.php | 19 +++ Theme/Backend/purchase-invoice-list.tpl.php | 47 ++++++ 7 files changed, 356 insertions(+) create mode 100644 Theme/Backend/Lang/Navigation.en.lang.php create mode 100644 Theme/Backend/Lang/en.lang.php create mode 100644 Theme/Backend/invoice-archive.tpl.php create mode 100644 Theme/Backend/invoice-create.tpl.php create mode 100644 Theme/Backend/invoice-list.tpl.php create mode 100644 Theme/Backend/invoice-single.tpl.php create mode 100644 Theme/Backend/purchase-invoice-list.tpl.php diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..2a1e052 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,18 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +$MODLANG['Navigation'] = [ + 'Billing' => 'Billing', +]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php new file mode 100644 index 0000000..58b9027 --- /dev/null +++ b/Theme/Backend/Lang/en.lang.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 + */ +$MODLANG['Billing'] = [ + 'Address' => 'Address', + 'Addresses' => 'Addresses', + 'Bonus' => 'Bonus', + 'City' => 'City', + 'Client' => 'Client', + 'ClientID' => 'Client ID', + 'Confirmation' => 'Confirmation', + 'Country' => 'Country', + 'Created' => 'Created', + 'CreditNote' => 'Credit Note', + 'Delivery' => 'Delivery', + 'DeliveryNote' => 'Delivery Note', + 'Discount' => 'Discount', + 'DiscountP' => 'Discount %', + 'Due' => 'Due', + 'Freightage' => 'Freightage', + 'Gross' => 'Gross', + 'Invoice' => 'Invoice', + 'Invoices' => 'Invoices', + 'Item' => 'Item', + 'Items' => 'Items', + 'Name' => 'Name', + 'Net' => 'Net', + 'Offer' => 'Offer', + 'Price' => 'Price', + 'Quantity' => 'Quantity', + 'Recipient' => 'Recipient', + 'Shipment' => 'Shipment', + 'Source' => 'Source', + 'Supplier' => 'Supplier', + 'SupplierID' => 'Supplier ID', + 'Tax' => 'Tax', + 'Total' => 'Total', + 'Type' => 'Type', + 'Variation' => 'Variation', + 'Zip' => 'Zip', +]; diff --git a/Theme/Backend/invoice-archive.tpl.php b/Theme/Backend/invoice-archive.tpl.php new file mode 100644 index 0000000..9dd9c79 --- /dev/null +++ b/Theme/Backend/invoice-archive.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(); ?> diff --git a/Theme/Backend/invoice-create.tpl.php b/Theme/Backend/invoice-create.tpl.php new file mode 100644 index 0000000..ea77b3e --- /dev/null +++ b/Theme/Backend/invoice-create.tpl.php @@ -0,0 +1,153 @@ + + * @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['Billing']['Invoice'] ?>

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

l11n->lang['Billing']['Invoice'] ?>

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

l11n->lang['Billing']['Delivery'] ?>

+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ + + + + + + + +
l11n->lang['Billing']['Invoice'] ?>
+ l11n->lang['Billing']['Item']; ?> + l11n->lang['Billing']['Variation']; ?> + l11n->lang['Billing']['Name']; ?> + l11n->lang['Billing']['Quantity']; ?> + l11n->lang['Billing']['Discount']; ?> + l11n->lang['Billing']['DiscountP']; ?> + l11n->lang['Billing']['Bonus']; ?> + l11n->lang['Billing']['Tax']; ?> + l11n->lang['Billing']['Net']; ?> +
+ l11n->lang['Billing']['Freightage']; ?>: 0.00 - + l11n->lang['Billing']['Net']; ?>: 0.00 - + l11n->lang['Billing']['Tax']; ?>: 0.00 - + l11n->lang['Billing']['Total']; ?>: 0.00 +
+ + + + + + + + + +
+
+
+
+
diff --git a/Theme/Backend/invoice-list.tpl.php b/Theme/Backend/invoice-list.tpl.php new file mode 100644 index 0000000..ee631d9 --- /dev/null +++ b/Theme/Backend/invoice-list.tpl.php @@ -0,0 +1,47 @@ + + * @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['Billing']['Invoices'] ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Billing']['Type']; ?> + l11n->lang['Billing']['ClientID']; ?> + l11n->lang['Billing']['Client']; ?> + l11n->lang['Billing']['Net']; ?> + l11n->lang['Billing']['Gross']; ?> + l11n->lang['Billing']['Created']; ?> + l11n->lang['Billing']['Due']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+
diff --git a/Theme/Backend/invoice-single.tpl.php b/Theme/Backend/invoice-single.tpl.php new file mode 100644 index 0000000..9dd9c79 --- /dev/null +++ b/Theme/Backend/invoice-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(); ?> diff --git a/Theme/Backend/purchase-invoice-list.tpl.php b/Theme/Backend/purchase-invoice-list.tpl.php new file mode 100644 index 0000000..411595a --- /dev/null +++ b/Theme/Backend/purchase-invoice-list.tpl.php @@ -0,0 +1,47 @@ + + * @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['Billing']['Invoices'] ?>
l11n->lang[0]['ID']; ?> + l11n->lang['Billing']['Type']; ?> + l11n->lang['Billing']['SupplierID']; ?> + l11n->lang['Billing']['Supplier']; ?> + l11n->lang['Billing']['Net']; ?> + l11n->lang['Billing']['Gross']; ?> + l11n->lang['Billing']['Created']; ?> + l11n->lang['Billing']['Due']; ?> +
render(); ?> +
l11n->lang[0]['Empty']; ?> + +
+