From 5d6c91eb581e29e937db3619026174f69ebfd5df Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 23 Sep 2010 23:01:06 +0000 Subject: [PATCH] I can has authoritative for selfcheck receipts git-svn-id: svn://svn.open-ils.org/ILS/trunk@17935 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ.pm | 3 +++ Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm index f85c75482..ba7c93fcb 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 4ef30e5c7..a10ad0abc 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, -- 2.11.0