From 9dd6fa2d8d015b16a60bb1f1cc6bda8dba3ce662 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 22 Sep 2023 10:25:38 +0200 Subject: [PATCH] Bug 34880: Fix order receive for standing orders Signed-off-by: Katrin Fischer Signed-off-by: Michaela Sieber Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 455cbb3056..7c7c0be717 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -1107,7 +1107,7 @@ origrec[row.order_id] = row.quantity_received; $("#order_edit").data('origrec', origrec); } - if(row.subscription_id) { + if(row.subscription_id || row.basket.standing === true) { row.quantity_received = row.quantity; } var keep = $("#order_edit").data('kept'); -- 2.39.5