]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2
LP#1402797 Add patron barcode and alias to hold lists where appropriate
[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 divider="true"></eg-grid-action>
15   <eg-grid-action handler="grid_actions.set_copy_quality"
16     label="[% l('Set Desired Copy Quality') %]"></eg-grid-action>
17   <eg-grid-action handler="grid_actions.edit_pickup_lib"
18     label="[% l('Edit Pickup Library') %]"></eg-grid-action>
19   <eg-grid-action handler="grid_actions.edit_notify_prefs"
20     label="[% l('Edit Notification Settings') %]"></eg-grid-action>
21   <eg-grid-action handler="grid_actions.edit_dates"
22     label="[% l('Edit Hold Dates') %]"></eg-grid-action>
23   <eg-grid-action handler="grid_actions.activate"
24     label="[% l('Activate') %]"></eg-grid-action>
25   <eg-grid-action handler="grid_actions.suspend"
26     label="[% l('Suspend') %]"></eg-grid-action>
27   <eg-grid-action handler="grid_actions.set_top_of_queue"
28     label="[% l('Set Top of Queue') %]"></eg-grid-action>
29   <eg-grid-action handler="grid_actions.clear_top_of_queue"
30     label="[% l('Un-Set Top of Queue') %]"></eg-grid-action>
31   <eg-grid-action handler="grid_actions.transfer_to_marked_title"
32     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
33   <eg-grid-action handler="grid_actions.mark_damaged"
34     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
35   <eg-grid-action handler="grid_actions.mark_missing"
36     label="[% l('Mark Item Missing') %]"></eg-grid-action>
37   <eg-grid-action divider="true"></eg-grid-action>
38   <eg-grid-action handler="grid_actions.retarget"
39     label="[% l('Find Another Target') %]"></eg-grid-action>
40   <eg-grid-action handler="grid_actions.cancel_hold"
41     label="[% l('Cancel Hold') %]"></eg-grid-action>
42
43   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
44   <eg-grid-field label="[% l('Current Copy') %]" 
45     path='hold.current_copy.barcode'>
46     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
47       {{item.hold.current_copy().barcode()}}
48     </a>
49   </eg-grid-field>
50
51   <eg-grid-field label="[% l('Patron Barcode') %]" hidden>{{item.patron_barcode}}</eg-grid-field>
52   <eg-grid-field label="[% l('Patron alias') %]" hidden>{{item.patron_alias}}</eg-grid-field>
53   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time'></eg-grid-field>
54   <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time'></eg-grid-field>
55   <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time'></eg-grid-field>
56   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
57   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
58
59   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
60     <a href="[% ctx.base_path %]/opac/record/{{item.mvr.doc_id()}}">
61       {{item.mvr.title()}}
62     </a>
63   </eg-grid-field>
64
65   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
66   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
67   <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
68
69   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
70   <eg-grid-field path='hold.*' parent-idl-class="ahr" hidden></eg-grid-field>
71   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
72   <eg-grid-field path='hold.usr.*' parent-idl-class="au" hidden></eg-grid-field>
73   <eg-grid-field path='hold.usr.card.*' parent-idl-class="ac" hidden></eg-grid-field>
74   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
75   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
76 </eg-grid>
77
78 <div class="flex-row pad-vert">
79   <div class="flex-cell"></div>
80   <div>
81     <button class="btn btn-default" ng-click="print()">
82       [% l('Print') %]
83     </button>
84   </div>
85 </div>
86