From 95aaef8495642b2f03e8f1987e8978f02f0cec9a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 5 Mar 2021 21:01:37 +0100 Subject: [PATCH] fix php version, lang files, basic tpl and sales impl. --- Admin/Install/Navigation.install.json | 15 ++++ Theme/Backend/Lang/de.lang.php | 100 ++++++++++++++++++++++++++ Theme/Backend/Lang/en.lang.php | 4 +- 3 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 Theme/Backend/Lang/de.lang.php mode change 100755 => 100644 Theme/Backend/Lang/en.lang.php diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index a68e636..12236ba 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -13,6 +13,21 @@ "permission": { "permission": 2, "type": null, "element": null }, "parent": 0, "children": [ + { + "id": 1001602001, + "pid": "/", + "type": 2, + "subtype": 1, + "name": "Analysis", + "uri": "{/prefix}sales/analysis?{?}", + "target": "self", + "icon": null, + "order": 15, + "from": "Sales", + "permission": { "permission": 2, "type": null, "element": null }, + "parent": 1001601001, + "children": [] + } ] } ] diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php new file mode 100644 index 0000000..7090a83 --- /dev/null +++ b/Theme/Backend/Lang/de.lang.php @@ -0,0 +1,100 @@ + [ + 'Account' => '', + 'Active' => '', + 'Activity' => '', + 'Address' => '', + 'All' => '', + 'Amount' => '', + 'Analysis' => '', + 'Area' => '', + 'Article' => '', + 'Articles' => '', + 'Available' => '', + 'Calculate' => '', + 'City' => '', + 'Class' => '', + 'Client' => '', + 'ClientID' => '', + 'ClientName' => '', + 'Clients' => '', + 'Confirmation' => '', + 'CoreData' => '', + 'Country' => '', + 'Created' => '', + 'Creator' => '', + 'CreditNote' => '', + 'DSO' => '', + 'Date' => '', + 'DefaultInternational' => '', + 'DefaultNational' => '', + 'Delivery' => '', + 'DeliveryNote' => '', + 'Description' => '', + 'Discount' => '', + 'DiscountP' => '', + 'Documentation' => '', + 'Employee' => '', + 'FAO' => '', + 'From' => '', + 'Group' => '', + 'Groups' => '', + 'Highest' => '', + 'Inactive' => '', + 'Interval' => '', + 'Invoice' => '', + 'Invoices' => '', + 'IsDefault' => '', + 'Language' => '', + 'Last' => '', + 'Localization' => '', + 'Loginname' => '', + 'Matchcode' => '', + 'Media' => '', + 'MinPrice' => '', + 'Name' => '', + 'Name1' => '', + 'Name2' => '', + 'Name3' => '', + 'Offer' => '', + 'Order' => '', + 'Ordered' => '', + 'OrderedBy' => '', + 'Orders' => '', + 'Payment' => '', + 'Price' => '', + 'Priority' => '', + 'Quantity' => '', + 'Receipt' => '', + 'Reference' => '', + 'Sales' => '', + 'Settings' => '', + 'Single' => '', + 'State' => '', + 'Statistics' => '', + 'Status' => '', + 'Stock' => '', + 'Street' => '', + 'Subgroup' => '', + 'Tax' => '', + 'Terms' => '', + 'To' => '', + 'TopArticles' => '', + 'Trend' => '', + 'Turnover' => '', + 'Type' => '', + 'ZipCode' => '', +]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php old mode 100755 new mode 100644 index 53997a1..91d8601 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -4,7 +4,7 @@ * * PHP Version 8.0 * - * @package Modules\Sales + * @package Modules\Localization * @copyright Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 @@ -37,6 +37,7 @@ return ['Sales' => [ 'Created' => 'Created', 'Creator' => 'Creator', 'CreditNote' => 'Credit Note', + 'DSO' => 'DSO', 'Date' => 'Date', 'DefaultInternational' => 'Default International', 'DefaultNational' => 'Default National', @@ -46,7 +47,6 @@ return ['Sales' => [ 'Discount' => 'Discount', 'DiscountP' => 'Discount in %', 'Documentation' => 'Documentation', - 'DSO' => 'DSO', 'Employee' => 'Employee', 'FAO' => 'FAO', 'From' => 'From',