Lines 830-836
Link Here
|
830 |
[% SET ClaimReturnedWarningThreshold = Koha.Preference('ClaimReturnedWarningThreshold') %] |
830 |
[% SET ClaimReturnedWarningThreshold = Koha.Preference('ClaimReturnedWarningThreshold') %] |
831 |
[% SET return_claims = patron.return_claims %] |
831 |
[% SET return_claims = patron.return_claims %] |
832 |
[% IF return_claims.count > ClaimReturnedWarningThreshold %] |
832 |
[% IF return_claims.count > ClaimReturnedWarningThreshold %] |
833 |
<li><span class="circ-hlt return-claims">Return claims: Patron has [% return_claims.count | html %] RETURN CLAIMS.</span> |
833 |
<li><span class="circ-hlt return-claims">Return claims: Patron has [% return_claims.count | html %] RETURN CLAIMS.</span></li> |
834 |
[% END %] |
834 |
[% END %] |
835 |
|
835 |
|
836 |
|
836 |
|
Lines 869-892
Link Here
|
869 |
|
869 |
|
870 |
[% IF WaitingHolds.count %] |
870 |
[% IF WaitingHolds.count %] |
871 |
<div id="holdswaiting" class="circmessage"> |
871 |
<div id="holdswaiting" class="circmessage"> |
872 |
<h4>Holds waiting:</h4> |
872 |
[% SET waiting_here = 0 %] |
|
|
873 |
[% SET waiting_elsewhere = 0 %] |
873 |
[% FOREACH w IN WaitingHolds %] |
874 |
[% FOREACH w IN WaitingHolds %] |
|
|
875 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %] |
876 |
[% waiting_here = waiting_here + 1 %] |
877 |
[% ELSE %] |
878 |
[% waiting_elsewhere = waiting_elsewhere + 1 %] |
879 |
[% END %] |
880 |
[% END %] |
881 |
|
882 |
[% IF ( waiting_here > 0 ) %] |
883 |
<h4>Holds waiting here ([% waiting_here | html %])</h4> |
874 |
<ul> |
884 |
<ul> |
875 |
<li> |
885 |
[% FOREACH w IN WaitingHolds %] |
876 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
886 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %] |
877 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
887 |
<li> |
878 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
888 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
879 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
889 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
880 |
Hold placed on [% w.reservedate | $KohaDates %]. |
890 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
881 |
|
891 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
882 |
<br/> |
892 |
Hold placed on [% w.reservedate | $KohaDates %]. |
883 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %] |
893 |
<br /> |
884 |
[% SET expires_on = w.expirationdate %] |
894 |
<strong class="waitinghere"> |
885 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
895 |
[% SET expires_on = w.expirationdate %] |
886 |
</strong> |
896 |
Waiting here [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
887 |
</li> |
897 |
</strong> |
|
|
898 |
</li> |
899 |
[% END %] |
900 |
[% END %] |
888 |
</ul> |
901 |
</ul> |
889 |
[% END %] |
902 |
[% END %] |
|
|
903 |
|
904 |
[% IF ( waiting_elsewhere > 0 ) %] |
905 |
<h4>Holds waiting at other libraries ([% waiting_elsewhere | html %])</h4> |
906 |
<ul> |
907 |
[% FOREACH w IN WaitingHolds %] |
908 |
[% IF ( w.branch.branchcode != Branches.GetLoggedInBranchcode() ) %] |
909 |
<li> |
910 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
911 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
912 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
913 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
914 |
Hold placed on [% w.reservedate | $KohaDates %]. |
915 |
<br /> |
916 |
<strong> |
917 |
[% SET expires_on = w.expirationdate %] |
918 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
919 |
</strong> |
920 |
</li> |
921 |
[% END %] |
922 |
[% END %] |
923 |
</ul> |
924 |
[% END %] |
925 |
|
890 |
</div> |
926 |
</div> |
891 |
[% END # /IF WaitingHolds.count %] |
927 |
[% END # /IF WaitingHolds.count %] |
892 |
|
928 |
|
893 |
- |
|
|