[% USE Koha %] [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] [% USE AuthorisedValues %]
[% IF ( CAN_user_reserveforothers_modify_holds_priority ) %] | Priority | [% ELSE %] | Delete? | [% END %]Patron | Notes | Date | Expiration | Pickup library | Details | [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %][% END %] | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %] [% ELSE %] [% END %] | [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%] [%- UNLESS hold.found -%] [%- SET prev_priority = loop.prev.priority -%] [%- SET next_priority = loop.next.priority -%][%- ELSE -%] | [%- END -%] [%- END -%] | [% INCLUDE 'patron-title.inc' patron=hold.patron hide_patron_infos_if_needed=1 %] | [% hold.notes | html | html_line_break %] | [% IF Koha.Preference('AllowHoldDateInFuture') %] [% ELSE %] [% hold.date | $KohaDates %] [% END %] | [%- IF ( hold.found ) -%] [%- IF ( hold.atdestination ) -%] Item waiting at [% hold.wbrname | html %][% IF hold.desk_name %], [% hold.desk_name | html %],[% END %] since [% hold.waiting_date | $KohaDates %] [%- ELSIF (hold.intransit) -%] Item being transferred to [% hold.wbrname | html %] [%- ELSIF (hold.inprocessing) -%] Item being processed at [% hold.wbrname | html %] [%- END -%] [%- ELSE -%] [%- IF Koha.Preference('IndependentBranches') && Branches.all().size == 1 -%] [% Branches.GetName(hold.branchcode) | html %] [%- ELSE -%] [%- END -%] [%- END -%] |
[%- IF ( hold.found ) -%]
[%- IF ( hold.barcodenumber ) -%]
[%- hold.barcodenumber | html -%]
[%- ELSE -%]
No barcode
[%- END -%]
[%- ELSE -%]
[%- IF ( hold.item_level_hold ) -%]
Only item
[%- IF ( hold.barcodenumber ) -%]
[%- hold.barcodenumber | html -%]
[%- ELSE -%]
No barcode
[%- END -%]
[%- ELSE -%]
[%- IF hold.itemtype -%]
Next available [% ItemTypes.GetDescription( hold.itemtype ) | html %] item
[%- ELSE -%]
Next available
[%- END -%]
[%- END -%]
[%- END -%]
[%- IF hold.non_priority -%]
Non priority hold [%- END -%] |
[%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
[%- UNLESS hold.found -%]
[%- IF ( hold.lowestPriority ) -%] [%- ELSE -%] [%- END -%] | [%- ELSE -%][%- END -%] [%- END -%] | [%- IF Koha.Preference('SuspendHoldsIntranet') -%] [%- UNLESS ( hold.found ) -%] [%- IF Koha.Preference('AutoResumeSuspendedHolds') -%] [%- ELSE -%] [%- END -%] [%- END -%] [%- END # IF SuspendHoldsIntranet -%] [%- IF ( hold.found ) -%] [%- END -%] |