feat: update TDS config, RBI reserve returns, current products, and dormancy reports
This commit is contained in:
+3
-1
@@ -94,7 +94,9 @@ export class DepositRequestsComponent implements OnInit {
|
||||
const today = new Date(this.settingsService.businessDate);
|
||||
today.setHours(0, 0, 0, 0);
|
||||
this.maxDate = today;
|
||||
this.applyPreset('today');
|
||||
// A pending request must never be hidden by date: submitted_at is wall-clock time, and the business
|
||||
// date "today" can lag it, so opening on Today showed an empty queue. Open on All instead.
|
||||
this.applyPreset('all');
|
||||
}
|
||||
|
||||
load(): void {
|
||||
|
||||
+4
-2
@@ -63,7 +63,7 @@ export class DisbursementRequestsComponent implements OnInit {
|
||||
fromDate: Date | null = null;
|
||||
toDate: Date | null = null;
|
||||
maxDate!: Date;
|
||||
activePreset = 'today';
|
||||
activePreset = 'all';
|
||||
loading = false;
|
||||
loaded = false;
|
||||
|
||||
@@ -86,7 +86,9 @@ export class DisbursementRequestsComponent implements OnInit {
|
||||
const today = new Date(this.settingsService.businessDate);
|
||||
today.setHours(0, 0, 0, 0);
|
||||
this.maxDate = today;
|
||||
this.applyPreset('today');
|
||||
// A pending request must never be hidden by date: submitted_at is wall-clock time, and the business
|
||||
// date "today" can lag it, so opening on Today showed an empty queue. Open on All instead.
|
||||
this.applyPreset('all');
|
||||
}
|
||||
|
||||
load(): void {
|
||||
|
||||
+4
-2
@@ -138,7 +138,7 @@ export class PendingClientEditsComponent implements OnInit {
|
||||
fromDate: Date | null = null;
|
||||
toDate: Date | null = null;
|
||||
maxDate!: Date;
|
||||
activePreset = 'today';
|
||||
activePreset = 'all';
|
||||
readonly datePresets = [
|
||||
{ key: 'today', label: 'Today' },
|
||||
{ key: 'yesterday', label: 'Yesterday' },
|
||||
@@ -157,7 +157,9 @@ export class PendingClientEditsComponent implements OnInit {
|
||||
today.setHours(0, 0, 0, 0);
|
||||
this.maxDate = today;
|
||||
this.loadOptions();
|
||||
this.applyPreset('today');
|
||||
// A pending request must never be hidden by date: submitted_at is wall-clock time, and the business
|
||||
// date "today" can lag it, so opening on Today showed an empty queue. Open on All instead.
|
||||
this.applyPreset('all');
|
||||
}
|
||||
|
||||
private loadOptions(): void {
|
||||
|
||||
+3
-1
@@ -87,7 +87,9 @@ export class WithdrawalRequestsComponent implements OnInit {
|
||||
const today = new Date(this.settingsService.businessDate);
|
||||
today.setHours(0, 0, 0, 0);
|
||||
this.maxDate = today;
|
||||
this.applyPreset('today');
|
||||
// A pending request must never be hidden by date: submitted_at is wall-clock time, and the business
|
||||
// date "today" can lag it, so opening on Today showed an empty queue. Open on All instead.
|
||||
this.applyPreset('all');
|
||||
}
|
||||
|
||||
load(): void {
|
||||
|
||||
Reference in New Issue
Block a user