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