Skip to content

Commit

Permalink
LP2091041 Angular Self-Check - Display status text
Browse files Browse the repository at this point in the history
Displays text for In Transit and Suspended to bring the display into
alignment with the OPAC > My Account > Holds view.

Release-note: Display hold status in Angular Self Check

Signed-off-by: Terran McCanna <[email protected]>
Signed-off-by: John Amundson <[email protected]>
Signed-off-by: Bill Erickson <[email protected]>
  • Loading branch information
tmccanna authored and berick committed Jan 28, 2025
1 parent f711553 commit e388f56
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Open-ILS/src/eg2/src/app/staff/scko/holds.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div class="d-flex">
<div class="flex-1"></div>
<div class="flex-1 section-title">
<h1 i18n>Holds</h1>
</div>
<div>
<button type="button" class="scko-button" (click)="printList()" i18n>Print List</button>
</div>
Expand All @@ -24,7 +26,13 @@
<ng-container *ngIf="hold.hold_status === 4" i18n>
Ready for Pickup
</ng-container>
<ng-container *ngIf="hold.hold_status !== 4" i18n>
<ng-container *ngIf="hold.hold_status === 7" i18n>
Suspended
</ng-container>
<ng-container *ngIf="hold.hold_status === 3 || hold.hold_status === 8" i18n>
In Transit
</ng-container>
<ng-container *ngIf="hold.hold_status < 3 || hold.hold_status === 5" i18n>
#{{hold.relative_queue_position}} in line with {{hold.potentials}} copie(s)
</ng-container>
</td>
Expand Down

0 comments on commit e388f56

Please sign in to comment.