From: Bill Erickson Date: Wed, 2 Mar 2022 16:04:49 +0000 (-0500) Subject: LP1904036 Improve billing failure reporting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6cf8b2db887fe51b5bdf2a24e9da5d1364112909;p=Evergreen.git LP1904036 Improve billing failure reporting 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/patron/bills.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.html index 49ad0f9edc..ee175be0b2 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.html @@ -6,6 +6,10 @@ i18n-dialogBody dialogBody="Payments over 100,000 are denied by policy."> + + diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts index dd660bab57..d6181e7f72 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts @@ -67,6 +67,7 @@ export class BillsComponent implements OnInit, AfterViewInit { @ViewChild('billGrid') private billGrid: GridComponent; @ViewChild('annotateDialog') private annotateDialog: PromptDialogComponent; @ViewChild('maxPayDialog') private maxPayDialog: AlertDialogComponent; + @ViewChild('errorDialog') private errorDialog: AlertDialogComponent; @ViewChild('warnPayDialog') private warnPayDialog: ConfirmDialogComponent; @ViewChild('voidBillsDialog') private voidBillsDialog: ConfirmDialogComponent; @ViewChild('refundDialog') private refundDialog: ConfirmDialogComponent; @@ -628,6 +629,8 @@ export class BillsComponent implements OnInit, AfterViewInit { console.error(evt + ''); console.error(evt); this.toast.danger(evt + ''); + this.errorDialog.dialogBody = evt.toString(); + this.errorDialog.open().toPromise(); return true; } return false;