@@ -, +, @@ out screens - A patron with no waiting holds. - A patron with one or more holds waiting at the current library. - A patron with one or more holds waiting at another library. - A patron with holds waiting at both the current library and at other libraries. --- .../prog/en/modules/circ/circulation.tt | 66 +++++++++++++++++----- 1 file changed, 51 insertions(+), 15 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -830,7 +830,7 @@ [% SET ClaimReturnedWarningThreshold = Koha.Preference('ClaimReturnedWarningThreshold') %] [% SET return_claims = patron.return_claims %] [% IF return_claims.count > ClaimReturnedWarningThreshold %] -
  • Return claims: Patron has [% return_claims.count | html %] RETURN CLAIMS. +
  • Return claims: Patron has [% return_claims.count | html %] RETURN CLAIMS.
  • [% END %] @@ -869,24 +869,60 @@ [% IF WaitingHolds.count %]
    -

    Holds waiting:

    + [% SET waiting_here = 0 %] + [% SET waiting_elsewhere = 0 %] [% FOREACH w IN WaitingHolds %] + [% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %] + [% waiting_here = waiting_here + 1 %] + [% ELSE %] + [% waiting_elsewhere = waiting_elsewhere + 1 %] + [% END %] + [% END %] + + [% IF ( waiting_here > 0 ) %] +

    Holds waiting here ([% waiting_here | html %])

    [% END %] + + [% IF ( waiting_elsewhere > 0 ) %] +

    Holds waiting at other libraries ([% waiting_elsewhere | html %])

    + + [% END %] +
    [% END # /IF WaitingHolds.count %] --