Merge branch 'dev-latest' into feature/bugfix

This commit is contained in:
2026-09-25 11:06:16 +05:30
70 changed files with 5600 additions and 565 deletions
+6 -6
View File
@@ -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';
@@ -205,7 +205,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`,