summaryrefslogtreecommitdiff
path: root/views/mods/mod_statistics/customermap
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/mods/mod_statistics/customermap
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/mods/mod_statistics/customermap')
-rw-r--r--views/mods/mod_statistics/customermap/all.phtml6
1 files changed, 5 insertions, 1 deletions
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<?php echo $i; ?>);
google.maps.event.addListener(marker<?php echo $i; ?>, 'click', function() {
- location.href = '<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Customer&action=edit&edit_id='.$m['customer']['id']; ?>';
+ location.href = '<?php
+
+ echo wpsg_admin_url('Customer', 'edit', ['edit_id' => $m['customer']['id']]);
+
+ ?>';
} );
bounds.extend(marker<?php echo $i; ?>.getPosition());
<?php $i ++; } ?>