]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
Floating Groups
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / circ / checkin_overlay.xul
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- LOCALIZATION -->
4 <!DOCTYPE overlay PUBLIC "" ""[
5     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
6 ]>
7
8 <overlay id="checkin_overlay" 
9     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
10
11 <script>dump('loading checkin_overlay.xul\n');</script>
12
13 <commandset id="checkin_cmds">
14     <command id="cmd_checkin_submit_barcode" />
15     <command id="cmd_checkin_print" />
16     <command id="cmd_csv_to_clipboard" />
17     <command id="cmd_csv_to_printer" />
18     <command id="cmd_csv_to_file" />
19     <command id="save_columns" />
20     
21     <command id="sel_clip" disabled="true"/>
22     <command id="sel_edit" disabled="true"/>
23     <command id="sel_backdate" disabled="true"/>
24     <command id="sel_opac" disabled="true"/>
25     <command id="sel_opac_holds" disabled="true"/>
26     <command id="sel_patron" disabled="true"/>
27     <command id="sel_last_patron" disabled="true"/>
28     <command id="sel_copy_details" disabled="true"/>
29     <command id="sel_bucket" disabled="true"/>
30     <command id="sel_spine" disabled="true"/>
31     <command id="sel_transit_abort" disabled="true"/>
32     <command id="sel_mark_items_damaged" disabled="true"/>
33     <command id="sel_mark_missing_pieces" disabled="true" label="&staff.circ.checkin_overlay.sel_mark_missing_pieces.label;" accesskey="&staff.circ.checkin_overlay.sel_mark_missing_pieces.accesskey;"/>
34
35     <command id="cmd_do_not_alert_on_precat" />
36     <command id="cmd_suppress_holds_and_transits" />
37     <command id="cmd_amnesty_mode" />
38     <command id="cmd_checkin_auto_print_slips" />
39     <command id="cmd_checkin_clear_shelf_expired" />
40     <command id="cmd_checkin_auto_retarget" />
41     <command id="cmd_checkin_local_hold_as_transit" />
42     <command id="cmd_checkin_manual_float" />
43 </commandset>
44
45
46 <popupset id="copy_status_popupset">
47     <menupopup id="copy_status_actions" position="at_pointer"> 
48         <menuitem command="sel_clip" label="&staff.circ.checkin_overlay.sel_clip.label;" accesskey="&staff.circ.checkin_overlay.sel_clip.accesskey;" />
49         <menuitem command="sel_bucket" label="&staff.circ.checkin_overlay.sel_bucket.label;" accesskey="&staff.circ.checkin_overlay.sel_bucket.accesskey;"/>
50         <menuitem command="sel_opac" label="&staff.circ.checkin_overlay.sel_opac.label;" accesskey="&staff.circ.checkin_overlay.sel_opac.accesskey;" />
51         <menuitem command="sel_opac_holds" label="&staff.circ.checkin_overlay.sel_opac_holds.label;" accesskey="&staff.circ.checkin_overlay.sel_opac_holds.accesskey;" />
52         <menuitem command="sel_copy_details" label="&staff.circ.checkin_overlay.sel_copy_details.label;" accesskey="&staff.circ.checkin_overlay.sel_copy_details.accesskey;" />
53         <menuitem command="sel_patron" label="&staff.circ.checkin_overlay.sel_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_patron.accesskey;"/>
54         <menuitem command="sel_last_patron" label="&staff.circ.checkin_overlay.sel_last_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_last_patron.accesskey;"/>
55         <menuseparator/>
56         <menuitem command="sel_edit" label="&staff.circ.checkin_overlay.sel_edit.label;" accesskey="&staff.circ.checkin_overlay.sel_edit.accesskey;" />
57         <menuitem command="sel_backdate" label="&staff.circ.checkin_overlay.sel_backdate.label;" accesskey="&staff.circ.checkin_overlay.sel_backdate.accesskey;" />
58         <menuseparator />
59         <menuitem command="sel_mark_items_damaged" label="&staff.circ.checkin_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.checkin_overlay.sel_mark_items_damaged.accesskey;"/>
60         <menuitem command="sel_mark_missing_pieces" />
61         <menuseparator />
62         <menuitem command="sel_transit_abort" label="&staff.circ.checkin_overlay.sel_transit_abort.label;" />
63         <menuseparator />
64         <menuitem command="sel_spine" label="&staff.circ.checkin_overlay.sel_spine.label;" accesskey="&staff.circ.checkin_overlay.sel_spine.accesskey;"/>
65         <menuitem command="save_columns" label="&staff.circ.checkin_overlay.save_columns.label;"/>
66     </menupopup>
67 </popupset>
68
69 <box id="checkin_main" flex="1" orient="vertical" class="my_overflow">
70     <vbox id="cmvb1" flex="1"/>
71 </box>
72
73 <vbox id="cmvb1" flex="1">
74     <hbox id="background" class="checkin_screen_normal">
75         <spacer flex="1"/>
76         <vbox>
77             <hbox align="center"><label id="background-text" value="&staff.circ.checkin_overlay.background_text;" /></hbox>
78             <vbox align="center">
79                 <description id="do_not_alert_on_precat_indicator" hidden="true">&staff.circ.checkin_overlay.do_not_alert_on_precat.label;</description>
80                 <description id="suppress_holds_and_transits_indicator" hidden="true">&staff.circ.checkin_overlay.suppress_holds_and_transits.label;</description>
81                 <description id="amnesty_mode_indicator" hidden="true">&staff.circ.checkin_overlay.amnesty_mode.label;</description>
82                 <description id="checkin_auto_print_slips_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_auto_print_slips.label;</description>
83                 <description id="checkin_clear_shelf_expired_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_clear_shelf_expired.label;</description>
84                 <description id="checkin_auto_retarget_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_auto_retarget.label;</description>
85                 <description id="checkin_auto_retarget_all_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_auto_retarget_all_ind.label;</description>
86                 <description id="checkin_local_hold_as_transit_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_local_hold_as_transit.label;</description>
87                 <description id="checkin_manual_float_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_manual_float.label;</description>
88             </vbox>
89         </vbox>
90         <spacer flex="1"/>
91     </hbox>
92     <groupbox id="cmgb1" flex="2">
93         <caption id="caption" label="&staff.circ.checkin.caption;" />
94         <hbox id="checkin_top_ui" />
95         <tree id="checkin_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
96         <hbox id="checkin_bottom_ui" />
97     </groupbox>
98 </vbox>
99
100 <hbox id="checkin_top_ui">
101     <vbox>
102         <hbox>
103             <label id="checkin_scan_barcode_label" 
104                 value="&staff.circ.checkin.scan.label;" 
105                 accesskey="&staff.circ.checkin.scan.accesskey;" 
106                 control="checkin_barcode_entry_textbox"/>
107             <textbox id="checkin_barcode_entry_textbox" context="clipboard"/>
108             <button id="checkin_submit_barcode_button" 
109                 label="&staff.circ.checkin.submit.label;" 
110                 command="cmd_checkin_submit_barcode"
111                 oldaccesskey="&staff.circ.checkin.submit.accesskey;"/>
112         </hbox>
113         <label id="no_change_label" value="" style="color: red" hidden="true"/>
114     </vbox>
115     <spacer flex="1"/>
116     <vbox>
117         <hbox>
118             <hbox id="checkin_effective_date_hbox">
119                 <label id="checkin_effective_date_label" value="&staff.circ.checkin_overlay.effective_date.label;" control="checkin_effective_datepicker" accesskey="&staff.circ.checkin_overlay.effective_date.accesskey;"/>
120                 <datepicker id="checkin_effective_datepicker" type="popup" context="clipboard"/>
121             </hbox>
122             <menubar>
123             <menu label="&staff.circ.checkin_overlay.actions.label;" accesskey="&staff.circ.checkin_overlay.actions.accesskey;">
124                 <menupopup>
125                     <menuitem command="sel_clip" label="&staff.circ.checkin_overlay.sel_clip.label;" accesskey="&staff.circ.checkin_overlay.sel_clip.accesskey;" />
126                     <menuitem command="sel_bucket" label="&staff.circ.checkin_overlay.sel_bucket.label;" accesskey="&staff.circ.checkin_overlay.sel_bucket.accesskey;"/>
127                     <menuitem command="sel_opac" label="&staff.circ.checkin_overlay.sel_opac.label;" accesskey="&staff.circ.checkin_overlay.sel_opac.accesskey;" />
128                     <menuitem command="sel_opac_holds" label="&staff.circ.checkin_overlay.sel_opac_holds.label;" accesskey="&staff.circ.checkin_overlay.sel_opac_holds.accesskey;" />
129                     <menuitem command="sel_copy_details" label="&staff.circ.checkin_overlay.sel_copy_details.label;" accesskey="&staff.circ.checkin_overlay.sel_copy_details.accesskey;" />
130                     <menuitem command="sel_patron" label="&staff.circ.checkin_overlay.sel_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_patron.accesskey;"/>
131                     <menuitem command="sel_last_patron" label="&staff.circ.checkin_overlay.sel_last_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_last_patron.accesskey;"/>
132                     <menuseparator/>
133                     <menuitem command="sel_edit" label="&staff.circ.checkin_overlay.sel_edit.label;" accesskey="&staff.circ.checkin_overlay.sel_edit.accesskey;" />
134                     <menuitem command="sel_backdate" label="&staff.circ.checkin_overlay.sel_backdate.label;" accesskey="&staff.circ.checkin_overlay.sel_backdate.accesskey;" />
135                     <menuseparator />
136                     <menuitem command="sel_mark_items_damaged" label="&staff.circ.checkin_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.checkin_overlay.sel_mark_items_damaged.accesskey;"/>
137                     <menuitem command="sel_mark_missing_pieces" />
138                     <menuseparator />
139                     <menuitem command="sel_transit_abort" label="&staff.circ.checkin_overlay.sel_transit_abort.label;" />
140                     <menuseparator />
141                     <menuitem command="sel_spine" label="&staff.circ.checkin_overlay.sel_spine.label;" accesskey="&staff.circ.checkin_overlay.sel_spine.accesskey;"/>
142                     <menuitem command="save_columns" label="&staff.circ.checkin_overlay.save_columns.label;"/>
143                 </menupopup>
144             </menu>
145             </menubar>
146         </hbox>
147         <label id="fine_tally" value="" amount="0.00" style="color: red" hidden="true" />
148     </vbox>
149
150 </hbox>
151
152 <hbox id="checkin_bottom_ui">
153     <button id="list_actions" oncommand="this.firstChild.showPopup();"
154         label="&staff.generic.list_actions.label;" 
155         accesskey="&staff.generic.list_actions.accesskey;" 
156         type="menu" allowevents="true">
157         <menupopup id="list_actions_popup">
158             <menuitem command="sel_clip" label="&staff.generic.list_actions.sel_clip.label;" accesskey="&staff.generic.list_actions.sel_clip.accesskey;" disabled="true" />
159             <menuitem command="cmd_csv_to_printer" label="&staff.generic.list_actions.csv_to_printer.label;" accesskey="&staff.generic.list_actions.csv_to_printer.accesskey;" />
160             <menuitem command="cmd_csv_to_clipboard" label="&staff.generic.list_actions.csv_to_clipboard.label;" accesskey="&staff.generic.list_actions.csv_to_clipboard.accesskey;" />
161             <menuitem command="cmd_csv_to_file" label="&staff.generic.list_actions.csv_to_file.label;" accesskey="&staff.generic.list_actions.csv_to_file.accesskey;" />
162             <menuitem command="save_columns" label="&staff.generic.list_actions.save_columns.label;" accesskey="&staff.generic.list_actions.save_columns.accesskey;" />
163         </menupopup>
164     </button>
165
166     <button id="checkin_print" 
167         label="&staff.checkin.print_receipt.label;" 
168         command="cmd_checkin_print"
169         accesskey="&staff.checkin.print_receipt.accesskey;"/>
170     <checkbox id="printer_prompt" label="&staff.circ.checkin_overlay.printer_prompt.label;" checked="true" oils_persist="checked"/>
171     <checkbox id="trim_list" label="&staff.circ.checkin_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
172     <checkbox id="async_checkin" label="&staff.circ.checkin_overlay.async_checkin.label;" checked="false" oils_persist="checked"/> 
173     <checkbox id="strict_barcode" label="&staff.circ.checkin_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
174     <spacer id="pcii3s" flex="1"/>
175     <button id="checkin_modifiers" oncommand="this.firstChild.showPopup();"
176         label="&staff.circ.checkin_overlay.checkin_modifiers_btn.label;"
177         accesskey="&staff.circ.checkin_overlay.checkin_modifiers_btn.accesskey;"
178         type="menu" allowevents="false">
179         <menupopup id="checkin_modifiers_popup">
180             <menuitem type="checkbox" id="do_not_alert_on_precat" oils_persist="checked" command="cmd_do_not_alert_on_precat"
181                 label="&staff.circ.checkin_overlay.do_not_alert_on_precat.label;" accesskey="&staff.circ.checkin_overlay.do_not_alert_on_precat.accesskey;"/>
182             <menuitem type="checkbox" id="suppress_holds_and_transits" oils_persist="checked" command="cmd_suppress_holds_and_transits"
183                 label="&staff.circ.checkin_overlay.suppress_holds_and_transits.label;" accesskey="&staff.circ.checkin_overlay.suppress_holds_and_transits.accesskey;"/>
184             <menuitem type="checkbox" id="amnesty_mode" oils_persist="checked" command="cmd_amnesty_mode"
185                 label="&staff.circ.checkin_overlay.amnesty_mode.label;" accesskey="&staff.circ.checkin_overlay.amnesty_mode.accesskey;"/>
186             <menuitem type="checkbox" id="checkin_auto_print_slips" oils_persist="checked" command="cmd_checkin_auto_print_slips"
187                 label="&staff.circ.checkin_overlay.checkin_auto_print_slips.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto_print_slips.accesskey;"/>
188             <menuitem type="checkbox" id="checkin_clear_shelf_expired" oils_persist="checked" command="cmd_checkin_clear_shelf_expired"
189                 label="&staff.circ.checkin_overlay.checkin_clear_shelf_expired.label;" accesskey="&staff.circ.checkin_overlay.checkin_clear_shelf_expired.accesskey;"/>
190             <menuitem type="checkbox" id="checkin_auto_retarget" oils_persist="checked" command="cmd_checkin_auto_retarget"
191                 label="&staff.circ.checkin_overlay.checkin_auto_retarget.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto_retarget.accesskey;"/>
192             <menuitem type="checkbox" id="checkin_auto_retarget_all" oils_persist="checked" command="cmd_checkin_auto_retarget"
193                 label="&staff.circ.checkin_overlay.checkin_auto_retarget_all.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto_retarget_all.accesskey;"/>
194             <menuitem type="checkbox" id="checkin_local_hold_as_transit" oils_persist="checked" command="cmd_checkin_local_hold_as_transit"
195                 label="&staff.circ.checkin_overlay.checkin_local_hold_as_transit.label;" accesskey="&staff.circ.checkin_overlay.checkin_local_hold_as_transit;"/>
196             <menuitem type="checkbox" id="checkin_manual_float" oils_persist="checked" command="cmd_checkin_manual_float"
197                 label="&staff.circ.checkin_overlay.checkin_manual_float.label;" accesskey="&staff.circ.checkin_overlay.checkin_manual_float.accesskey;"/>
198         </menupopup>
199     </button>
200 </hbox>
201
202 </overlay>