<!ENTITY staff.patron.bill_history.bills.retrieve.label "Retrieve Transactions">
<!ENTITY staff.patron.bill_history.bills.retrieve.accesskey "R">
+<!ENTITY staff.patron.bill_interface.caption.label "Current Bills">
<!ENTITY staff.patron.bill_interface.total_owed "Total Owed:">
<!ENTITY staff.patron.bill_interface.total_checked "Total Checked:">
<!ENTITY staff.patron.bill_interface.refunds_available "Refunds Available:">
g.error.sdump('D_TRACE','my_init() for bill2.xul');
- if (xul_param('current')) {
- $('caption').setAttribute('label',$("patronStrings").getString('staff.patron.bill_history.my_init.current_bills'));
- document.title = $("patronStrings").getString('staff.patron.bill_history.my_init.current_bills');
- } else {
- $('caption').setAttribute('label',$("patronStrings").getString('staff.patron.bill_history.my_init.bill_history'));
- document.title = $("patronStrings").getString('staff.patron.bill_history.my_init.bill_history');
- }
+ document.title = $("patronStrings").getString('staff.patron.bill_history.my_init.current_bills');
g.funcs = []; g.bill_map = {}; g.row_map = {}; g.check_map = {};
}
].concat(
patron.util.mbts_columns({
- 'mbts_xact_finish' : { 'hidden' : xul_param('current') ? true : false }
+ 'mbts_xact_finish' : { 'hidden' : true }
}
).concat(
circ.util.columns({
function print_bills() {
try {
- var template = 'bills_historical'; if (xul_param('current')) template = 'bills_current';
+ var template = 'bills_current';
JSAN.use('patron.util');
g.patron = patron.util.retrieve_fleshed_au_via_id(ses(),g.patron_id,null);
var params = {
function retrieve_mbts_for_list() {
//var method = 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_CHARGE';
var method = 'FM_MBTS_IDS_RETRIEVE_FOR_HISTORY.authoritative';
- if (xul_param('current')) method = 'FM_MBTS_IDS_RETRIEVE_ALL_HAVING_BALANCE.authoritative';
var date2 = $('bills_date2').dateValue;
date2.setDate( date2.getDate() + 1 ); // Javascript will wrap into subsequent months
var filter = {
g.bill_list.init( {
'columns' :
patron.util.mbts_columns({
- 'xact_finish' : { 'hidden' : xul_param('current') ? true : false }
+ 'xact_finish' : { 'hidden' : false }
}).concat(
circ.util.columns({
'title' : { 'hidden' : false, 'flex' : '3' }
g.error.sdump('D_TRACE','my_init() for bill_history.xul');
- if (xul_param('current')) {
- $('caption').setAttribute('label',$("patronStrings").getString('staff.patron.bill_history.my_init.current_bills'));
- document.title = $("patronStrings").getString('staff.patron.bill_history.my_init.current_bills');
- } else {
- $('caption').setAttribute('label',$("patronStrings").getString('staff.patron.bill_history.my_init.bill_history'));
- document.title = $("patronStrings").getString('staff.patron.bill_history.my_init.bill_history');
- }
+ document.title = $("patronStrings").getString('staff.patron.bill_history.my_init.bill_history');
g.funcs = []; g.bill_map = {}; g.payments_map = {};
function print_bills() {
try {
- var template = 'bills_historical'; if (xul_param('current')) template = 'bills_current';
+ var template = 'bills_historical';
JSAN.use('patron.util');
var params = {
'patron' : patron.util.retrieve_fleshed_au_via_id(ses(),g.patron_id,null),