change Check Barcodes? checkbox in Volume/Item creator to Use Checkdigit. In additio...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 Aug 2010 06:33:37 +0000 (06:33 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 Aug 2010 06:33:37 +0000 (06:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17167 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js

index a1413ab..575f100 100644 (file)
 <!ENTITY staff.cat.spine_labels.available_macros.label "Available Macros">
 <!ENTITY staff.cat.volume_copy_creator.title "Volume and Copy Editor">
 <!ENTITY staff.cat.volume_copy_creator.label "Volume and Copy Creator">
-<!ENTITY staff.cat.volume_copy_creator.check_barcodes.label "Check Barcodes?">
-<!ENTITY staff.cat.volume_copy_creator.check_barcodes.accesskey "B">
+<!ENTITY staff.cat.volume_copy_creator.check_barcodes.label "Use Checkdigit">
+<!ENTITY staff.cat.volume_copy_creator.check_barcodes.accesskey "t">
 <!ENTITY staff.cat.volume_copy_creator.generate_barcodes.label "Auto-Generate Barcodes?">
 <!ENTITY staff.cat.volume_copy_creator.generate_barcodes.accesskey "G">
 <!ENTITY staff.cat.volume_copy_creator.print_labels.label "Print Labels?">
index da73c5b..d48b3ca 100644 (file)
@@ -351,7 +351,12 @@ g.generate_barcodes = function() {
 
         var barcodes = g.network.simple_request(
             'AUTOGENERATE_BARCODES',
-            [ ses(), first_barcode, nodes.length - 1 ]
+            [
+                ses(),
+                first_barcode,
+                nodes.length - 1,
+                $('check_barcodes').checked ? {} : { "checkdigit" : false }
+            ]
         );
 
         if (typeof barcodes.ilsevent != 'undefined') {