From: Kathy Lussier Date: Fri, 7 Aug 2015 20:23:19 +0000 (-0400) Subject: lp1436797-Remove grocery from the UI X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fkmlussier%2Flp1436797-remove-grocery-from-ui;p=working%2FEvergreen.git lp1436797-Remove grocery from the UI Removes xact_type as a menu when adding a bill and from column lists. End users are confused by the 'grocery' terminology and the info isn't really necessary to display in the UI. This branch also displays the last billing type and last billing note by default since these two fields will let staff know if the bill is system generated. Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/xul/staff_client/server/patron/bill_history.js b/Open-ILS/xul/staff_client/server/patron/bill_history.js index d897f6f780..33c237cb3d 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_history.js +++ b/Open-ILS/xul/staff_client/server/patron/bill_history.js @@ -177,11 +177,6 @@ function init_payments_list() { g.payments_list.init( { 'columns' : g.payments_list.fm_columns('mp').concat( [ { - 'id' : 'payments_blob_xact_type', 'flex' : 0, - 'label' : $('patronStrings').getString('staff.patron.bill_history.column.xact_type.label'), - 'render' : function(my) { return my.xact_type; } - }, - { 'id' : 'payments_blob_last_billing_type', 'flex' : 0, 'label' : $('patronStrings').getString('staff.patron.bill_history.column.last_billing_type.label'), 'render' : function(my) { return my.last_billing_type; } diff --git a/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul b/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul index 44cb12a923..dcf8d7a4ba 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul +++ b/Open-ILS/xul/staff_client/server/patron/bill_wizard.xul @@ -47,14 +47,6 @@ - diff --git a/Open-ILS/xul/staff_client/server/patron/util.js b/Open-ILS/xul/staff_client/server/patron/util.js index d77b3de07c..b07c1287c8 100644 --- a/Open-ILS/xul/staff_client/server/patron/util.js +++ b/Open-ILS/xul/staff_client/server/patron/util.js @@ -27,10 +27,6 @@ patron.util.mbts_columns = function(modify,params) { 'primary' : false, 'hidden' : true, 'editable' : false, 'render' : function(my) { return my.mbts.usr() ? "Id = " + my.mbts.usr() : ""; } }, { - 'id' : 'xact_type', 'label' : commonStrings.getString('staff.mbts_xact_type_label'), 'flex' : 1, - 'primary' : false, 'hidden' : false, 'editable' : false, 'render' : function(my) { return my.mbts.xact_type(); } - }, - { 'id' : 'balance_owed', 'label' : commonStrings.getString('staff.mbts_balance_owed_label'), 'flex' : 1, 'primary' : false, 'hidden' : false, 'editable' : false, 'render' : function(my) { return util.money.sanitize( my.mbts.balance_owed() ); }, 'sort_type' : 'money' @@ -47,11 +43,11 @@ patron.util.mbts_columns = function(modify,params) { }, { 'id' : 'last_billing_note', 'label' : commonStrings.getString('staff.mbts_last_billing_note_label'), 'flex' : 2, - 'primary' : false, 'hidden' : true, 'editable' : false, 'render' : function(my) { return my.mbts.last_billing_note(); } + 'primary' : false, 'hidden' : false, 'editable' : false, 'render' : function(my) { return my.mbts.last_billing_note(); } }, { 'id' : 'last_billing_type', 'label' : commonStrings.getString('staff.mbts_last_billing_type_label'), 'flex' : 1, - 'primary' : false, 'hidden' : true, 'editable' : false, 'render' : function(my) { return my.mbts.last_billing_type(); } + 'primary' : false, 'hidden' : false, 'editable' : false, 'render' : function(my) { return my.mbts.last_billing_type(); } }, { 'id' : 'last_billing_ts', 'label' : commonStrings.getString('staff.mbts_last_billing_timestamp_label'), 'flex' : 1,