copy status check vs hold
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Sep 2006 13:53:00 +0000 (13:53 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Sep 2006 13:53:00 +0000 (13:53 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6150 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/copy_details.xul

index d2d8e6a..a56c25e 100644 (file)
                                        $('patron_name').setAttribute('value', au_obj.family_name() + ', ' + au_obj.first_given_name() + ' : ' + au_obj.card().barcode() );
 
                                } else {
-                                       $('hold_caption').setAttribute('label','This item is not captured for a hold.');
+                                       if (g.copy.status() == 8 /* ON HOLDS SHELF */) {
+                                               $('hold_caption').setAttribute('label','This item is not captured for a hold, however its status is incorrectly set to "On Holds Shelf".  Please check this item in to correct the status.');
+                                       } else {
+                                               $('hold_caption').setAttribute('label','This item is not captured for a hold.');
+                                       }
                                        $('hold').hidden = true;
                                }