From 78c0fa6e959dd442a3387d4e0fa63c6e563956de Mon Sep 17 00:00:00 2001 From: "tomosa.sarkar" Date: Fri, 29 Aug 2025 17:11:44 +0530 Subject: [PATCH] refactor: unified transaction url. feat: modify admin pages. --- package.json | 12 +- .../account_statement/accountStatement.tsx | 4 +- src/app/(main)/funds_transfer/page.tsx | 15 +- .../funds_transfer/send_beneficiary/page.tsx | 23 +- .../sendBeneficiaryOthers.tsx | 347 +++++++++++------- .../funds_transfer/view_beneficiary/page.tsx | 45 ++- .../administrator/home/UserConfiguration.tsx | 131 ++++--- src/app/administrator/home/page.tsx | 49 ++- src/app/administrator/login/page.tsx | 196 +++++----- 9 files changed, 501 insertions(+), 321 deletions(-) diff --git a/package.json b/package.json index 1b1b5aa..783ea3a 100644 --- a/package.json +++ b/package.json @@ -9,13 +9,13 @@ "lint": "next lint" }, "dependencies": { - "@mantine/carousel": "^7.4.0", + "@mantine/carousel": "^7.11.1", "@mantine/charts": "^7.11.1", - "@mantine/core": "^7.8.1", - "@mantine/dates": "^7.8.1", - "@mantine/form": "^7.11.0", - "@mantine/hooks": "^7.8.1", - "@mantine/notifications": "^7.8.1", + "@mantine/core": "^7.11.1", + "@mantine/dates": "^7.11.1", + "@mantine/form": "^7.11.1", + "@mantine/hooks": "^7.11.1", + "@mantine/notifications": "^7.11.1", "@tabler/icons-react": "^3.28.1", "@tanstack/react-query": "^5.32.0", "axios": "^1.6.8", diff --git a/src/app/(main)/accounts/account_statement/accountStatement.tsx b/src/app/(main)/accounts/account_statement/accountStatement.tsx index b00c6b0..21b8ff5 100644 --- a/src/app/(main)/accounts/account_statement/accountStatement.tsx +++ b/src/app/(main)/accounts/account_statement/accountStatement.tsx @@ -146,7 +146,7 @@ export default function AccountStatementPage() { {/* Left side – form */} - Account Statement + Account Transactions Number(selectedAccount.stAvailableBalance) ? "Amount exceeds available balance" : false} withAsterisk - leftSection ="₹" + leftSection="₹" readOnly={showOtpField} /> @@ -498,6 +498,17 @@ export default function QuickPay() { + + + • Minimum Transfer Amount on this Day is Rs. 1.00 + + + • Maximum Transfer Limit per Day is Rs. 500000.00 + + + • Available Transfer Amount on this Day is Rs. 500000.00 + + {/* ) : (
diff --git a/src/app/(main)/funds_transfer/send_beneficiary/page.tsx b/src/app/(main)/funds_transfer/send_beneficiary/page.tsx index 4461afc..d0952ca 100644 --- a/src/app/(main)/funds_transfer/send_beneficiary/page.tsx +++ b/src/app/(main)/funds_transfer/send_beneficiary/page.tsx @@ -7,6 +7,7 @@ import { useRouter } from "next/navigation"; import { generateOTP } from '@/app/OTPGenerator'; import SendToBeneficiaryOthers from "./sendBeneficiaryOthers"; + interface accountData { stAccountNo: string; stAccountType: string; @@ -257,6 +258,8 @@ export default function SendToBeneficiaryOwn() { setIsSubmitting(false); setShowTxnPassword(false); setShowOtpField(false); + setOtp(''); + setTxnPassword(''); } }; @@ -311,7 +314,7 @@ export default function SendToBeneficiaryOwn() { {bankType === "own" ? ( -
+
- +