]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2
webstaff: Typo (missing space)
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_holds_list.tt2
1 <eg-grid
2   id-field="id"
3   features="-sort,-multisort"
4   items-provider="gridDataProvider"
5   persist-key="circ.patron.holds">
6
7   <eg-grid-menu-item handler="place_hold" 
8     label="[% l('Place Hold') %]"></eg-grid-menu-item>
9   <eg-grid-menu-item handler="detail_view" 
10     label="[% l('Detail View') %]"></eg-grid-menu-item>
11
12   <eg-grid-action handler="grid_actions.show_recent_circs"
13     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
14   <eg-grid-action handler="grid_actions.show_holds_for_title"
15     label="[% l('Show Holds for Title') %]"></eg-grid-action>
16   <eg-grid-action divider="true"></eg-grid-action>
17   <eg-grid-action handler="grid_actions.set_copy_quality"
18     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
19   <eg-grid-action handler="grid_actions.edit_pickup_lib"
20     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
21   <eg-grid-action handler="grid_actions.edit_notify_prefs"
22     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
23   <eg-grid-action handler="grid_actions.edit_dates"
24     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
25   <eg-grid-action handler="grid_actions.activate"
26     label="[% l('Activate') %]"></eg-grid-action>
27   <eg-grid-action handler="grid_actions.suspend"
28     label="[% l('Suspend') %]"></eg-grid-action>
29   <eg-grid-action handler="grid_actions.set_top_of_queue"
30     label="[% l('Set Top of Queue') %]"></eg-grid-action>
31   <eg-grid-action handler="grid_actions.clear_top_of_queue"
32     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
33   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
34     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
35   <eg-grid-action handler="grid_actions.mark_damaged"
36     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
37   <eg-grid-action handler="grid_actions.mark_missing"
38     label="[% l('Mark Item Missing') %]"></eg-grid-action>
39   <eg-grid-action divider="true"></eg-grid-action>
40   <eg-grid-action handler="grid_actions.retarget"
41     label="[% l('Find Another Target') %]"></eg-grid-action>
42   <eg-grid-action handler="grid_actions.cancel_hold" hide="hide_cancel_hold"
43     label="[% l('Cancel Hold') %]"></eg-grid-action>
44   <eg-grid-action handler="grid_actions.uncancel_hold" hide="hide_uncancel_hold"
45     label="[% l('Uncancel Hold') %]"></eg-grid-action>
46
47   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
48   <eg-grid-field label="[% l('Current Copy') %]" 
49     path='hold.current_copy.barcode'>
50     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
51       {{item.hold.current_copy().barcode()}}
52     </a>
53   </eg-grid-field>
54
55   <eg-grid-field label="[% l('Patron Barcode') %]" hidden>{{item.patron_barcode}}</eg-grid-field>
56   <eg-grid-field label="[% l('Patron alias') %]" hidden>{{item.patron_alias}}</eg-grid-field>
57   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time'></eg-grid-field>
58   <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time'></eg-grid-field>
59   <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time'></eg-grid-field>
60   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
61   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
62
63   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
64     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
65       {{item.mvr.title()}}
66     </a>
67   </eg-grid-field>
68
69   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
70   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
71   <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
72
73   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
74   <eg-grid-field label="[% l('Cancel Cause') %]" path='hold.cancel_cause.label' hidden></eg-grid-field>
75   <eg-grid-field path='hold.*' parent-idl-class="ahr" ignore="current_copy" hidden></eg-grid-field>
76   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
77   <eg-grid-field path='hold.usr.*' parent-idl-class="ahr" hidden></eg-grid-field>
78   <eg-grid-field path='hold.usr.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
79   <eg-grid-field path='hold.requestor.*' parent-idl-class="ahr" hidden></eg-grid-field>
80   <eg-grid-field path='hold.requestor.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
81   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
82   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
83 </eg-grid>
84
85 <div class="flex-row pad-vert">
86   <div class="flex-cell"></div>
87   <div>
88     <button class="btn btn-default" ng-click="print()">
89       [% l('Print') %]
90     </button>
91   </div>
92 </div>
93