From 2f181e5acc7001cbf38dc0510bd9eeae35112a0e Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 3 Oct 2012 15:27:37 -0400 Subject: [PATCH] Include barcode in pre-cat confirm dialog This allows staff to see what was scanned into the field as part of the dialog window prior to confirming creating a pre-cat for it. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum --- Open-ILS/xul/staff_client/server/circ/checkout.js | 2 +- Open-ILS/xul/staff_client/server/locale/en-US/circ.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index 30dcec2853..9b6089c906 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -748,7 +748,7 @@ circ.checkout.prototype = { if (test_event(permit,1202 /* ITEM_NOT_CATALOGED */)) { if ( 1 == obj.error.yns_alert( - document.getElementById('circStrings').getString('staff.circ.checkout.not_cataloged.confirm'), + document.getElementById('circStrings').getFormattedString('staff.circ.checkout.not_cataloged.confirm', [params.barcode]), document.getElementById('circStrings').getString('staff.circ.alert'), document.getElementById('circStrings').getString('staff.circ.cancel'), document.getElementById('circStrings').getString('staff.circ.pre_cataloged'), 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 2acaf706b2..0cba79908d 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 @@ -49,7 +49,7 @@ 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 overriden now, subsequent checkouts during this patron's session will auto-override this event. -staff.circ.checkout.not_cataloged.confirm=Mis-scan or non-cataloged item. Checkout as a pre-cataloged item? +staff.circ.checkout.not_cataloged.confirm=Barcode %1$s was either mis-scanned or is a non-cataloged item. Checkout as a pre-cataloged item? staff.circ.pre_cataloged=Pre-cataloged staff.circ.non_cataloged=Non-cataloged staff.circ.checkout.cancelled=Checkout cancelled -- 2.43.2