1 <!-- items out list -->
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(items_out_display=='alt')">
9 [% l('Items Checked Out') %] ({{main_list.length}})
12 <li ng-if="show_alt_circs" ng-class="{active : items_out_display == 'alt'}">
13 <a href ng-click="show_alt_list(items_out_display=='main')">
14 [% l('Other/Special Circulations') %] ({{alt_list.length}})
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}})
25 <div class="tab-content">
26 <div class="tab-pane active">
29 ng-if="items_out_display == 'noncat'"
33 items-provider="gridDataProvider"
34 persist-key="circ.patron.items_out.noncat"
35 dateformat="{{$root.egDateAndTimeFormat}}">
37 <eg-grid-field label="[% l('Circ ID') %]" path='id'></eg-grid-field>
38 <eg-grid-field label="[% l('Item Type') %]" path='item_type.name'></eg-grid-field>
39 <eg-grid-field label="[% l('Checkout Library') %]" path='circ_lib.shortname'></eg-grid-field>
40 <eg-grid-field label="[% l('Checkout Date') %]" path='circ_time' datatype="timestamp"></eg-grid-field>
41 <eg-grid-field label="[% l('Due Date') %]" path='duedate' dateformat="shortDate" datatype="timestamp"></eg-grid-field>
42 <eg-grid-field label="[% l('Checkout Staff') %]" path='staff.usrname'></eg-grid-field>
46 ng-if="items_out_display != 'noncat'"
50 items-provider="gridDataProvider"
51 persist-key="circ.patron.items_out"
52 dateformat="{{$root.egDateAndTimeFormat}}">
54 <eg-grid-action handler="print_receipt"
55 label="[% l('Print Item Receipt') %]"></eg-grid-action>
56 <eg-grid-action handler="edit_due_date"
57 label="[% l('Edit Due Date') %]"></eg-grid-action>
58 <eg-grid-action handler="mark_lost"
59 label="[% l('Mark Lost (By Patron)') %]"></eg-grid-action>
60 <eg-grid-action handler="mark_claims_returned"
61 label="[% l('Mark Claims Returned') %]"></eg-grid-action>
62 <eg-grid-action handler="mark_claims_never_checked_out"
63 label="[% l('Mark Claims Never Checked Out') %]"></eg-grid-action>
64 <eg-grid-action handler="renew" label="[% l('Renew') %]"></eg-grid-action>
65 <eg-grid-action handler="renew_all" label="[% l('Renew All') %]"></eg-grid-action>
66 <eg-grid-action handler="renew_with_date"
67 label="[% l('Renew With Specific Due Date') %]"></eg-grid-action>
68 <eg-grid-action handler="checkin"
69 label="[% l('Check In') %]"></eg-grid-action>
70 <eg-grid-action handler="add_billing"
71 label="[% l('Add Billing') %]"></eg-grid-action>
72 <eg-grid-action handler="show_recent_circs"
73 label="[% l('Show Last Few Circulations') %]"></eg-grid-action>
74 <eg-grid-action handler="show_triggered_events"
75 label="[% l('Show Triggered Events') %]"></eg-grid-action>
77 <eg-grid-field label="[% l('Circ ID') %]" path='id'></eg-grid-field>
78 <eg-grid-field label="[% l('Barcode') %]" path='target_copy.barcode'>
79 <a href="./cat/item/{{item.target_copy().id()}}" target="_self">
80 {{item.target_copy().barcode()}}
83 <eg-grid-field label="[% l('Due Date') %]" path='due_date' datefilter="egDueDate" dateonlyinterval="duration" datecontext="circ_lib" datatype="timestamp"></eg-grid-field>
84 <eg-grid-field label="[% l('Workstation') %]" path='workstation.name'></eg-grid-field>
85 <eg-grid-field label="[% l('Checkin Workstation') %]" path='checkin_workstation.name'></eg-grid-field>
86 <eg-grid-field label="[% l('Checkout / Renewal Library') %]" path='circ_lib.shortname'></eg-grid-field>
87 <eg-grid-field label="[% l('Circulation Library') %]" path='target_copy.circ_lib.shortname' hidden></eg-grid-field>
88 <eg-grid-field label="[% l('Owning Library') %]" path='target_copy.call_number.owning_lib.shortname' hidden></eg-grid-field>
89 <eg-grid-field label="[% l('Renewals Remaining') %]" path='renewal_remaining'></eg-grid-field>
90 <eg-grid-field label="[% l('Fines Stopped') %]" path='stop_fines'></eg-grid-field>
91 <eg-grid-field label="[% l('Title') %]" path="target_copy.call_number.record.simple_record.title" name="title">
92 <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.target_copy().call_number().record().id()}}">
93 {{item.target_copy().call_number().record().simple_record().title()}}
96 <eg-grid-field path="*" hidden></eg-grid-field>
97 <eg-grid-field path="target_copy.holds_count.count" hidden></eg-grid-field>
98 <eg-grid-field label="[% l('Copy Status') %]" path="target_copy.status.name" hidden></eg-grid-field>
99 <eg-grid-field path="target_copy.circ_modifier" hidden></eg-grid-field>
100 <eg-grid-field path="target_copy.*" hidden></eg-grid-field>
101 <eg-grid-field path="target_copy.call_number.*" hidden></eg-grid-field>
102 <eg-grid-field path="target_copy.call_number.prefix.label" label="[% l('CN Prefix') %]" hidden></eg-grid-field>
103 <eg-grid-field path="target_copy.call_number.suffix.label" label="[% l('CN Suffix') %]" hidden></eg-grid-field>
104 <eg-grid-field path="target_copy.call_number.record.*" hidden></eg-grid-field>
105 <eg-grid-field path="target_copy.call_number.record.simple_record.*" hidden></eg-grid-field>