From 907c987dedf7e68ecd75876a6333d5b4ebcb7d69 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 29 Nov 2021 15:59:57 -0500 Subject: [PATCH] LP1904036 Checkin grid get Edit Items action Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../src/eg2/src/app/staff/circ/checkin/checkin.component.html | 5 +++++ Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.ts | 8 ++++++++ 2 files changed, 13 insertions(+) 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 0bd4165aa0..0a9725cf71 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 @@ -125,6 +125,11 @@ + + + diff --git a/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.ts index d072adc016..f95481f00f 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/checkin/checkin.component.ts @@ -421,6 +421,14 @@ export class CheckinComponent implements OnInit, AfterViewInit { this.holdings.spawnAddHoldingsUi(null, null, null, ids); } + editItems(rows: CheckinGridEntry[]) { + const ids = this.getCopyIds(rows); + if (ids.length === 0) { return; } + + this.holdings.spawnAddHoldingsUi(null, null, null, ids, false, true); + } + + openItemPrintLabels(rows: CheckinGridEntry[]) { const ids = this.getCopyIds(rows); if (ids.length === 0) { return; } -- 2.11.0