Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
selector: 'eg-patron-checkout'
})
export class CheckoutComponent implements OnInit, AfterViewInit {
+ static autoId = 0;
maxNoncats = 99; // Matches AngJS version
checkoutNoncat: IdlObject = null;
gridifyResult(result: CheckoutResult) {
const entry: CircGridEntry = {
+ index: CheckoutComponent.autoId++,
copy: result.copy,
circ: result.circ,
dueDate: null,
}
export interface CircGridEntry {
+ index: number;
title?: string;
author?: string;
isbn?: string;