diff --git a/mails/en/credit_slip.html b/mails/en/credit_slip.html index 6699fa084..f7a8ded54 100644 --- a/mails/en/credit_slip.html +++ b/mails/en/credit_slip.html @@ -102,7 +102,7 @@ - You can review this credit slip and download your invoice from the "My credit slips" section of your account by clicking "My account" on our shop. + You can review this credit slip and download your invoice from the "My credit slips" section of your account by clicking "My account" on our shop. diff --git a/mails/en/credit_slip.txt b/mails/en/credit_slip.txt index ea3727f85..f0c1422ea 100644 --- a/mails/en/credit_slip.txt +++ b/mails/en/credit_slip.txt @@ -7,7 +7,7 @@ We have generated a credit slip in your name for order with the reference {order_name}. You can review this credit slip and download your invoice from the -"My credit slips" [/{history_url}] section of your account by clicking +"My credit slips" [/{credit_slip_url}] section of your account by clicking "My account" [/{my_account_url}] on our shop. {shop_name} [/{shop_url}] powered by Webkul(tm) diff --git a/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php b/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php index 9bad576c7..ee2af9910 100644 --- a/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php +++ b/modules/hotelreservationsystem/controllers/admin/AdminOrderRefundRequestsController.php @@ -448,6 +448,8 @@ class AdminOrderRefundRequestsController extends ModuleAdminController Hook::exec('actionOrderSlipAdd', array('order' => $objOrder, 'bookingList' => $bookingList)); + $params['{credit_slip_url}'] = $this->context->link->getPageLink('order-slip', true); + @Mail::Send( (int)$objOrder->id_lang, 'credit_slip',