diff --git a/src/components/GetStarted/EmployerValidation.tsx b/src/components/GetStarted/EmployerValidation.tsx index 8e22d81..11d1866 100644 --- a/src/components/GetStarted/EmployerValidation.tsx +++ b/src/components/GetStarted/EmployerValidation.tsx @@ -17,6 +17,7 @@ const initialValues = { dob: "", second_name: "", spouse_bvn: "", + checked: false }; // To get the validation schema @@ -48,6 +49,7 @@ const validationSchema = Yup.object().shape({ .required("Required"), dob: Yup.string() .required("Required"), + checked: Yup.bool(), }); interface BasicInfoProps { @@ -101,79 +103,17 @@ const EmployerValidation: React.FC = ({ {(props)=>(
-

We hereby confirm that Mr Victor Badmus (The Applicant) who applied for our loan facility is a permanent and confirmed (Non-contract) staff of Globalcom Nigeria limited and that he is actively on the company's payroll +

We hereby confirm that Mr Victor Badmus (The Applicant) who applied for our loan facility is a permanent and confirmed (Non-contract) staff of Globalcom Nigeria limited and that he is actively on the company's payroll

-

We hereby irrevocably and unconditionally undertake to domicile his/her salaries to First City Monument Bank Ltd (FCMB) Accounts number. +

We hereby irrevocably and unconditionally undertake to domicile his/her salaries to First City Monument Bank Ltd (FCMB) Accounts number.

-
-

- Employers Validation -

-
-
-
+
+

Confirms Employee's salary account number

+
- - - -
-
- -
-
- = ({ onChange={props.handleChange} error={(props.errors.first_name && props.touched.first_name) ? props.errors.first_name : ''} /> - - - - - - +
-
-
-

- SPOUSE DETAILS ( If not applicable, please move to the next stage ) +

+

We further undertake that we shall not change the domiciliation of the applicant's account from FCMB throughout the tenor of the loan and any extension thereof unless with your written consent stating that the applicant is no longer indebted to the Bank. +

+

We agree to notigy you within 14 days in the event of transfer of the applicant from his/her present location, any change in the employment status or disengagement from the service of our organization or death of the applicant and shall pay his/her benefits, if applicable (excluding Pension Contribution) to the designated FCMB Account number above or issue a cheque or bank draft in favour of We further consent to any additional salary plus facility enhancement that may be obtained by the Beneficiary from your Bank subject to the Bank carrying out a due diligence as to the status of the Beneficiary's employment with our company prior to the approval of the facility Our commitment/consent and undertaking as stated above extends to cover additinal facilities of any kind that may be obtained from your Bank by any of the above mentioned Beneficiary(ies). +

+

This Undertaking is given in good faith and shall remain irrevocable except with the written consent of the Bank. +

+

Thank you.

+
+ +
+

+ Employers Validation +

+
+ +
+ + +
+ + +
+ + +
+ +
+
+ +

We hereby accept that all the information provided about the applicant (your employee) is true and correct to the best of our knowledge

-
-
- -
-
+ {props.errors.checked && props.touched.checked && {props.errors.checked}}
- <> + +
+ + +
+ + + {/* submit button */} +
)} @@ -297,24 +278,14 @@ interface SelectOption { label: string}[] } -const maritalStatusOptions: SelectOption = { - loading: false, - data: [ - { value: "", label: "Select" }, - { value: "single", label: "Single" }, - { value: "married", label: "Married" }, - { value: "divorced", label: "Divorced" }, - { value: "widowed", label: "Widowed" }, - ] -} const titleOptions: SelectOption = { loading: false, data: [ { value: "", label: "Select" }, - { value: "ms", label: "Ms" }, - { value: "mr", label: "Mr" }, - { value: "miss", label: "Miss" }, - { value: "mrs", label: "Mrs" }, + { value: "m.sc", label: "M.sc" }, + { value: "b.sc", label: "B.sc" }, + { value: "p.hd", label: "P.hd" }, + { value: "fslc", label: "FSLC" }, ] } diff --git a/src_old/App.css b/src_old/App.css deleted file mode 100644 index b9d355d..0000000 --- a/src_old/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/src_old/App.tsx b/src_old/App.tsx deleted file mode 100644 index 14456cc..0000000 --- a/src_old/App.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { useState } from 'react' -import './App.css' - -function App() { - const [count, setCount] = useState(0) - - return ( -

- Hello world! -

- ) -} - -export default App diff --git a/src_old/assets/react.svg b/src_old/assets/react.svg deleted file mode 100644 index 6c87de9..0000000 --- a/src_old/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src_old/index.css b/src_old/index.css deleted file mode 100644 index bd6213e..0000000 --- a/src_old/index.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; \ No newline at end of file diff --git a/src_old/main.tsx b/src_old/main.tsx deleted file mode 100644 index 3d7150d..0000000 --- a/src_old/main.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import App from './App.tsx' -import './index.css' - -ReactDOM.createRoot(document.getElementById('root')!).render( - - - , -) diff --git a/src_old/vite-env.d.ts b/src_old/vite-env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/src_old/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -///