this.notOnePatronSelected = (rows: IdlObject[]) => (new Set(rows.map(row => row.usr().id())).size !== 1);
this.notOneResourceSelected = (rows: IdlObject[]) => (new Set(rows.map(row => row.current_resource().id())).size !== 1);
this.cancelNotAppropriate = (rows: IdlObject[]) => (this.noSelectedRows(rows) || ('pickedUp' === this.status));
- this.returnNotAppropriate = (rows: IdlObject[]) => {
+ this.returnNotAppropriate = (rows: IdlObject[]) => {
if (this.noSelectedRows(rows)) {
return true;
} else {
});
}
return false;
- }
+ };
this.reloadGrid = () => { this.grid.reload(); };
'open-ils.actor',
'open-ils.actor.get_barcodes',
this.auth.token(), this.auth.user().ws_ou(),
- 'actor', barcode).pipe(single());
+ 'actor', barcode).pipe(single());
}
}