From e92e3f57fbbb4ef94e1693ecdbff18cb78fcbf0b Mon Sep 17 00:00:00 2001 From: Aaditya Jaiswal Date: Thu, 19 Mar 2026 18:31:05 +0530 Subject: [PATCH] from 16 submission validation show --- src/pages/Form16/Form16SubmissionResult.tsx | 3 ++- .../components/RequestSubmissionSuccess.tsx | 19 ++++++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/pages/Form16/Form16SubmissionResult.tsx b/src/pages/Form16/Form16SubmissionResult.tsx index 3ccd171..c989be6 100644 --- a/src/pages/Form16/Form16SubmissionResult.tsx +++ b/src/pages/Form16/Form16SubmissionResult.tsx @@ -65,7 +65,8 @@ export function Form16SubmissionResult() { return ( { + const m = (message || '').toLowerCase(); + if (m.includes('no 26as')) return '26AS data is not uploaded for this TAN / FY / Quarter.'; + if (m.includes('amount mismatch')) return 'TDS amount in Form 16A does not match 26AS amount.'; + if (m.includes('tan')) return 'TAN details in Form 16A do not match 26AS records.'; + if (m.includes('pan')) return 'PAN details in Form 16A do not match 26AS records.'; + if (m.includes('quarter')) return 'Quarter in Form 16A does not match 26AS records.'; + if (m.includes('financial year') || m.includes('fy')) return 'Financial year in Form 16A does not match 26AS records.'; + return 'Form 16A details do not match with 26AS data.'; + })(); const onContactAdmin = async () => { try { @@ -165,8 +179,7 @@ export function RequestSubmissionSuccess({ Resubmit the form carefully.

- Form 16A details did not match with 26AS data. Please verify the certificate and - resubmit with correct details. + {mismatchSummary} Please verify the certificate and resubmit with correct details.

{message && (
@@ -210,7 +223,7 @@ export function RequestSubmissionSuccess({ }`} >

Request ID

-

{requestId || '—'}

+

{requestDisplayId || requestId || '—'}

{isSuccess && creditNoteNumber && ( <>

Credit Note Number