[Koha-bugs] [Bug 14784] Missing checkin message for debarred patrons when issuing rules 'fine days = 0'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 15 16:50:05 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14784
--- Comment #74 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 137727
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137727
Bug 14784: Fix checkin message for restricted patrons
Review of attachment 137727:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14784&attachment=137727)
-----------------------------------------------------------------
::: C4/Circulation.pm
@@ +2296,4 @@
> if ( $issue and $issue->is_overdue($return_date) ) {
> # fix fine days
> my ($debardate,$reminder) = _debar_user_on_return( $patron_unblessed, $item->unblessed, dt_from_string($issue->date_due), $return_date );
> + if ($debardate and $debardate ne "9999-12-31") {
There really shouldn't be any 9999-12-31 dates left for debardate.. we tried to
clean them all up back with the 3.15.00.029 database update.
@@ +2302,5 @@
> + } else {
> + $messages->{'Debarred'} = $debardate;
> + }
> + } elsif ($patron->debarred) {
> + if ( $patron->debarred eq "9999-12-31") {
As above
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list