From 167fa47eb940d6279d71647d6f35d61315a82c22 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 5 Sep 2017 07:42:01 +0000 Subject: - Kundenexport über Exportprofile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6447 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_export/profil.phtml | 18 ++++++++- views/mods/mod_export/profillist.phtml | 1 + views/mods/mod_export/settings_edit.phtml | 3 +- views/mods/mod_kundenverwaltung/index.phtml | 63 ++++++++++++++++++++++++++++- 4 files changed, 81 insertions(+), 4 deletions(-) diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index ee3184c..d3cef88 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -45,7 +45,11 @@ view['profil']['xml_productroottag'], 'xml_productroottag', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?> - view['profil']['xml_producttag'], 'xml_producttag', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?> + view['profil']['export_type'] === wpsg_mod_export::TYPE_CUSTOMER) { ?> + view['profil']['xml_customertag'], 'xml_customertag', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?> + + view['profil']['xml_producttag'], 'xml_producttag', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?> + @@ -203,6 +207,18 @@ + + view['profil']['export_type'] === wpsg_mod_export::TYPE_CUSTOMER) { ?> +
+ +
+ +
+ + view['profil']['orderfilter']['s']), 'orderfilter_s', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?> + +
+
diff --git a/views/mods/mod_export/profillist.phtml b/views/mods/mod_export/profillist.phtml index 4f5e039..c763a0e 100644 --- a/views/mods/mod_export/profillist.phtml +++ b/views/mods/mod_export/profillist.phtml @@ -13,6 +13,7 @@ if ($p['export_type'] === wpsg_mod_export::TYPE_ORDER) $arProfilSelect[$p['id']] .= ' ('.__('Bestellexport', 'wpsg').')'; else if ($p['export_type'] === wpsg_mod_export::TYPE_PRODUCT) $arProfilSelect[$p['id']] .= ' ('.__('Produktexport', 'wpsg').')'; + else if ($p['export_type'] === wpsg_mod_export::TYPE_CUSTOMER) $arProfilSelect[$p['id']] .= ' ('.__('Kundenexport', 'wpsg').')'; } diff --git a/views/mods/mod_export/settings_edit.phtml b/views/mods/mod_export/settings_edit.phtml index 9af617d..b01916d 100644 --- a/views/mods/mod_export/settings_edit.phtml +++ b/views/mods/mod_export/settings_edit.phtml @@ -147,7 +147,8 @@
- +
+

diff --git a/views/mods/mod_kundenverwaltung/index.phtml b/views/mods/mod_kundenverwaltung/index.phtml index e04bd2b..a2e1b1a 100644 --- a/views/mods/mod_kundenverwaltung/index.phtml +++ b/views/mods/mod_kundenverwaltung/index.phtml @@ -18,11 +18,19 @@ + + + hasMod('wpsg_mod_export')) { $arProfile = $this->callMod('wpsg_mod_export', 'getProfile', array(wpsg_mod_export::TYPE_CUSTOMER)); ?> + + + + + @@ -47,6 +55,57 @@ + + hasMod('wpsg_mod_export')) { $arProfile = $this->callMod('wpsg_mod_export', 'getProfile', array(wpsg_mod_export::TYPE_CUSTOMER)); ?> + + + + + render(WPSG_PATH_VIEW.'/admin/pager.phtml'); ?> -- cgit v1.2.3