From 7e262fee6462dc71dc25ff82645d57104840bdc0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 16 Jun 2016 12:36:05 -0400 Subject: [PATCH] JBAS-544 Prevent manually setting 'Lost & Paid' status 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 --- Open-ILS/xul/staff_client/chrome/content/main/constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index 728b40e779..eb0b9b303b 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -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 */ } } -- 2.11.0