From 529e79e87054b68634d40b078418e19b84fe97b6 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 30 Nov 2021 17:36:26 -0500 Subject: [PATCH] LP#1942220: improvements to cancel dialog - add recordType parameter so that wording can be adjusted based on what is to be cancelled - expand the wording to make it (hopefully) crystal clear what to do - show all cancel reasons upon combobox click TODO: pluralization for the more-than-one-LI case Signed-off-by: Galen Charlton --- .../src/app/staff/acq/lineitem/batch-copies.component.html | 2 +- .../src/app/staff/acq/lineitem/cancel-dialog.component.html | 12 ++++++++++-- .../src/app/staff/acq/lineitem/cancel-dialog.component.ts | 1 + .../src/app/staff/acq/lineitem/lineitem-list.component.html | 2 +- Open-ILS/src/eg2/src/app/staff/acq/po/summary.component.html | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/batch-copies.component.html b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/batch-copies.component.html index 8a5bb4d132..7f062e8e88 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/batch-copies.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/batch-copies.component.html @@ -4,7 +4,7 @@ dialogTitle="Confirm Alert" dialogBody="{{alertText ? alertText.code() : ''}}"> - + diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/cancel-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/cancel-dialog.component.html index 23ae488701..114bea6884 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/cancel-dialog.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/cancel-dialog.component.html @@ -1,15 +1,23 @@