From 40bc0681c7114424f0cc1eae62025005e9157d13 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 19 Nov 2019 05:42:59 +0000 Subject: - Bugfix: Verlinkung zum Kunden in Statistik / Bestellverwaltung wiederhergestellt git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7612 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_kundenverwaltung/index_setAccount.phtml | 12 ++++++++++-- views/mods/mod_statistics/customermap/all.phtml | 6 +++++- views/mods/mod_statistics/produkt_edit_sidebar.phtml | 6 +++++- views/mods/mod_statistics/statisticProduct.phtml | 12 ++++++++++-- views/order/view_customerdata.phtml | 13 +++++++++++-- 5 files changed, 41 insertions(+), 8 deletions(-) diff --git a/views/mods/mod_kundenverwaltung/index_setAccount.phtml b/views/mods/mod_kundenverwaltung/index_setAccount.phtml index a3af845..f5ebc2e 100644 --- a/views/mods/mod_kundenverwaltung/index_setAccount.phtml +++ b/views/mods/mod_kundenverwaltung/index_setAccount.phtml @@ -83,7 +83,11 @@ - " href="wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=id; ?>" class="row-title">GetNr().' '.$c->getLabel()); ?> + " href=" $c->id]); + + ?>" class="row-title">GetNr().' '.$c->getLabel()); ?> getEMail()) > 0) { ?> getEMail(); ?> @@ -143,7 +147,11 @@ - " href="wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id=id; ?>" class="row-title">GetNr().' '.$c->getLabel()); ?> + " href=" $c->id]); + + ?>" class="row-title">GetNr().' '.$c->getLabel()); ?> getEMail()) > 0) { ?> getEMail(); ?> diff --git a/views/mods/mod_statistics/customermap/all.phtml b/views/mods/mod_statistics/customermap/all.phtml index 20e86d4..3116221 100644 --- a/views/mods/mod_statistics/customermap/all.phtml +++ b/views/mods/mod_statistics/customermap/all.phtml @@ -28,7 +28,11 @@ markers.push(marker); google.maps.event.addListener(marker, 'click', function() { - location.href = ''; + location.href = ' $m['customer']['id']]); + + ?>'; } ); bounds.extend(marker.getPosition()); diff --git a/views/mods/mod_statistics/produkt_edit_sidebar.phtml b/views/mods/mod_statistics/produkt_edit_sidebar.phtml index 639756f..d85587a 100644 --- a/views/mods/mod_statistics/produkt_edit_sidebar.phtml +++ b/views/mods/mod_statistics/produkt_edit_sidebar.phtml @@ -63,7 +63,11 @@ foreach ($this->view['odata'] as $pa) { ?> - + diff --git a/views/mods/mod_statistics/statisticProduct.phtml b/views/mods/mod_statistics/statisticProduct.phtml index b542742..e9ca64b 100644 --- a/views/mods/mod_statistics/statisticProduct.phtml +++ b/views/mods/mod_statistics/statisticProduct.phtml @@ -31,8 +31,16 @@ unset($this->view['odata']['sum']); foreach ($this->view['odata'] as $pa) { ?> - - + + 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 @@ view['pflicht']['email'] != '2') { ?> hasMod('wpsg_mod_kundenverwaltung')) { ?> - view['data']['k_id'].'">'.$this->view['data']['email'].''); ?> + $this->view['data']['k_id']]). + + '">'.$this->view['data']['email'].''); ?>
@@ -93,7 +97,12 @@ view['oOrder']->getCustomer()->getNr(); ?> hasMod('wpsg_mod_kundenverwaltung')) { ?> - [   ] + [   ] -- cgit v1.2.3