From: Galen Charlton Date: Thu, 25 Mar 2021 17:50:50 +0000 (-0400) Subject: fund: filter grid to current fiscal year X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2c5a26c0ad7659ad03eb88ffe667f1b3d009cd85;p=working%2FEvergreen.git fund: filter grid to current fiscal year TODO: uses current calendar year by default; a more sophisticated approach would check the fiscal calendar that applies to the workstation Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.html b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.html index 08f47af981..301272e08d 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.html @@ -66,7 +66,7 @@ - + diff --git a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.ts index 50cfd0b73a..07faf6f57d 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funds-manager.component.ts @@ -125,4 +125,8 @@ export class FundsManagerComponent extends AdminPageComponent implements OnInit ); } } + + getDefaultYear(): string { + return new Date().getFullYear().toString(); + } }