From: Bill Erickson Date: Thu, 29 Apr 2021 19:08:01 +0000 (-0400) Subject: LP1904036 Hold Capture entry points X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=766ff59efa04071dca8f0e1a6d50c906a63f88b1;p=Evergreen.git LP1904036 Hold Capture entry points Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.html b/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.html index e994e68cee..207a63b3dd 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.html @@ -1,4 +1,9 @@ - + + + + + + @@ -95,7 +100,7 @@
+ [disablePaging]="true" [persistKey]="persistKey"> { + if (data && data.capture) { + this.isHoldCapture = true; + this.persistKey = 'circ.checkin.capture'; + } else { + this.isHoldCapture = false; + this.persistKey = 'circ.checkin.checkin'; + } + }); + this.gridDataSource.getRows = (pager: Pager, sort: any[]) => { return from(this.checkins); }; @@ -118,6 +130,8 @@ export class CheckinComponent implements OnInit, AfterViewInit { this.strictBarcode = sets['circ.checkin.strict_barcode']; if (this.isHoldCapture) { + // In hold capture mode, some modifiers are forced + // regardless of preferences. this.modifiers.noop = false; this.modifiers.auto_print_holds_transits = true; } diff --git a/Open-ILS/src/eg2/src/app/staff/circ/checkin/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/circ/checkin/routing.module.ts index df175a0e22..77d3c0a1c7 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/checkin/routing.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/checkin/routing.module.ts @@ -5,6 +5,10 @@ import {CheckinComponent} from './checkin.component'; const routes: Routes = [{ path: '', component: CheckinComponent + }, { + path: 'capture', + component: CheckinComponent, + data: {capture: true} }]; @NgModule({ diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index ec48cbcec8..6e73bd4948 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -71,6 +71,10 @@ Capture Holds + + + Capture Holds (Experimental) + Pull List for Hold Requests diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index 2dc7ec6f77..bc1d4e1e93 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -122,6 +122,12 @@
  • + + + [% l('Capture Holds (Experimental)') %] + +
  • +
  • [% l('Pull List for Hold Requests') %]