From 055270f9f930403c38ec8a2d3450f854ae3d9b5a 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 (cherry picked from commit 2c9ad0a59bfbcc41a1d5bd7b473e0bb6cc375008) Signed-off-by: Lucas Gass --- 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 ceb73e7c3e..b8700293a6 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.20.1