bcdf212112f894b5f2da84ad26699c056e5a226a
[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(); persist_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="/xul/server/cat/bib_brief.js"/>
34     <script type="text/javascript" src="alternate_copy_summary.js"/>
35
36     <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties"/>
37     <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties"/>
38
39     <groupbox flex="1">
40
41         <caption label="&staff.circ.alternate_copy_summary.Alternate_View.label;" />
42
43         <!-- Most of this gets filled in by bib_brief_overlay.xul -->
44         <grid id="bib_brief_grid"> 
45             <rows id="bib_brief_grid_rows">
46                 <row id="bib_brief_grid_row3">
47                     <label id="bib_call_number_label"/>
48                     <textbox id="bib_call_number"/>
49                     <hbox id="placeholder1" flex="1">
50                         <label value="&staff.circ.alternate_copy_summary.Call_Number.label;" accesskey="&staff.circ.alternate_copy_summary.Call_Number.accesskey;" control="call_number" class="emphasis"/>
51                     </hbox>
52                     <hbox id="placeholder2" flex="1">
53                         <textbox name="call_number" readonly="true" context="clipboard" class="plain"/>
54                     </hbox>
55                 </row>
56             </rows>
57         </grid>
58
59         <tabbox flex="1">
60             <tabs>
61                 <tab label="&staff.circ.alternate_copy_summary.Quick_Summary.label;" accesskey="&staff.circ.alternate_copy_summary.Quick_Summary.accesskey;" />
62                 <tab label="&staff.circ.alternate_copy_summary.Circulation_History.label;" accesskey="&staff.circ.alternate_copy_summary.Circulation_History.accesskey;" />
63                 <tab label="&staff.circ.alternate_copy_summary.Holds_Transit.label;" accesskey="&staff.circ.alternate_copy_summary.Holds_Transit.accesskey;" />
64                 <tab label="&staff.circ.alternate_copy_summary.Cataloging_Info.label;" accesskey="&staff.circ.alternate_copy_summary.Cataloging_Info.accesskey;" />
65             </tabs>
66             <tabpanels flex="1">
67                 <tabpanel orient="vertical"><!-- Quick Summary -->
68                     <grid id="grid1" flex="0">
69                         <columns>
70                             <column id="g1column1"/>
71                             <column />
72                             <column />
73                             <column />
74                             <column />
75                             <column />
76                             <column />
77                             <column />
78                         </columns>
79                         <rows>
80                             <row>
81                                 <label value="&staff.circ.alternate_copy_summary.Barcode.label;" />
82                                 <textbox name="barcode" readonly="true" context="clipboard"/>
83                                 <label value="&staff.circ.alternate_copy_summary.Circ_Library.label;" />
84                                 <textbox name="copy_circ_lib" readonly="true" context="clipboard"/>
85                                 <label value="&staff.circ.alternate_copy_summary.Call_Number.label;" />
86                                 <textbox name="call_number" readonly="true" context="clipboard"/>
87                                 <label value="&staff.circ.alternate_copy_summary.Status.label;" />
88                                 <textbox name="copy_status" readonly="true" context="clipboard"/>
89                             </row>
90                             <row>
91                                 <label value="&staff.circ.alternate_copy_summary.Price.label;" />
92                                 <textbox name="price" readonly="true" context="clipboard"/>
93                                 <label value="&staff.circ.alternate_copy_summary.Owning_Library.label;" />
94                                 <textbox name="owning_lib" readonly="true" context="clipboard"/>
95                                 <!--                                <spacer />
96                                 <spacer /> -->
97                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Type.label;" />
98                                 <textbox name="renewal_type" readonly="true" context="clipboard"/>
99                                 <label value="&staff.circ.alternate_copy_summary.Due_Date.label;" />
100                                 <textbox name="due_date" readonly="true" context="clipboard"/>
101                             </row>
102                             <row>
103                                 <label value="&staff.circ.alternate_copy_summary.ISBN.label;" />
104                                 <textbox name="isbn" readonly="true" context="clipboard"/>
105                                 <label value="&staff.circ.alternate_copy_summary.Copy_Location.label;" />
106                                 <textbox name="location" readonly="true" context="clipboard"/>
107                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs.label;" />
108                                 <textbox name="total_circ_count" readonly="true" context="clipboard"/>
109                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Date.label;" />
110                                 <textbox name="xact_start" readonly="true" context="clipboard"/>
111                             </row>
112                             <row>
113                                 <label value="&staff.circ.alternate_copy_summary.Date_Created.label;" />
114                                 <textbox name="copy_create_date" readonly="true" context="clipboard"/>
115                                 <label value="&staff.circ.alternate_copy_summary.Loan_Duration.label;" />
116                                 <textbox name="loan_duration" readonly="true" context="clipboard"/>
117                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs___Current_Year.label;" />
118                                 <textbox name="total_circ_count_curr_year" readonly="true" context="clipboard"/>
119                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Workstation.label;" />
120                                 <textbox name="checkout_workstation" readonly="true" context="clipboard"/>
121                             </row>
122                             <row>
123                                 <label value="&staff.circ.alternate_copy_summary.Date_Active.label;" />
124                                 <textbox name="copy_active_date" readonly="true" context="clipboard"/>
125                                 <label value="&staff.circ.alternate_copy_summary.Fine_Level.label;" />
126                                 <textbox name="fine_level" readonly="true" context="clipboard"/>
127                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs___Prev_Year.label;" />
128                                 <textbox name="total_circ_count_prev_year" readonly="true" context="clipboard"/>
129                                 <label value="&staff.circ.alternate_copy_summary.Duration_Rule.label;" />
130                                 <textbox name="duration_rule" readonly="true" context="clipboard"/>
131                             </row>
132                             <row>
133                                 <label value="&staff.circ.alternate_copy_summary.Status_Changed_Time.label;" />
134                                 <textbox name="status_changed_time" readonly="true" context="clipboard"/>
135                                 <label value="&staff.circ.alternate_copy_summary.Reference.label;" />
136                                 <textbox name="ref" readonly="true" context="clipboard"/>
137                                 <!--
138                                 <label value="&staff.circ.alternate_copy_summary.Rolling_Counter.label;" />
139                                 <textbox name="rolling_counter" readonly="true" context="clipboard"/>
140                                 -->
141                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Workstation.label;" />
142                                 <textbox name="renewal_workstation" readonly="true" context="clipboard"/>
143                                 <label value="&staff.circ.alternate_copy_summary.Recurring_Fine_Rule.label;" />
144                                 <textbox name="recurring_fine_rule" readonly="true" context="clipboard"/>
145                             </row>
146                             <row>
147                                 <label value="&staff.circ.alternate_copy_summary.Copy_ID.label;" />
148                                 <textbox name="copy_id" readonly="true" context="clipboard"/>
149                                 <label value="&staff.circ.alternate_copy_summary.OPAC_Visible.label;" />
150                                 <textbox name="opac_visible" readonly="true" context="clipboard"/>
151                                 <label value="&staff.circ.alternate_copy_summary.Remaining_Renewals.label;" />
152                                 <textbox name="renewal_remaining" readonly="true" context="clipboard"/>
153                                 <label value="&staff.circ.alternate_copy_summary.Max_Fine_Rule.label;" />
154                                 <textbox name="max_fine_rule" readonly="true" context="clipboard"/>
155                             </row>
156                             <row>
157                                 <label value="&staff.circ.alternate_copy_summary.TCN.label;" />
158                                 <textbox name="tcn" readonly="true" context="clipboard"/>
159                                 <label value="&staff.circ.alternate_copy_summary.Holdable.label;" />
160                                 <textbox name="holdable" readonly="true" context="clipboard"/>
161                                 <spacer /><spacer />
162                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Time.label;" />
163                                 <textbox name="checkin_time" readonly="true" context="clipboard"/>
164                             </row>
165                             <row>
166                                 <label value="&staff.circ.alternate_copy_summary.Floating.label;" />
167                                 <textbox name="floating" readonly="true" context="clipboard"/>
168                                 <label value="&staff.circ.alternate_copy_summary.Circulate.label;" />
169                                 <textbox name="circulate" readonly="true" context="clipboard"/>
170                                 <!--
171                                 <label value="&staff.circ.alternate_copy_summary.Hold_Shelf_Location.label;" />
172                                 <textbox name="hold_shelf_loc" readonly="true" context="clipboard"/>
173                                 -->
174                                 <spacer /><spacer />
175                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Scan_Time.label;" />
176                                 <textbox name="checkin_scan_time" readonly="true" context="clipboard"/>
177                             </row>
178                             <row>
179                                 <spacer /><spacer />
180                                 <label value="&staff.circ.alternate_copy_summary.Circ_Modifier.label;" />
181                                 <textbox name="circ_modifier" readonly="true" context="clipboard"/>
182                                 <spacer /><spacer />
183                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Workstation.label;" />
184                                 <textbox name="checkin_workstation" readonly="true" context="clipboard"/>
185                             </row>
186                         </rows>
187                     </grid>
188                     <grid id="grid2" flex="1">
189                         <columns>
190                             <column id="g2column1" />
191                             <column flex="1" />
192                         </columns>
193                         <rows>
194                             <row>
195                                 <label value="&staff.circ.alternate_copy_summary.Alert.label;" />
196                                 <textbox name="alert_message" multiline="true"  context="clipboard"/>
197                             </row>
198                         </rows>
199                     </grid>
200                 </tabpanel>
201                 <tabpanel><!-- Circulation History -->
202                     <grid>
203                         <columns>
204                             <column/>
205                             <column/>
206                             <column flex="1"/>
207                             <column/>
208                             <column/>
209                         </columns>
210                         <rows>
211                             <row>
212                                 <label class="header1" value="&staff.circ.alternate_copy_summary.Previous_Circ_Group.label;" />
213                                 <spacer />
214                                 <spacer />
215                                 <label class="header1" value="&staff.circ.alternate_copy_summary.Most_Recent_Circ_Group.label;" />
216                                 <spacer />
217                             </row><row>
218                                 <label value="&staff.circ.alternate_copy_summary.Patron_Name.label;" />
219                                 <button id="prev_patron_name" name="prev_patron_name" readonly="true" />
220                                 <spacer />
221                                 <label value="&staff.circ.alternate_copy_summary.Patron_Name.label;" />
222                                 <button id="patron_name" name="patron_name" readonly="true" />
223                             </row><row>
224                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs_for_circ_chain.label;" />
225                                 <textbox name="prev_num_circs" readonly="true"  context="clipboard"/>
226                                 <spacer />
227                                 <label value="&staff.circ.alternate_copy_summary.Total_Circs_for_circ_chain.label;" />
228                                 <textbox name="num_circs" readonly="true"  context="clipboard"/>
229                             </row><row>
230                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Date.label;" />
231                                 <textbox name="prev_xact_start" readonly="true" context="clipboard"/>
232                                 <spacer />
233                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Date.label;" />
234                                 <textbox name="xact_start" readonly="true" context="clipboard"/>
235                             </row><row>
236                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Workstation.label;" />
237                                 <textbox name="prev_checkout_workstation" readonly="true" context="clipboard"/>
238                                 <spacer />
239                                 <label value="&staff.circ.alternate_copy_summary.Checkout_Workstation.label;" />
240                                 <textbox name="checkout_workstation" readonly="true" context="clipboard"/>
241                             </row><row>
242                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Time.label;" />
243                                 <textbox name="prev_renewal_time" readonly="true" context="clipboard"/>
244                                 <spacer />
245                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Time.label;" />
246                                 <textbox name="renewal_time" readonly="true" context="clipboard"/>
247                             </row><row>
248                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Workstation.label;" />
249                                 <textbox name="prev_renewal_workstation" readonly="true" context="clipboard"/>
250                                 <spacer />
251                                 <label value="&staff.circ.alternate_copy_summary.Renewal_Workstation.label;" />
252                                 <textbox name="renewal_workstation" readonly="true" context="clipboard"/>
253                             </row><row>
254                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines.label;" />
255                                 <textbox name="prev_stop_fines" readonly="true" context="clipboard"/>
256                                 <spacer />
257                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines.label;" />
258                                 <textbox name="stop_fines" readonly="true" context="clipboard"/>
259                             </row><row>
260                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines_Time.label;" />
261                                 <textbox name="prev_stop_fines_time" readonly="true" context="clipboard"/>
262                                 <spacer />
263                                 <label value="&staff.circ.alternate_copy_summary.Stop_Fines_Time.label;" />
264                                 <textbox name="stop_fines_time" readonly="true" context="clipboard"/>
265                             </row><row>
266                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Time.label;" />
267                                 <textbox name="prev_last_checkin_time" readonly="true" context="clipboard"/>
268                                 <spacer />
269                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Time.label;" />
270                                 <textbox name="last_checkin_time" readonly="true" context="clipboard"/>
271                             </row><row>
272                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Scan_Time.label;" />
273                                 <textbox name="prev_last_checkin_scan_time" readonly="true" context="clipboard"/>
274                                 <spacer />
275                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Scan_Time.label;" />
276                                 <textbox name="last_checkin_scan_time" readonly="true" context="clipboard"/>
277                             </row><row>
278                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Workstation.label;" />
279                                 <textbox name="prev_checkin_workstation" readonly="true" context="clipboard"/>
280                                 <spacer />
281                                 <label value="&staff.circ.alternate_copy_summary.Checkin_Workstation.label;" />
282                                 <textbox name="checkin_workstation" readonly="true" context="clipboard"/>
283                             </row>
284                         </rows>
285                     </grid>
286                 </tabpanel>
287                 <tabpanel orient="vertical"><!-- Hold/Transit -->
288                     <groupbox flex="1" id="holds" style="overflow: none; min-height: 80;" oils_persist="height">
289                         <caption id="hold_caption" label="&staff.circ.copy_details.hold_caption;"/>
290                         <label id="hold_patron_name" class="patronNameLarge"/>
291                         <tree id="hold" flex="1" enableColumnDrag="true"/>
292                         <spacer FIXME="label and tree get swapped without this"/>
293                     </groupbox>
294                     <splitter id="splitter" oils_persist="state hidden" oils_persist_peers="holds transits"><grippy/></splitter>
295                     <groupbox flex="1" id="transits" style="overflow: none; min-height: 80;" oils_persist="height">
296                         <caption id="transit_caption" label="&staff.circ.copy_details.transit_caption;"/>
297                         <tree id="transit" flex="1" enableColumnDrag="true"/>
298                     </groupbox>
299                 </tabpanel>
300                 <tabpanel><!-- Cataloging Info -->
301                     <deck id="cat_deck" flex="1"/>
302                 </tabpanel>
303             </tabpanels>
304         </tabbox>
305     </groupbox>
306
307 </window>
308