From 2c9ad0a59bfbcc41a1d5bd7b473e0bb6cc375008 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 11 May 2022 15:47:58 +0100 Subject: [PATCH] Bug 29021: RenewAccruingItemWhenPaid renewals are not seen This patch updates the call to AddRewewal from Koha::Accounts to makr the renewal as unseen. Signed-off-by: Matt Blenkinsop Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 5b87d7a473328cfcf772b7faa31871be068d2a05) Signed-off-by: Jacob O'Mara --- Koha/Account/Line.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Account/Line.pm b/Koha/Account/Line.pm index b940d6acef..e7e63adbfa 100644 --- a/Koha/Account/Line.pm +++ b/Koha/Account/Line.pm @@ -1035,7 +1035,7 @@ sub renew_item { $self->{branchcode}, undef, undef, - 1 + 0 ); return { itemnumber => $itemnumber, -- 2.39.5