]> git.koha-community.org Git - koha.git/commit
Bug 15036: Do not overwrite complete status in basket ops
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 20 Oct 2015 13:19:35 +0000 (14:19 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Nov 2015 18:44:07 +0000 (15:44 -0300)
commit4a4dbbf1237c93e0233eef0600015c9be3320bf0
treeb27c00f323512ec5a82a0c73fa75c4200055a4eb
parente72482340f8a0274a6489dc08c8f9e4ac80be5f3
Bug 15036: Do not overwrite complete status in basket ops

Reopening or closing a basket should preserve the completed
status for receipted orders.

This patch excludes orderlines with the completed status
from having their status rewritten as a result of the
change in basket status

Made the subroutines involved more efficient by removing an
unnecessary loop and by not fetching a large amount of
superfluous data

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Acquisition.pm