@@ -, +, @@ --- .../prog/en/modules/reserve/request.tt | 4 ++++ reserve/request.pl | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -333,6 +333,10 @@ function checkMultiHold() {
  • [% borrowerfirstname %] [% borrowersurname %]'s account has expired
  • [% END %] + [% IF restricted %] +
  • [% borrowerfirstname %] [% borrowersurname %] has restrictions
  • + [% END %] + [% IF amount_outstanding && Koha.Preference('maxoutstanding') && amount_outstanding > Koha.Preference('maxoutstanding') %]
  • [% borrowerfirstname %] [% borrowersurname %] owes [% amount_outstanding | format('%.2f') %]
  • [% END %] --- a/reserve/request.pl +++ a/reserve/request.pl @@ -44,6 +44,7 @@ use C4::Utils::DataTables::Members; use C4::Members; use C4::Search; # enabled_staff_search_views use Koha::DateUtils; +use Koha::Borrower::Debarments qw(IsDebarred); my $dbh = C4::Context->dbh; my $sth; @@ -176,6 +177,7 @@ if ($borrowernumber_hold && !$action) { diffbranch => $diffbranch, messages => $messages, warnings => $warnings, + restricted => IsDebarred($borrowerinfo->{'borrowernumber'}), amount_outstanding => GetMemberAccountRecords($borrowerinfo->{borrowernumber}), ); } --