diff --git a/src/main/features/event-management/views/evaluateSuppliers-readOnly.njk b/src/main/features/event-management/views/evaluateSuppliers-readOnly.njk index 0efb15daae..069a9accde 100644 --- a/src/main/features/event-management/views/evaluateSuppliers-readOnly.njk +++ b/src/main/features/event-management/views/evaluateSuppliers-readOnly.njk @@ -94,20 +94,10 @@
- {{ CCSInput({ - label: { - text: "Final Feedback ", - classes: "govuk-label--m", - name: "enter_evaluation_readOnly" - }, - value:supplierDetails.supplierFeedBack, - id: "enter_evaluation_feedback_readOnly", - name: "enter_evaluation_feedback", - spellcheck: true, - classes: "govuk-input", - maxlength: "5000" - }) - }} +

Final Feedback

+ + +

diff --git a/src/main/public/assets/scripts/validations/validate_award.js b/src/main/public/assets/scripts/validations/validate_award.js index de0f70b913..ffa3596836 100644 --- a/src/main/public/assets/scripts/validations/validate_award.js +++ b/src/main/public/assets/scripts/validations/validate_award.js @@ -18,6 +18,7 @@ const ccsZvalidateStandStillPeriod = (event) => { const radioButtonYes = document.getElementById("standstill_period_yes").checked; const radioButtonNo = document.getElementById("standstill_period_no").checked; + if (radioButtonYes || radioButtonNo) { document.forms["ccs_standstill_period_form"].submit(); } @@ -29,6 +30,16 @@ const ccsZvalidateStandStillPeriod = (event) => { document.addEventListener('DOMContentLoaded', () => { + $('#standstill_period_yes').on('click', function (){ + $('#standstill_period_yes').prop('checked',true); + $('#standstill_period_no').prop('checked', false); + }); + + $('#standstill_period_no').on('click', function (){ + $('#standstill_period_no').prop('checked',true); + $('#standstill_period_yes').prop('checked',false); + }); + if ($("#enter_evaluation_score_readOnly") !=undefined && $("#enter_evaluation_score_readOnly") !=null && $("#enter_evaluation_score_readOnly").length >0 ) { document.getElementById("enter_evaluation_score_readOnly").readOnly = "true"; document.getElementById("enter_evaluation_feedback_readOnly").readOnly = "true";