diff --git a/public/document/disclaimer.pdf b/public/document/disclaimer.pdf new file mode 100644 index 0000000..25a42d6 Binary files /dev/null and b/public/document/disclaimer.pdf differ diff --git a/public/document/phishing.pdf b/public/document/phishing.pdf new file mode 100644 index 0000000..b5e22e9 Binary files /dev/null and b/public/document/phishing.pdf differ diff --git a/public/document/privacy_policy.pdf b/public/document/privacy_policy.pdf new file mode 100644 index 0000000..8c64141 Binary files /dev/null and b/public/document/privacy_policy.pdf differ diff --git a/public/document/security_tips.pdf b/public/document/security_tips.pdf new file mode 100644 index 0000000..020606c Binary files /dev/null and b/public/document/security_tips.pdf differ diff --git a/src/app/_data/entities/Ticket.ts b/src/app/_data/entities/Ticket.ts deleted file mode 100644 index 98a8ebd..0000000 --- a/src/app/_data/entities/Ticket.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Entity, Column, PrimaryColumn, PrimaryGeneratedColumn } from "typeorm" - -@Entity({ name: 'ticket' }) -export class Ticket { - - @PrimaryGeneratedColumn() - // @PrimaryColumn("int") - id!: number - - @PrimaryColumn() - ticket_id! : number - - @Column("varchar") - category_of_request! : string - - @Column("varchar") - nature_of_request! : string - - // @Column({type: 'jsonb',nullable:true}) - // issue: any - @Column({type: 'text',nullable:true}) - additional_info: any - - @Column("varchar") - message!: string - - @Column('varchar') - created_by! : string - - @Column('bigint') - customer_account_no! : number - - @Column('varchar') - created_date! : string - - @Column({type: 'varchar',nullable:true}) - assign_by! :string - -} \ No newline at end of file diff --git a/src/app/_data/entities/User.ts b/src/app/_data/entities/User.ts deleted file mode 100644 index 37dd6dd..0000000 --- a/src/app/_data/entities/User.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Entity, Column, PrimaryColumn } from "typeorm" - -@Entity({ name: 'user' }) -export class User { - - @PrimaryColumn("int") - id!: number - - @Column("bigint") - bank_account_no!: number - - @Column("varchar") - title!: string - - @Column("varchar") - first_name!: string - - @Column("varchar") - middle_name!: string - - @Column("varchar") - last_name!: string - - @Column("bigint",{nullable:true}) - mobile_number!: number - -} \ No newline at end of file diff --git a/src/app/_data/samples/users.csv b/src/app/_data/samples/users.csv deleted file mode 100644 index e09b92f..0000000 --- a/src/app/_data/samples/users.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,bank_account_no,title,first_name,middle_name,last_name,mobile_number -6000,30022497139,Mr.,Rajat,Kumar,Maharana,7890544527 -6001,30022497138,Ms.,Tomosa,,Sarkar,7890544527 diff --git a/src/app/_data/source/app-data-source.ts b/src/app/_data/source/app-data-source.ts deleted file mode 100644 index f524552..0000000 --- a/src/app/_data/source/app-data-source.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { DataSource } from "typeorm" -import { User } from "../entities/User" -import { Ticket } from "../entities/Ticket"; - -class AppDataSource { - - private static dataSource = new DataSource({ - type: 'postgres', - host: process.env.DB_HOST, - port: parseInt(process.env.DB_PORT ?? '1521'), - username: process.env.DB_USER_NAME, - password: process.env.DB_USER_PASS, - database: process.env.DB_NAME, - // dropSchema: process.env.NODE_ENV === 'development', - synchronize: process.env.NODE_ENV === 'development', - logging: false, - entities: [User,Ticket], - subscribers: [], - migrations: [] - }) - private static dataSource_MantisBT = new DataSource({ - type: 'postgres', - host: process.env.DB_HOST, - port: parseInt(process.env.DB_PORT ?? '1521'), - username: process.env.DB_USER_NAME, - password: process.env.DB_USER_PASS, - database: "kccb_ticket_tracker", - synchronize: process.env.NODE_ENV === 'development', - logging: false, - subscribers: [], - migrations: [] - }) - static async getConnection(): Promise { - if (!this.dataSource.isInitialized) - await this.dataSource.initialize() - return this.dataSource; - } - static async getMantisConnection(): Promise { - if (!this.dataSource_MantisBT.isInitialized) - await this.dataSource_MantisBT.initialize() - return this.dataSource_MantisBT; - } -} -export default AppDataSource; \ No newline at end of file diff --git a/src/app/home/page.module.css.bkup b/src/app/home/page.module.css.bkup deleted file mode 100644 index 851a4bf..0000000 --- a/src/app/home/page.module.css.bkup +++ /dev/null @@ -1,80 +0,0 @@ -.title { - color: light-dark(var(--mantine-color-black), var(--mantine-color-white)); - font-family: - Greycliff CF, - var(--mantine-font-family); -} - -.navbar { - flex-grow: 1; - padding: var(--mantine-spacing-md); - display: flex; - flex-direction: column; -} - -.navbarMain { - flex: 1; -} - -.header { - padding-bottom: var(--mantine-spacing-md); - margin-bottom: calc(var(--mantine-spacing-md) * 1.5); - border-bottom: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4)); -} - -.user { - padding: var(--mantine-spacing-md); - color: light-dark(var(--mantine-color-black), var(--mantine-color-dark-0)); - border-radius: var(--mantine-radius-sm); - - @mixin hover { - background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-8)); - } -} - -.footer { - padding-top: var(--mantine-spacing-md); - margin-top: var(--mantine-spacing-md); - border-top: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4)); -} - -.link { - cursor: pointer; - display: flex; - align-items: center; - text-decoration: none; - font-size: var(--mantine-font-size-sm); - color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-1)); - padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm); - border-radius: var(--mantine-radius-sm); - font-weight: 500; - - @mixin hover { - background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6)); - color: light-dark(var(--mantine-color-black), var(--mantine-color-white)); - - .linkIcon { - color: light-dark(var(--mantine-color-black), var(--mantine-color-white)); - } - } - - &[data-active] { - &, - &:hover { - background-color: var(--mantine-primary-color-light); - color: var(--mantine-primary-color-light-color); - - .linkIcon { - color: var(--mantine-primary-color-light-color); - } - } - } -} - -.linkIcon { - color: light-dark(var(--mantine-color-gray-6), var(--mantine-color-dark-2)); - margin-right: var(--mantine-spacing-sm); - width: rem(25px); - height: rem(25px); -} - diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index cffc13d..6685a0d 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -19,9 +19,9 @@ export default function Home() { { "stAccountNo": "60078975412", "stAccountType": "LN", "stAvailableBalance": "100000.0" }, { "stAccountNo": "60078975413", "stAccountType": "LN", "stAvailableBalance": "120000.0" } ] - const savingsAccounts = accountData.filter(acc => acc.stAccountType === "SA"); - const [selectedSA, setSelectedSA] = useState(savingsAccounts[0]?.stAccountNo || ""); - const selectedSAData = savingsAccounts.find(acc => acc.stAccountNo === selectedSA); + const depositAccounts = accountData.filter(acc => acc.stAccountType === "SA"); + const [selectedDA, setSelectedDA] = useState(depositAccounts[0]?.stAccountNo || ""); + const selectedDAData = depositAccounts.find(acc => acc.stAccountNo === selectedDA); const loanAccounts = accountData.filter(acc => acc.stAccountType === "LN"); const [selectedLN, setSelectedLN] = useState(loanAccounts[0]?.stAccountNo || ""); const selectedLNData = loanAccounts.find(acc => acc.stAccountNo === selectedLN); @@ -47,14 +47,31 @@ export default function Home() { return (
- ebanking + + ebanking + + Toll Free No : 1800-180-8008 + + +
Last logged in at 29/06/25, 05:35 PM
+ style={{ flex: 1, padding: "10px 10px 4px 10px", marginLeft: '20px', display: "flex", alignItems: "center", justifyContent: "left", height: "5vh" }}> Show Balance setShowBalance(event.currentTarget.checked)} /> -
+
- + {/* */} - Savings Account + Deposit Account ({ @@ -150,7 +167,7 @@ export default function Home() { - + Important Links @@ -161,10 +178,10 @@ export default function Home() {
-
-
- ebanking - +
+ + ebanking + - ⚠️ Always login to our Net Banking site directly or through Banks website... + ⚠️ Always login to our Net Banking site directly or through Banks website. + ⚠️ Do not disclose your UserId and Password to any third party and keep Your UserId and Password strictly confidential. + ⚠️ KCC Bank never asks for UserId,Passwords and Pins through email or phone. + ⚠️ Be ware of Phishing mails with links to fake bank's websites asking for personal information are in circulation. + ⚠️ Please DO NOT Click on the links given in the emails asking for personal details like bank account number, userID and password. + ⚠️ If you had shard your UserId and Password through such mails or links, please change your Password immediately. + ⚠️ Inform the Bank/branch in which your account is maintained for resetting your password.