From: Bill Erickson <berickxx@gmail.com> Date: Wed, 16 Feb 2022 14:02:08 +0000 (-0500) Subject: LP1904036 Patron bills Full Details action X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4ed8a8a9999d0f24760f73d761e33fbbc5d1b197;p=evergreen%2Ftadl.git LP1904036 Patron bills Full Details action Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Galen Charlton <gmc@equinoxOLI.org> --- 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 df0b41e1d6..7e5a27bc7d 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 @@ -189,6 +189,10 @@ <!-- ACTIONS FOR SELECTED --> <eg-grid-toolbar-action + i18n-label label="Full Details" (onClick)="showStatement($event[0])"> + </eg-grid-toolbar-action> + + <eg-grid-toolbar-action i18n-label label="Print Bills" (onClick)="printBills($event)"> </eg-grid-toolbar-action> 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 6331551f67..b1252850cd 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 @@ -621,6 +621,7 @@ export class BillsComponent implements OnInit, AfterViewInit { } showStatement(row: any) { + if (!row) { return; } this.router.navigate(['/staff/circ/patron', this.patronId, 'bills', row.id, 'statement']); }