lp1777675 inventory date support
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / item / t_summary_pane.tt2
1 <div class="">
2
3   <div class="label label-danger" ng-show="copy.deleted() == 't'">
4     [% l('This item has been marked as Deleted.') %]
5   </div>
6
7   <div class="flex-row">
8     <div class="flex-cell">[% l('Barcode') %]</div>
9     <div class="flex-cell well">{{copy.barcode()}}</div>
10
11     <div class="flex-cell">[% l('Circ Library') %]</div>
12     <div class="flex-cell well">{{copy.circ_lib().shortname()}}</div>
13
14     <div class="flex-cell">[% l('Call # Prefix') %]</div>
15     <div class="flex-cell well">
16       {{copy.call_number().prefix().label()}}
17     </div>
18
19     <div class="flex-cell">[% l('Status') %]</div>
20     <div
21       class="flex-cell well"
22       title="[% l('Holdable') %]: {{copy.status().holdable() | boolText}} / [% l('OPAC Visible') %]: {{copy.status().opac_visible() | boolText}}"
23     >{{copy.status().name()}}</div>
24   </div>
25
26   <div class="flex-row">
27     <div class="flex-cell">[% l('Price') %]</div>
28     <div class="flex-cell well">{{copy.price()}}</div>
29
30     <div class="flex-cell">[% l('Owning Library') %]</div>
31     <div class="flex-cell well">{{copy.call_number().owning_lib().shortname()}}</div>
32
33     <div class="flex-cell">[% l('Call #') %]</div>
34     <div class="flex-cell well">{{copy.call_number().label()}}</div>
35
36     <div class="flex-cell">[% l('Due Date') %]</div>
37     <div class="flex-cell well">{{circ.due_date() | egDueDate:egDateAndTimeFormat:circ.circ_lib():circ.duration()}}</div>
38   </div>
39
40   <div class="flex-row">
41         <div class="flex-cell">[% l('Acquisition Cost') %]</div>
42     <div class="flex-cell well">{{copy.cost()}}</div>
43
44     <div class="flex-cell">[% l('Copy Location') %]</div>
45     <div
46       class="flex-cell well"
47       title="[% l('Holdable') %]: {{copy.location().holdable() | boolText}} / [% l('OPAC Visible') %]: {{copy.location().opac_visible() | boolText}}"
48     >{{copy.location().name()}}</div>
49
50     <div class="flex-cell">[% l('Call # Suffix') %]</div>
51     <div class="flex-cell well">
52       {{copy.call_number().suffix().label()}}
53     </div>
54
55     <div class="flex-cell">[% l('Checkout Date') %]</div>
56     <div class="flex-cell well">{{circ.xact_start() | date:egDateAndTimeFormat}}</div>
57   </div>
58
59   <div class="flex-row">
60     <div class="flex-cell">[% l('ISBN') %]</div>
61     <div class="flex-cell well">
62       {{copy.call_number().record().simple_record().isbn()}}
63     </div>
64
65     <div class="flex-cell">[% l('Loan Duration') %]</div>
66     <div class="flex-cell well">
67       <div ng-if="copy.loan_duration() == 1">[% l('Short') %]</div>
68       <div ng-if="copy.loan_duration() == 2">[% l('Normal') %]</div>
69       <div ng-if="copy.loan_duration() == 3">[% l('Long') %]</div>
70     </div>
71
72     <div class="flex-cell">[% l('Renewal Type') %]</div>
73     <div class="flex-cell well">
74       <div ng-if="circ.opac_renewal() == 't'">[% l('OPAC') %]</div>
75       <div ng-if="circ.desk_renewal() == 't'">[% l('Desk') %]</div>
76       <div ng-if="circ.phone_renewal() == 't'">[% l('Phone') %]</div>
77     </div>
78
79     <div class="flex-cell">[% l('Checkout Workstation') %]</div>
80     <div class="flex-cell well">{{circ.workstation().name()}}</div>
81   </div>
82
83   <div class="flex-row">
84     <div class="flex-cell">[% l('Date Created') %]</div>
85     <div class="flex-cell well">{{copy.create_date() | date:egDateAndTimeFormat}}</div>
86     <div class="flex-cell">[% l('Fine Level') %]</div>
87     <div class="flex-cell well">
88       <div ng-if="copy.fine_level() == 1">[% l('Low') %]</div>
89       <div ng-if="copy.fine_level() == 2">[% l('Normal') %]</div>
90       <div ng-if="copy.fine_level() == 3">[% l('High') %]</div>
91     </div>
92
93     <div class="flex-cell">[% l('Total Circs') %]</div>
94     <div class="flex-cell well">{{total_circs}}</div>
95
96     <div class="flex-cell">[% l('Duration Rule') %]</div>
97     <div class="flex-cell well">{{circ.duration_rule().name()}}</div>
98   </div>
99
100   <div class="flex-row">
101     <div class="flex-cell">[% l('Date Active') %]</div>
102     <div class="flex-cell well">{{copy.active_date() | date:egDateAndTimeFormat}}</div>
103
104     <div class="flex-cell">[% l('Reference') %]</div>
105     <div class="flex-cell well">{{copy.ref()}}</div>
106
107     <div class="flex-cell">[% l('Total Circs - Current Year') %]</div>
108     <div class="flex-cell well">{{total_circs_this_year}}</div>
109
110     <div class="flex-cell">[% l('Recurring Fine Rule') %]</div>
111     <div class="flex-cell well">{{circ.recurring_fine_rule().name()}}</div>
112   </div>
113
114   <div class="flex-row">
115     <div class="flex-cell">[% l('Status Changed') %]</div>
116     <div class="flex-cell well">{{copy.status_changed_time() | date:egDateAndTimeFormat}}</div>
117
118     <div class="flex-cell">[% l('OPAC Visible') %]</div>
119     <div class="flex-cell well">{{copy.opac_visible()}}</div>
120
121     <div class="flex-cell">[% l('Total Circs - Prev Year') %]</div>
122     <div class="flex-cell well">{{total_circs_prev_year}}</div>
123
124     <div class="flex-cell">[% l('Max Fine Rule') %]</div>
125     <div class="flex-cell well">{{circ.max_fine_rule().name()}}</div>
126   </div>
127
128   <div class="flex-row">
129     <div class="flex-cell">[% l('Copy ID') %]</div>
130     <div class="flex-cell well">{{copy.id()}}</div>
131
132     <div class="flex-cell">[% l('Holdable') %]</div>
133     <div class="flex-cell well">{{copy.holdable()}}</div>
134
135     <div class="flex-cell">[% l('In-House Uses') %]</div>
136     <div class="flex-cell well">{{copy._inHouseUseCount}}</div>
137
138     <div class="flex-cell">[% l('Checkin Time') %]</div>
139     <div class="flex-cell well">
140       {{circ.checkin_time() || 
141         circ_summary.last_checkin_time() | date:egDateAndTimeFormat}}
142     </div>
143   </div>
144
145   <div class="flex-row">
146     <div class="flex-cell">[% l('Circulate') %]</div>
147     <div class="flex-cell well">{{copy.circulate()}}</div>
148
149     <div class="flex-cell">[% l('Renewal Workstation') %]</div>
150     <div class="flex-cell well">{{circ_summary.last_renewal_workstation()}}</div>
151
152     <div class="flex-cell">[% l('Remaining Renewals') %]</div>
153     <div class="flex-cell well">{{circ.renewal_remaining()}}</div>
154
155     <div class="flex-cell">[% l('Checkin Scan Time') %]</div>
156     <div class="flex-cell well">
157       {{circ.checkin_scan_time() || 
158         circ_summary.last_checkin_scan_time() | date:egDateAndTimeFormat}}
159     </div>
160   </div>
161
162   <div class="flex-row">
163     <div class="flex-cell">[% l('Floating') %]</div>
164     <div class="flex-cell well">{{copy.floating().name()}}</div>
165
166     <div class="flex-cell">[% l('Circ Modifier') %]</div>
167     <div class="flex-cell well">{{copy.circ_modifier().name()}}</div>
168
169     <div class="flex-cell">[% l('Age-based Hold Protection') %]</div>
170     <div class="flex-cell well">{{copy.age_protect().name()}}</div>
171
172     <div class="flex-cell">[% l('Checkin Workstation') %]</div>
173     <div class="flex-cell well">
174       {{circ.checkin_workstation().name() || 
175         circ_summary.last_checkin_workstation().name()}}
176     </div>
177   </div>
178
179   <div class="flex-row">
180     <div class="flex-cell">[% l('Inventory Date') %]</div>
181     <div class="flex-cell well">{{copy.last_copy_inventory().inventory_date() | date:egDateAndTimeFormat}}</div>
182
183     <div class="flex-cell">[% l('Inventory Workstation') %]</div>
184     <div class="flex-cell well">{{copy.last_copy_inventory().inventory_workstation().name()}}</div>
185
186     <div class="flex-cell"></div>
187     <div class="flex-cell"></div>
188     <div class="flex-cell"></div>
189     <div class="flex-cell"></div>
190   </div>
191
192   <div class="flex-row">
193     <div class="flex-cell">[% l('Copy Alerts') %]</div>
194     <div class="flex-cell" id="item-status-alert-msg">
195       <button class="btn btn-default" ng-click="addCopyAlerts(copy.id())" >[% l('Add') %]</button>
196       <button class="btn btn-default" ng-disabled="!copy_alert_count" ng-click="manageCopyAlerts(copy.id())" >[% l('Manage') %]</button>
197     </div>
198     <!-- hack to adjust positioning -->
199     <div class="flex-cell"></div>
200     <div class="flex-cell"></div>
201     <div class="flex-cell"></div>
202     <div class="flex-cell"></div>
203     <div class="flex-cell"></div>
204     <div class="flex-cell"></div>
205   </div>
206
207 </div>