From: phasefx Date: Fri, 6 Nov 2009 22:02:15 +0000 (+0000) Subject: tweak work log statement in Checkout interface to handle on the fly renewals X-Git-Tag: kcls-grey-screen-prod1~3070 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7de2f52e9b9a33efe646e7de2a7a2305ca84c93f;p=evergreen%2Fequinox.git tweak work log statement in Checkout interface to handle on the fly renewals git-svn-id: svn://svn.open-ils.org/ILS/trunk@14817 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index a3a7f34d21..fba37d1cad 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -427,9 +427,10 @@ circ.checkout.prototype = { //I could override map_row_to_column here } ); - obj.error.work_log( + obj.error.work_log( document.getElementById('circStrings').getFormattedString( - 'staff.circ.work_log_checkout.message', + (get_bool(checkout.payload.circ.opac_renewal())||get_bool(checkout.payload.circ.phone_renewal())||get_bool(checkout.payload.circ.desk_renewal())) ? + 'staff.circ.work_log_renew.message' : 'staff.circ.work_log_checkout.message', [ ses('staff_usrname'), xulG.patron.family_name(), diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties index 69f3b563ef..857af5ec37 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties @@ -364,6 +364,7 @@ staff.circ.utils.total_holds=Total Number of Holds staff.circ.work_log_column.message=Message staff.circ.work_log_column.when=When staff.circ.work_log_checkout.message=%1$s circulated %4$s to %3$s (%2$s) +staff.circ.work_log_renew.message=%1$s renewed %4$s for %3$s (%2$s) staff.circ.checkin.hold_capture=Hold Capture staff.circ.checkin.check_in.tab=Item Check In staff.circ.renew.tab.label=Renew Items