[Koha-bugs] [Bug 17588] Move GetMemberIssuesAndFines to Koha::Patron
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 10 15:57:38 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17588
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #57992|0 |1
is obsolete| |
--- Comment #5 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 58759
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58759&action=edit
[SIGNED-OFF] Bug 17588: Koha::Patrons - Move GetMemberIssuesAndFines
The GetMemberIssuesAndFines subroutine used to retrieve the issues,
overdues and fines for a given patron. Most of the time, only 1 or 2 of
these values were used.
This patch removes this subroutine and uses the new get_issues,
get_overdues and get_balance method from Koha::Patron and Koha::Account::Lines.
Test plan:
1/ Add overdues, issues and fines to different patrons
2/ On the checkout, checkin and patron search result and the patron
detail pages, these 3 informations, if displayed before this patch, must be
correctly displayed.
3/ Use the batch patron deletion tool and make sure that patrons with a
balance > 0 are not deleted
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list