summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_rechnungen/order_view.phtml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/mods/mod_rechnungen/order_view.phtml b/views/mods/mod_rechnungen/order_view.phtml
index e7c4b7d..c4eaef5 100644
--- a/views/mods/mod_rechnungen/order_view.phtml
+++ b/views/mods/mod_rechnungen/order_view.phtml
@@ -15,7 +15,11 @@
{
window.setTimeout(function() {
- location.href = '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>';
+ location.href = '<?php
+
+ echo wpsg_admin_url('Order', 'view', ['edit_id' => $this->view['data']['id']]);
+
+ ?>';
}, 1000);
}