2 <div ng-if="!detail_hold_id">
5 <div class="input-group">
6 <span class="input-group-addon">[% l('Pickup Library') %]</span>
7 <eg-org-selector selected="pickup_ou" onchange="pickup_ou_changed"></eg-org-selector>
11 <div class="pad-vert"></div>
15 features="-sort,-multisort"
16 items-provider="hold_grid_data_provider"
17 grid-controls="hold_grid_controls"
18 persist-key="cat.catalog.holds"
19 dateformat="{{$root.egDateAndTimeFormat}}">
21 <eg-grid-menu-item handler="detail_view"
22 label="[% l('Detail View') %]"></eg-grid-menu-item>
23 <!-- <eg-grid-menu-item handler="mark_hold_transfer_dest"
24 label="[% l('Mark as Title Hold Transfer Destination') %]"></eg-grid-menu-item>
25 <eg-grid-menu-item handler="transfer_holds_to_marked"
26 label="[% l('Transfer All Title Holds') %]"></eg-grid-menu-item> -->
28 <eg-grid-action handler="grid_actions.show_recent_circs" group="[% l('Copy') %]"
29 label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
30 <eg-grid-action handler="grid_actions.show_patrons" group="[% l('Patron') %]"
31 label="[% l('Retrieve Patron') %]"></eg-grid-action>
32 <eg-grid-action group="[% l('Hold') %]" handler="grid_actions.set_copy_quality"
33 label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
34 <eg-grid-action group="[% l('Hold') %]" handler="grid_actions.edit_pickup_lib"
35 label="[% l('Edit Pickup Library') %]"></eg-grid-action>
36 <eg-grid-action group="[% l('Hold') %]" handler="grid_actions.edit_notify_prefs"
37 label="[% l('Edit Notification Settings') %]"></eg-grid-action>
38 <eg-grid-action group="[% l('Hold') %]" handler="grid_actions.edit_dates"
39 label="[% l('Edit Hold Dates') %]"></eg-grid-action>
40 <eg-grid-action handler="grid_actions.activate" group="[% l('Hold') %]"
41 label="[% l('Activate') %]"></eg-grid-action>
42 <eg-grid-action handler="grid_actions.suspend" group="[% l('Hold') %]"
43 label="[% l('Suspend') %]"></eg-grid-action>
44 <eg-grid-action handler="grid_actions.set_top_of_queue" group="[% l('Hold') %]"
45 label="[% l('Set Top of Queue') %]"></eg-grid-action>
46 <eg-grid-action handler="grid_actions.clear_top_of_queue" group="[% l('Hold') %]"
47 label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
48 <eg-grid-action handler="grid_actions.transfer_to_marked_title" group="[% l('Hold') %]"
49 label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
50 <eg-grid-action handler="grid_actions.mark_damaged" group="[% l('Copy') %]"
51 label="[% l('Mark Item Damaged') %]"></eg-grid-action>
52 <eg-grid-action handler="grid_actions.mark_missing" group="[% l('Copy') %]"
53 label="[% l('Mark Item Missing') %]"></eg-grid-action>
54 <eg-grid-action handler="grid_actions.retarget" group="[% l('Hold') %]"
55 label="[% l('Find Another Target') %]"></eg-grid-action>
56 <eg-grid-action handler="grid_actions.cancel_hold" group="[% l('Hold') %]"
57 label="[% l('Cancel Hold') %]"></eg-grid-action>
59 <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
60 <eg-grid-field label="[% l('Current Copy') %]"
61 path='hold.current_copy.barcode'>
62 <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
63 {{item.hold.current_copy().barcode()}}
67 <eg-grid-field label="[% l('Patron Barcode') %]">{{item.patron_barcode}}</eg-grid-field>
68 <eg-grid-field label="[% l('Patron alias') %]">{{item.patron_alias}}</eg-grid-field>
69 <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time' datatype="timestamp"></eg-grid-field>
70 <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time' datatype="timestamp"></eg-grid-field>
71 <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time' datatype="timestamp"></eg-grid-field>
72 <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
73 <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
75 <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
76 <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
81 <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
82 <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
83 <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
85 <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
86 <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
87 <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
88 <eg-grid-field path='hold.usr.*' parent-idl-class="ahr" hidden></eg-grid-field>
89 <eg-grid-field path='hold.usr.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
90 <eg-grid-field path='hold.requestor.*' parent-idl-class="ahr" hidden></eg-grid-field>
91 <eg-grid-field path='hold.requestor.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
92 <eg-grid-field label="[% l('Copy Status') %]" path="hold.current_copy.status.name" hidden>
95 <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
96 <eg-grid-field path='volume.prefix.label' label="[% l('CN Prefix') %]" parent-idl-class="acn" hidden></eg-grid-field>
97 <eg-grid-field path='volume.suffix.label' label="[% l('CN Suffix') %]" parent-idl-class="acn" hidden></eg-grid-field>
98 <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
101 <div class="flex-row pad-vert">
102 <div class="flex-cell"></div>
104 <button class="btn btn-default" ng-click="print_holds()">
111 <!-- hold details -->
112 <div ng-if="detail_hold_id">
114 <div class="col-md-2">
115 <button class="btn btn-default" ng-click="list_view()">
120 <div class="pad-vert"></div>
121 <eg-record-summary record='detail_hold_record'
122 record-id="detail_hold_record_id"></eg-record-summary>
123 <eg-hold-details hold-retrieved="set_hold" hold-id="detail_hold_id"></eg-hold-details>