]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2
lp1661685 fix circ lib in patron holds list
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_holds_list.tt2
1 <eg-grid
2   id-field="id"
3   features="clientsort"
4   items-provider="gridDataProvider"
5   persist-key="circ.patron.holds"
6   dateformat="{{$root.egDateAndTimeFormat}}">
7
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>
12
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 Copy 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_missing"
39     label="[% l('Mark Item Missing') %]"></eg-grid-action>
40   <eg-grid-action divider="true"></eg-grid-action>
41   <eg-grid-action handler="grid_actions.retarget"
42     label="[% l('Find Another Target') %]"></eg-grid-action>
43   <eg-grid-action handler="grid_actions.cancel_hold" hide="hide_cancel_hold"
44     label="[% l('Cancel Hold') %]"></eg-grid-action>
45   <eg-grid-action handler="grid_actions.uncancel_hold" hide="hide_uncancel_hold"
46     label="[% l('Uncancel Hold') %]"></eg-grid-action>
47
48   <eg-grid-field label="[% l('Hold ID') %]" path='hold.id'></eg-grid-field>
49   <eg-grid-field label="[% l('Current Copy') %]" 
50     path='hold.current_copy.barcode'>
51     <a href="./cat/item/{{item.hold.current_copy().id()}}/summary" target="_self">
52       {{item.hold.current_copy().barcode()}}
53     </a>
54   </eg-grid-field>
55
56   <eg-grid-field label="[% l('Circulation Modifier') %]" path="copy.circ_modifier" hidden></eg-grid-field>
57   <eg-grid-field label="[% l('Circulation Library') %]" path="copy.circ_lib.shortname" hidden></eg-grid-field>
58   <eg-grid-field label="[% l('Patron Barcode') %]" path="patron_barcode" hidden>{{item.patron_barcode}}</eg-grid-field>
59   <eg-grid-field label="[% l('Patron alias') %]" path="patron_alias" hidden>{{item.patron_alias}}</eg-grid-field>
60   <eg-grid-field label="[% l('Request Date') %]" path='hold.request_time' datatype="timestamp"></eg-grid-field>
61   <eg-grid-field label="[% l('Capture Date') %]" path='hold.capture_time' datatype="timestamp"></eg-grid-field>
62   <eg-grid-field label="[% l('Available Date') %]" path='hold.shelf_time' datatype="timestamp"></eg-grid-field>
63   <eg-grid-field label="[% l('Hold Type') %]" path='hold.hold_type'></eg-grid-field>
64   <eg-grid-field label="[% l('Pickup Library') %]" path='hold.pickup_lib.shortname'></eg-grid-field>
65
66   <eg-grid-field label="[% l('Title') %]" path='mvr.title'>
67     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.mvr.doc_id()}}">
68       {{item.mvr.title()}}
69     </a>
70   </eg-grid-field>
71
72   <eg-grid-field label="[% l('Author') %]" path='mvr.author'></eg-grid-field>
73   <eg-grid-field label="[% l('Potential Copies') %]" path='potential_copies'></eg-grid-field>
74   <eg-grid-field label="[% l('Status') %]" path='status_string'></eg-grid-field>
75
76   <eg-grid-field label="[% l('Queue Position') %]" path='queue_position' hidden></eg-grid-field>
77   <eg-grid-field label="[% l('Cancel Cause') %]" path='hold.cancel_cause.label' hidden></eg-grid-field>
78   <eg-grid-field path='hold.*' parent-idl-class="ahr" ignore="current_copy" hidden></eg-grid-field>
79   <eg-grid-field label="[% l('Copy Status') %]" path="hold.current_copy.status.name" hidden>
80   </eg-grid-field>
81   <eg-grid-field path='copy.*' parent-idl-class="acp" hidden></eg-grid-field>
82   <eg-grid-field path='hold.usr.*' parent-idl-class="ahr" hidden></eg-grid-field>
83   <eg-grid-field path='hold.usr.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
84   <eg-grid-field path='hold.requestor.*' parent-idl-class="ahr" hidden></eg-grid-field>
85   <eg-grid-field path='hold.requestor.card.*' parent-idl-class="ahr" hidden></eg-grid-field>
86   <eg-grid-field path='volume.*' parent-idl-class="acn" hidden></eg-grid-field>
87   <eg-grid-field path='mvr.*' parent-idl-class="mvr" hidden></eg-grid-field>
88 </eg-grid>
89
90 <div class="flex-row pad-vert">
91   <div class="flex-cell"></div>
92   <div>
93     <button class="btn btn-default" ng-click="print()">
94       [% l('Print') %]
95     </button>
96   </div>
97 </div>
98