From 6592e20056802947a11bf264e68134309e72fa60 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 27 Jul 2011 17:14:43 -0400 Subject: [PATCH] Add note that overrides will stay for the session Same way other overrides get an additional note. Signed-off-by: Thomas Berezansky Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/server/circ/checkout.js | 12 ++++++++++++ .../staff_client/server/locale/en-US/circ.properties | 1 + 2 files changed, 13 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index 8e34752fa4..ee4d317527 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -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'); } } } diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties index b155e5bafb..8e6063523f 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties @@ -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 -- 2.43.2