Include barcode in pre-cat confirm dialog user/bshum/precat_include_barcode
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 3 Oct 2012 19:27:37 +0000 (15:27 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 11 Oct 2012 19:41:15 +0000 (15:41 -0400)
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/server/circ/checkout.js
Open-ILS/xul/staff_client/server/locale/en-US/circ.properties

index 08455c3..ea20f89 100644 (file)
@@ -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'),
index 3f34a0f..6b527e2 100644 (file)
@@ -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