response.map(r => this.evt.parse(r)) :
[this.evt.parse(response)];
- console.debug('checkout returned', allEvents.map(e => e.textcode));
+ console.debug('checkout events', allEvents.map(e => e.textcode));
+ console.debug('checkout returned', allEvents);
const firstEvent = allEvents[0];
const payload = firstEvent.payload;
this.components.circEventsDialog.patronName = holdShelfEvent.payload.patron_name;
}
+ this.components.circEventsDialog.copyBarcode = result.params.copy_barcode;
this.components.circEventsDialog.events = events;
this.components.circEventsDialog.mode = mode;
<div class="card mb-2">
<div class="card-header text-danger">{{evt.textcode}}</div>
<div class="card-body">
+ <div class="font-weight-bold">{{copyBarcode}}</div>
<div>{{evt.desc}}</div>
<ng-container *ngIf="evt.textcode == 'COPY_ALERT_MESSAGE'">
<ng-container *ngIf="!isArray(evt.payload)">