From fb70c224b39c13aec5b0714facb9f30dc38b7b2f 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 (cherry picked from commit 9dd6fa2d8d015b16a60bb1f1cc6bda8dba3ce662) Signed-off-by: Fridolin Somers --- 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 613960cef1..2a3fcc5181 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -1098,7 +1098,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