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; }
<columns> <column flex="0" /> <column flex="0" /> </columns>
<rows id="page1_rows">
<row><label value="&staff.patron.bill_wizard.location.value;"/><textbox id="wizard_billing_location" disabled="true" context="clipboard" /></row>
- <row><label value="&staff.patron.bill_wizard.transaction_type.value;"/>
- <menulist id="xact_type">
- <menupopup>
- <menuitem label="&staff.patron.bill_wizard.grocery.label;" value="grocery" selected="true"/>
- <menuitem label="&staff.patron.bill_wizard.circulation.label;" value="circulation" disabled="true"/>
- </menupopup>
- </menulist>
- </row>
<row><label value="&staff.patron.bill_wizard.billing_type.label;"/>
<hbox id="menu_placeholder"/>
</row>
'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'
},
{
'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,