feat: Implemented page for quick pay and send to beneficiary feature for own and outside bank
ci: Modify the design of login page ci : modify the logic of home page, If no account is present then statement button change to apply now
This commit is contained in:
@@ -5,6 +5,7 @@ import { Button, Group, Modal, Paper, Radio, ScrollArea, Select, Stack, Text, Te
|
||||
import { notifications } from "@mantine/notifications";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { generateOTP } from '@/app/OTPGenerator';
|
||||
import OutsideQuickPay from "./outside_quick_pay";
|
||||
|
||||
interface accountData {
|
||||
stAccountNo: string;
|
||||
@@ -93,7 +94,6 @@ export default function QuickPay() {
|
||||
}
|
||||
}, [authorized]);
|
||||
|
||||
|
||||
async function handleValidate() {
|
||||
if (!selectedAccNo || !beneficiaryAcc ||
|
||||
!confirmBeneficiaryAcc
|
||||
@@ -369,12 +369,13 @@ export default function QuickPay() {
|
||||
<TextInput
|
||||
label="Payee Name"
|
||||
value={validationStatus === "success" && beneficiaryName ? beneficiaryName : ""}
|
||||
// disabled
|
||||
disabled
|
||||
readOnly
|
||||
withAsterisk
|
||||
/>
|
||||
|
||||
<Select
|
||||
label="Beneficiary A/c Type"
|
||||
label="Payee Account Type"
|
||||
placeholder="Select type"
|
||||
data={["Savings", "Current"]}
|
||||
value={beneficiaryType}
|
||||
@@ -445,9 +446,9 @@ export default function QuickPay() {
|
||||
</Stack>
|
||||
</div>
|
||||
) : (
|
||||
<Text size="lg" mt="md">
|
||||
hii
|
||||
</Text>
|
||||
<div>
|
||||
<OutsideQuickPay />
|
||||
</div>
|
||||
)}
|
||||
</Paper>
|
||||
</>
|
||||
|
Reference in New Issue
Block a user