Add note that overrides will stay for the session
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 27 Jul 2011 21:14:43 +0000 (17:14 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 10 Aug 2011 18:06:23 +0000 (14:06 -0400)
Same way other overrides get an additional note.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/circ/checkout.js
Open-ILS/xul/staff_client/server/locale/en-US/circ.properties

index 8e34752..ee4d317 100644 (file)
@@ -663,12 +663,21 @@ circ.checkout.prototype = {
                     ],
                     'auto_override_these_events' : obj.auto_override_events,
                     'text' : {
+                        '1212' : function(r) {
+                            return document.getElementById('circStrings').getString('staff.circ.checkout.override.will_auto');
+                        },
+                        '1213' : function(r) {
+                            return document.getElementById('circStrings').getString('staff.circ.checkout.override.will_auto');
+                        },
                         '1232' : function(r) {
                             return document.getElementById('circStrings').getString('staff.circ.checkout.override.item_deposit_required.warning');
                         },
                         '1233' : function(r) {
                             return document.getElementById('circStrings').getString('staff.circ.checkout.override.item_rental_fee_required.warning');
                         },
+                        '7002' : function(r) {
+                            return document.getElementById('circStrings').getString('staff.circ.checkout.override.will_auto');
+                        },
                         '7004' : function(r) {
                             try {
                                 status_name = obj.data.hash.ccs[ r.payload.status() ].name();
@@ -679,6 +688,9 @@ circ.checkout.prototype = {
                         },
                         '7010' : function(r) {
                             return r.payload;
+                        },
+                        '7013' : function(r) {
+                            return document.getElementById('circStrings').getString('staff.circ.checkout.override.will_auto');
                         }
                     }
                 }
index b155e5b..8e60635 100644 (file)
@@ -48,6 +48,7 @@ staff.circ.checkout.barcode.failed.alert=Check Out Failed %1$s
 staff.circ.checkout.override.confirm=Override Checkout Failure?
 staff.circ.checkout.override.item_deposit_required.warning=A billing for an Item Deposit will be added to the patron's account if this action is overrided.
 staff.circ.checkout.override.item_rental_fee_required.warning=A billing for an Item Rental Fee will be added to the patron's account if this action is overrided.
+staff.circ.checkout.override.will_auto=If accepted this override will remain for the rest of this patron's session.
 staff.circ.checkout.not_cataloged.confirm=Mis-scan or non-cataloged item.  Checkout as a pre-cataloged item?
 staff.circ.pre_cataloged=Pre-cataloged
 staff.circ.non_cataloged=Non-cataloged