summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2018-06-07 06:30:37 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2018-06-07 06:30:37 +0000
commit02ab86556af10248129133cf6b1fa67754b7346c (patch)
tree483aefa7579e0e828c3d36d7a440edeeff07bcd1 /views
parent53106a399bf08981beb847d4f2dd74b9e1a145ff (diff)
- Feature: Kundenverwaltung - Suche nach Kundengruppen möglich
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7024 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_kundenverwaltung/index.phtml10
1 files changed, 8 insertions, 2 deletions
diff --git a/views/mods/mod_kundenverwaltung/index.phtml b/views/mods/mod_kundenverwaltung/index.phtml
index 616684f..4123703 100644
--- a/views/mods/mod_kundenverwaltung/index.phtml
+++ b/views/mods/mod_kundenverwaltung/index.phtml
@@ -16,7 +16,7 @@
<div class="collapse navbar-collapse" id="bs-customer-navbar-collapse-1">
<ul class="nav navbar-nav">
<li role="presentation" class="<?php echo ((!isset($_REQUEST['action']))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer" onclick="return false;"><?php echo wpsg_translate(__("Kundenverwaltung (#1# Kunden)", "wpsg"), $this->view['countAll']); ?></a></li>
- <li role="presentation" class="wpsg-customer-tab-a wpsg_showhide_filter <?php echo ((wpsg_isTrue($this->view['hasFilter']))?'activexxxx':''); ?>" id="wpsg-customer-tab-0"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-search"></span><?php echo __("Suche", "wpsg"); ?></a></li>
+ <li role="presentation" class="wpsg-customer-tab-a wpsg_showhide_filter <?php echo ((wpsg_isTrue($this->view['hasFilter']))?'active':''); ?>" id="wpsg-customer-tab-0"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-search"></span><?php echo __("Suche", "wpsg"); ?></a></li>
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=add"><span class="glyphicon glyphicon-plus"></span><?php echo __("Hinzufügen", "wpsg"); ?></a></li>
<?php /* Integration Exportprofile */ ?>
@@ -36,7 +36,7 @@
</div>
</div>
- <div class="wpsg-filter wpsg-customer-tab wpsg-customer-tab-0 container-fluid form-horizontal" style="display:<?php echo ((wpsg_isTrue($this->view['hasFilter']))?'none':'none'); ?>;">
+ <div class="wpsg-filter wpsg-customer-tab wpsg-customer-tab-0 container-fluid form-horizontal" style="display:<?php echo ((wpsg_isTrue($this->view['hasFilter']))?'block':'none'); ?>;">
<div class="row">
<div class="col-lg-4">
<form method="post" id="filter_form">
@@ -47,6 +47,12 @@
<input id="wpsg_ascdesc" type="hidden" name="filter[ascdesc]" value="<?php echo @$this->view['arFilter']['ascdesc']; ?>" />
<?php echo wpsg_drawForm_Input('filter[s]', __('Suchfeld', 'wpsg'), wpsg_getStr($this->view['arFilter']['s'])); ?>
+
+ <?php if ($this->hasMod('wpsg_mod_customergroup')) { ?>
+
+ <?php echo wpsg_drawForm_Select('filter[group_id]', __('Kundengruppe', 'wpsg'), wpsg_array_merge([0 => __('Alle Kundengruppen', 'wpsg')], $this->callMod('wpsg_mod_customergroup', 'getCustomerGroupArray')), wpsg_getStr($this->view['arFilter']['group_id'])); ?>
+
+ <?php } ?>
<?php echo wpsg_drawForm_SubmitButton(__('Kunden suchen')); ?><br />