@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/js/acq.js | 5 +++++ .../prog/en/modules/acqui/neworderempty.tmpl | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js @@ -676,6 +676,11 @@ function calcNeworderTotal(){ if (f.GST) { f.GST.value=GST; } + + // In case the discount changed, we should update the message + var discount_2dp = discount.toFixed(2); + $('#discount_value').html(discount_2dp); + return true; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl @@ -125,7 +125,6 @@ ff.submit(); " /> " /> " /> - " /> " /> " /> " /> @@ -292,15 +291,27 @@ ff.submit(); " /> (adjusted for ) + + +
  • - + + Discount: + " />" + + + " onchange="calcNeworderTotal()"/> + +
  • +
  • + " readonly="readonly" /> " /> - (adjusted for % discount) + (adjusted for % discount)
  • --