Just what the title says :)
Specifically: moremember.pl
Test plan:
Check if you see the locked message on the patron form for an account
that has been locked. (Either login_attempts<0 or >FailedLoginAttempts)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a>
</li>
[% END %]
+
+ [% IF patron.account_locked %]
+ <li class="blocker">Account has been [% IF patron.login_attempts < 0 %]administratively [% END %]locked out.</li>
+ [% END %]
</ul>
</div>
[% END %]
$template->param( 'userdebarreddate' => $patron->debarred );
}
}
+$template->param( flagged => 1 ) if $patron->account_locked;
my @relatives;
if ( my $guarantor = $patron->guarantor ) {