+ [% IF ! HOLD.found %]
+ [% IF ( HOLD.expirationdate ) %]
+
+ Expiration:
+ [% HOLD.expirationdate | $KohaDates %]
+
[% ELSE %]
- Item waiting to be pulled from [% Branches.GetName( HOLD.branchcode ) | html %]
+
+ Expiration:
+ Never expires
+
[% END %]
[% ELSE %]
- Item in transit to [% Branches.GetName( HOLD.branchcode ) | html %]
- [% END %]
- [% ELSE %]
- [% IF ( HOLD.is_in_transit ) %]
- [% SET transfer = HOLD.item.get_transfer %]
- Item in transit from [% Branches.GetName( transfer.frombranch ) | html %] since
- [% transfer.datesent | $KohaDates %]
- [% ELSIF ( HOLD.suspend ) %]
- Suspended [% IF ( HOLD.suspend_until ) %] until [% HOLD.suspend_until | html %] [% END %]
- [% ELSE %]
- [% IF HOLD.itemtype %]
- Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]'
- [% ELSE %]
- Pending
- [% END %]
+ -
[% END %]
+
+ [% UNLESS( singleBranchMode) %]
+
+ Pick up location:
+ [% HOLD.branch.branchname | html %]
+
[% END %]
-
- [% IF SuspendHoldsOpac and ! onlyinfo %]
-
- [% IF ( HOLD.is_cancelable_from_opac ) %]
- [% IF HOLD.suspend %]
-
- [% ELSE %]
- [% IF AutoResumeSuspendedHolds %]
- Suspend
- [% # hold suspend modal form %]
-
-
-
+ [% IF ( showpriority ) %]
+
+ Priority:
+ [% HOLD.priority | html %]
+
+ [% END %]
+
+ Status:
+ [% IF ( HOLD.is_waiting ) %]
+ [% IF ( HOLD.is_at_destination ) %]
+ [% IF ( HOLD.found ) %]
+ Item waiting at [% HOLD.branch.branchname | html %]
+ [% IF ( HOLD.waitingdate ) %]
+ since [% HOLD.waitingdate | $KohaDates %]
+ [% IF HOLD.expirationdate %]
+ until [% HOLD.expirationdate | $KohaDates %]
+ [% END %]
+ [% END %]
+
[% ELSE %]
+ Item waiting to be pulled from [% Branches.GetName( HOLD.branchcode ) | html %]
+ [% END %]
+ [% ELSE %]
+ Item in transit to [% Branches.GetName( HOLD.branchcode ) | html %]
+ [% END %]
+ [% ELSE %]
+ [% IF ( HOLD.is_in_transit ) %]
+ [% SET transfer = HOLD.item.get_transfer %]
+ Item in transit from [% Branches.GetName( transfer.frombranch ) | html %] since
+ [% transfer.datesent | $KohaDates %]
+ [% ELSIF ( HOLD.suspend ) %]
+ Suspended [% IF ( HOLD.suspend_until ) %] until [% HOLD.suspend_until | html %] [% END %]
+ [% ELSE %]
+ [% IF HOLD.itemtype %]
+ Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]'
+ [% ELSE %]
+ Pending
+ [% END %]
+ [% END %]
+ [% END %]
+
+ [% IF SuspendHoldsOpac and ! onlyinfo %]
+
+ [% IF ( HOLD.is_cancelable_from_opac ) %]
+ [% IF HOLD.suspend %]
- [% END # / IF AutoResumeSuspendedHolds %]
- [% END # / IF HOLD.suspend %]
- [% END # / IF ( HOLD.is_cancelable_from_opac )%]
-
- [% END # / IF SuspendHoldsOpac %]
- [% IF ! onlyinfo %]
-
- [% IF ( HOLD.is_cancelable_from_opac ) %]
-
- [% END %]
-
- [% END # / IF onlyinfo %]
-
- [% END # /FOREACH HOLDS %]
+ [% ELSE %]
+ [% IF AutoResumeSuspendedHolds %]
+ Suspend
+ [% # hold suspend modal form %]
+
+
+
+ [% ELSE %]
+
+ [% END # / IF AutoResumeSuspendedHolds %]
+ [% END # / IF HOLD.suspend %]
+ [% END # / IF ( HOLD.is_cancelable_from_opac )%]
+
+ [% END # / IF SuspendHoldsOpac %]
+ [% IF ! onlyinfo %]
+
+ [% IF ( HOLD.is_cancelable_from_opac ) %]
+
+ [% END %]
+
+ [% END # / IF onlyinfo %]
+
+ [% END # /FOREACH HOLDS %]