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