From ca2737e07a196994d77ec09eabe32bde40c3c66e Mon Sep 17 00:00:00 2001 From: Mark W <24956497+ndg63276@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:02:44 +0100 Subject: [PATCH] LIMS-1382: Add message to users about using the shipping service (#801) Co-authored-by: Mark Williams --- client/src/js/modules/shipment/views/dispatch.js | 4 ++++ client/src/js/templates/shipment/dispatch.html | 2 ++ 2 files changed, 6 insertions(+) diff --git a/client/src/js/modules/shipment/views/dispatch.js b/client/src/js/modules/shipment/views/dispatch.js index 6e1d48f93..113415195 100644 --- a/client/src/js/modules/shipment/views/dispatch.js +++ b/client/src/js/modules/shipment/views/dispatch.js @@ -81,6 +81,7 @@ define(['marionette', 'views/form', lab: 'input[name=LABNAME]', submit: 'button[name=submit]', + shippingadvice: '.shippingadvice', facc: 'a.facc', accountNumber: 'input[NAME=DELIVERYAGENT_AGENTCODE]', @@ -294,8 +295,10 @@ define(['marionette', 'views/form', this.ui.dispatchDetails.hide() this.model.dispatchDetailsRequired = false this.ui.submit.text("Proceed") + this.ui.shippingadvice.html("On clicking 'Proceed' you will be redirected to the new Diamond shipping service to book the shipment. Please ensure all stages of the form are completed.

") } else { this.ui.submit.text("Request Dewar Dispatch") + this.ui.shippingadvice.html("") } }, @@ -332,6 +335,7 @@ define(['marionette', 'views/form', this.model.visitRequired = false this.ui.dispatchDetails.hide() this.ui.submit.text("Proceed") + this.ui.shippingadvice.html("On clicking 'Proceed' you will be redirected to the new Diamond shipping service to book the shipment. Please ensure all stages of the form are completed.

") } }, diff --git a/client/src/js/templates/shipment/dispatch.html b/client/src/js/templates/shipment/dispatch.html index 292c952fe..74ed6e56f 100644 --- a/client/src/js/templates/shipment/dispatch.html +++ b/client/src/js/templates/shipment/dispatch.html @@ -186,6 +186,8 @@

Request Dewar Dispatch

+
+