summaryrefslogtreecommitdiff
path: root/views/order/view_orderdata.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/order/view_orderdata.phtml')
-rw-r--r--views/order/view_orderdata.phtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/order/view_orderdata.phtml b/views/order/view_orderdata.phtml
index 55bafd9..e375955 100644
--- a/views/order/view_orderdata.phtml
+++ b/views/order/view_orderdata.phtml
@@ -318,6 +318,22 @@
var WPSG_BE_Mail = {
+ sendAdminMail: function(order_id) {
+
+ jQuery.ajax( {
+ url: '<?php
+
+ echo wpsg_admin_url('Order', 'view', ['subaction' => 'sendAdminMail', 'do' => 'customer', 'edit_id' => $_REQUEST['edit_id']], ['noheader' => '1'], true);
+
+ ?>',
+ data: jQuery('#wpsg_be_discount_form').serialize(),
+ success: function(data) { alert(data); }
+ } );
+
+ return false;
+
+ },
+
sendCustomerMail: function(order_id) {
jQuery.ajax( {