if (patronId) {
promise = promise.then(_ => {
- return this.pcrud.retrieve('au', patronId)
+ return this.pcrud.retrieve('au', patronId,
+ {flesh: 1, flesh_fields : {'au' : ['card']}})
.toPromise().then(p => result.patron = p);
});
}
<ng-template #transitTmpl>
<div>
- <span class="mr-2" i18n>checkin.destination</span>
+ <span class="mr-2" i18n>Destination</span>
<strong>{{checkin.destOrg.shortname()}}</strong>
</div>
<div *ngIf="checkin.destCourierCode">{{checkin.destCourierCode}} </div>
</div>
<ng-container *ngTemplateOutlet="itemSummary"></ng-container>
<br/>
- <div *ngIf="checkin.patron">
+ <div *ngIf="checkin.hold">
<ng-container *ngTemplateOutlet="patronSummary"></ng-container>
<br/>
<ng-container *ngTemplateOutlet="holdSummary"></ng-container>