Signed-off-by: Bill Erickson <berick@esilibrary.com>
override[field] = {widgetValue : args[field]};
}
+ // push the name of the invoice into the name display field after update
+ override.inv_ident = dojo.mixin(
+ override.inv_ident,
+ {dijitArgs : {onChange :
+ function(newVal) {
+ if (dojo.byId('acq-invoice-summary-name'))
+ dojo.byId('acq-invoice-summary-name').innerHTML = newVal;
+ }
+ }}
+ );
+
+
var pane = new openils.widget.EditPane({
fmObject : inv,
paneStackCount : 2,
}
if(invoice) {
-
- // TODO : update for new invoices
- dojo.byId('acq-invoice-summary-name').innerHTML = invoice.inv_ident();
-
dojo.forEach(
invoice.items(),
function(item) {