lp1777675 inventory date support
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / item / t_circs_pane.tt2
1 <div class="col-md-6" ng-show="!prev_circ_summary">
2   <div class="alert alert-info">
3     [% l('No Previous Circ Group') %]
4   </div>
5 </div>
6 <div class="col-md-6" ng-show="prev_circ_summary">
7   <div class="flex-row">
8     <div class="flex-cell flex-2 strong-text-2">
9       [% l('Previous Circ Group') %]
10     </div>
11   </div>
12
13   <div class="flex-row">
14     <div class="flex-cell">[% l('Patron') %]</div>
15     <div class="flex-cell well">
16       <a href="./circ/patron/{{prev_circ_usr.id()}}/checkout" 
17         ng-if="prev_circ_usr" target="_self">
18         [% l('[_1], [_2] [_3] : [_4]', 
19         '{{prev_circ_usr.family_name()}}'
20         '{{prev_circ_usr.first_given_name()}}'
21         '{{prev_circ_usr.second_given_name()}}'
22         '{{prev_circ_usr.card().barcode()}}') %]
23       </a>
24       <span ng-show="!prev_circ_usr">
25         [% l('<Aged Circulation>') | html %]
26       </span>
27     </div>
28   </div>
29
30   <div class="flex-row">
31     <div class="flex-cell">[% l('Total Circs') %]</div>
32     <div class="flex-cell well">
33       {{prev_circ_summary.num_circs()}}
34     </div>
35   </div>
36
37   <div class="flex-row">
38     <div class="flex-cell">[% l('Checkout Date') %]</div>
39     <div class="flex-cell well">
40       {{prev_circ_summary.start_time() | date:egDateAndTimeFormat}}
41     </div>
42   </div>
43
44   <div class="flex-row">
45     <div class="flex-cell">[% l('Checkout Workstation') %]</div>
46     <div class="flex-cell well">
47       {{prev_circ_summary.checkout_workstation()}}
48     </div>
49   </div>
50
51   <div class="flex-row">
52     <div class="flex-cell">[% l('Last Renewed On') %]</div>
53     <div class="flex-cell well">
54       {{prev_circ_summary.last_renewal_time() | date:egDateAndTimeFormat}}
55     </div>
56   </div>
57
58   <div class="flex-row">
59     <div class="flex-cell">[% l('Renewal Workstation') %]</div>
60     <div class="flex-cell well">
61       {{prev_circ_summary.last_renewal_workstation()}}
62     </div>
63   </div>
64
65   <div class="flex-row">
66     <div class="flex-cell">[% l('Stop Fines Reason') %]</div>
67     <div class="flex-cell well">
68       {{prev_circ_summary.last_stop_fines()}}
69     </div>
70   </div>
71   <div class="flex-row">
72     <div class="flex-cell">[% l('Stop Fines Time') %]</div>
73     <div class="flex-cell well">
74       {{prev_circ_summary.last_stop_fines_time() | date:egDateAndTimeFormat}}
75     </div>
76   </div>
77   <div class="flex-row">
78     <div class="flex-cell">[% l('Checkin Time') %]</div>
79     <div class="flex-cell well">
80       {{prev_circ_summary.last_checkin_time() | date:egDateAndTimeFormat}}
81     </div>
82   </div>
83   <div class="flex-row">
84     <div class="flex-cell">[% l('Checkin Scan Time') %]</div>
85     <div class="flex-cell well">
86       {{prev_circ_summary.last_checkin_scan_time() | date:egDateAndTimeFormat}}
87     </div>
88   </div>
89   <div class="flex-row">
90     <div class="flex-cell">[% l('Checkin Workstation') %]</div>
91     <div class="flex-cell well">
92       {{prev_circ_summary.last_checkin_workstation()}}
93     </div>
94   </div>
95 </div>
96
97 <div class="col-md-6" ng-show="!isMaxCircHistoryZero && !circ">
98   <div class="alert alert-info">
99     [% l('No Recent Circ Group') %]
100   </div>
101 </div>
102 <div class="col-md-6" ng-show="isMaxCircHistoryZero">
103   <div class="alert alert-info">
104     [% l('Most Recent Circ Group not available for display.') %]
105   </div>
106 </div>
107 <div class="col-md-6" ng-show="!isMaxCircHistoryZero && circ">
108   <div class="flex-row">
109     <div class="flex-cell flex-2 strong-text-2">
110       [% l('Most Recent Circ Group') %]
111     </div>
112   </div>
113   <div class="flex-row">
114     <div class="flex-cell">[% l('Patron') %]</div>
115     <div class="flex-cell well">
116       <a href="./circ/patron/{{circ.usr().id()}}/checkout" 
117         ng-if="circ.usr()" target="_self">
118         [% l('[_1], [_2] [_3] : [_4]', 
119           '{{circ.usr().family_name()}}'
120           '{{circ.usr().first_given_name()}}'
121           '{{circ.usr().second_given_name()}}'
122           '{{circ.usr().card().barcode()}}') %]
123       </a>
124       <span ng-show="!circ.usr()">
125         [% l('<Aged Circulation>') | html %]
126       </span>
127     </div>
128   </div>
129
130   <div class="flex-row">
131     <div class="flex-cell">[% l('Total Circs') %]</div>
132     <div class="flex-cell well">
133       {{circ_summary.num_circs()}}
134     </div>
135   </div>
136
137   <div class="flex-row">
138     <div class="flex-cell">[% l('Checkout Date') %]</div>
139     <div class="flex-cell well">
140       {{circ.xact_start() | date:egDateAndTimeFormat}}
141     </div>
142   </div>
143
144   <div class="flex-row">
145     <div class="flex-cell">[% l('Checkout Workstation') %]</div>
146     <div class="flex-cell well">
147       {{circ.workstation().name()}}
148     </div>
149   </div>
150
151   <div class="flex-row">
152     <div class="flex-cell">[% l('Last Renewed On') %]</div>
153     <div class="flex-cell well">
154       {{circ_summary.last_renewal_time() | date:egDateAndTimeFormat}}
155     </div>
156   </div>
157
158   <div class="flex-row">
159     <div class="flex-cell">[% l('Renewal Workstation') %]</div>
160     <div class="flex-cell well">
161       {{circ_summary.last_renewal_workstation()}}
162     </div>
163   </div>
164
165   <div class="flex-row">
166     <div class="flex-cell">[% l('Stop Fines Reason') %]</div>
167     <div class="flex-cell well">
168       {{circ.stop_fines()}}
169     </div>
170   </div>
171
172   <div class="flex-row">
173     <div class="flex-cell">[% l('Stop Fines Time') %]</div>
174     <div class="flex-cell well">
175       {{circ.stop_fines_time() | date:egDateAndTimeFormat}}
176     </div>
177   </div>
178
179   <div class="flex-row">
180     <div class="flex-cell">[% l('Checkin Time') %]</div>
181     <div class="flex-cell well">
182       {{circ.checkin_time() | date:egDateAndTimeFormat}}
183     </div>
184   </div>
185
186   <div class="flex-row">
187     <div class="flex-cell">[% l('Checkin Scan Time') %]</div>
188     <div class="flex-cell well">
189       {{circ.checkin_scan_time() | date:egDateAndTimeFormat}}
190     </div>
191   </div>
192
193   <div class="flex-row">
194     <div class="flex-cell">[% l('Checkin Workstation') %]</div>
195     <div class="flex-cell well">
196       {{circ.checkin_workstation.name()}}
197     </div>
198   </div>
199 </div>
200