COPY_NEEDED_FOR_HOLD
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 17:31:18 +0000 (17:31 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Sep 2006 17:31:18 +0000 (17:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6002 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkout.js

index dfe7632..187aff4 100644 (file)
@@ -406,6 +406,7 @@ circ.checkout.prototype = {
                                                7003 /* COPY_CIRC_NOT_ALLOWED */,
                                                7004 /* COPY_NOT_AVAILABLE */, 
                                                7006 /* COPY_IS_REFERENCE */, 
+                                               7007 /* COPY_NEEDED_FOR_HOLD */, 
                                                7010 /* COPY_ALERT_MESSAGE */,
                                                7013 /* PATRON_EXCEEDS_FINES */,
                                        ],
@@ -533,6 +534,10 @@ circ.checkout.prototype = {
                                                        msg += test_permit[i].desc + '\n';
                                                        found_handled = true;
                                                break;
+                                               case 7007 /* COPY_NEEDED_FOR_HOLD */ :
+                                                       msg += test_permit[i].desc + '\n';
+                                                       found_handled = true;
+                                               break;
                                                case 7009 /* CIRC_CLAIMS_RETURNED */ :
                                                        msg += test_permit[i].desc + '\n';
                                                        obj.error.yns_alert(msg,'Check Out Failed','OK',null,null,'Check here to confirm this message');