[open-ils-commits] r14343 - in trunk/Open-ILS/xul/staff_client/server: locale/en-US patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 9 19:09:22 EDT 2009
Author: phasefx
Date: 2009-10-09 19:09:22 -0400 (Fri, 09 Oct 2009)
New Revision: 14343
Modified:
trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js
Log:
When editing billing or payment notes, default with the existing notes. If batch editing, concatenate the existing notes.
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties 2009-10-09 22:06:32 UTC (rev 14342)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties 2009-10-09 23:09:22 UTC (rev 14343)
@@ -13,11 +13,9 @@
staff.patron.bill_details.my_init.error=bill_details.xul, my_init:
staff.patron.bill_details.handle_edit_bill_note.note_dialog.title=Replacement Note
staff.patron.bill_details.handle_edit_bill_note.note_dialog.prompt=Enter new note:
-staff.patron.bill_details.handle_edit_bill_note.note_dialog.default_value=
staff.patron.bill_details.handle_edit_bill_note.failure=Note for selected bills not likely updated.
staff.patron.bill_details.handle_edit_payment_note.note_dialog.title=Replacement Note
staff.patron.bill_details.handle_edit_payment_note.note_dialog.prompt=Enter new note:
-staff.patron.bill_details.handle_edit_payment_note.note_dialog.default_value=
staff.patron.bill_details.handle_edit_payment_note.failure=Note for selected payments not likely updated.
staff.patron.bill_details.handle_void.voided_billings.alert=All selected billings have already voided.
staff.patron.bill_details.handle_void.confirm_void_billing=Are you sure you would like to void $%1$s worth of line-item billings?
Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js 2009-10-09 22:06:32 UTC (rev 14342)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill_details.js 2009-10-09 23:09:22 UTC (rev 14343)
@@ -249,7 +249,7 @@
if (mb_list.length == 0) return;
var new_note = window.prompt(
$("patronStrings").getString('staff.patron.bill_details.handle_edit_bill_note.note_dialog.prompt'),
- $("patronStrings").getString('staff.patron.bill_details.handle_edit_bill_note.note_dialog.default_value'),
+ util.functional.map_list(g.bill_list_selection, function(o){return g.mb_list[o].note();}).join(", "),
$("patronStrings").getString('staff.patron.bill_details.handle_edit_bill_note.note_dialog.title')
);
if (new_note) {
@@ -274,7 +274,7 @@
if (mp_list.length == 0) return;
var new_note = window.prompt(
$("patronStrings").getString('staff.patron.bill_details.handle_edit_payment_note.note_dialog.prompt'),
- $("patronStrings").getString('staff.patron.bill_details.handle_edit_payment_note.note_dialog.default_value'),
+ util.functional.map_list(g.payment_list_selection, function(o){return g.mp_list[o].note();}).join(", "),
$("patronStrings").getString('staff.patron.bill_details.handle_edit_payment_note.note_dialog.title')
);
if (new_note) {
More information about the open-ils-commits
mailing list