tweak work log statement in Checkout interface to handle on the fly renewals
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Nov 2009 22:02:15 +0000 (22:02 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Nov 2009 22:02:15 +0000 (22:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14817 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkout.js
Open-ILS/xul/staff_client/server/locale/en-US/circ.properties

index a3a7f34..fba37d1 100644 (file)
@@ -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(),
index 69f3b56..857af5e 100644 (file)
@@ -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