From 12427cdef0a0ec5ec2509ff0f3f0208c99daa536 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 3 Feb 2023 00:10:25 +0000 Subject: [PATCH] Bug 30928: Update Accounts.pm and Recalls.pm --- Koha/Account.pm | 1 + Koha/Recalls.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Koha/Account.pm b/Koha/Account.pm index e37e6465969..b0f3dc5254e 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -254,6 +254,7 @@ sub add_credit { type => lc($credit_type), amount => $amount, borrowernumber => $self->{patron_id}, + interface => $interface, } ) if grep { $credit_type eq $_ } ( 'PAYMENT', 'WRITEOFF' ); diff --git a/Koha/Recalls.pm b/Koha/Recalls.pm index 36d891d1951..03d17275627 100644 --- a/Koha/Recalls.pm +++ b/Koha/Recalls.pm @@ -173,7 +173,8 @@ sub add_recall { borrowernumber => $recall->patron_id, itemtype => $item->effective_itemtype, ccode => $item->ccode, - categorycode => $checkout->patron->categorycode + categorycode => $checkout->patron->categorycode, + interface => $interface, } ); -- 2.30.2