]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
put these command elements into the overlay, closer to where they're being used
[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_patron" disabled="true"/>
26     <command id="sel_last_patron" disabled="true"/>
27     <command id="sel_copy_details" disabled="true"/>
28     <command id="sel_bucket" disabled="true"/>
29     <command id="sel_spine" disabled="true"/>
30     <command id="sel_transit_abort" disabled="true"/>
31     <command id="sel_mark_items_damaged" disabled="true"/>
32
33     <command id="cmd_do_not_alert_on_precat" />
34     <command id="cmd_suppress_holds_and_transits" />
35     <command id="cmd_amnesty_mode" />
36     <command id="cmd_checkin_auto_print_slips" />
37 </commandset>
38
39
40 <popupset id="copy_status_popupset">
41     <popup id="copy_status_actions" position="at_pointer"> 
42         <menuitem command="sel_clip" label="&staff.circ.checkin_overlay.sel_clip.label;" accesskey="&staff.circ.checkin_overlay.sel_clip.accesskey;" />
43         <menuitem command="sel_bucket" label="&staff.circ.checkin_overlay.sel_bucket.label;" accesskey="&staff.circ.checkin_overlay.sel_bucket.accesskey;"/>
44         <menuitem command="sel_opac" label="&staff.circ.checkin_overlay.sel_opac.label;" accesskey="&staff.circ.checkin_overlay.sel_opac.accesskey;" />
45         <menuitem command="sel_copy_details" label="&staff.circ.checkin_overlay.sel_copy_details.label;" accesskey="&staff.circ.checkin_overlay.sel_copy_details.accesskey;" />
46         <menuitem command="sel_patron" label="&staff.circ.checkin_overlay.sel_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_patron.accesskey;"/>
47         <menuitem command="sel_last_patron" label="&staff.circ.checkin_overlay.sel_last_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_last_patron.accesskey;"/>
48         <menuseparator/>
49         <menuitem command="sel_edit" label="&staff.circ.checkin_overlay.sel_edit.label;" accesskey="&staff.circ.checkin_overlay.sel_edit.accesskey;" />
50         <menuitem command="sel_backdate" label="&staff.circ.checkin_overlay.sel_backdate.label;" accesskey="&staff.circ.checkin_overlay.sel_backdate.accesskey;" />
51         <menuseparator />
52         <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;"/>
53         <menuseparator />
54         <menuitem command="sel_transit_abort" label="&staff.circ.checkin_overlay.sel_transit_abort.label;" />
55         <menuseparator />
56         <menuitem command="sel_spine" label="&staff.circ.checkin_overlay.sel_spine.label;" accesskey="&staff.circ.checkin_overlay.sel_spine.accesskey;"/>
57         <menuitem command="save_columns" label="&staff.circ.checkin_overlay.save_columns.label;"/>
58     </popup>
59 </popupset>
60
61 <box id="checkin_main" flex="1" orient="vertical" class="my_overflow">
62     <vbox id="cmvb1" flex="1"/>
63 </box>
64
65 <vbox id="cmvb1" flex="1">
66     <hbox id="background" class="checkin_screen_normal">
67         <spacer flex="1"/>
68         <vbox>
69             <hbox align="center"><label id="background-text" value="&staff.circ.checkin_overlay.background_text;" /></hbox>
70             <vbox align="center">
71                 <description id="do_not_alert_on_precat_indicator" hidden="true">&staff.circ.checkin_overlay.do_not_alert_on_precat.label;</description>
72                 <description id="suppress_holds_and_transits_indicator" hidden="true">&staff.circ.checkin_overlay.suppress_holds_and_transits.label;</description>
73                 <description id="amnesty_mode_indicator" hidden="true">&staff.circ.checkin_overlay.amnesty_mode.label;</description>
74                 <description id="checkin_auto_print_slips_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_auto_print_slips.label;</description>
75             </vbox>
76         </vbox>
77         <spacer flex="1"/>
78     </hbox>
79     <groupbox id="cmgb1" flex="2">
80         <caption id="caption" label="&staff.circ.checkin.caption;" />
81         <hbox id="checkin_top_ui" />
82         <tree id="checkin_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
83         <hbox id="checkin_bottom_ui" />
84     </groupbox>
85 </vbox>
86
87 <hbox id="checkin_top_ui">
88     <vbox>
89         <hbox>
90             <label id="checkin_scan_barcode_label" 
91                 value="&staff.circ.checkin.scan.label;" 
92                 accesskey="&staff.circ.checkin.scan.accesskey;" 
93                 control="checkin_barcode_entry_textbox"/>
94             <textbox id="checkin_barcode_entry_textbox" context="clipboard"/>
95             <button id="checkin_submit_barcode_button" 
96                 label="&staff.circ.checkin.submit.label;" 
97                 command="cmd_checkin_submit_barcode"
98                 oldaccesskey="&staff.circ.checkin.submit.accesskey;"/>
99         </hbox>
100         <label id="no_change_label" value="" style="color: red" hidden="true"/>
101     </vbox>
102     <spacer flex="1"/>
103     <vbox>
104         <hbox>
105             <hbox id="checkin_effective_date_hbox">
106                 <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;"/>
107                 <datepicker id="checkin_effective_datepicker" type="popup" context="clipboard"/>
108             </hbox>
109             <menubar>
110             <menu label="&staff.circ.checkin_overlay.actions.label;" accesskey="&staff.circ.checkin_overlay.actions.accesskey;">
111                 <menupopup>
112                     <menuitem command="sel_clip" label="&staff.circ.checkin_overlay.sel_clip.label;" accesskey="&staff.circ.checkin_overlay.sel_clip.accesskey;" />
113                     <menuitem command="sel_bucket" label="&staff.circ.checkin_overlay.sel_bucket.label;" accesskey="&staff.circ.checkin_overlay.sel_bucket.accesskey;"/>
114                     <menuitem command="sel_opac" label="&staff.circ.checkin_overlay.sel_opac.label;" accesskey="&staff.circ.checkin_overlay.sel_opac.accesskey;" />
115                     <menuitem command="sel_copy_details" label="&staff.circ.checkin_overlay.sel_copy_details.label;" accesskey="&staff.circ.checkin_overlay.sel_copy_details.accesskey;" />
116                     <menuitem command="sel_patron" label="&staff.circ.checkin_overlay.sel_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_patron.accesskey;"/>
117                     <menuitem command="sel_last_patron" label="&staff.circ.checkin_overlay.sel_last_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_last_patron.accesskey;"/>
118                     <menuseparator/>
119                     <menuitem command="sel_edit" label="&staff.circ.checkin_overlay.sel_edit.label;" accesskey="&staff.circ.checkin_overlay.sel_edit.accesskey;" />
120                     <menuitem command="sel_backdate" label="&staff.circ.checkin_overlay.sel_backdate.label;" accesskey="&staff.circ.checkin_overlay.sel_backdate.accesskey;" />
121                     <menuseparator />
122                     <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;"/>
123                     <menuseparator />
124                     <menuitem command="sel_transit_abort" label="&staff.circ.checkin_overlay.sel_transit_abort.label;" />
125                     <menuseparator />
126                     <menuitem command="sel_spine" label="&staff.circ.checkin_overlay.sel_spine.label;" accesskey="&staff.circ.checkin_overlay.sel_spine.accesskey;"/>
127                     <menuitem command="save_columns" label="&staff.circ.checkin_overlay.save_columns.label;"/>
128                 </menupopup>
129             </menu>
130             </menubar>
131         </hbox>
132         <label id="fine_tally" value="" amount="0.00" style="color: red" hidden="true" />
133     </vbox>
134
135 </hbox>
136
137 <hbox id="checkin_bottom_ui">
138     <button id="list_actions" oncommand="this.firstChild.showPopup();"
139         label="&staff.generic.list_actions.label;" 
140         accesskey="&staff.generic.list_actions.accesskey;" 
141         type="menu" allowevents="true">
142         <menupopup id="list_actions_popup">
143             <menuitem command="sel_clip" label="&staff.generic.list_actions.sel_clip.label;" accesskey="&staff.generic.list_actions.sel_clip.accesskey;" disabled="true" />
144             <menuitem command="cmd_csv_to_printer" label="&staff.generic.list_actions.csv_to_printer.label;" accesskey="&staff.generic.list_actions.csv_to_printer.accesskey;" />
145             <menuitem command="cmd_csv_to_clipboard" label="&staff.generic.list_actions.csv_to_clipboard.label;" accesskey="&staff.generic.list_actions.csv_to_clipboard.accesskey;" />
146             <menuitem command="cmd_csv_to_file" label="&staff.generic.list_actions.csv_to_file.label;" accesskey="&staff.generic.list_actions.csv_to_file.accesskey;" />
147             <menuitem command="save_columns" label="&staff.generic.list_actions.save_columns.label;" accesskey="&staff.generic.list_actions.save_columns.accesskey;" />
148         </menupopup>
149     </button>
150
151     <button id="checkin_print" 
152         label="&staff.checkin.print_receipt.label;" 
153         command="cmd_checkin_print"
154         accesskey="&staff.checkin.print_receipt.accesskey;"/>
155     <checkbox id="trim_list" label="&staff.circ.checkin_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
156     <checkbox id="strict_barcode" label="&staff.circ.checkin_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
157     <spacer id="pcii3s" flex="1"/>
158     <button id="checkin_modifiers" oncommand="this.firstChild.showPopup();"
159         label="&staff.circ.checkin_overlay.checkin_modifiers_btn.label;"
160         accesskey="&staff.circ.checkin_overlay.checkin_modifiers_btn.accesskey;"
161         type="menu" allowevents="false">
162         <menupopup id="checkin_modifiers_popup">
163             <menuitem type="checkbox" id="do_not_alert_on_precat" oils_persist="checked" command="cmd_do_not_alert_on_precat"
164                 label="&staff.circ.checkin_overlay.do_not_alert_on_precat.label;" accesskey="&staff.circ.checkin_overlay.do_not_alert_on_precat.accesskey;"/>
165             <menuitem type="checkbox" id="suppress_holds_and_transits" oils_persist="checked" command="cmd_suppress_holds_and_transits"
166                 label="&staff.circ.checkin_overlay.suppress_holds_and_transits.label;" accesskey="&staff.circ.checkin_overlay.suppress_holds_and_transits.accesskey;"/>
167             <menuitem type="checkbox" id="amnesty_mode" oils_persist="checked" command="cmd_amnesty_mode"
168                 label="&staff.circ.checkin_overlay.amnesty_mode.label;" accesskey="&staff.circ.checkin_overlay.amnesty_mode.accesskey;"/>
169             <menuitem type="checkbox" id="checkin_auto_print_slips" oils_persist="checked" command="cmd_checkin_auto_print_slips"
170                 label="&staff.circ.checkin_overlay.checkin_auto_print_slips.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto_print_slips.accesskey;"/>
171         </menupopup>
172     </button>
173 </hbox>
174
175 </overlay>