From e7ae0386fc51be5003377c22ee2d0a35be13144e Mon Sep 17 00:00:00 2001 From: pines Date: Sat, 2 Sep 2006 19:34:45 +0000 Subject: [PATCH] show the backdate if checkin_time == 'now' git-svn-id: svn://svn.open-ils.org/ILS/trunk@5868 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkin.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index 970308e8d3..2c8aeef0c3 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -28,7 +28,10 @@ circ.checkin.prototype = { 'status' : { 'hidden' : false }, 'route_to' : { 'hidden' : false }, 'alert_message' : { 'hidden' : false }, - } + }, + { + 'except_these' : [ 'uses', 'checkin_time_full' ], + } ); JSAN.use('util.list'); obj.list = new util.list('checkin_list'); @@ -268,6 +271,7 @@ circ.checkin.prototype = { || checkin.ilsevent == 7011 /* COPY_STATUS_LOST */ || checkin.ilsevent == 7012 /* COPY_STATUS_MISSING */) return obj.on_failure(); var retrieve_id = js2JSON( { 'copy_id' : checkin.copy.id(), 'barcode' : checkin.copy.barcode(), 'doc_id' : (typeof checkin.record != 'undefined' ? ( typeof checkin.record.ilsevent == 'undefined' ? checkin.record.doc_id() : null ) : null ) } ); + if (checkin.circ.checkin_time() == 'now') checkin.circ.checkin_time(backdate); obj.list.append( { 'retrieve_id' : retrieve_id, -- 2.43.2