'open-ils.actor.get_barcodes',
this.auth.token(),
this.auth.user().ws_ou(),
- 'actor', control.value));
+ 'actor', control.value.trim()));
}
private parseActorCall = (actorCall: Observable<any>) => {
'open-ils.booking',
'open-ils.booking.reservations.create',
this.auth.token(),
- this.patronBarcode.value,
+ this.patronBarcode.value.trim(),
this.selectedTimes,
this.pickupLibId,
this.targetResourceType.id,
'open-ils.actor.get_barcodes',
this.auth.token(),
this.auth.user().ws_ou(),
- 'actor', this.patronBarcode.value).pipe(
+ 'actor', this.patronBarcode.value.trim()).pipe(
single(),
switchMap((result) => {
return this.pcrud.retrieve('au', result[0]['id']).pipe(
'open-ils.actor',
'open-ils.actor.get_barcodes',
this.auth.token(), this.auth.user().ws_ou(),
- 'actor', this.patronBarcode.value).pipe(
+ 'actor', this.patronBarcode.value.trim()).pipe(
single(),
tap((response) =>
this.router.navigate(['/staff', 'booking', 'manage_reservations', 'by_patron', response[0].id])
'open-ils.actor',
'open-ils.actor.get_barcodes',
this.auth.token(), this.auth.user().ws_ou(),
- 'actor', barcode);
+ 'actor', barcode.trim());
}
}