<!ENTITY staff.patron.holds_overlay.holds_export.label "Export">
<!ENTITY staff.patron.holds_overlay.print.label "Print">
<!ENTITY staff.patron.holds_overlay.print.accesskey "P">
+<!ENTITY staff.patron.holds_overlay.print_full_pull_list.label "Print Full Pull List">
+<!ENTITY staff.patron.holds_overlay.print_full_pull_list.accesskey "u">
<!ENTITY staff.patron.holds_overlay.place_hold.label "Place Hold">
<!ENTITY staff.patron.holds_overlay.place_hold.accesskey "H">
<!ENTITY staff.patron.holds_overlay.show_cancelled_holds.label "Show Cancelled Holds">
'FM_AHR_PULL_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_pull_list.retrieve' },
'FM_AHR_PULL_LIST_COUNT' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_pull_list.retrieve.count' },
'FM_AHR_ID_LIST_PULL_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_pull_list.id_list.retrieve', 'secure' : false },
+ 'HTML_HOLD_PULL_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold_pull_list.print' },
'FM_AHR_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.on_shelf.retrieve' },
'FM_AHR_ID_LIST_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.id_list.on_shelf.retrieve', 'secure' : false },
'FM_AHR_ID_LIST_EXPIRED_ONSHELF_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.captured_holds.id_list.expired_on_shelf.retrieve', 'secure' : false },
);
}
],
-
+ 'cmd_holds_print_full' : [
+ ['command'],
+ function() {
+ var x_print_full_pull_list = document.getElementById('print_full_btn');
+ try {
+ if (progressmeter) {
+ progressmeter.mode = 'undetermined';
+ progressmeter.hidden = false;
+ x_print_full_pull_list.disabled = true;
+ }
+ JSAN.use('util.print');
+ var print = new util.print('default');
+ var robj = obj.network.simple_request('HTML_HOLD_PULL_LIST',[ses()]);
+ if (typeof robj.ilsevent != 'undefined') { throw(robj); }
+ print.simple( robj.template_output().data() );
+ } catch(E) {
+ obj.error.standard_unexpected_error_alert('cmd_holds_print_full',E);
+ }
+ if (progressmeter) {
+ progressmeter.mode = 'determined';
+ progressmeter.hidden = true;
+ x_print_full_pull_list.disabled = false;
+ }
+ }
+ ],
'cmd_holds_print' : [
['command'],
function() {
var x_show_cancelled_deck = document.getElementById('show_cancelled_deck');
var x_clear_shelf_widgets = document.getElementById('clear_shelf_widgets');
var x_expired_checkbox = document.getElementById('expired_checkbox');
+ var x_print_full_pull_list = document.getElementById('print_full_btn');
switch(obj.hold_interface_type) {
case 'shelf':
obj.render_lib_menus({'pickup_lib':true});
break;
case 'pull' :
if (x_fetch_more) x_fetch_more.hidden = false;
+ if (x_print_full_pull_list) x_print_full_pull_list.hidden = false;
if (x_lib_type_menu) x_lib_type_menu.hidden = true;
if (x_lib_menu_placeholder) x_lib_menu_placeholder.hidden = true;
break;
<command id="cmd_csv_to_printer" />
<command id="cmd_csv_to_file" />
<command id="cmd_holds_print" />
+ <command id="cmd_holds_print_full" />
<command id="cmd_show_catalog" />
<command id="cmd_retrieve_patron" />
<command id="cmd_holds_edit_desire_mint_condition" />
</button>
<button id="holds_print" label="&staff.patron.holds_overlay.print.label;" command="cmd_holds_print" accesskey="&staff.patron.holds_overlay.print.accesskey;" />
+ <button id="print_full_btn" hidden="true" label="&staff.patron.holds_overlay.print_full_pull_list.label;" command="cmd_holds_print_full" accesskey="&staff.patron.holds_overlay.print_full_pull_list.accesskey;" />
<spacer flex="1"/>
</hbox>