feat: update TDS config, RBI reserve returns, current products, and dormancy reports
This commit is contained in:
@@ -20,17 +20,17 @@
|
||||
|
||||
import { GL_BRANCHES } from '../gl-reports/gl-reports-data';
|
||||
import {
|
||||
configuredFys,
|
||||
Declaration,
|
||||
Form15Kind,
|
||||
InterestCredit,
|
||||
TdsAccountInput
|
||||
} from '../letter-mgmt/certificates/form-15gh/tds-15gh.compute';
|
||||
|
||||
/** The years the seed covers. 2025-26 is complete; 2026-27 is in progress. */
|
||||
export const TDS_FYS = [
|
||||
'2026-27',
|
||||
'2025-26'
|
||||
];
|
||||
/** The years the reports can show: every year configured on Organization › TDS Configuration. */
|
||||
export function tdsFys(): string[] {
|
||||
return configuredFys();
|
||||
}
|
||||
|
||||
/** Business date the book is drawn to — Q1 of 2026-27 is closed, Q2 is running. */
|
||||
export const TDS_AS_AT = '2026-08-01';
|
||||
@@ -206,7 +206,7 @@ export function tdsChallans(deductedByQuarter: Record<string, Record<number, num
|
||||
}
|
||||
const out: Record<string, TdsChallan[]> = {};
|
||||
|
||||
for (const fy of TDS_FYS) {
|
||||
for (const fy of Object.keys(deductedByQuarter)) {
|
||||
const y = Number(fy.slice(0, 4));
|
||||
const months: Record<number, string> = {
|
||||
1: `${y}-06`,
|
||||
|
||||
Reference in New Issue
Block a user