diff --git a/README.md b/README.md
index e7e9597..b181e60 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,15 @@
-# A extension which customizing the administration dashboard for Shopware 6
+# An extension which customizing the administration dashboard for Shopware 6
The _administration dashboard can be customized_ via the extension. For this purpose, it offers under "_Settings_" -> "_System_"> "_Users & permissions_" -> "_Roles_" in the area "_Additional permissions_" a new area "_Dashboard_" in which you can _hide_ the following areas of the dashboard for the selected role:
- the _greeting_
-- the _banner_
- the _checklist_ area
- the _feedback_ area
- the _today's statistics_
- the _statistics of the orders_
- the _statistics of the turnover_.
+For the _statistics_, the checkbox "_View_" under "_Orders_" and "_Orders_" must be activated.
+
The _Administrator_ account always see all areas on the dashboard, because he has no own role.
## How to install the extension
@@ -58,17 +59,17 @@ bin/console plugin:install --activate SschreierAdministrationDashboard
## Images
-### administration dashboard without the areas for the _banner_, the _checklist_ and the _feedback_
+### administration dashboard without the areas for the _checklist_ and the _feedback_
-![administration dashboard without the areas for the banner, the checklist and the feedback](https://www.sebastianschreier.de/plugins/SschreierAdministrationDashboard/SschreierAdministrationDashboard-Image1.jpg)
+![administration dashboard without the areas for the checklist and the feedback](https://www.sebastianschreier.de/plugins/SschreierAdministrationDashboard/SschreierAdministrationDashboard-Image1.jpg)
-### administration dashboard without the areas for the _greeting_, the _banner_, the _checklist_ and the _feedback_
+### administration dashboard without the areas for the _greeting_, the _checklist_ and the _feedback_
-![administration dashboard without the areas for the greeting, the banner, the checklist and the feedback](https://www.sebastianschreier.de/plugins/SschreierAdministrationDashboard/SschreierAdministrationDashboard-Image2.jpg)
+![administration dashboard without the areas for the greeting, the checklist and the feedback](https://www.sebastianschreier.de/plugins/SschreierAdministrationDashboard/SschreierAdministrationDashboard-Image2.jpg)
-### administration dashboard without the areas for the _banner_, the _checklist_, the _feedback_, the _today's statistics_, the _statistics of the orders_ and the _statistics of the turnover_
+### administration dashboard without the areas for the _checklist_, the _feedback_, the _today's statistics_, the _statistics of the orders_ and the _statistics of the turnover_
-![administration dashboard without the areas for the banner, the checklist, the feedback, the today's statistics, the statistics of the orders and the statistics of the turnover](https://www.sebastianschreier.de/plugins/SschreierAdministrationDashboard/SschreierAdministrationDashboard-Image3.jpg)
+![administration dashboard without the areas for the checklist, the feedback, the today's statistics, the statistics of the orders and the statistics of the turnover](https://www.sebastianschreier.de/plugins/SschreierAdministrationDashboard/SschreierAdministrationDashboard-Image3.jpg)
### new area "_Dashboard_" under "_Settings_" -> "_System_"> "_Users & permissions_" -> "_Roles_" in the area "_Additional permissions_" in which you can _hide_ the areas of the dashboard for the selected role
diff --git a/composer.json b/composer.json
index 955a1f5..cf2e728 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"name": "sschreier/administration-dashboard",
"description": "a extension which customizing the administration dashboard",
- "version": "1.0.1",
+ "version": "1.1.0",
"type": "shopware-platform-plugin",
"license": "proprietary",
"authors": [
@@ -11,7 +11,7 @@
}
],
"require": {
- "shopware/administration": "~6.4.10"
+ "shopware/administration": "~6.5.0"
},
"extra": {
"shopware-plugin-class": "Sschreier\\AdministrationDashboard\\SschreierAdministrationDashboard",
diff --git a/src/Resources/app/administration/src/main.js b/src/Resources/app/administration/src/main.js
index adaab51..d449264 100644
--- a/src/Resources/app/administration/src/main.js
+++ b/src/Resources/app/administration/src/main.js
@@ -1 +1,2 @@
-import './module/sw-dashboard-index';
+import './module/sw-dashboard/page/sw-dashboard-index';
+import './module/sw-dashboard/component/sw-dashboard-statistics';
diff --git a/src/Resources/app/administration/src/module/sw-dashboard-index/sw-dashboard-index.html.twig b/src/Resources/app/administration/src/module/sw-dashboard-index/sw-dashboard-index.html.twig
deleted file mode 100644
index 4a0634f..0000000
--- a/src/Resources/app/administration/src/module/sw-dashboard-index/sw-dashboard-index.html.twig
+++ /dev/null
@@ -1,119 +0,0 @@
-{% block sw_dashboard_index %}
- {% block sw_dashboard_index_before %}{% endblock %}
-
- {% block sw_dashboard_index_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_intro_card %}
- {% block sw_dashboard_index_content_intro_card_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_intro_card_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_intro_card_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_intro_card_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_campaign_banner %}
- {% block sw_dashboard_index_content_campaign_banner_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_campaign_banner_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_campaign_banner_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_campaign_banner_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_info_grid %}
- {% block sw_dashboard_index_content_info_grid_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_info_grid_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_info_grid_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_info_grid_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_info__grid_inner_welcome_card %}
- {% block sw_dashboard_index_content_info__grid_inner_welcome_card_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_info__grid_inner_welcome_card_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_grid_info_inner_feedback_card %}
- {% block sw_dashboard_index_content_grid_info_inner_feedback_card_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_grid_info_inner_feedback_card_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_intro_stats_headline %}
- {% block sw_dashboard_index_content_intro_stats_headline_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_intro_stats_headline_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_intro_stats_headline_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_intro_stats_headline_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_intro_stats_today %}
- {% block sw_dashboard_index_content_intro_stats_today_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_intro_stats_today_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_intro_stats_today_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_intro_stats_today_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_grid %}
- {% block sw_dashboard_index_content_grid_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_grid_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_grid_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_grid_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_statistics_headline %}
- {% block sw_dashboard_index_content_statistics_headline_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_statistics_headline_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_statistics_headline_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_statistics_headline_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_statistics_count %}
- {% block sw_dashboard_index_content_statistics_count_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_statistics_count_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_statistics_count_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_statistics_count_after %}{% endblock %}
-{% endblock %}
-
-{% block sw_dashboard_index_content_statistics_sum %}
- {% block sw_dashboard_index_content_statistics_sum_before %}{% endblock %}
-
- {% block sw_dashboard_index_content_statistics_sum_inner_before %}{% endblock %}
- {% parent() %}
- {% block sw_dashboard_index_content_statistics_sum_inner_after %}{% endblock %}
-
- {% block sw_dashboard_index_content_statistics_sum_after %}{% endblock %}
-{% endblock %}
diff --git a/src/Resources/app/administration/src/module/sw-dashboard-index/sw-dashboard-index.scss b/src/Resources/app/administration/src/module/sw-dashboard-index/sw-dashboard-index.scss
deleted file mode 100644
index 07fee99..0000000
--- a/src/Resources/app/administration/src/module/sw-dashboard-index/sw-dashboard-index.scss
+++ /dev/null
@@ -1,14 +0,0 @@
-.sw-page__outer {
- position: relative;
- height: 100%;
-
- .sw-card {
- display: none;
-
- &.sw-card--grid,
- &.sw-dashboard-index__statistics-count,
- &.sw-dashboard-index__statistics-sum {
- display: block;
- }
- }
-}
diff --git a/src/Resources/app/administration/src/module/sw-dashboard-index/acl/index.js b/src/Resources/app/administration/src/module/sw-dashboard/acl/index.js
similarity index 88%
rename from src/Resources/app/administration/src/module/sw-dashboard-index/acl/index.js
rename to src/Resources/app/administration/src/module/sw-dashboard/acl/index.js
index 21652ee..2809d77 100644
--- a/src/Resources/app/administration/src/module/sw-dashboard-index/acl/index.js
+++ b/src/Resources/app/administration/src/module/sw-dashboard/acl/index.js
@@ -8,10 +8,6 @@ if (Shopware.Service('privileges')) {
privileges: [],
dependencies: []
},
- campaign_banner: {
- privileges: [],
- dependencies: []
- },
welcome: {
privileges: [],
dependencies: []
diff --git a/src/Resources/app/administration/src/module/sw-dashboard/component/sw-dashboard-statistics/index.ts b/src/Resources/app/administration/src/module/sw-dashboard/component/sw-dashboard-statistics/index.ts
new file mode 100644
index 0000000..98dacb7
--- /dev/null
+++ b/src/Resources/app/administration/src/module/sw-dashboard/component/sw-dashboard-statistics/index.ts
@@ -0,0 +1,11 @@
+import './../../acl';
+
+import template from './sw-dashboard-statistics.html.twig';
+
+Shopware.Component.override('sw-dashboard-statistics', {
+ template,
+
+ inject: {
+ acl: 'acl'
+ },
+});
diff --git a/src/Resources/app/administration/src/module/sw-dashboard/component/sw-dashboard-statistics/sw-dashboard-statistics.html.twig b/src/Resources/app/administration/src/module/sw-dashboard/component/sw-dashboard-statistics/sw-dashboard-statistics.html.twig
new file mode 100644
index 0000000..7b07357
--- /dev/null
+++ b/src/Resources/app/administration/src/module/sw-dashboard/component/sw-dashboard-statistics/sw-dashboard-statistics.html.twig
@@ -0,0 +1,49 @@
+{% block sw_dashboard_statistics_intro_stats_headline %}
+ {% block sw_dashboard_statistics_intro_stats_headline_before %}{% endblock %}
+
+ {% block sw_dashboard_statistics_intro_stats_headline_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_statistics_intro_stats_headline_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_statistics_intro_stats_headline_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_statistics_intro_stats_today %}
+ {% block sw_dashboard_statistics_intro_stats_today_before %}{% endblock %}
+
+ {% block sw_dashboard_statistics_intro_stats_today_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_statistics_intro_stats_today_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_statistics_intro_stats_today_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_statistics_grid %}
+ {% block sw_dashboard_statistics_grid_before %}{% endblock %}
+
+ {% block sw_dashboard_statistics_grid_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_statistics_grid_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_statistics_grid_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_statistics_count %}
+ {% block sw_dashboard_statistics_count_before %}{% endblock %}
+
+ {% block sw_dashboard_statistics_count_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_statistics_count_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_statistics_count_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_statistics_sum %}
+ {% block sw_dashboard_statistics_sum_before %}{% endblock %}
+
+ {% block sw_dashboard_statistics_sum_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_statistics_sum_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_statistics_sum_after %}{% endblock %}
+{% endblock %}
diff --git a/src/Resources/app/administration/src/module/sw-dashboard-index/index.js b/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/index.js
similarity index 71%
rename from src/Resources/app/administration/src/module/sw-dashboard-index/index.js
rename to src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/index.js
index 23f9150..eda205e 100644
--- a/src/Resources/app/administration/src/module/sw-dashboard-index/index.js
+++ b/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/index.js
@@ -1,10 +1,10 @@
-import './acl';
+import './../../acl';
import template from './sw-dashboard-index.html.twig';
import './sw-dashboard-index.scss';
-import deDE from './snippet/de-DE.json';
-import enGB from './snippet/en-GB.json';
+import deDE from './../../snippet/de-DE.json';
+import enGB from './../../snippet/en-GB.json';
const { Component } = Shopware;
diff --git a/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/sw-dashboard-index.html.twig b/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/sw-dashboard-index.html.twig
new file mode 100644
index 0000000..3b9b793
--- /dev/null
+++ b/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/sw-dashboard-index.html.twig
@@ -0,0 +1,49 @@
+{% block sw_dashboard_index %}
+ {% block sw_dashboard_index_before %}{% endblock %}
+
+ {% block sw_dashboard_index_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_index_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_index_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_index_content_intro_card %}
+ {% block sw_dashboard_index_content_intro_card_before %}{% endblock %}
+
+ {% block sw_dashboard_index_content_intro_card_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_index_content_intro_card_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_index_content_intro_card_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_index_content_info_grid %}
+ {% block sw_dashboard_index_content_info_grid_before %}{% endblock %}
+
+ {% block sw_dashboard_index_content_info_grid_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_index_content_info_grid_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_index_content_info_grid_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_index_content_info__grid_inner_welcome_card %}
+ {% block sw_dashboard_index_content_info__grid_inner_welcome_card_before %}{% endblock %}
+
+ {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_index_content_info__grid_inner_welcome_card_after %}{% endblock %}
+{% endblock %}
+
+{% block sw_dashboard_index_content_grid_info_inner_feedback_card %}
+ {% block sw_dashboard_index_content_grid_info_inner_feedback_card_before %}{% endblock %}
+
+ {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_before %}{% endblock %}
+ {% parent() %}
+ {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_after %}{% endblock %}
+
+ {% block sw_dashboard_index_content_grid_info_inner_feedback_card_after %}{% endblock %}
+{% endblock %}
diff --git a/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/sw-dashboard-index.scss b/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/sw-dashboard-index.scss
new file mode 100644
index 0000000..3677820
--- /dev/null
+++ b/src/Resources/app/administration/src/module/sw-dashboard/page/sw-dashboard-index/sw-dashboard-index.scss
@@ -0,0 +1,25 @@
+.sw-page__outer {
+ position: relative;
+ height: 100%;
+
+ .sw-dashboard-index__welcome-text {
+ margin-bottom: 32px;
+ }
+
+ .sw-dashboard-index__card-grid {
+ margin-top: 0;
+ }
+
+ .sw-card {
+ display: none;
+
+ &.sw-dashboard-statistics__statistics-count,
+ &.sw-dashboard-statistics__statistics-sum {
+ display: block;
+ }
+ }
+
+ .sw-dashboard-statistics__card-headline + div > .sw-card {
+ display: block;
+ }
+}
diff --git a/src/Resources/app/administration/src/module/sw-dashboard-index/snippet/de-DE.json b/src/Resources/app/administration/src/module/sw-dashboard/snippet/de-DE.json
similarity index 90%
rename from src/Resources/app/administration/src/module/sw-dashboard-index/snippet/de-DE.json
rename to src/Resources/app/administration/src/module/sw-dashboard/snippet/de-DE.json
index 5e2a495..2a52e9c 100644
--- a/src/Resources/app/administration/src/module/sw-dashboard-index/snippet/de-DE.json
+++ b/src/Resources/app/administration/src/module/sw-dashboard/snippet/de-DE.json
@@ -4,7 +4,6 @@
"dashboard": {
"label": "Dashboard",
"intro": "Begrüßung ausblenden",
- "campaign_banner": "Banner ausblenden",
"welcome": "Checkliste ausblenden",
"feedback": "Feedback ausblenden",
"stats_today": "Statistik des Tages ausblenden",
diff --git a/src/Resources/app/administration/src/module/sw-dashboard-index/snippet/en-GB.json b/src/Resources/app/administration/src/module/sw-dashboard/snippet/en-GB.json
similarity index 90%
rename from src/Resources/app/administration/src/module/sw-dashboard-index/snippet/en-GB.json
rename to src/Resources/app/administration/src/module/sw-dashboard/snippet/en-GB.json
index 95d4b8a..89ef9f1 100644
--- a/src/Resources/app/administration/src/module/sw-dashboard-index/snippet/en-GB.json
+++ b/src/Resources/app/administration/src/module/sw-dashboard/snippet/en-GB.json
@@ -4,7 +4,6 @@
"dashboard": {
"label": "Dashboard",
"intro": "Hide greeting",
- "campaign_banner": "Hide banner",
"welcome": "Hide checklist area",
"feedback": "Hide feedback area",
"stats_today": "Hide today's statistics",
diff --git a/src/Resources/public/administration/css/sschreier-administration-dashboard.css b/src/Resources/public/administration/css/sschreier-administration-dashboard.css
index 359339c..a71ded4 100644
--- a/src/Resources/public/administration/css/sschreier-administration-dashboard.css
+++ b/src/Resources/public/administration/css/sschreier-administration-dashboard.css
@@ -1 +1 @@
-.sw-page__outer{position:relative;height:100%}.sw-page__outer .sw-card{display:none}.sw-page__outer .sw-card.sw-card--grid,.sw-page__outer .sw-card.sw-dashboard-index__statistics-count,.sw-page__outer .sw-card.sw-dashboard-index__statistics-sum{display:block}
\ No newline at end of file
+.sw-page__outer{position:relative;height:100%}.sw-page__outer .sw-dashboard-index__welcome-text{margin-bottom:32px}.sw-page__outer .sw-dashboard-index__card-grid{margin-top:0}.sw-page__outer .sw-card{display:none}.sw-page__outer .sw-card.sw-dashboard-statistics__statistics-count,.sw-page__outer .sw-card.sw-dashboard-statistics__statistics-sum,.sw-page__outer .sw-dashboard-statistics__card-headline+div>.sw-card{display:block}
\ No newline at end of file
diff --git a/src/Resources/public/administration/js/sschreier-administration-dashboard.js b/src/Resources/public/administration/js/sschreier-administration-dashboard.js
index 9abe9a1..2c5643b 100644
--- a/src/Resources/public/administration/js/sschreier-administration-dashboard.js
+++ b/src/Resources/public/administration/js/sschreier-administration-dashboard.js
@@ -1 +1 @@
-!function(n){var e={};function t(a){if(e[a])return e[a].exports;var o=e[a]={i:a,l:!1,exports:{}};return n[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=n,t.c=e,t.d=function(n,e,a){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:a})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(a,o,function(e){return n[e]}.bind(null,o));return a},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="/bundles/sschreieradministrationdashboard/",t(t.s="o9ZY")}({AUD9:function(n){n.exports=JSON.parse('{"sw-privileges":{"additional_permissions":{"dashboard":{"label":"Dashboard","intro":"Begrüßung ausblenden","campaign_banner":"Banner ausblenden","welcome":"Checkliste ausblenden","feedback":"Feedback ausblenden","stats_today":"Statistik des Tages ausblenden","statistics_count":"Statistiken Bestellungen ausblenden","statistics_sum":"Statistiken Umsatz ausblenden"}}}}')},GiuG:function(n){n.exports=JSON.parse('{"sw-privileges":{"additional_permissions":{"dashboard":{"label":"Dashboard","intro":"Hide greeting","campaign_banner":"Hide banner","welcome":"Hide checklist area","feedback":"Hide feedback area","stats_today":"Hide today\'s statistics","statistics_count":"Hide Statistics Orders","statistics_sum":"Hide Statistics Turnover"}}}}')},SZ7m:function(n,e,t){"use strict";function a(n,e){for(var t=[],a={},o=0;ot.parts.length&&(a.parts.length=t.parts.length)}else{var r=[];for(o=0;o\n {% block sw_dashboard_index_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_intro_card %}\n {% block sw_dashboard_index_content_intro_card_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_card_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_intro_card_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_card_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_campaign_banner %}\n {% block sw_dashboard_index_content_campaign_banner_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_campaign_banner_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_campaign_banner_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_campaign_banner_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_info_grid %}\n {% block sw_dashboard_index_content_info_grid_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_info_grid_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_info_grid_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_info_grid_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_info__grid_inner_welcome_card %}\n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_grid_info_inner_feedback_card %}\n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_intro_stats_headline %}\n {% block sw_dashboard_index_content_intro_stats_headline_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_stats_headline_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_intro_stats_headline_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_stats_headline_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_intro_stats_today %}\n {% block sw_dashboard_index_content_intro_stats_today_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_stats_today_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_intro_stats_today_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_stats_today_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_grid %}\n {% block sw_dashboard_index_content_grid_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_grid_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_grid_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_grid_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_statistics_headline %}\n {% block sw_dashboard_index_content_statistics_headline_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_statistics_headline_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_statistics_headline_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_statistics_headline_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_statistics_count %}\n {% block sw_dashboard_index_content_statistics_count_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_statistics_count_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_statistics_count_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_statistics_count_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_statistics_sum %}\n {% block sw_dashboard_index_content_statistics_sum_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_statistics_sum_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_statistics_sum_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_statistics_sum_after %}{% endblock %}\n{% endblock %}\n",snippets:{"de-DE":a,"en-GB":o},inject:{acl:"acl"}})},y9GT:function(n,e){Shopware.Service("privileges")&&Shopware.Service("privileges").addPrivilegeMappingEntry({category:"additional_permissions",parent:null,key:"dashboard",roles:{intro:{privileges:[],dependencies:[]},campaign_banner:{privileges:[],dependencies:[]},welcome:{privileges:[],dependencies:[]},feedback:{privileges:[],dependencies:[]},stats_today:{privileges:[],dependencies:[]},statistics_count:{privileges:[],dependencies:[]},statistics_sum:{privileges:[],dependencies:[]}}})}});
\ No newline at end of file
+!function(e){var n={};function t(a){if(n[a])return n[a].exports;var s=n[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var s in e)t.d(a,s,function(n){return e[n]}.bind(null,s));return a},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p=(window.__sw__.assetPath + '/bundles/sschreieradministrationdashboard/'),t(t.s="Y3/o")}({"/UZg":function(e,n){Shopware.Service("privileges")&&Shopware.Service("privileges").addPrivilegeMappingEntry({category:"additional_permissions",parent:null,key:"dashboard",roles:{intro:{privileges:[],dependencies:[]},welcome:{privileges:[],dependencies:[]},feedback:{privileges:[],dependencies:[]},stats_today:{privileges:[],dependencies:[]},statistics_count:{privileges:[],dependencies:[]},statistics_sum:{privileges:[],dependencies:[]}}})},LDQ1:function(e){e.exports=JSON.parse('{"sw-privileges":{"additional_permissions":{"dashboard":{"label":"Dashboard","intro":"Hide greeting","welcome":"Hide checklist area","feedback":"Hide feedback area","stats_today":"Hide today\'s statistics","statistics_count":"Hide Statistics Orders","statistics_sum":"Hide Statistics Turnover"}}}}')},P8hj:function(e,n,t){"use strict";function a(e,n){for(var t=[],a={},s=0;st.parts.length&&(a.parts.length=t.parts.length)}else{var r=[];for(s=0;s\n {% block sw_dashboard_index_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_intro_card %}\n {% block sw_dashboard_index_content_intro_card_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_card_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_intro_card_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_intro_card_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_info_grid %}\n {% block sw_dashboard_index_content_info_grid_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_info_grid_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_info_grid_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_info_grid_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_info__grid_inner_welcome_card %}\n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_info__grid_inner_welcome_card_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_index_content_grid_info_inner_feedback_card %}\n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_before %}{% endblock %}\n \n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_inner_after %}{% endblock %}\n \n {% block sw_dashboard_index_content_grid_info_inner_feedback_card_after %}{% endblock %}\n{% endblock %}\n",snippets:{"de-DE":a,"en-GB":s},inject:{acl:"acl"}});Shopware.Component.override("sw-dashboard-statistics",{template:"{% block sw_dashboard_statistics_intro_stats_headline %}\n {% block sw_dashboard_statistics_intro_stats_headline_before %}{% endblock %}\n \n {% block sw_dashboard_statistics_intro_stats_headline_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_statistics_intro_stats_headline_inner_after %}{% endblock %}\n \n {% block sw_dashboard_statistics_intro_stats_headline_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_statistics_intro_stats_today %}\n {% block sw_dashboard_statistics_intro_stats_today_before %}{% endblock %}\n \n {% block sw_dashboard_statistics_intro_stats_today_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_statistics_intro_stats_today_inner_after %}{% endblock %}\n \n {% block sw_dashboard_statistics_intro_stats_today_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_statistics_grid %}\n {% block sw_dashboard_statistics_grid_before %}{% endblock %}\n \n {% block sw_dashboard_statistics_grid_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_statistics_grid_inner_after %}{% endblock %}\n \n {% block sw_dashboard_statistics_grid_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_statistics_count %}\n {% block sw_dashboard_statistics_count_before %}{% endblock %}\n \n {% block sw_dashboard_statistics_count_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_statistics_count_inner_after %}{% endblock %}\n \n {% block sw_dashboard_statistics_count_after %}{% endblock %}\n{% endblock %}\n\n{% block sw_dashboard_statistics_sum %}\n {% block sw_dashboard_statistics_sum_before %}{% endblock %}\n \n {% block sw_dashboard_statistics_sum_inner_before %}{% endblock %}\n {% parent() %}\n {% block sw_dashboard_statistics_sum_inner_after %}{% endblock %}\n \n {% block sw_dashboard_statistics_sum_after %}{% endblock %}\n{% endblock %}\n",inject:{acl:"acl"}})},xspp:function(e,n,t){var a=t("yAPE");a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);(0,t("P8hj").default)("4bcc1fe9",a,!0,{})},yAPE:function(e,n,t){}});
\ No newline at end of file
diff --git a/src/SschreierAdministrationDashboard.php b/src/SschreierAdministrationDashboard.php
index bc12ff4..ad3011f 100644
--- a/src/SschreierAdministrationDashboard.php
+++ b/src/SschreierAdministrationDashboard.php
@@ -1,9 +1,11 @@
-