1 <?xml version="1.0" encoding="UTF-8"?>
4 <!DOCTYPE overlay PUBLIC "" ""[
5 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
8 <overlay id="renew_overlay"
9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11 <script>dump('loading renew_overlay.xul\n');</script>
13 <commandset id="renew_cmds" />
15 <popupset id="copy_status_popupset">
16 <menupopup 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;"/>
24 <menuitem command="sel_edit" label="&staff.circ.renew_overlay.sel_edit.label;" accesskey="&staff.circ.renew_overlay.sel_edit.accesskey;" />
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;"/>
28 <menuitem command="sel_transit_abort" label="&staff.circ.renew_overlay.sel_transit_abort.label;" />
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;"/>
35 <box id="renew_main" flex="1" orient="vertical" class="my_overflow">
36 <vbox id="cmvb1" flex="1"/>
39 <vbox id="cmvb1" flex="1">
40 <hbox id="background" style="background-color: orange;">
43 <label id="background-text" value="&staff.circ.renew_overlay.background_text;" style="font-size: x-large; font-weight: bold;"/>
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" />
55 <hbox id="renew_top_ui">
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;"/>
68 <label id="no_change_label" value="" style="color: red" hidden="true"/>
71 <hbox id="duedate_hbox">
72 <checkbox id="renew_duedate_checkbox" label="&staff.circ.renew_overlay.duedate.label;" accesskey="&staff.circ.renew_overlay.duedate.accesskey;" oncommand="if (this.checked) { this.nextSibling.focus(); } else { document.getElementById('renew_barcode_entry_textbox').focus(); }"/>
73 <datepicker id="renew_duedate_datepicker" type="popup" />
74 <timepicker id="renew_duedate_timepicker" type="popup" />
79 <menu label="&staff.circ.renew_overlay.actions.label;" accesskey="&staff.circ.renew_overlay.actions.accesskey;">
81 <menuitem command="sel_clip" label="&staff.circ.renew_overlay.sel_clip.label;" accesskey="&staff.circ.renew_overlay.sel_clip.accesskey;" />
82 <menuitem command="sel_bucket" label="&staff.circ.renew_overlay.sel_bucket.label;" accesskey="&staff.circ.renew_overlay.sel_bucket.accesskey;"/>
83 <menuitem command="sel_opac" label="&staff.circ.renew_overlay.sel_opac.label;" accesskey="&staff.circ.renew_overlay.sel_opac.accesskey;" />
84 <menuitem command="sel_copy_details" label="&staff.circ.renew_overlay.sel_copy_details.label;" accesskey="&staff.circ.renew_overlay.sel_copy_details.accesskey;" />
85 <menuitem command="sel_patron" label="&staff.circ.renew_overlay.sel_patron.label;" accesskey="&staff.circ.renew_overlay.sel_patron.accesskey;"/>
86 <menuitem command="sel_last_patron" label="&staff.circ.renew_overlay.sel_last_patron.label;" accesskey="&staff.circ.renew_overlay.sel_last_patron.accesskey;"/>
88 <menuitem command="sel_edit" label="&staff.circ.renew_overlay.sel_edit.label;" accesskey="&staff.circ.renew_overlay.sel_edit.accesskey;" />
90 <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;"/>
92 <menuitem command="sel_transit_abort" label="&staff.circ.renew_overlay.sel_transit_abort.label;" />
94 <menuitem command="sel_spine" label="&staff.circ.renew_overlay.sel_spine.label;" accesskey="&staff.circ.renew_overlay.sel_spine.accesskey;"/>
95 <menuitem command="save_columns" label="&staff.circ.renew_overlay.save_columns.label;"/>
100 <label id="fine_tally" value="" amount="0.00" style="color: red" hidden="true" />
105 <hbox id="renew_bottom_ui">
106 <button id="list_actions" oncommand="this.firstChild.showPopup();"
107 label="&staff.generic.list_actions.label;"
108 accesskey="&staff.generic.list_actions.accesskey;"
109 type="menu" allowevents="true">
110 <menupopup id="list_actions_popup">
111 <menuitem command="sel_clip" label="&staff.generic.list_actions.sel_clip.label;" accesskey="&staff.generic.list_actions.sel_clip.accesskey;" disabled="true" />
112 <menuitem command="cmd_csv_to_printer" label="&staff.generic.list_actions.csv_to_printer.label;" accesskey="&staff.generic.list_actions.csv_to_printer.accesskey;" />
113 <menuitem command="cmd_csv_to_clipboard" label="&staff.generic.list_actions.csv_to_clipboard.label;" accesskey="&staff.generic.list_actions.csv_to_clipboard.accesskey;" />
114 <menuitem command="cmd_csv_to_file" label="&staff.generic.list_actions.csv_to_file.label;" accesskey="&staff.generic.list_actions.csv_to_file.accesskey;" />
115 <menuitem command="save_columns" label="&staff.generic.list_actions.save_columns.label;" accesskey="&staff.generic.list_actions.save_columns.accesskey;" />
119 <button id="renew_print"
120 label="&staff.renew.print_receipt.label;"
121 command="cmd_renew_print"
122 accesskey="&staff.renew.print_receipt.accesskey;"/>
123 <checkbox id="trim_list" label="&staff.circ.renew_overlay.trim_list.label;" checked="true" oils_persist="checked"/>
124 <checkbox id="strict_barcode" label="&staff.circ.renew_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/>
125 <spacer id="pcii3s" flex="1"/>