From d66f13f1fc21869eeb37b9261f6d7711ef809b75 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 24 Sep 2021 10:21:52 -0400 Subject: [PATCH] LP1904036 Remove refs to deprecated alert_message field Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../src/app/staff/circ/patron/alerts.component.html | 10 ---------- .../eg2/src/app/staff/circ/patron/edit.component.html | 18 ------------------ .../eg2/src/app/staff/share/patron/patron.service.ts | 3 --- .../src/app/staff/share/patron/search.component.html | 3 ++- .../src/app/staff/share/patron/summary.component.html | 4 ---- .../src/app/staff/share/patron/summary.component.ts | 4 ---- 6 files changed, 2 insertions(+), 40 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.html index 6c88fbaac9..559a3100d0 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/alerts.component.html @@ -31,16 +31,6 @@ Patron account has invalid addresses. - -
-
-
-
Alert Message
-
{{alerts().alertMessage}}
-
-
-
-
diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html index a557004811..ef3af6bee9 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.html @@ -473,24 +473,6 @@ {args: {template: fieldInput, field: 'claims_never_checked_out_count', type: 'number'}}"> -
- - -
- -
-
-
User Settings
diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron/patron.service.ts b/Open-ILS/src/eg2/src/app/staff/share/patron/patron.service.ts index 26d3d13256..7846f9e97e 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron/patron.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/patron/patron.service.ts @@ -40,7 +40,6 @@ export class PatronAlerts { patronInactive = false; retrievedWithInactive = false; invalidAddress = false; - alertMessage: string = null; alertPenalties: IdlObject[] = []; hasAlerts(): boolean { @@ -52,7 +51,6 @@ export class PatronAlerts { this.patronInactive || this.retrievedWithInactive || this.invalidAddress || - this.alertMessage !== null || this.alertPenalties.length > 0 ); } @@ -339,7 +337,6 @@ export class PatronService { alerts.patronInactive = patron.active() === 'f'; alerts.invalidAddress = patron.addresses() .filter(a => a.valid() === 'f').length > 0; - alerts.alertMessage = patron.alert_message(); alerts.alertPenalties = patron.standing_penalties() .filter(p => p.standing_penalty().staff_alert() === 't'); diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html b/Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html index 52500e18f7..45a4f9dbff 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html @@ -183,7 +183,8 @@
- {{r.card().barcode()}} + {{r.card().barcode()}} {{r.family_name()}} diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron/summary.component.html b/Open-ILS/src/eg2/src/app/staff/share/patron/summary.component.html index de65732072..238c688627 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron/summary.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/patron/summary.component.html @@ -24,10 +24,6 @@
-
-
{{p().alert_message()}}
-
-