note : payment_blob.note
}
var robj = g.network.simple_request( 'BILL_PAY', [ ses(), payment_blob ]);
- if (robj == 1) { return true; }
if (typeof robj.ilsevent != 'undefined') {
switch(Number(robj.ilsevent)) {
case 0 /* SUCCESS */ : return true; break;
default: throw(robj); break;
}
}
+ return true;
} catch(E) {
g.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.bills.pay.payment_failed'),E);
return false;
api.BILL_PAY.method,
[ ses(), payment_blob ]
);
- if (robj == 1) { return true; }
if (typeof robj.ilsevent != 'undefined') {
switch(Number(robj.ilsevent)) {
case 0 /* SUCCESS */ : return true; break;
default: throw(robj); break;
}
}
+ return true;
} catch(E) {
obj.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.bills.pay.payment_failed'),E);
return false;