}).subscribe(
a => { this.attributes.push(a);
}, err => {
- console.log(err);
+ console.debug(err);
}, () => {
this.fetchData('type', event.id);
});
(resp) => {
this.reservationsGrid.reloadGrid();
this.patronBarcode = resp.card().barcode(); },
- (err) => { console.log(err); }
+ (err) => { console.debug(err); }
);
} else if (this.resourceBarcode) {
this.selectedFilter = 'resource';
flesh_fields: {'au': ['card']}
}).subscribe(
(resp) => { this.patronBarcode = resp.card().barcode(); },
- (err) => { console.log(err); }
+ (err) => { console.debug(err); }
);
});
(success) => {
this.readyGrid.reload();
this.pickedUpGrid.reloadGrid(); },
- (error) => { console.log(error); }
+ (error) => { console.debug(error); }
));
};
this.store.getItem('eg.booking.pickup.ready.only_show_captured').then(onlyCaptured => {
(res) => this.handleSuccessfulCancel(res),
(err) => alert('ERR: ' + JSON.stringify(err))
);
- },
- dismissed => console.log('user cancelled'));
+ });
};
this.viewByPatron = (reservations: IdlObject[]) => {
{'patron_barcode': this.patronBarcode, 'reservation': reservation})
.pipe(tap(
(success) => { this.grid.reload(); },
- (error) => { console.log(error); }
+ (error) => { console.debug(error); }
));
};
}