feat: update TDS config, RBI reserve returns, current products, and dormancy reports
This commit is contained in:
@@ -27,6 +27,7 @@ import {
|
||||
declarationFormFor,
|
||||
formKindFor,
|
||||
fyOf,
|
||||
fyTaxConfigVersion,
|
||||
isSeniorInFy,
|
||||
isTdsApplicable,
|
||||
isWellFormedPan,
|
||||
@@ -118,7 +119,8 @@ let rowCache: TdsInterestRow[] = [];
|
||||
export function tdsInterestRowsForFy(fy: string): TdsInterestRow[] {
|
||||
// Keyed on the data set as well as the year: the rows are memoised, and a fresh load would
|
||||
// otherwise keep serving the previous customer's figures under the same financial year.
|
||||
const key = fy + '|' + tdsDeducteesVersion;
|
||||
// The tax configuration too: an administrator's save must not be hidden behind rows built on the old rates.
|
||||
const key = fy + '|' + tdsDeducteesVersion + '|' + fyTaxConfigVersion;
|
||||
if (rowCacheKey === key) {
|
||||
return rowCache;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user