From: Jane Sandberg Date: Sun, 14 May 2023 07:58:17 +0000 (-0700) Subject: LP2002343: cash reports end date cannot come before start date X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f6fe392462dae8e0bb729835b66701f1a99d3fd1;p=working%2FEvergreen.git LP2002343: cash reports end date cannot come before start date To test: 1. Log in as a staff member with a branch-level home library (global admin account will work only if you change it from CONS to, say, BR1) 2. As that staff member, bill some patrons and then accept some payments from them 3. Go to admin > local admin > cash reports 4. Try to set the end date before the start date. 5. Note that you get an alert, and cannot press the Submit button. 6. Confirm that when you enter valid dates and select your staff member's home ou, the reports display as usual. Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.ts b/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.ts index 5de9628050..07acc59b86 100644 --- a/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.ts +++ b/Open-ILS/src/eg2/src/app/share/date-select/date-select.component.ts @@ -1,4 +1,4 @@ -import {Component, OnInit, Input, Output, ViewChild, EventEmitter, forwardRef} from '@angular/core'; +import {Component, OnInit, Input, Output, EventEmitter, forwardRef} from '@angular/core'; import {NgbDateStruct} from '@ng-bootstrap/ng-bootstrap'; import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms'; import {DateUtil} from '@eg/share/util/date'; diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html index 251fc936c3..d4224cff04 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html @@ -2,25 +2,29 @@
-
+
-
Start Date
- + +
-
End Date
- + +
View reports for
- +
-
+ +