3 features="clientsort,allowAll"
4 items-provider="gridDataProvider"
5 persist-key="circ.patron.holds"
6 dateformat="{{$root.egDateAndTimeFormat}}">
8 <eg-grid-menu-item handler="place_hold"
9 label="[% l('Place Hold') %]"></eg-grid-menu-item>
10 <eg-grid-menu-item handler="detail_view"
11 label="[% l('Detail View') %]"></eg-grid-menu-item>
13 <eg-grid-action handler="grid_actions.show_recent_circs"
14 label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
15 <eg-grid-action handler="grid_actions.show_holds_for_title"
16 label="[% l('Show Holds for Title') %]"></eg-grid-action>
17 <eg-grid-action divider="true"></eg-grid-action>
18 <eg-grid-action handler="grid_actions.set_copy_quality"
19 label="[% l('Set Desired Item Quality') %]"></eg-grid-action>
20 <eg-grid-action handler="grid_actions.edit_pickup_lib"
21 label="[% l('Edit Pickup Library') %]"></eg-grid-action>
22 <eg-grid-action handler="grid_actions.edit_notify_prefs"
23 label="[% l('Edit Notification Settings') %]"></eg-grid-action>
24 <eg-grid-action handler="grid_actions.edit_dates"
25 label="[% l('Edit Hold Dates') %]"></eg-grid-action>
26 <eg-grid-action handler="grid_actions.activate"
27 label="[% l('Activate') %]"></eg-grid-action>
28 <eg-grid-action handler="grid_actions.suspend"
29 label="[% l('Suspend') %]"></eg-grid-action>
30 <eg-grid-action handler="grid_actions.set_top_of_queue"
31 label="[% l('Set Top of Queue') %]"></eg-grid-action>
32 <eg-grid-action handler="grid_actions.clear_top_of_queue"
33 label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
34 <eg-grid-action handler="grid_actions.transfer_to_marked_title"
35 label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
36 <eg-grid-action handler="grid_actions.mark_damaged"
37 label="[% l('Mark Item Damaged') %]"></eg-grid-action>
38 <eg-grid-action handler="grid_actions.mark_discard"
39 label="[% l('Mark Item Discard/Weed') %]"></eg-grid-action>
40 <eg-grid-action handler="grid_actions.mark_missing"
41 label="[% l('Mark Item Missing') %]"></eg-grid-action>
42 <eg-grid-action divider="true"></eg-grid-action>
43 <eg-grid-action handler="grid_actions.retarget"
44 label="[% l('Find Another Target') %]"></eg-grid-action>
45 <eg-grid-action handler="grid_actions.cancel_hold" hide="hide_cancel_hold"
46 label="[% l('Cancel Hold') %]"></eg-grid-action>
47 <eg-grid-action handler="grid_actions.uncancel_hold" hide="hide_uncancel_hold"
48 label="[% l('Uncancel Hold') %]"></eg-grid-action>
50 <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
51 <eg-grid-field label="[% l('Current Item') %]"
52 path='hold.current_copy.barcode'>
53 <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
54 {{item.hold.current_copy().barcode()}}
58 <eg-grid-field label="[% l('Circulation Modifier') %]" path="copy.circ_modifier" hidden></eg-grid-field>
59 <eg-grid-field label="[% l('Circulation Library') %]" path="copy.circ_lib.shortname" hidden></eg-grid-field>
60 <eg-grid-field label="[% l('Patron Barcode') %]" path="patron_barcode" hidden>{{item.patron_barcode}}</eg-grid-field>
61 <eg-grid-field label="[% l('Patron alias') %]" path="patron_alias" hidden>{{item.patron_alias}}</eg-grid-field>
62 <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time' datatype="timestamp"></eg-grid-field>
63 <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time' datatype="timestamp"></eg-grid-field>
64 <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time' datatype="timestamp"></eg-grid-field>
65 <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
66 <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
68 <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
69 <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
74 <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
75 <eg-grid-field label="[% l('Potential Items') %]" path='potential_copies'></eg-grid-field>
76 <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
78 <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
79 <eg-grid-field label="[% l('Cancel Cause') %]" path='hold.cancel_cause.label' hidden></eg-grid-field>
80 <eg-grid-field path='hold.*' parent-idl-class="ahr" ignore="current_copy" hidden></eg-grid-field>
81 <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
83 <eg-grid-field path='hold.usr.id' parent-idl-class="ahr" label="[% l('User ID') %]" hidden></eg-grid-field>
84 <eg-grid-field path='hold.usr.usrname' parent-idl-class="ahr" label="[% l('Username') %]" hidden></eg-grid-field>
85 <eg-grid-field path='hold.usr.first_given_name' parent-idl-class="ahr" label="[% l('First Name') %]" hidden></eg-grid-field>
86 <eg-grid-field path='hold.usr.family_name' parent-idl-class="ahr" label="[% l('Last Name') %]" hidden></eg-grid-field>
87 <eg-grid-field path='hold.requestor.id' parent-idl-class="ahr" label="[% l('Requestor ID') %]" hidden></eg-grid-field>
88 <eg-grid-field path='hold.requestor.usrname' parent-idl-class="ahr" label="[% l('Requestor Username') %]" hidden></eg-grid-field>
89 <eg-grid-field path='hold.sms_carrier.name' parent-idl-class="ahr" label="[% l('Notifications SMS Carrier') %]" hidden></eg-grid-field>
91 <eg-grid-field path='part.label' parent-idl-class="bmp" label="[% l('Part') %]" hidden></eg-grid-field>
92 <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
93 <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
96 <div class="flex-row pad-vert">
97 <div class="flex-cell"></div>
99 <button class="btn btn-default" ng-click="print()">