From: erickson Date: Thu, 23 Sep 2010 23:01:06 +0000 (+0000) Subject: I can has authoritative for selfcheck receipts X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5d6c91eb581e29e937db3619026174f69ebfd5df;p=evergreen%2Fpines.git I can has authoritative for selfcheck receipts git-svn-id: svn://svn.open-ils.org/ILS/trunk@17935 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm index f85c754828..ba7c93fcbe 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm @@ -1456,6 +1456,7 @@ sub test_batch_circ_events { __PACKAGE__->register_method( method => "fire_circ_events", api_name => "open-ils.circ.fire_circ_trigger_events", + authoritative => 1, signature => q/ General event def runner for circ objects. If no event def ID is provided, the hook will be used to find the best event_def @@ -1466,6 +1467,7 @@ __PACKAGE__->register_method( __PACKAGE__->register_method( method => "fire_circ_events", api_name => "open-ils.circ.fire_hold_trigger_events", + authoritative => 1, signature => q/ General event def runner for hold objects. If no event def ID is provided, the hook will be used to find the best event_def @@ -1476,6 +1478,7 @@ __PACKAGE__->register_method( __PACKAGE__->register_method( method => "fire_circ_events", api_name => "open-ils.circ.fire_user_trigger_events", + authoritative => 1, signature => q/ General event def runner for user objects. If no event def ID is provided, the hook will be used to find the best event_def diff --git a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js index 4ef30e5c7d..a10ad0abca 100644 --- a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js +++ b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js @@ -1216,7 +1216,7 @@ SelfCheckManager.prototype.printSessionReceipt = function(callback) { var self = this; fieldmapper.standardRequest( - ['open-ils.circ', 'open-ils.circ.fire_circ_trigger_events'], + ['open-ils.circ', 'open-ils.circ.fire_circ_trigger_events.authoritative'], { async : true, params : params, @@ -1285,7 +1285,7 @@ SelfCheckManager.prototype.printItemsOutReceipt = function(callback) { var self = this; fieldmapper.standardRequest( - ['open-ils.circ', 'open-ils.circ.fire_circ_trigger_events'], + ['open-ils.circ', 'open-ils.circ.fire_circ_trigger_events.authoritative'], { async : true, params : params,