I can has authoritative for selfcheck receipts
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Sep 2010 23:01:06 +0000 (23:01 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Sep 2010 23:01:06 +0000 (23:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17935 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js

index f85c754..ba7c93f 100644 (file)
@@ -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
index 4ef30e5..a10ad0a 100644 (file)
@@ -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,