JBAS-544 Prevent manually setting 'Lost & Paid' status
authorBill Erickson <berickxx@gmail.com>
Thu, 16 Jun 2016 16:36:05 +0000 (12:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Disable manual access to the copy Lost & Paid status.  When used, it is
applied by the system, not the staff.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/xul/staff_client/chrome/content/main/constants.js

index 728b40e..eb0b9b3 100644 (file)
@@ -46,7 +46,8 @@ var my_constants = {
         '6' : { 'disable_in_copy_editor' : true, 'block_mark_item_damaged' : false, 'block_mark_item_action' : true }, /* | In transit     | t */
         '8' : { 'disable_in_copy_editor' : true, 'block_mark_item_damaged' : false, 'block_mark_item_action' : false }, /* | On holds shelf | t */
         '16' : { 'disable_in_copy_editor' : true, 'block_mark_item_damaged' : false, 'block_mark_item_action' : true }, /* | Long Overdue  | f */
-        '18' : { 'disable_in_copy_editor' : true, 'block_mark_item_damaged' : false, 'block_mark_item_action' : false} /* | Canceled Transit | t */
+        '17' : { 'disable_in_copy_editor' : true, 'block_mark_item_damaged' : false, 'block_mark_item_action' : true }, /* | Lost & Paid */
+        '18' : { 'disable_in_copy_editor' : true, 'block_mark_item_damaged' : false, 'block_mark_item_action' : false}  /* | Canceled Transit | t */
     }
 }