@@ -, +, @@ acquisitions templates - Uncertain prices - Locate a vendor which has orders with uncertain prices - Click the 'Uncertain prices' tab in the left-hand sidebar - Enter invalid data in the "price" field for any order. Confirm that an error is triggered when the field loses focus. --- .../prog/en/modules/acqui/uncertainprice.tt | 29 +++++++++------------- 1 file changed, 12 insertions(+), 17 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt @@ -13,18 +13,16 @@ ], "sPaginationType": "four_button" } ) ); + $(".check_uncertain").on("change",function(){ + var form = document.getElementById("uncertainprices"); + var ordernumber = $(this).data("ordernumber"); + uncheckbox( form, ordernumber ); + }); }); var MSG_INVALIDPRICE = _("ERROR: Price is not a valid number, please check the price and try again!"); //]]> -
[% INCLUDE 'header.inc' %] @@ -75,10 +73,10 @@ function check(form) { [% END %]