From 455dda8ba4aac15c7dcd17992f55748ebcc19b2d Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 28 Jan 2019 09:27:20 +0000 Subject: - Filteransicht für Produktgruppen in Bestellverwaltung (Optional) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7269 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_productgroups/settings_edit.phtml | 6 ++++- views/order/index.phtml | 33 +++++++++++++++++++++++- 2 files changed, 37 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/mods/mod_productgroups/settings_edit.phtml b/views/mods/mod_productgroups/settings_edit.phtml index 90aaba1..6dfc6fd 100644 --- a/views/mods/mod_productgroups/settings_edit.phtml +++ b/views/mods/mod_productgroups/settings_edit.phtml @@ -12,4 +12,8 @@ 'buyed' => __('Anzahl Verkäufe', 'wpsg'), 'erstellungsdatum' => __('Erstellungsdatum', 'wpsg'), 'preis' => __('Preis', 'wpsg') -), $this->get_option('wpsg_productgroups_order'), array('help' => 'wpsg_mod_productgroups_order')); ?> \ No newline at end of file +), $this->get_option('wpsg_productgroups_order'), array('help' => 'wpsg_mod_productgroups_order')); ?> + +
+ +get_option('wpsg_mod_productgroups_order_filter')); ?> diff --git a/views/order/index.phtml b/views/order/index.phtml index 1a7850d..afa5697 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -53,7 +53,7 @@ - hasMod('wpsg_mod_productgroups')) { ?> + hasMod('wpsg_mod_productgroups') && $this->get_option('wpsg_mod_productgroups_order_filter') === '1') { ?> callMod('wpsg_mod_productgroups', 'getAllProductGroups'); ?> __('Alle', 'wpsg')] + $arProductgroups, wpsg_getStr($this->view['arFilter']['productgroup_id'])); ?> @@ -184,7 +184,25 @@

+ + hasMod('wpsg_mod_productgroups') && $this->get_option('wpsg_mod_productgroups_order_filter') === '1') { $arPG = $this->callMod('wpsg_mod_productgroups', 'getAllProductGroups', [true]); ?> +
+
+ +
+
+ + +