Line 15... |
Line 15... |
15 |
</div>
|
15 |
</div>
|
16 |
<div class="collapse navbar-collapse" id="bs-customer-navbar-collapse-1">
|
16 |
<div class="collapse navbar-collapse" id="bs-customer-navbar-collapse-1">
|
17 |
<ul class="nav navbar-nav">
|
17 |
<ul class="nav navbar-nav">
|
18 |
<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>
|
18 |
<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>
|
19 |
<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>
|
19 |
<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>
|
- |
|
20 |
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php
|
20 |
<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>
|
21 |
|
- |
|
22 |
echo wpsg_admin_url('Customer', 'add');
|
- |
|
23 |
|
- |
|
24 |
?>"><span class="glyphicon glyphicon-plus"></span><?php echo __("Hinzufügen", "wpsg");
|
- |
|
25 |
|
- |
|
26 |
?></a></li>
|
21 |
|
27 |
|
22 |
<?php /* Integration Exportprofile */ ?>
|
28 |
<?php /* Integration Exportprofile */ ?>
|
23 |
<?php if ($this->hasMod('wpsg_mod_export')) { $arProfile = $this->callMod('wpsg_mod_export', 'getProfile', array(wpsg_mod_export::TYPE_CUSTOMER)); ?>
|
29 |
<?php if ($this->hasMod('wpsg_mod_export')) { $arProfile = $this->callMod('wpsg_mod_export', 'getProfile', array(wpsg_mod_export::TYPE_CUSTOMER)); ?>
|
24 |
<?php if (wpsg_isSizedArray($arProfile)) { ?>
|
30 |
<?php if (wpsg_isSizedArray($arProfile)) { ?>
|
25 |
<li role="presentation" class="wpsg_showhide_export"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-export"></span><?php echo __('Kundenexport (Exportprofile)', 'wpsg'); ?></a></li>
|
31 |
<li role="presentation" class="wpsg_showhide_export"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-export"></span><?php echo __('Kundenexport (Exportprofile)', 'wpsg'); ?></a></li>
|
26 |
<?php } ?>
|
32 |
<?php } ?>
|
27 |
<?php } ?>
|
33 |
<?php } ?>
|
28 |
|
34 |
|
29 |
</ul>
|
35 |
</ul>
|
30 |
<ul class="nav navbar-nav navbar-right">
|
36 |
<ul class="nav navbar-nav navbar-right">
|
- |
|
37 |
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'import'))?'active':''); ?>"><a href="<?php
|
31 |
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'import'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=import"><span class="glyphicon glyphicon-import"></span><?php echo __("Daten-Import", "wpsg"); ?></a></li>
|
38 |
|
- |
|
39 |
echo wpsg_admin_url('Customer', 'import', [], ['noheader' => '1']);
|
- |
|
40 |
|
- |
|
41 |
?>"><span class="glyphicon glyphicon-import"></span><?php echo __("Daten-Import", "wpsg"); ?></a></li>
|
32 |
<?php if (wpsg_isSizedArray($this->view['arData'])) { ?>
|
42 |
<?php if (wpsg_isSizedArray($this->view['arData'])) { ?>
|
33 |
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'export'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=export&noheader=1"><span class="glyphicon glyphicon-export"></span><?php echo __("Daten-Export", "wpsg"); ?></a></li>
|
43 |
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'export'))?'active':''); ?>"><a href="<?php
|
- |
|
44 |
|
- |
|
45 |
echo wpsg_admin_url('Customer', 'export', [], ['noheader' => '1']);
|
- |
|
46 |
|
- |
|
47 |
?>"><span class="glyphicon glyphicon-export"></span><?php echo __("Daten-Export", "wpsg"); ?></a></li>
|
34 |
<?php } ?>
|
48 |
<?php } ?>
|
35 |
</ul>
|
49 |
</ul>
|
36 |
</div>
|
50 |
</div>
|
37 |
</div>
|
51 |
</div>
|
38 |
|
52 |
|
Line 157... |
Line 171... |
157 |
<strong><a title="<?php echo __("Diesen Kunden bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=<?php echo $c->id; ?>" class="row-title"><?php echo trim($c->GetNr().' '.$c->getLabel()); ?></a></strong>
|
171 |
<strong><a title="<?php echo __("Diesen Kunden bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=<?php echo $c->id; ?>" class="row-title"><?php echo trim($c->GetNr().' '.$c->getLabel()); ?></a></strong>
|
158 |
<?php if (strlen($c->getEMail()) > 0) { ?>
|
172 |
<?php if (strlen($c->getEMail()) > 0) { ?>
|
159 |
<a href="mailto:<?php echo $c->getEMail(); ?>" title="<?php echo __('Dem Kunden eine E-Mail schreiben.', 'wpsg'); ?>"><?php echo $c->getEMail(); ?></a>
|
173 |
<a href="mailto:<?php echo $c->getEMail(); ?>" title="<?php echo __('Dem Kunden eine E-Mail schreiben.', 'wpsg'); ?>"><?php echo $c->getEMail(); ?></a>
|
160 |
<?php } ?>
|
174 |
<?php } ?>
|
161 |
<div class="row-actions">
|
175 |
<div class="row-actions">
|
- |
|
176 |
<span class="edit"><a title="<?php echo __("Diesen Kunden bearbeiten", "wpsg"); ?>" href="<?php
|
162 |
<span class="edit"><a title="<?php echo __("Diesen Kunden bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=<?php echo $c->id; ?>"><?php echo __("Bearbeiten", "wpsg"); ?></a></span>
|
177 |
|
- |
|
178 |
echo wpsg_admin_url('Customer', 'edit', ['edit_id' => $c->getId()]);
|
- |
|
179 |
|
- |
|
180 |
?>"><?php echo __("Bearbeiten", "wpsg"); ?></a></span>
|
163 |
|
|
181 |
|
|
- |
|
182 |
<span class="del"><a onclick="if (!confirm('<?php echo __("Sind Sie sicher, dass Sie den Kunden löschen wollen?", "wpsg"); ?>')) return false;" title="<?php echo __("Diesen Kunden löschen", "wpsg"); ?>" href="<?php
|
164 |
<span class="del"><a onclick="if (!confirm('<?php echo __("Sind Sie sicher, dass Sie den Kunden löschen wollen?", "wpsg"); ?>')) return false;" title="<?php echo __("Diesen Kunden löschen", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=del&edit_id=<?php echo $c->id; ?>&noheader=1"><?php echo __("Löschen", "wpsg"); ?></a></span>
|
183 |
|
- |
|
184 |
echo wpsg_admin_url('Customer', 'del', ['edit_id' => $c->id]);
|
- |
|
185 |
|
- |
|
186 |
?>&noheader=1"><?php echo __("Löschen", "wpsg"); ?></a></span>
|
165 |
|
|
187 |
|
|
166 |
<span class="order"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&filter%5Bk_id%5D=<?php echo $c->id; ?>"><?php echo __('Bestellungen einsehen', 'wpsg'); ?></a></span>
|
- |
|
167 |
|
188 |
|
168 |
<?php if ($c->status !== '-1') { ?>
|
189 |
<?php if ($c->status !== '-1') { ?>
|
169 |
|
|
190 |
|
|
- |
|
191 |
<span class="order"><a href="<?php
|
170 |
<span class="order"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_kundenverwaltung&noheader=1&be_ajax=su_index&k_id=<?php echo $c->id; ?>"><?php echo __('Kundenlogin simulieren', 'wpsg'); ?></a></span>
|
192 |
|
- |
|
193 |
echo wpsg_admin_url('Admin', 'module', ['modul' => 'wpsg_mod_kundenverwaltung', 'be_ajax' => 'su_index', 'k_id' => $c->getId()], ['noheader' => '1']);
|
- |
|
194 |
|
- |
|
195 |
?>"><?php echo __('Kundenlogin simulieren', 'wpsg'); ?></a></span>
|
171 |
<?php } ?>
|
196 |
<?php } ?>
|
172 |
|
197 |
|
173 |
</div>
|
198 |
</div>
|
174 |
</td>
|
199 |
</td>
|
175 |
<td class="col_adress">
|
200 |
<td class="col_adress">
|