[open-ils-commits] r12696 - in trunk/Open-ILS/xul/staff_client/server: cat locale/en-US (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 26 16:29:30 EDT 2009


Author: phasefx
Date: 2009-03-26 16:29:26 -0400 (Thu, 26 Mar 2009)
New Revision: 12696

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/util.js
   trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
Log:
assume auto-checkin for now for Mark Item Damaged

Modified: trunk/Open-ILS/xul/staff_client/server/cat/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/util.js	2009-03-26 19:22:00 UTC (rev 12695)
+++ trunk/Open-ILS/xul/staff_client/server/cat/util.js	2009-03-26 20:29:26 UTC (rev 12696)
@@ -314,6 +314,8 @@
                                 if (! my_circ.checkin_time() ) {
                                     var due_date = my_circ.due_date() ? my_circ.due_date().substr(0,10) : null;
                                     var auto_checkin = String( data.hash.aous['circ.auto_checkin_on_mark_damage'] ) == 'true';
+                                    /* short-circuit this behavior.  We don't want to mark an item damaged and still have it circulating.  At least for now.  Wait until someone asks for it. */
+                                    auto_checkin = true; 
                                     JSAN.use('patron.util');
                                     var patron_obj = patron.util.retrieve_fleshed_au_via_id( ses(), my_circ.usr() );
                                     var patron_name = ( patron_obj.prefix() ? patron_obj.prefix() + ' ' : '') +

Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties	2009-03-26 19:22:00 UTC (rev 12695)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/cat.properties	2009-03-26 20:29:26 UTC (rev 12696)
@@ -334,7 +334,7 @@
 staff.cat.util.mark_item_damaged.af_title=Action failed.
 staff.cat.util.mark_item_damaged.af_ok_label=OK
 staff.cat.util.mark_item_damaged.af_confirm_action=Check here to confirm this message
-staff.cat.util.mark_item_damaged.md_message=Change the status for these items to Damaged?  You will have to manually retrieve the last circulation if you need to bill a patron.  Barcodes: %1$s
+staff.cat.util.mark_item_damaged.md_message=Change the status for these items to Damaged?  Barcodes: %1$s
 staff.cat.util.mark_item_damaged.md_title=Mark Damaged
 staff.cat.util.mark_item_damaged.md_ok_label=OK
 staff.cat.util.mark_item_damaged.md_cancel_label=Cancel
@@ -345,7 +345,7 @@
 staff.cat.util.mark_item_damaged.checkin.forgiving_checkin=Forgiving Checkin
 staff.cat.util.mark_item_damaged.checkin.confirm_action=Check here to confirm this action
 staff.cat.util.mark_item_damaged.item_circulating_to_patron=Item %1$s is checked out to patron, %2$s, and is due on %3$s. 
-staff.cat.util.mark_item_damaged.charge_patron_prompt.message=Item %1$s will be marked damaged.  Was returned on %3$s by %2$s.  Charge this patron $%4$s for the damage?
+staff.cat.util.mark_item_damaged.charge_patron_prompt.message=Item %1$s will be marked damaged.  Was returned on %3$s for %2$s.  Charge this patron $%4$s for the damage?
 staff.cat.util.mark_item_damaged.charge_patron_prompt.title=Charge Patron For Damaged Item?
 staff.cat.util.mark_item_damaged.charge_patron_prompt.ok_label=OK
 staff.cat.util.mark_item_damaged.charge_patron_prompt.cancel_label=Cancel



More information about the open-ils-commits mailing list