]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
270ef908fe6e3b4305714d7847ce598fcbb8ec12
[Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_items_out.tt2
1 <!-- items out list -->
2
3 <div>
4   <!-- only show the main vs. alt circ list tabs if the alt
5       circ list is meant to display -->
6   <ul class="nav nav-tabs">
7     <li ng-class="{active : items_out_display == 'main'}">
8       <a href ng-click="show_main_list()">
9         [% l('Items Checked Out') %] ({{main_list.length}})
10       </a>
11     </li>
12     <li ng-if="show_alt_circs" ng-class="{active : items_out_display == 'alt'}">
13       <a href ng-click="show_alt_list()">
14         [% l('Other/Special Circulations') %] ({{alt_list.length}})
15       </a>
16     </li>
17     <li ng-class="{active : items_out_display == 'noncat'}">
18       <a href ng-click="show_noncat_list()">
19         [% l('Non-Cataloged Circulations') %] ({{noncat_list.length}})
20       </a>
21     </li>
22   </ul>
23 </div>
24
25 <div class="tab-content">
26   <div class="tab-pane active">
27
28 <eg-grid
29   ng-if="items_out_display == 'noncat'"
30   idl-class="ancc"
31   id-field="id"
32   features="-sort,-multisort"
33   items-provider="gridDataProvider"
34   persist-key="circ.patron.items_out.noncat">
35
36   <eg-grid-field label="[% l('Circ ID') %]" path='id'></eg-grid-field>
37   <eg-grid-field label="[% l('Item Type') %]" path='item_type.name'></eg-grid-field>
38   <eg-grid-field label="[% l('Checkout Library') %]" path='circ_lib.shortname'></eg-grid-field>
39   <eg-grid-field label="[% l('Checkout Date') %]" path='circ_time' dateformat='short'></eg-grid-field>
40   <eg-grid-field label="[% l('Due Date') %]" path='duedate' dateformat='short'></eg-grid-field>
41   <eg-grid-field label="[% l('Checkout Staff') %]" path='staff.usrname'></eg-grid-field>
42 </eg-grid>
43
44 <eg-grid
45   ng-if="items_out_display != 'noncat'"
46   idl-class="circ"
47   id-field="id"
48   features="-sort,-multisort"
49   items-provider="gridDataProvider"
50   persist-key="circ.patron.items_out">
51
52   <eg-grid-action handler="print_receipt"
53     label="[% l('Print Item Receipt') %]"></eg-grid-action>
54   <eg-grid-action handler="edit_due_date"
55     label="[% l('Edit Due Date') %]"></eg-grid-action>
56   <eg-grid-action handler="mark_lost"
57     label="[% l('Mark Lost (By Patron)') %]"></eg-grid-action>
58   <eg-grid-action handler="mark_claims_returned"
59     label="[% l('Mark Claims Returned') %]"></eg-grid-action>
60   <eg-grid-action handler="mark_claims_never_checked_out"
61     label="[% l('Mark Claims Never Checked Out') %]"></eg-grid-action>
62   <eg-grid-action handler="renew" label="[% l('Renew') %]"></eg-grid-action>
63   <eg-grid-action handler="renew_all" label="[% l('Renew All') %]"></eg-grid-action>
64   <eg-grid-action handler="renew_with_date" 
65     label="[% l('Renew With Specific Due Date') %]"></eg-grid-action>
66   <eg-grid-action handler="checkin" 
67     label="[% l('Check In') %]"></eg-grid-action>
68   <eg-grid-action handler="add_billing" 
69     label="[% l('Add Billing') %]"></eg-grid-action>
70   <eg-grid-action handler="show_recent_circs" 
71     label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
72   <eg-grid-action handler="show_triggered_events" 
73     label="[% l('Show Triggered Events') %]"></eg-grid-action>
74
75   <eg-grid-field label="[% l('Circ ID') %]" path='id'></eg-grid-field>
76   <eg-grid-field label="[% l('Barcode') %]" path='target_copy.barcode'>
77     <a href="./cat/item/{{item.target_copy().id()}}" target="_self">
78       {{item.target_copy().barcode()}}
79     </a>
80   </eg-grid-field>
81   <eg-grid-field label="[% l('Due Date') %]" path='due_date' dateformat='short'></eg-grid-field>
82   <eg-grid-field label="[% l('Workstation') %]" path='workstation.name'></eg-grid-field>
83   <eg-grid-field label="[% l('Checkin Workstation') %]" path='checkin_workstation.name'></eg-grid-field>
84   <eg-grid-field label="[% l('Checkout / Renewal Library') %]" path='circ_lib.shortname'></eg-grid-field>
85   <eg-grid-field label="[% l('Renewals Remaining') %]" path='renewal_remaining'></eg-grid-field>
86   <eg-grid-field label="[% l('Fines Stopped') %]" path='stop_fines'></eg-grid-field>
87   <eg-grid-field label="[% l('Title') %]" name="title">
88     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.target_copy().call_number().record().id()}}">
89       {{item.target_copy().call_number().record().simple_record().title()}}
90     </a>
91   </eg-grid-field>
92   <eg-grid-field path="*" hidden></eg-grid-field>
93   <eg-grid-field path="target_copy.holds_count.count" hidden></eg-grid-field>
94   <eg-grid-field path="target_copy.circ_modifier" hidden></eg-grid-field>
95   <eg-grid-field path="target_copy.*" hidden></eg-grid-field>
96   <eg-grid-field path="target_copy.call_number.*" hidden></eg-grid-field>
97   <eg-grid-field path="target_copy.call_number.record.*" hidden></eg-grid-field>
98   <eg-grid-field path="target_copy.call_number.record.simple_record.*" hidden></eg-grid-field>
99 </eg-grid>
100 </div>
101
102   </div>
103 </div>