diff options
Diffstat (limited to 'views/order/view_customerdata.phtml')
| -rw-r--r-- | views/order/view_customerdata.phtml | 13 |
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')) { ?>
- [ <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> ]
+ [ <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> ]
<?php } ?>
<?php echo wpsg_drawForm_TextEnd(__('Kundennummer', 'wpsg')); ?>
|
