feat: updates for cashier, tds reports, rbi reserve and dashboard
This commit is contained in:
@@ -177,7 +177,9 @@ export class RbiCircularsService {
|
||||
reportingDate?: string,
|
||||
firstColumnDate?: string,
|
||||
secondColumnDate?: string,
|
||||
officeId?: number
|
||||
officeId?: number,
|
||||
firstBaseDate?: string,
|
||||
secondBaseDate?: string
|
||||
): Observable<any> {
|
||||
let params = new HttpParams();
|
||||
if (reportingDate) {
|
||||
@@ -192,6 +194,15 @@ export class RbiCircularsService {
|
||||
if (secondColumnDate) {
|
||||
params = params.set('secondColumnDate', secondColumnDate);
|
||||
}
|
||||
// The base each column's ratios are charged on. Left blank the rules fix it — the last Friday
|
||||
// of that column's second preceding fortnight — so a filer only names one where the rule
|
||||
// produces a date their ledger cannot answer, such as a period before the bank migrated.
|
||||
if (firstBaseDate) {
|
||||
params = params.set('firstBaseDate', firstBaseDate);
|
||||
}
|
||||
if (secondBaseDate) {
|
||||
params = params.set('secondBaseDate', secondBaseDate);
|
||||
}
|
||||
if (officeId != null) {
|
||||
params = params.set('officeId', String(officeId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user