]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/renew_overlay.xul
Renew Item interface, where you can scan in the item barcodes and a renewal attempt...
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / circ / renew_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="renew_overlay" 
9         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
10
11 <script>dump('loading renew_overlay.xul\n');</script>
12
13 <commandset id="renew_cmds" />
14
15 <popupset id="copy_status_popupset">
16         <popup id="copy_status_actions" position="at_pointer"> 
17                 <menuitem command="sel_clip" label="&staff.circ.renew_overlay.sel_clip.label;" accesskey="&staff.circ.renew_overlay.sel_clip.accesskey;" />
18                 <menuitem command="sel_bucket" label="&staff.circ.renew_overlay.sel_bucket.label;" accesskey="&staff.circ.renew_overlay.sel_bucket.accesskey;"/>
19                 <menuitem command="sel_opac" label="&staff.circ.renew_overlay.sel_opac.label;" accesskey="&staff.circ.renew_overlay.sel_opac.accesskey;" />
20                 <menuitem command="sel_copy_details" label="&staff.circ.renew_overlay.sel_copy_details.label;" accesskey="&staff.circ.renew_overlay.sel_copy_details.accesskey;" />
21                 <menuitem command="sel_patron" label="&staff.circ.renew_overlay.sel_patron.label;" accesskey="&staff.circ.renew_overlay.sel_patron.accesskey;"/>
22                 <menuitem command="sel_last_patron" label="&staff.circ.renew_overlay.sel_last_patron.label;" accesskey="&staff.circ.renew_overlay.sel_last_patron.accesskey;"/>
23                 <menuseparator/>
24                 <menuitem command="sel_edit" label="&staff.circ.renew_overlay.sel_edit.label;" accesskey="&staff.circ.renew_overlay.sel_edit.accesskey;" />
25                 <menuseparator />
26                 <menuitem command="sel_mark_items_damaged" label="&staff.circ.renew_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.renew_overlay.sel_mark_items_damaged.accesskey;"/>
27                 <menuseparator />
28                 <menuitem command="sel_transit_abort" label="&staff.circ.renew_overlay.sel_transit_abort.label;" />
29                 <menuseparator />
30                 <menuitem command="sel_spine" label="&staff.circ.renew_overlay.sel_spine.label;" accesskey="&staff.circ.renew_overlay.sel_spine.accesskey;"/>
31                 <menuitem command="save_columns" label="&staff.circ.renew_overlay.save_columns.label;"/>
32         </popup>
33 </popupset>
34
35 <box id="renew_main" flex="1" orient="vertical" class="my_overflow">
36         <vbox id="cmvb1" flex="1"/>
37 </box>
38
39 <vbox id="cmvb1" flex="1">
40         <hbox id="background" style="background-color: orange;">
41                 <spacer flex="1"/>
42                 <vbox>
43                         <label id="background-text" value="&staff.circ.renew_overlay.background_text;" style="font-size: x-large; font-weight: bold;"/>
44                 </vbox>
45                 <spacer flex="1"/>
46         </hbox>
47         <groupbox id="cmgb1" flex="2">
48                 <caption id="caption" label="&staff.circ.renew.caption;" />
49                 <hbox id="renew_top_ui" />
50                 <tree id="renew_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
51                 <hbox id="renew_bottom_ui" />
52         </groupbox>
53 </vbox>
54
55 <hbox id="renew_top_ui">
56         <vbox>
57                 <hbox>
58                         <label id="renew_scan_barcode_label" 
59                                 value="&staff.circ.renew.scan.label;" 
60                                 accesskey="&staff.circ.renew.scan.accesskey;" 
61                                 control="renew_barcode_entry_textbox"/>
62                         <textbox id="renew_barcode_entry_textbox" context="clipboard"/>
63                         <button id="renew_submit_barcode_button" 
64                                 label="&staff.circ.renew.submit.label;" 
65                                 command="cmd_renew_submit_barcode"
66                                 oldaccesskey="&staff.circ.renew.submit.accesskey;"/>
67                 </hbox>
68                 <label id="no_change_label" value="" style="color: red" hidden="true"/>
69         </vbox>
70         <spacer flex="1"/>
71         <vbox>
72                 <hbox>
73                         <menubar>
74                         <menu label="&staff.circ.renew_overlay.actions.label;" accesskey="&staff.circ.renew_overlay.actions.accesskey;">
75                                 <menupopup>
76                                         <menuitem command="sel_clip" label="&staff.circ.renew_overlay.sel_clip.label;" accesskey="&staff.circ.renew_overlay.sel_clip.accesskey;" />
77                                         <menuitem command="sel_bucket" label="&staff.circ.renew_overlay.sel_bucket.label;" accesskey="&staff.circ.renew_overlay.sel_bucket.accesskey;"/>
78                                         <menuitem command="sel_opac" label="&staff.circ.renew_overlay.sel_opac.label;" accesskey="&staff.circ.renew_overlay.sel_opac.accesskey;" />
79                                         <menuitem command="sel_copy_details" label="&staff.circ.renew_overlay.sel_copy_details.label;" accesskey="&staff.circ.renew_overlay.sel_copy_details.accesskey;" />
80                                         <menuitem command="sel_patron" label="&staff.circ.renew_overlay.sel_patron.label;" accesskey="&staff.circ.renew_overlay.sel_patron.accesskey;"/>
81                                         <menuitem command="sel_last_patron" label="&staff.circ.renew_overlay.sel_last_patron.label;" accesskey="&staff.circ.renew_overlay.sel_last_patron.accesskey;"/>
82                                         <menuseparator/>
83                                         <menuitem command="sel_edit" label="&staff.circ.renew_overlay.sel_edit.label;" accesskey="&staff.circ.renew_overlay.sel_edit.accesskey;" />
84                                         <menuseparator />
85                                         <menuitem command="sel_mark_items_damaged" label="&staff.circ.renew_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.renew_overlay.sel_mark_items_damaged.accesskey;"/>
86                                         <menuseparator />
87                                         <menuitem command="sel_transit_abort" label="&staff.circ.renew_overlay.sel_transit_abort.label;" />
88                                         <menuseparator />
89                                         <menuitem command="sel_spine" label="&staff.circ.renew_overlay.sel_spine.label;" accesskey="&staff.circ.renew_overlay.sel_spine.accesskey;"/>
90                                         <menuitem command="save_columns" label="&staff.circ.renew_overlay.save_columns.label;"/>
91                                 </menupopup>
92                         </menu>
93                         </menubar>
94                 </hbox>
95         <label id="fine_tally" value="" amount="0.00" style="color: red" hidden="true" />
96         </vbox>
97
98 </hbox>
99
100 <hbox id="renew_bottom_ui">
101     <button id="list_actions" oncommand="this.firstChild.showPopup();"
102         label="&staff.generic.list_actions.label;" 
103         accesskey="&staff.generic.list_actions.accesskey;" 
104         type="menu" allowevents="true">
105         <menupopup id="list_actions_popup">
106                 <menuitem command="sel_clip" label="&staff.generic.list_actions.sel_clip.label;" accesskey="&staff.generic.list_actions.sel_clip.accesskey;" disabled="true" />
107             <menuitem command="cmd_csv_to_printer" label="&staff.generic.list_actions.csv_to_printer.label;" accesskey="&staff.generic.list_actions.csv_to_printer.accesskey;" />
108                 <menuitem command="cmd_csv_to_clipboard" label="&staff.generic.list_actions.csv_to_clipboard.label;" accesskey="&staff.generic.list_actions.csv_to_clipboard.accesskey;" />
109                 <menuitem command="cmd_csv_to_file" label="&staff.generic.list_actions.csv_to_file.label;" accesskey="&staff.generic.list_actions.csv_to_file.accesskey;" />
110                 <menuitem command="save_columns" label="&staff.generic.list_actions.save_columns.label;" accesskey="&staff.generic.list_actions.save_columns.accesskey;" />
111         </menupopup>
112     </button>
113
114         <button id="renew_print" 
115                 label="&staff.renew.print_receipt.label;" 
116                 command="cmd_renew_print"
117                 accesskey="&staff.renew.print_receipt.accesskey;"/>
118         <checkbox id="trim_list" label="&staff.circ.renew_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
119         <checkbox id="strict_barcode" label="&staff.circ.renew_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
120         <spacer id="pcii3s" flex="1"/>
121 </hbox>
122
123 </overlay>