COPY_NEEDED_FOR_HOLD
[Evergreen.git] / 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');