From 768702be7af6afe8df4558c56ef3bd3d09562603 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Jul 2023 11:55:33 +0200 Subject: [PATCH] Bug 33863: Reset value if checkbox is unchecked Signed-off-by: Michaela Sieber Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 40fb1ba879..67eb84210b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -918,6 +918,8 @@ } else { $("#select_currency").hide(); $("#unitprice").prop("readonly", ""); + $("#invoice_unitprice").val(""); + $("#invoice_currency").val(active_currency); } }); -- 2.39.5