Fix dynamic tax year fallback in models and upload endpoints

This commit is contained in:
Atharv1705
2026-10-03 11:46:55 +05:30
parent 31fbc85565
commit 34a2cc0098
13 changed files with 139 additions and 14 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ export default function AdminUserDetail() {
};
const markFiled = async () => {
const yearForFiling = taxYear || 2025;
const yearForFiling = taxYear || new Date().getFullYear();
setConfirmConfig({
isOpen: true,
title: "Mark as Filed",