Bug 34880: Fix order receive for standing orders

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-09-22 10:25:38 +02:00 committed by Tomas Cohen Arazi
parent 15f62f42d6
commit 9dd6fa2d8d
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -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');