From a65363acd50e8c1dae2797117d01f6b6687ee870 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 20 Nov 2019 12:52:13 +0000 Subject: [PATCH] Bug 23354: Prevent negatives from being entered Signed-off-by: Kyle M Hall Signed-off-by: Josef Moravec Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt index e6ef773913..44c313dfa6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt @@ -300,6 +300,7 @@ },{ type : 'number', step : '0.01', + min : '0', onblur : 'submit' }); local.$('.editable_int').editable( function(value, settings) { @@ -309,6 +310,7 @@ },{ type : 'number', step : '1', + min : '0', onblur : 'submit' }); }, -- 2.39.5