added a comment regarding desired "Check Patron Profile" event
authorpzed <pzed@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 20 Aug 2009 17:27:38 +0000 (17:27 +0000)
committerpzed <pzed@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 20 Aug 2009 17:27:38 +0000 (17:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@628 6d9bc8c9-1ec2-4278-b937-99fde70a366f

circ/circ_permit_copy.js

index 1968af3..bf276a5 100644 (file)
@@ -56,7 +56,7 @@ if (copy.circ_lib.shortname == 'OWA') {
        if (isValidPatron(patronProfile, valid_patrons)) {\r
   \r
                // permit circulations for the following circ modifiers to all patrons\r
-               var circ_allow_list = ['CIRC', 'CRC MEDIA', 'CRC SPEC', 'CRC TEXT', 'DOC', 'DVD VIDEO', 'MAP (CIRCULATING)', 'MEDIA', 'MFORM', 'REF', 'THESIS'];\r
+               var circ_allow_list = ['CIRC', 'CRC MEDIA', 'CRC SPEC', 'CRC TEXT', 'DOC', 'DVD VIDEO', 'MEDIA', 'MFORM', 'REF', 'THESIS'];\r
 \r
                // add permissions for patron groups who are not external borrowers\r
                if (patronProfile == 'Faculty' || patronProfile == 'Graduate' || patronProfile == 'Undergraduate' || patronProfile == 'Staff members') {\r
@@ -78,7 +78,7 @@ if (copy.circ_lib.shortname == 'OWA') {
                }\r
 \r
        } else {\r
-               result.events.push('COPY_CIRC_NOT_ALLOWED');\r
+               result.events.push('COPY_CIRC_NOT_ALLOWED'); // would prefer this to push a "Check Patron Profile" message\r
        }\r
 } // end permissions for Windsor Leddy\r
 \r
@@ -112,7 +112,7 @@ if (copy.circ_lib.shortname == 'OWAL') {
                }\r
 \r
        } else {\r
-               result.events.push('COPY_CIRC_NOT_ALLOWED');\r
+               result.events.push('COPY_CIRC_NOT_ALLOWED'); // would prefer this to push a "Check Patron Profile" message\r
        }\r
 } // end permissions for Windsor Law\r
 \r