[Koha-bugs] [Bug 26053] Add styling to show expired patron restrictions as inactive

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 9 11:56:35 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26053

--- Comment #35 from Fridolin Somers <fridolin.somers at biblibre.com> ---

To be super clear I added a comment and variable :

+    # This condition must be consistent with Koha::Patron->is_debarred
+    my $makes_patron_debarred = dt_from_string( $self->expiration ) >
dt_from_string;
+    return 1 unless $makes_patron_debarred;

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list