LP#1709476 Copy summary aged circ display repair
[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="!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="circ">
103   <div class="flex-row">
104     <div class="flex-cell flex-2 strong-text-2">
105       [% l('Most Recent Circ Group') %]
106     </div>
107   </div>
108   <div class="flex-row">
109     <div class="flex-cell">[% l('Patron') %]</div>
110     <div class="flex-cell well">
111       <a href="./circ/patron/{{circ.usr().id()}}/checkout" 
112         ng-if="circ.usr()" target="_self">
113         [% l('[_1], [_2] [_3] : [_4]', 
114           '{{circ.usr().family_name()}}'
115           '{{circ.usr().first_given_name()}}'
116           '{{circ.usr().second_given_name()}}'
117           '{{circ.usr().card().barcode()}}') %]
118       </a>
119       <span ng-show="!circ.usr()">
120         [% l('<Aged Circulation>') | html %]
121       </span>
122     </div>
123   </div>
124
125   <div class="flex-row">
126     <div class="flex-cell">[% l('Total Circs') %]</div>
127     <div class="flex-cell well">
128       {{circ_summary.num_circs()}}
129     </div>
130   </div>
131
132   <div class="flex-row">
133     <div class="flex-cell">[% l('Checkout Date') %]</div>
134     <div class="flex-cell well">
135       {{circ.xact_start() | date:egDateAndTimeFormat}}
136     </div>
137   </div>
138
139   <div class="flex-row">
140     <div class="flex-cell">[% l('Checkout Workstation') %]</div>
141     <div class="flex-cell well">
142       {{circ.workstation().name()}}
143     </div>
144   </div>
145
146   <div class="flex-row">
147     <div class="flex-cell">[% l('Last Renewed On') %]</div>
148     <div class="flex-cell well">
149       {{circ_summary.last_renewal_time() | date:egDateAndTimeFormat}}
150     </div>
151   </div>
152
153   <div class="flex-row">
154     <div class="flex-cell">[% l('Renewal Workstation') %]</div>
155     <div class="flex-cell well">
156       {{circ_summary.last_renewal_workstation()}}
157     </div>
158   </div>
159
160   <div class="flex-row">
161     <div class="flex-cell">[% l('Stop Fines Reason') %]</div>
162     <div class="flex-cell well">
163       {{circ.stop_fines()}}
164     </div>
165   </div>
166
167   <div class="flex-row">
168     <div class="flex-cell">[% l('Stop Fines Time') %]</div>
169     <div class="flex-cell well">
170       {{circ.stop_fines_time() | date:egDateAndTimeFormat}}
171     </div>
172   </div>
173
174   <div class="flex-row">
175     <div class="flex-cell">[% l('Checkin Time') %]</div>
176     <div class="flex-cell well">
177       {{circ.checkin_time() | date:egDateAndTimeFormat}}
178     </div>
179   </div>
180
181   <div class="flex-row">
182     <div class="flex-cell">[% l('Checkin Scan Time') %]</div>
183     <div class="flex-cell well">
184       {{circ.checkin_scan_time() | date:egDateAndTimeFormat}}
185     </div>
186   </div>
187
188   <div class="flex-row">
189     <div class="flex-cell">[% l('Checkin Workstation') %]</div>
190     <div class="flex-cell well">
191       {{circ.checkin_workstation.name()}}
192     </div>
193   </div>
194 </div>
195