summaryrefslogtreecommitdiff
path: root/views/order
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-11-19 05:42:59 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-11-19 05:42:59 +0000
commit40bc0681c7114424f0cc1eae62025005e9157d13 (patch)
tree2daa466231384c54d3abf51a571339ab97c1d032 /views/order
parentffe89722496cbb69ea6201bcc0b066141392f48a (diff)
- Bugfix: Verlinkung zum Kunden in Statistik / Bestellverwaltung wiederhergestellt
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7612 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/order')
-rw-r--r--views/order/view_customerdata.phtml13
1 files changed, 11 insertions, 2 deletions
diff --git a/views/order/view_customerdata.phtml b/views/order/view_customerdata.phtml
index 1fec340..11c65a2 100644
--- a/views/order/view_customerdata.phtml
+++ b/views/order/view_customerdata.phtml
@@ -45,7 +45,11 @@
<?php } ?>
<?php if ($this->view['pflicht']['email'] != '2') { ?>
<?php if ($this->hasMod('wpsg_mod_kundenverwaltung')) { ?>
- <?php echo wpsg_drawForm_Text(__('E-Mail', 'wpsg'),'<a href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id='.$this->view['data']['k_id'].'">'.$this->view['data']['email'].'</a>'); ?>
+ <?php echo wpsg_drawForm_Text(__('E-Mail', 'wpsg'),'<a href="'.
+
+ wpsg_admin_url('Customer', 'edit', ['edit_id' => $this->view['data']['k_id']]).
+
+ '">'.$this->view['data']['email'].'</a>'); ?>
<?php } ?>
<?php } ?>
<br />
@@ -93,7 +97,12 @@
<?php echo wpsg_drawForm_TextStart(); ?>
<?php echo $this->view['oOrder']->getCustomer()->getNr(); ?>
<?php if ($this->hasMod('wpsg_mod_kundenverwaltung')) { ?>
- [&nbsp; <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=<?php echo $this->view['data']['k_id']; ?>"><?php echo __('Zum Kunden', 'wpsg'); ?></a>&nbsp;]
+ [&nbsp; <a href="<?php
+
+ echo wpsg_admin_url('Customer', 'edit', ['edit_id' => $this->view['data']['k_id']]);
+ //echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id='.$this->view['data']['k_id'];
+
+ ?>"><?php echo __('Zum Kunden', 'wpsg'); ?></a>&nbsp;]
<?php } ?>
<?php echo wpsg_drawForm_TextEnd(__('Kundennummer', 'wpsg')); ?>