]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
fix open-ils.circ.prev_renewal_chain.retrieve_by_circ.summary to return the correct...
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / circ / alternate_copy_summary.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Alternate Copy Summary -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
9
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
11 <!-- LOCALIZATION -->
12 <!DOCTYPE window PUBLIC "" ""[
13     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
14 ]>
15
16 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
17 <!-- OVERLAYS -->
18 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
19 <?xul-overlay href="/xul/server/cat/bib_brief_overlay.xul"?>
20
21 <window id="alt_copy_summary_win" 
22     onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
23     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
24
25     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
26     <!-- BEHAVIOR -->
27     <script type="text/javascript">
28         var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
29     </script>
30     <scripts id="openils_util_scripts"/>
31
32     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
33     <script type="text/javascript" src="alternate_copy_summary.js"/>
34
35     <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
36     <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
37
38     <groupbox flex="1">
39
40         <caption label="&staff.circ.alternate_copy_summary.Alternate_View.label;" />
41
42         <!-- Most of this gets filled in by bib_brief_overlay.xul -->
43         <grid id="bib_brief_grid"> 
44             <rows id="bib_brief_grid_rows">
45                 <row>
46                     <label value="&staff.circ.alternate_copy_summary.Call_Number.label;" accesskey="&staff.circ.alternate_copy_summary.call_number.accesskey;" control="call_number"/>
47                     <textbox name="call_number" readonly="true" context="clipboard"/>
48                 </row>
49             </rows>
50         </grid>
51
52         <tabbox flex="1">
53             <tabs>
54                 <tab label="&staff.circ.alternate_copy_summary.Quick_Summary.label;" accesskey="&staff.circ.alternate_copy_summary.Quick_Summary.accesskey;" />
55                 <tab label="&staff.circ.alternate_copy_summary.Circulation_History.label;" accesskey="&staff.circ.alternate_copy_summary.Circulation_History.accesskey;" />
56                 <tab label="&staff.circ.alternate_copy_summary.Holds_Transit.label;" accesskey="&staff.circ.alternate_copy_summary.Holds_Transit.accesskey;" />
57                 <tab label="&staff.circ.alternate_copy_summary.Cataloging_Info.label;" accesskey="&staff.circ.alternate_copy_summary.Cataloging_Info.accesskey;" />
58             </tabs>
59             <tabpanels flex="1">
60                 <tabpanel orient="vertical"><!-- Quick Summary -->
61                     <grid id="grid1" flex="0">
62                         <columns>
63                             <column id="g1column1"/>
64                             <column />
65                             <column />
66                             <column />
67                             <column />
68                             <column />
69                             <column />
70                             <column />
71                         </columns>
72                         <rows>
73                             <row>
74                                 <label value="&staff.circ.alternate_copy_summary.Barcode.label;" />
75                                 <textbox name="barcode" readonly="true" context="clipboard"/>
76                                 <label value="&staff.circ.alternate_copy_summary.Circ_Library.label;" />
77                                 <textbox name="copy_circ_lib" readonly="true" context="clipboard"/>
78                                 <label value="&staff.circ.alternate_copy_summary.Call_Number.label;" />
79                                 <textbox name="call_number" readonly="true" context="clipboard"/>
80                                 <label value="&staff.circ.alternate_copy_summary.Status.label;" />
81                                 <textbox name="copy_status" readonly="true" context="clipboard"/>
82                             </row>
83                             <row>
84                                 <label value="&staff.circ.alternate_copy_summary.Price.label;" />
85                                 <textbox name="price" readonly="true" context="clipboard"/>
86                                 <label value="&staff.circ.alternate_copy_summary.Owning_Library.label;" />
87                                 <textbox name="owning_lib" readonly="true" context="clipboard"/>
88                                 <!--                                <spacer />
89                                 <spacer /> -->
90                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Type.label;" />
91                                 <textbox name="renewal_type" readonly="true" context="clipboard"/>
92                                 <label value="&staff.circ.alternate_copy_summary.Due_Date.label;" />
93                                 <textbox name="due_date" readonly="true" context="clipboard"/>
94                             </row>
95                             <row>
96                                 <label value="&staff.circ.alternate_copy_summary.ISBN.label;" />
97                                 <textbox name="isbn" readonly="true" context="clipboard"/>
98                                 <label value="&staff.circ.alternate_copy_summary.Copy_Location.label;" />
99                                 <textbox name="location" readonly="true" context="clipboard"/>
100                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs.label;" />
101                                 <textbox name="total_circ_count" readonly="true" context="clipboard"/>
102                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Date.label;" />
103                                 <textbox name="xact_start" readonly="true" context="clipboard"/>
104                             </row>
105                             <row>
106                                 <label value="&staff.circ.alternate_copy_summary.Date_Created.label;" />
107                                 <textbox name="copy_create_date" readonly="true" context="clipboard"/>
108                                 <label value="&staff.circ.alternate_copy_summary.Loan_Duration.label;" />
109                                 <textbox name="loan_duration" readonly="true" context="clipboard"/>
110                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs___Current_Year.label;" />
111                                 <textbox name="total_circ_count_curr_year" readonly="true" context="clipboard"/>
112                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Workstation.label;" />
113                                 <textbox name="checkout_workstation" readonly="true" context="clipboard"/>
114                             </row>
115                             <row>
116                                 <label value="&staff.circ.alternate_copy_summary.Status_Changed_Time.label;" />
117                                 <textbox name="status_changed_time" readonly="true" context="clipboard"/>
118                                 <label value="&staff.circ.alternate_copy_summary.Fine_Level.label;" />
119                                 <textbox name="fine_level" readonly="true" context="clipboard"/>
120                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs___Prev_Year.label;" />
121                                 <textbox name="total_circ_count_prev_year" readonly="true" context="clipboard"/>
122                                 <label value="&staff.circ.alternate_copy_summary.Duration_Rule.label;" />
123                                 <textbox name="duration_rule" readonly="true" context="clipboard"/>
124                             </row>
125                             <row>
126                                 <label value="&staff.circ.alternate_copy_summary.Copy_ID.label;" />
127                                 <textbox name="copy_id" readonly="true" context="clipboard"/>
128                                 <label value="&staff.circ.alternate_copy_summary.Reference.label;" />
129                                 <textbox name="ref" readonly="true" context="clipboard"/>
130                                 <!--
131                                 <label value="&staff.circ.alternate_copy_summary.Rolling_Counter.label;" />
132                                 <textbox name="rolling_counter" readonly="true" context="clipboard"/>
133                                 -->
134                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Workstation.label;" />
135                                 <textbox name="renewal_workstation" readonly="true" context="clipboard"/>
136                                 <label value="&staff.circ.alternate_copy_summary.Recurring_Fine_Rule.label;" />
137                                 <textbox name="recurring_fine_rule" readonly="true" context="clipboard"/>
138                             </row>
139                             <row>
140                                 <label value="&staff.circ.alternate_copy_summary.TCN.label;" />
141                                 <textbox name="tcn" readonly="true" context="clipboard"/>
142                                 <label value="&staff.circ.alternate_copy_summary.OPAC_Visible.label;" />
143                                 <textbox name="opac_visible" readonly="true" context="clipboard"/>
144                                 <label value="&staff.circ.alternate_copy_summary.Remaining_Renewals.label;" />
145                                 <textbox name="renewal_remaining" readonly="true" context="clipboard"/>
146                                 <label value="&staff.circ.alternate_copy_summary.Max_Fine_Rule.label;" />
147                                 <textbox name="max_fine_rule" readonly="true" context="clipboard"/>
148                             </row>
149                             <row>
150                                 <spacer /><spacer />
151                                 <label value="&staff.circ.alternate_copy_summary.Holdable.label;" />
152                                 <textbox name="holdable" readonly="true" context="clipboard"/>
153                                 <spacer /><spacer />
154                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Time.label;" />
155                                 <textbox name="checkin_time" readonly="true" context="clipboard"/>
156                             </row>
157                             <row>
158                                 <spacer /><spacer />
159                                 <label value="&staff.circ.alternate_copy_summary.Circulate.label;" />
160                                 <textbox name="circulate" readonly="true" context="clipboard"/>
161                                 <!--
162                                 <label value="&staff.circ.alternate_copy_summary.Hold_Shelf_Location.label;" />
163                                 <textbox name="hold_shelf_loc" readonly="true" context="clipboard"/>
164                                 -->
165                                 <spacer /><spacer />
166                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Scan_Time.label;" />
167                                 <textbox name="checkin_scan_time" readonly="true" context="clipboard"/>
168                             </row>
169                             <row>
170                                 <spacer /><spacer />
171                                 <label value="&staff.circ.alternate_copy_summary.Circ_Modifier.label;" />
172                                 <textbox name="circ_modifier" readonly="true" context="clipboard"/>
173                                 <spacer /><spacer />
174                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Workstation.label;" />
175                                 <textbox name="checkin_workstation" readonly="true" context="clipboard"/>
176                             </row>
177                         </rows>
178                     </grid>
179                     <grid id="grid2" flex="1">
180                         <columns>
181                             <column id="g2column1" />
182                             <column flex="1" />
183                         </columns>
184                         <rows>
185                             <row>
186                                 <label value="&staff.circ.alternate_copy_summary.Alert.label;" />
187                                 <textbox name="alert_message" multiline="true"  context="clipboard"/>
188                             </row>
189                         </rows>
190                     </grid>
191                 </tabpanel>
192                 <tabpanel><!-- Circulation History -->
193                     <grid>
194                         <columns>
195                             <column/>
196                             <column/>
197                             <column flex="1"/>
198                             <column/>
199                             <column/>
200                         </columns>
201                         <rows>
202                             <row>
203                                 <label class="header1" value="&staff.circ.alternate_copy_summary.Previous_Circ_Group.label;" />
204                                 <spacer />
205                                 <spacer />
206                                 <label class="header1" value="&staff.circ.alternate_copy_summary.Most_Recent_Circ_Group.label;" />
207                                 <spacer />
208                             </row><row>
209                                 <label value="&staff.circ.alternate_copy_summary.Patron_Name.label;" />
210                                 <button id="prev_patron_name" name="prev_patron_name" readonly="true" />
211                                 <spacer />
212                                 <label value="&staff.circ.alternate_copy_summary.Patron_Name.label;" />
213                                 <button id="patron_name" name="patron_name" readonly="true" />
214                             </row><row>
215                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs_for_circ_chain.label;" />
216                                 <textbox name="prev_num_circs" readonly="true"  context="clipboard"/>
217                                 <spacer />
218                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs_for_circ_chain.label;" />
219                                 <textbox name="num_circs" readonly="true"  context="clipboard"/>
220                             </row><row>
221                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Date.label;" />
222                                 <textbox name="prev_xact_start" readonly="true" context="clipboard"/>
223                                 <spacer />
224                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Date.label;" />
225                                 <textbox name="xact_start" readonly="true" context="clipboard"/>
226                             </row><row>
227                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Workstation.label;" />
228                                 <textbox name="prev_checkout_workstation" readonly="true" context="clipboard"/>
229                                 <spacer />
230                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Workstation.label;" />
231                                 <textbox name="checkout_workstation" readonly="true" context="clipboard"/>
232                             </row><row>
233                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Time.label;" />
234                                 <textbox name="prev_renewal_time" readonly="true" context="clipboard"/>
235                                 <spacer />
236                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Time.label;" />
237                                 <textbox name="renewal_time" readonly="true" context="clipboard"/>
238                             </row><row>
239                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Workstation.label;" />
240                                 <textbox name="prev_renewal_workstation" readonly="true" context="clipboard"/>
241                                 <spacer />
242                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Workstation.label;" />
243                                 <textbox name="renewal_workstation" readonly="true" context="clipboard"/>
244                             </row><row>
245                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines.label;" />
246                                 <textbox name="prev_stop_fines" readonly="true" context="clipboard"/>
247                                 <spacer />
248                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines.label;" />
249                                 <textbox name="stop_fines" readonly="true" context="clipboard"/>
250                             </row><row>
251                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines_Time.label;" />
252                                 <textbox name="prev_stop_fines_time" readonly="true" context="clipboard"/>
253                                 <spacer />
254                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines_Time.label;" />
255                                 <textbox name="stop_fines_time" readonly="true" context="clipboard"/>
256                             </row><row>
257                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Time.label;" />
258                                 <textbox name="prev_last_checkin_time" readonly="true" context="clipboard"/>
259                                 <spacer />
260                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Time.label;" />
261                                 <textbox name="last_checkin_time" readonly="true" context="clipboard"/>
262                             </row><row>
263                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Scan_Time.label;" />
264                                 <textbox name="prev_last_checkin_scan_time" readonly="true" context="clipboard"/>
265                                 <spacer />
266                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Scan_Time.label;" />
267                                 <textbox name="last_checkin_scan_time" readonly="true" context="clipboard"/>
268                             </row><row>
269                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Workstation.label;" />
270                                 <textbox name="prev_checkin_workstation" readonly="true" context="clipboard"/>
271                                 <spacer />
272                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Workstation.label;" />
273                                 <textbox name="checkin_workstation" readonly="true" context="clipboard"/>
274                             </row>
275                         </rows>
276                     </grid>
277                 </tabpanel>
278                 <tabpanel orient="vertical"><!-- Hold/Transit -->
279                     <groupbox flex="1" id="holds" style="overflow: none; min-height: 80;">
280                         <caption id="hold_caption" label="&staff.circ.copy_details.hold_caption;"/>
281                         <label id="hold_patron_name" class="patronNameLarge"/>
282                         <tree id="hold" flex="1" enableColumnDrag="true"/>
283                         <spacer FIXME="label and tree get swapped without this"/>
284                     </groupbox>
285                     <splitter><grippy/></splitter>
286                     <groupbox flex="1" id="transits" style="overflow: none; min-height: 80;">
287                         <caption id="transit_caption" label="&staff.circ.copy_details.transit_caption;"/>
288                         <tree id="transit" flex="1" enableColumnDrag="true"/>
289                     </groupbox>
290                 </tabpanel>
291                 <tabpanel><!-- Cataloging Info -->
292                     <deck id="cat_deck" flex="1"/>
293                 </tabpanel>
294             </tabpanels>
295         </tabbox>
296     </groupbox>
297
298 </window>
299