@tima2025/react-native-timalender 1.1.2 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/images/Optional/index.js +1 -1
- package/lib/commonjs/assets/images/Optional/index.js.flow +1 -0
- package/lib/commonjs/assets/images/Optional/index.js.map +1 -1
- package/lib/commonjs/assets/images/Optional/them_von_new.png +0 -0
- package/lib/commonjs/common/HeaderClose/BackHeader.js +2 -0
- package/lib/commonjs/common/HeaderClose/BackHeader.js.flow +88 -0
- package/lib/commonjs/common/HeaderClose/BackHeader.js.map +1 -0
- package/lib/commonjs/components/Features/Lender/lenderSlice.js +1 -1
- package/lib/commonjs/components/Features/Lender/lenderSlice.js.flow +8 -0
- package/lib/commonjs/components/Features/Lender/lenderSlice.js.map +1 -1
- package/lib/commonjs/components/Navigation/AppNavigator.js +1 -1
- package/lib/commonjs/components/Navigation/AppNavigator.js.flow +106 -16
- package/lib/commonjs/components/Navigation/AppNavigator.js.map +1 -1
- package/lib/commonjs/components/Navigation/AuthNavigator.js +1 -1
- package/lib/commonjs/components/Navigation/AuthNavigator.js.flow +18 -5
- package/lib/commonjs/components/Navigation/AuthNavigator.js.map +1 -1
- package/lib/commonjs/components/Navigation/index.js +1 -1
- package/lib/commonjs/components/Navigation/index.js.flow +2 -0
- package/lib/commonjs/components/Navigation/index.js.map +1 -1
- package/lib/commonjs/controllers/Lender.js +1 -1
- package/lib/commonjs/controllers/Lender.js.flow +13 -0
- package/lib/commonjs/controllers/Lender.js.map +1 -1
- package/lib/commonjs/hooks/useGetUser.js +1 -1
- package/lib/commonjs/hooks/useGetUser.js.flow +4 -5
- package/lib/commonjs/hooks/useGetUser.js.map +1 -1
- package/lib/commonjs/screens/About/index.js +1 -1
- package/lib/commonjs/screens/About/index.js.flow +1 -2
- package/lib/commonjs/screens/About/index.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js.flow +84 -54
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/index.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/index.js.flow +38 -5
- package/lib/commonjs/screens/AdditionalInvestmentCapital/index.js.map +1 -1
- package/lib/commonjs/screens/AvailableAmount/index.js +1 -1
- package/lib/commonjs/screens/AvailableAmount/index.js.flow +6 -2
- package/lib/commonjs/screens/AvailableAmount/index.js.map +1 -1
- package/lib/commonjs/screens/BuyDue/index.js +1 -1
- package/lib/commonjs/screens/BuyDue/index.js.flow +1 -2
- package/lib/commonjs/screens/BuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraFrontBack.js +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraFrontBack.js.flow +6 -2
- package/lib/commonjs/screens/Camera/Screens/CameraFrontBack.js.map +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraSelfie.js +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraSelfie.js.flow +6 -2
- package/lib/commonjs/screens/Camera/Screens/CameraSelfie.js.map +1 -1
- package/lib/commonjs/screens/Camera/index.js +1 -1
- package/lib/commonjs/screens/Camera/index.js.flow +6 -2
- package/lib/commonjs/screens/Camera/index.js.map +1 -1
- package/lib/commonjs/screens/CashBook/index.js +1 -1
- package/lib/commonjs/screens/CashBook/index.js.flow +6 -2
- package/lib/commonjs/screens/CashBook/index.js.map +1 -1
- package/lib/commonjs/screens/ChangePassword/index.js +1 -1
- package/lib/commonjs/screens/ChangePassword/index.js.flow +6 -2
- package/lib/commonjs/screens/ChangePassword/index.js.map +1 -1
- package/lib/commonjs/screens/Confirm/index.js +1 -1
- package/lib/commonjs/screens/Confirm/index.js.flow +6 -2
- package/lib/commonjs/screens/Confirm/index.js.map +1 -1
- package/lib/commonjs/screens/ConnectBank/index.js +1 -1
- package/lib/commonjs/screens/ConnectBank/index.js.flow +1 -2
- package/lib/commonjs/screens/ConnectBank/index.js.map +1 -1
- package/lib/commonjs/screens/Contract/index.js +1 -1
- package/lib/commonjs/screens/Contract/index.js.flow +6 -2
- package/lib/commonjs/screens/Contract/index.js.map +1 -1
- package/lib/commonjs/screens/ContractDetail/index.js +1 -1
- package/lib/commonjs/screens/ContractDetail/index.js.flow +8 -5
- package/lib/commonjs/screens/ContractDetail/index.js.map +1 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js +1 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js.flow +1 -2
- package/lib/commonjs/screens/CooperationAgreement/index.js.map +1 -1
- package/lib/commonjs/screens/DashBoardDetail/index.js +1 -1
- package/lib/commonjs/screens/DashBoardDetail/index.js.flow +6 -3
- package/lib/commonjs/screens/DashBoardDetail/index.js.map +1 -1
- package/lib/commonjs/screens/DetailBuyDue/index.js +1 -1
- package/lib/commonjs/screens/DetailBuyDue/index.js.flow +6 -2
- package/lib/commonjs/screens/DetailBuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/DetailHistory/Screens/Extend.js +1 -1
- package/lib/commonjs/screens/DetailHistory/Screens/Extend.js.flow +6 -2
- package/lib/commonjs/screens/DetailHistory/Screens/Extend.js.map +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/index.js +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/index.js.flow +4 -3
- package/lib/commonjs/screens/DetailLoanApplication/index.js.map +1 -1
- package/lib/commonjs/screens/DetailNotification/index.js +1 -1
- package/lib/commonjs/screens/DetailNotification/index.js.flow +10 -2
- package/lib/commonjs/screens/DetailNotification/index.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Screens/NationalIDBack.js +1 -1
- package/lib/commonjs/screens/EKYC/Screens/NationalIDBack.js.flow +6 -2
- package/lib/commonjs/screens/EKYC/Screens/NationalIDBack.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Screens/Selfie.js +1 -1
- package/lib/commonjs/screens/EKYC/Screens/Selfie.js.flow +6 -2
- package/lib/commonjs/screens/EKYC/Screens/Selfie.js.map +1 -1
- package/lib/commonjs/screens/EKYC/index.js +1 -1
- package/lib/commonjs/screens/EKYC/index.js.flow +6 -2
- package/lib/commonjs/screens/EKYC/index.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js.flow +6 -2
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js.map +1 -1
- package/lib/commonjs/screens/ExtendContract/index.js +1 -1
- package/lib/commonjs/screens/ExtendContract/index.js.flow +6 -2
- package/lib/commonjs/screens/ExtendContract/index.js.map +1 -1
- package/lib/commonjs/screens/ForgotPassword/index.js +1 -1
- package/lib/commonjs/screens/ForgotPassword/index.js.flow +87 -89
- package/lib/commonjs/screens/ForgotPassword/index.js.map +1 -1
- package/lib/commonjs/screens/ForgotPasswordOTP/index.js +1 -1
- package/lib/commonjs/screens/ForgotPasswordOTP/index.js.flow +6 -2
- package/lib/commonjs/screens/ForgotPasswordOTP/index.js.map +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js.flow +2 -3
- package/lib/commonjs/screens/GpayInfor/Gpay.js.map +1 -1
- package/lib/commonjs/screens/GpayInfor/index.js +1 -1
- package/lib/commonjs/screens/GpayInfor/index.js.flow +6 -2
- package/lib/commonjs/screens/GpayInfor/index.js.map +1 -1
- package/lib/commonjs/screens/InputBank/index.js +1 -1
- package/lib/commonjs/screens/InputBank/index.js.flow +6 -2
- package/lib/commonjs/screens/InputBank/index.js.map +1 -1
- package/lib/commonjs/screens/InterestFine/index.js +1 -1
- package/lib/commonjs/screens/InterestFine/index.js.flow +7 -3
- package/lib/commonjs/screens/InterestFine/index.js.map +1 -1
- package/lib/commonjs/screens/InterestReceived/index.js +1 -1
- package/lib/commonjs/screens/InterestReceived/index.js.flow +7 -3
- package/lib/commonjs/screens/InterestReceived/index.js.map +1 -1
- package/lib/commonjs/screens/InvestDetail/index.js +1 -1
- package/lib/commonjs/screens/InvestDetail/index.js.flow +141 -8
- package/lib/commonjs/screens/InvestDetail/index.js.map +1 -1
- package/lib/commonjs/screens/InvestNew/index.js +1 -1
- package/lib/commonjs/screens/InvestNew/index.js.flow +7 -3
- package/lib/commonjs/screens/InvestNew/index.js.map +1 -1
- package/lib/commonjs/screens/LinkSuccess/index.js +1 -1
- package/lib/commonjs/screens/LinkSuccess/index.js.flow +6 -2
- package/lib/commonjs/screens/LinkSuccess/index.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/index.js +1 -1
- package/lib/commonjs/screens/ListLoan/index.js.flow +7 -3
- package/lib/commonjs/screens/ListLoan/index.js.map +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/index.js +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/index.js.flow +7 -3
- package/lib/commonjs/screens/ListWaitingApproval/index.js.map +1 -1
- package/lib/commonjs/screens/ListWaitingExtension/index.js +1 -1
- package/lib/commonjs/screens/ListWaitingExtension/index.js.flow +2 -3
- package/lib/commonjs/screens/ListWaitingExtension/index.js.map +1 -1
- package/lib/commonjs/screens/LoanApplication/index.js +1 -1
- package/lib/commonjs/screens/LoanApplication/index.js.flow +6 -2
- package/lib/commonjs/screens/LoanApplication/index.js.map +1 -1
- package/lib/commonjs/screens/LockingLoan/index.js +1 -1
- package/lib/commonjs/screens/LockingLoan/index.js.flow +6 -2
- package/lib/commonjs/screens/LockingLoan/index.js.map +1 -1
- package/lib/commonjs/screens/Notification/index.js +1 -1
- package/lib/commonjs/screens/Notification/index.js.flow +6 -2
- package/lib/commonjs/screens/Notification/index.js.map +1 -1
- package/lib/commonjs/screens/OTP/index.js +1 -1
- package/lib/commonjs/screens/OTP/index.js.flow +6 -2
- package/lib/commonjs/screens/OTP/index.js.map +1 -1
- package/lib/commonjs/screens/Optional/index.js +1 -1
- package/lib/commonjs/screens/Optional/index.js.flow +93 -106
- package/lib/commonjs/screens/Optional/index.js.map +1 -1
- package/lib/commonjs/screens/PassCode/index.js +1 -1
- package/lib/commonjs/screens/PassCode/index.js.flow +1 -2
- package/lib/commonjs/screens/PassCode/index.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/index.js +1 -1
- package/lib/commonjs/screens/PendingLoan/index.js.flow +6 -2
- package/lib/commonjs/screens/PendingLoan/index.js.map +1 -1
- package/lib/commonjs/screens/PendingMoney/index.js +1 -1
- package/lib/commonjs/screens/PendingMoney/index.js.flow +6 -2
- package/lib/commonjs/screens/PendingMoney/index.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/index.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/index.js.flow +6 -2
- package/lib/commonjs/screens/ReceivedLoan/index.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/index.js +1 -1
- package/lib/commonjs/screens/SellDebt/index.js.flow +6 -2
- package/lib/commonjs/screens/SellDebt/index.js.map +1 -1
- package/lib/commonjs/screens/SetPassword/index.js +1 -1
- package/lib/commonjs/screens/SetPassword/index.js.flow +6 -2
- package/lib/commonjs/screens/SetPassword/index.js.map +1 -1
- package/lib/commonjs/screens/ShowBuyDue/index.js +1 -1
- package/lib/commonjs/screens/ShowBuyDue/index.js.flow +7 -3
- package/lib/commonjs/screens/ShowBuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/Sign-in/index.js +1 -1
- package/lib/commonjs/screens/Sign-in/index.js.flow +153 -155
- package/lib/commonjs/screens/Sign-in/index.js.map +1 -1
- package/lib/commonjs/screens/Sign-up/index.js +1 -1
- package/lib/commonjs/screens/Sign-up/index.js.flow +156 -158
- package/lib/commonjs/screens/Sign-up/index.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js.flow +20 -13
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/index.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/index.js.flow +6 -2
- package/lib/commonjs/screens/SignContractGpayTima/index.js.map +1 -1
- package/lib/commonjs/screens/SignDebtContract/index.js +1 -1
- package/lib/commonjs/screens/SignDebtContract/index.js.flow +6 -2
- package/lib/commonjs/screens/SignDebtContract/index.js.map +1 -1
- package/lib/commonjs/screens/Support/index.js +1 -1
- package/lib/commonjs/screens/Support/index.js.flow +1 -2
- package/lib/commonjs/screens/Support/index.js.map +1 -1
- package/lib/commonjs/screens/TransferSuccess/index.js +1 -1
- package/lib/commonjs/screens/TransferSuccess/index.js.flow +6 -2
- package/lib/commonjs/screens/TransferSuccess/index.js.map +1 -1
- package/lib/commonjs/screens/WithDraw/index.js +1 -1
- package/lib/commonjs/screens/WithDraw/index.js.flow +137 -23
- package/lib/commonjs/screens/WithDraw/index.js.map +1 -1
- package/lib/commonjs/screens/WithdrawGpay/index.js +1 -1
- package/lib/commonjs/screens/WithdrawGpay/index.js.flow +6 -2
- package/lib/commonjs/screens/WithdrawGpay/index.js.map +1 -1
- package/lib/commonjs/screens/WithdrawSuccess/index.js +1 -1
- package/lib/commonjs/screens/WithdrawSuccess/index.js.flow +6 -2
- package/lib/commonjs/screens/WithdrawSuccess/index.js.map +1 -1
- package/lib/commonjs/screens/terms/index.js +1 -1
- package/lib/commonjs/screens/terms/index.js.flow +1 -2
- package/lib/commonjs/screens/terms/index.js.map +1 -1
- package/lib/module/assets/images/Optional/index.js +1 -1
- package/lib/module/assets/images/Optional/index.js.map +1 -1
- package/lib/module/assets/images/Optional/them_von_new.png +0 -0
- package/lib/module/common/HeaderClose/BackHeader.js +2 -0
- package/lib/module/common/HeaderClose/BackHeader.js.map +1 -0
- package/lib/module/components/Features/Lender/lenderSlice.js +1 -1
- package/lib/module/components/Features/Lender/lenderSlice.js.map +1 -1
- package/lib/module/components/Navigation/AppNavigator.js +1 -1
- package/lib/module/components/Navigation/AppNavigator.js.map +1 -1
- package/lib/module/components/Navigation/AuthNavigator.js +1 -1
- package/lib/module/components/Navigation/AuthNavigator.js.map +1 -1
- package/lib/module/components/Navigation/index.js +1 -1
- package/lib/module/components/Navigation/index.js.map +1 -1
- package/lib/module/controllers/Lender.js +1 -1
- package/lib/module/controllers/Lender.js.map +1 -1
- package/lib/module/hooks/useGetUser.js +1 -1
- package/lib/module/hooks/useGetUser.js.map +1 -1
- package/lib/module/screens/About/index.js +1 -1
- package/lib/module/screens/About/index.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/index.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/index.js.map +1 -1
- package/lib/module/screens/AvailableAmount/index.js +1 -1
- package/lib/module/screens/AvailableAmount/index.js.map +1 -1
- package/lib/module/screens/BuyDue/index.js +1 -1
- package/lib/module/screens/BuyDue/index.js.map +1 -1
- package/lib/module/screens/Camera/Screens/CameraFrontBack.js +1 -1
- package/lib/module/screens/Camera/Screens/CameraFrontBack.js.map +1 -1
- package/lib/module/screens/Camera/Screens/CameraSelfie.js +1 -1
- package/lib/module/screens/Camera/Screens/CameraSelfie.js.map +1 -1
- package/lib/module/screens/Camera/index.js +1 -1
- package/lib/module/screens/Camera/index.js.map +1 -1
- package/lib/module/screens/CashBook/index.js +1 -1
- package/lib/module/screens/CashBook/index.js.map +1 -1
- package/lib/module/screens/ChangePassword/index.js +1 -1
- package/lib/module/screens/ChangePassword/index.js.map +1 -1
- package/lib/module/screens/Confirm/index.js +1 -1
- package/lib/module/screens/Confirm/index.js.map +1 -1
- package/lib/module/screens/ConnectBank/index.js +1 -1
- package/lib/module/screens/ConnectBank/index.js.map +1 -1
- package/lib/module/screens/Contract/index.js +1 -1
- package/lib/module/screens/Contract/index.js.map +1 -1
- package/lib/module/screens/ContractDetail/index.js +1 -1
- package/lib/module/screens/ContractDetail/index.js.map +1 -1
- package/lib/module/screens/CooperationAgreement/index.js +1 -1
- package/lib/module/screens/CooperationAgreement/index.js.map +1 -1
- package/lib/module/screens/DashBoardDetail/index.js +1 -1
- package/lib/module/screens/DashBoardDetail/index.js.map +1 -1
- package/lib/module/screens/DetailBuyDue/index.js +1 -1
- package/lib/module/screens/DetailBuyDue/index.js.map +1 -1
- package/lib/module/screens/DetailHistory/Screens/Extend.js +1 -1
- package/lib/module/screens/DetailHistory/Screens/Extend.js.map +1 -1
- package/lib/module/screens/DetailLoanApplication/index.js +1 -1
- package/lib/module/screens/DetailLoanApplication/index.js.map +1 -1
- package/lib/module/screens/DetailNotification/index.js +1 -1
- package/lib/module/screens/DetailNotification/index.js.map +1 -1
- package/lib/module/screens/EKYC/Screens/NationalIDBack.js +1 -1
- package/lib/module/screens/EKYC/Screens/NationalIDBack.js.map +1 -1
- package/lib/module/screens/EKYC/Screens/Selfie.js +1 -1
- package/lib/module/screens/EKYC/Screens/Selfie.js.map +1 -1
- package/lib/module/screens/EKYC/index.js +1 -1
- package/lib/module/screens/EKYC/index.js.map +1 -1
- package/lib/module/screens/EkycLiveness/EkycCamera.js +1 -1
- package/lib/module/screens/EkycLiveness/EkycCamera.js.map +1 -1
- package/lib/module/screens/ExtendContract/index.js +1 -1
- package/lib/module/screens/ExtendContract/index.js.map +1 -1
- package/lib/module/screens/ForgotPassword/index.js +1 -1
- package/lib/module/screens/ForgotPassword/index.js.map +1 -1
- package/lib/module/screens/ForgotPasswordOTP/index.js +1 -1
- package/lib/module/screens/ForgotPasswordOTP/index.js.map +1 -1
- package/lib/module/screens/GpayInfor/Gpay.js +1 -1
- package/lib/module/screens/GpayInfor/Gpay.js.map +1 -1
- package/lib/module/screens/GpayInfor/index.js +1 -1
- package/lib/module/screens/GpayInfor/index.js.map +1 -1
- package/lib/module/screens/InputBank/index.js +1 -1
- package/lib/module/screens/InputBank/index.js.map +1 -1
- package/lib/module/screens/InterestFine/index.js +1 -1
- package/lib/module/screens/InterestFine/index.js.map +1 -1
- package/lib/module/screens/InterestReceived/index.js +1 -1
- package/lib/module/screens/InterestReceived/index.js.map +1 -1
- package/lib/module/screens/InvestDetail/index.js +1 -1
- package/lib/module/screens/InvestDetail/index.js.map +1 -1
- package/lib/module/screens/InvestNew/index.js +1 -1
- package/lib/module/screens/InvestNew/index.js.map +1 -1
- package/lib/module/screens/LinkSuccess/index.js +1 -1
- package/lib/module/screens/LinkSuccess/index.js.map +1 -1
- package/lib/module/screens/ListLoan/index.js +1 -1
- package/lib/module/screens/ListLoan/index.js.map +1 -1
- package/lib/module/screens/ListWaitingApproval/index.js +1 -1
- package/lib/module/screens/ListWaitingApproval/index.js.map +1 -1
- package/lib/module/screens/ListWaitingExtension/index.js +1 -1
- package/lib/module/screens/ListWaitingExtension/index.js.map +1 -1
- package/lib/module/screens/LoanApplication/index.js +1 -1
- package/lib/module/screens/LoanApplication/index.js.map +1 -1
- package/lib/module/screens/LockingLoan/index.js +1 -1
- package/lib/module/screens/LockingLoan/index.js.map +1 -1
- package/lib/module/screens/Notification/index.js +1 -1
- package/lib/module/screens/Notification/index.js.map +1 -1
- package/lib/module/screens/OTP/index.js +1 -1
- package/lib/module/screens/OTP/index.js.map +1 -1
- package/lib/module/screens/Optional/index.js +1 -1
- package/lib/module/screens/Optional/index.js.map +1 -1
- package/lib/module/screens/PassCode/index.js +1 -1
- package/lib/module/screens/PassCode/index.js.map +1 -1
- package/lib/module/screens/PendingLoan/index.js +1 -1
- package/lib/module/screens/PendingLoan/index.js.map +1 -1
- package/lib/module/screens/PendingMoney/index.js +1 -1
- package/lib/module/screens/PendingMoney/index.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/index.js +1 -1
- package/lib/module/screens/ReceivedLoan/index.js.map +1 -1
- package/lib/module/screens/SellDebt/index.js +1 -1
- package/lib/module/screens/SellDebt/index.js.map +1 -1
- package/lib/module/screens/SetPassword/index.js +1 -1
- package/lib/module/screens/SetPassword/index.js.map +1 -1
- package/lib/module/screens/ShowBuyDue/index.js +1 -1
- package/lib/module/screens/ShowBuyDue/index.js.map +1 -1
- package/lib/module/screens/Sign-in/index.js +1 -1
- package/lib/module/screens/Sign-in/index.js.map +1 -1
- package/lib/module/screens/Sign-up/index.js +1 -1
- package/lib/module/screens/Sign-up/index.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/SignContract.js +1 -1
- package/lib/module/screens/SignContractGpayTima/SignContract.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/index.js +1 -1
- package/lib/module/screens/SignContractGpayTima/index.js.map +1 -1
- package/lib/module/screens/SignDebtContract/index.js +1 -1
- package/lib/module/screens/SignDebtContract/index.js.map +1 -1
- package/lib/module/screens/Support/index.js +1 -1
- package/lib/module/screens/Support/index.js.map +1 -1
- package/lib/module/screens/TransferSuccess/index.js +1 -1
- package/lib/module/screens/TransferSuccess/index.js.map +1 -1
- package/lib/module/screens/WithDraw/index.js +1 -1
- package/lib/module/screens/WithDraw/index.js.map +1 -1
- package/lib/module/screens/WithdrawGpay/index.js +1 -1
- package/lib/module/screens/WithdrawGpay/index.js.map +1 -1
- package/lib/module/screens/WithdrawSuccess/index.js +1 -1
- package/lib/module/screens/WithdrawSuccess/index.js.map +1 -1
- package/lib/module/screens/terms/index.js +1 -1
- package/lib/module/screens/terms/index.js.map +1 -1
- package/lib/typescript/src/assets/images/Optional/index.d.ts +1 -0
- package/lib/typescript/src/assets/images/Optional/index.d.ts.map +1 -1
- package/lib/typescript/src/common/HeaderClose/BackHeader.d.ts +9 -0
- package/lib/typescript/src/common/HeaderClose/BackHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Features/Lender/lenderSlice.d.ts +1 -0
- package/lib/typescript/src/components/Features/Lender/lenderSlice.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/AppNavigator.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/AuthNavigator.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/index.d.ts.map +1 -1
- package/lib/typescript/src/controllers/Lender.d.ts +4 -0
- package/lib/typescript/src/controllers/Lender.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useGetUser.d.ts.map +1 -1
- package/lib/typescript/src/screens/About/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.d.ts.map +1 -1
- package/lib/typescript/src/screens/AdditionalInvestmentCapital/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/AvailableAmount/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/BuyDue/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Camera/Screens/CameraFrontBack.d.ts.map +1 -1
- package/lib/typescript/src/screens/Camera/Screens/CameraSelfie.d.ts.map +1 -1
- package/lib/typescript/src/screens/Camera/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/CashBook/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ChangePassword/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Confirm/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ConnectBank/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Contract/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ContractDetail/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/CooperationAgreement/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/DashBoardDetail/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/DetailBuyDue/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/DetailHistory/Screens/Extend.d.ts.map +1 -1
- package/lib/typescript/src/screens/DetailLoanApplication/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/DetailNotification/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/EKYC/Screens/NationalIDBack.d.ts.map +1 -1
- package/lib/typescript/src/screens/EKYC/Screens/Selfie.d.ts.map +1 -1
- package/lib/typescript/src/screens/EKYC/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/EkycLiveness/EkycCamera.d.ts.map +1 -1
- package/lib/typescript/src/screens/ExtendContract/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ForgotPassword/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ForgotPasswordOTP/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/GpayInfor/Gpay.d.ts.map +1 -1
- package/lib/typescript/src/screens/GpayInfor/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/InputBank/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/InterestFine/index.d.ts +1 -1
- package/lib/typescript/src/screens/InterestFine/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/InterestReceived/index.d.ts +1 -1
- package/lib/typescript/src/screens/InterestReceived/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/InvestDetail/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/InvestNew/index.d.ts +1 -1
- package/lib/typescript/src/screens/InvestNew/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/LinkSuccess/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ListLoan/index.d.ts +1 -1
- package/lib/typescript/src/screens/ListLoan/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ListWaitingApproval/index.d.ts +1 -1
- package/lib/typescript/src/screens/ListWaitingApproval/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ListWaitingExtension/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/LoanApplication/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/LockingLoan/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Notification/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/OTP/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Optional/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/PassCode/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/PendingLoan/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/PendingMoney/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ReceivedLoan/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/SellDebt/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/SetPassword/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/ShowBuyDue/index.d.ts +1 -1
- package/lib/typescript/src/screens/ShowBuyDue/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Sign-in/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Sign-up/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/SignContractGpayTima/SignContract.d.ts.map +1 -1
- package/lib/typescript/src/screens/SignContractGpayTima/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/SignDebtContract/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/Support/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/TransferSuccess/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/WithDraw/index.d.ts +1 -1
- package/lib/typescript/src/screens/WithDraw/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/WithdrawGpay/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/WithdrawSuccess/index.d.ts.map +1 -1
- package/lib/typescript/src/screens/terms/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/Optional/index.ts +1 -0
- package/src/assets/images/Optional/them_von_new.png +0 -0
- package/src/common/HeaderClose/BackHeader.tsx +88 -0
- package/src/components/Features/Lender/lenderSlice.ts +8 -0
- package/src/components/Navigation/AppNavigator.tsx +106 -16
- package/src/components/Navigation/AuthNavigator.tsx +18 -5
- package/src/components/Navigation/index.tsx +2 -0
- package/src/controllers/Lender.ts +13 -0
- package/src/hooks/useGetUser.tsx +4 -5
- package/src/screens/About/index.tsx +1 -2
- package/src/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.tsx +84 -54
- package/src/screens/AdditionalInvestmentCapital/index.tsx +38 -5
- package/src/screens/AvailableAmount/index.tsx +6 -2
- package/src/screens/BuyDue/index.tsx +1 -2
- package/src/screens/Camera/Screens/CameraFrontBack.tsx +6 -2
- package/src/screens/Camera/Screens/CameraSelfie.tsx +6 -2
- package/src/screens/Camera/index.tsx +6 -2
- package/src/screens/CashBook/index.tsx +6 -2
- package/src/screens/ChangePassword/index.tsx +6 -2
- package/src/screens/Confirm/index.tsx +6 -2
- package/src/screens/ConnectBank/index.tsx +1 -2
- package/src/screens/Contract/index.tsx +6 -2
- package/src/screens/ContractDetail/index.tsx +8 -5
- package/src/screens/CooperationAgreement/index.tsx +1 -2
- package/src/screens/DashBoardDetail/index.tsx +6 -3
- package/src/screens/DetailBuyDue/index.tsx +6 -2
- package/src/screens/DetailHistory/Screens/Extend.tsx +6 -2
- package/src/screens/DetailLoanApplication/index.tsx +4 -3
- package/src/screens/DetailNotification/index.tsx +10 -2
- package/src/screens/EKYC/Screens/NationalIDBack.tsx +6 -2
- package/src/screens/EKYC/Screens/Selfie.tsx +6 -2
- package/src/screens/EKYC/index.tsx +6 -2
- package/src/screens/EkycLiveness/EkycCamera.tsx +6 -2
- package/src/screens/ExtendContract/index.tsx +6 -2
- package/src/screens/ForgotPassword/index.tsx +87 -89
- package/src/screens/ForgotPasswordOTP/index.tsx +6 -2
- package/src/screens/GpayInfor/Gpay.tsx +2 -3
- package/src/screens/GpayInfor/index.tsx +6 -2
- package/src/screens/InputBank/index.tsx +6 -2
- package/src/screens/InterestFine/index.tsx +7 -3
- package/src/screens/InterestReceived/index.tsx +7 -3
- package/src/screens/InvestDetail/index.tsx +141 -8
- package/src/screens/InvestNew/index.tsx +7 -3
- package/src/screens/LinkSuccess/index.tsx +6 -2
- package/src/screens/ListLoan/index.tsx +7 -3
- package/src/screens/ListWaitingApproval/index.tsx +7 -3
- package/src/screens/ListWaitingExtension/index.tsx +2 -3
- package/src/screens/LoanApplication/index.tsx +6 -2
- package/src/screens/LockingLoan/index.tsx +6 -2
- package/src/screens/Notification/index.tsx +6 -2
- package/src/screens/OTP/index.tsx +6 -2
- package/src/screens/Optional/index.tsx +93 -106
- package/src/screens/PassCode/index.tsx +1 -2
- package/src/screens/PendingLoan/index.tsx +6 -2
- package/src/screens/PendingMoney/index.tsx +6 -2
- package/src/screens/ReceivedLoan/index.tsx +6 -2
- package/src/screens/SellDebt/index.tsx +6 -2
- package/src/screens/SetPassword/index.tsx +6 -2
- package/src/screens/ShowBuyDue/index.tsx +7 -3
- package/src/screens/Sign-in/index.tsx +153 -155
- package/src/screens/Sign-up/index.tsx +156 -158
- package/src/screens/SignContractGpayTima/SignContract.tsx +20 -13
- package/src/screens/SignContractGpayTima/index.tsx +6 -2
- package/src/screens/SignDebtContract/index.tsx +6 -2
- package/src/screens/Support/index.tsx +1 -2
- package/src/screens/TransferSuccess/index.tsx +6 -2
- package/src/screens/WithDraw/index.tsx +137 -23
- package/src/screens/WithdrawGpay/index.tsx +6 -2
- package/src/screens/WithdrawSuccess/index.tsx +6 -2
- package/src/screens/terms/index.tsx +1 -2
@@ -18,17 +18,27 @@ import ClassBG from '../../assets/images/ClassBG';
|
|
18
18
|
import HomeImages from '../../assets/images/HomePage';
|
19
19
|
import InvestImages from '../../assets/images/Invest';
|
20
20
|
import constant from '../../common/constants';
|
21
|
-
import {
|
21
|
+
import {
|
22
|
+
actuatedNormalize,
|
23
|
+
formatMoneyText,
|
24
|
+
numberWithCommas,
|
25
|
+
} from '../../common/Metrics';
|
22
26
|
import RText from '../../common/RText';
|
23
27
|
import Screens from '../../components/Navigation/Screens';
|
24
28
|
import { AppDispatch } from '../../components/Redux/store';
|
25
29
|
|
30
|
+
import FastImage from 'react-native-fast-image';
|
26
31
|
import { showMessage } from 'react-native-flash-message';
|
32
|
+
import imageOptions from '../../assets/images/Optional';
|
27
33
|
import Colors from '../../common/Colors';
|
28
34
|
import Loading from '../../common/Loading';
|
29
35
|
import { getStatsContractInfo } from '../../components/Features/Lender/lenderSlice';
|
30
36
|
import { lenderAfterDateContract } from '../../components/Features/Loans/loanSlice';
|
31
37
|
import { selectLoading } from '../../components/Redux/selector';
|
38
|
+
import ConfirmAddInvestment from '../../screens/AdditionalInvestmentCapital/Components/ConfirmAddInvestment';
|
39
|
+
import ConfirmRecharge from '../../screens/AdditionalInvestmentCapital/Components/ConfirmRecharge';
|
40
|
+
import Success from '../../screens/AdditionalInvestmentCapital/Components/Success';
|
41
|
+
import AddInvestment from '../../screens/DashBoardDetail/Components/AddInvestment';
|
32
42
|
|
33
43
|
const listTitle = [
|
34
44
|
{
|
@@ -95,18 +105,26 @@ const lenderAfter = [
|
|
95
105
|
export const InvestDetail = ({ route, navigation }: any) => {
|
96
106
|
const dispatch = useDispatch<AppDispatch>();
|
97
107
|
const isLoading = useSelector(selectLoading);
|
98
|
-
|
108
|
+
const item = route?.params?.item;
|
99
109
|
const lenderTypeName = route?.params?.lenderTypeName;
|
100
|
-
|
110
|
+
const investmentTypeText = route?.params?.investmentTypeText;
|
101
111
|
const [chooseFinishContract, setChooseFinishContract] = useState('');
|
102
112
|
const [openModal, setOpenModal] = useState(false);
|
103
|
-
|
104
|
-
|
113
|
+
const [chooseLender, setChooseLender] = useState<any>(null);
|
114
|
+
const [totalMoney, setTotalMoney] = useState(item?.totalMoneyCurrent);
|
115
|
+
const [listBank, setListBank] = useState<any>([]);
|
116
|
+
const [money, setMoney] = useState('');
|
117
|
+
const [chooseBank, setChooseBank] = useState<any>();
|
118
|
+
const [openAddInvestment, setOpenAddInvestment] = useState(false);
|
119
|
+
const [openConfirmInvestment, setOpenConfirmInvestment] = useState(false);
|
120
|
+
const [openRecharge, setOpenRecharge] = useState(false);
|
121
|
+
const [openSuccess, setOpenSuccess] = useState(false);
|
122
|
+
const [dataConfirm, setDataConfirm] = useState();
|
105
123
|
const [data, setData] = useState();
|
124
|
+
console.log('lenderTypeName: ', lenderTypeName);
|
106
125
|
|
107
126
|
useEffect(() => {
|
108
127
|
getContractInfo();
|
109
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
110
128
|
}, []);
|
111
129
|
|
112
130
|
const getContractInfo = async () => {
|
@@ -125,6 +143,15 @@ export const InvestDetail = ({ route, navigation }: any) => {
|
|
125
143
|
}
|
126
144
|
};
|
127
145
|
|
146
|
+
const getBankTransfer = async () => {
|
147
|
+
const resp: any = await dispatch(getTransferBanks());
|
148
|
+
console.log('resp', resp);
|
149
|
+
if (resp?.payload?.meta?.errCode === 200) {
|
150
|
+
const _data = resp?.payload?.data || [];
|
151
|
+
setListBank(_data);
|
152
|
+
}
|
153
|
+
};
|
154
|
+
|
128
155
|
const mapIconType: any = {
|
129
156
|
Gold: InvestImages.gold,
|
130
157
|
UQĐT: InvestImages.money,
|
@@ -190,6 +217,34 @@ export const InvestDetail = ({ route, navigation }: any) => {
|
|
190
217
|
}
|
191
218
|
};
|
192
219
|
|
220
|
+
const onRecharge = async () => {
|
221
|
+
const params = {
|
222
|
+
bankId: chooseBank?.bin || listBank[0]?.bin,
|
223
|
+
bankAccount: chooseBank?.account || listBank[0]?.account,
|
224
|
+
money: money.split(',').join(''),
|
225
|
+
lenderId: item?.lenderID,
|
226
|
+
};
|
227
|
+
const resp: any = await dispatch(getTransferContent(params));
|
228
|
+
console.log('resp transfer', JSON.stringify(resp));
|
229
|
+
if (resp?.payload?.meta?.errCode === 200) {
|
230
|
+
setDataConfirm(resp?.payload?.data);
|
231
|
+
setOpenConfirmInvestment(false);
|
232
|
+
setTimeout(() => {
|
233
|
+
setOpenRecharge(true);
|
234
|
+
}, 800);
|
235
|
+
} else {
|
236
|
+
// WToastShowError(resp?.payload?.meta?.errMessage, WToast.position.TOP);
|
237
|
+
showMessage({
|
238
|
+
message: 'Thông báo',
|
239
|
+
description: resp?.payload?.meta?.errMessage,
|
240
|
+
type: 'danger',
|
241
|
+
icon: 'warning',
|
242
|
+
position: 'top',
|
243
|
+
backgroundColor: Colors.DANGER,
|
244
|
+
});
|
245
|
+
}
|
246
|
+
};
|
247
|
+
|
193
248
|
const chooseLenderAfterDateContract = async (item: any) => {
|
194
249
|
setOpenModal(false);
|
195
250
|
const resp: any = await dispatch(
|
@@ -401,7 +456,7 @@ export const InvestDetail = ({ route, navigation }: any) => {
|
|
401
456
|
color: '#606060',
|
402
457
|
}}
|
403
458
|
>
|
404
|
-
{
|
459
|
+
{`Lãi đã nhận`}
|
405
460
|
</Text>
|
406
461
|
<View
|
407
462
|
style={{
|
@@ -420,6 +475,41 @@ export const InvestDetail = ({ route, navigation }: any) => {
|
|
420
475
|
<Icon name="chevron-forward" color="#999999" size={24} />
|
421
476
|
</View>
|
422
477
|
</TouchableOpacity>
|
478
|
+
|
479
|
+
{lenderTypeName === 'Diamonds' && (
|
480
|
+
<TouchableOpacity
|
481
|
+
onPress={() => {
|
482
|
+
getBankTransfer();
|
483
|
+
setOpenAddInvestment(true);
|
484
|
+
}}
|
485
|
+
style={{
|
486
|
+
alignItems: 'center',
|
487
|
+
flexDirection: 'row',
|
488
|
+
alignSelf: 'center',
|
489
|
+
marginBottom: actuatedNormalize(36),
|
490
|
+
borderWidth: 1,
|
491
|
+
borderRadius: actuatedNormalize(36),
|
492
|
+
borderColor: Colors.ORANGE,
|
493
|
+
}}
|
494
|
+
>
|
495
|
+
<FastImage
|
496
|
+
source={imageOptions.them_von_new}
|
497
|
+
style={{
|
498
|
+
width: actuatedNormalize(40),
|
499
|
+
height: actuatedNormalize(40),
|
500
|
+
}}
|
501
|
+
/>
|
502
|
+
<RText
|
503
|
+
textStyle={{
|
504
|
+
color: Colors.ORANGE,
|
505
|
+
marginHorizontal: actuatedNormalize(8),
|
506
|
+
fontSize: 16,
|
507
|
+
}}
|
508
|
+
>
|
509
|
+
Thêm vốn
|
510
|
+
</RText>
|
511
|
+
</TouchableOpacity>
|
512
|
+
)}
|
423
513
|
</ScrollView>
|
424
514
|
<Modal
|
425
515
|
isVisible={openModal}
|
@@ -441,7 +531,7 @@ export const InvestDetail = ({ route, navigation }: any) => {
|
|
441
531
|
<Text style={{ fontSize: 18, fontWeight: '700', marginBottom: 16 }}>
|
442
532
|
Chọn phương thức đáo hạn
|
443
533
|
</Text>
|
444
|
-
{lenderAfter.map((item,
|
534
|
+
{lenderAfter.map((item, index) => {
|
445
535
|
return (
|
446
536
|
<TouchableOpacity
|
447
537
|
onPress={() => {
|
@@ -465,7 +555,50 @@ export const InvestDetail = ({ route, navigation }: any) => {
|
|
465
555
|
})}
|
466
556
|
</View>
|
467
557
|
</Modal>
|
558
|
+
<AddInvestment
|
559
|
+
isVisible={openAddInvestment}
|
560
|
+
onBackdropPress={() => setOpenAddInvestment(false)}
|
561
|
+
lenderName={item?.lenderName}
|
562
|
+
listBank={listBank}
|
563
|
+
value={money}
|
564
|
+
chooseBank={(val: React.SetStateAction<undefined>) =>
|
565
|
+
setChooseBank(val)
|
566
|
+
}
|
567
|
+
onChangeText={(val: string) => setMoney(formatMoneyText(val))}
|
568
|
+
onPress={() => {
|
569
|
+
setOpenAddInvestment(false);
|
570
|
+
setTimeout(() => {
|
571
|
+
setOpenConfirmInvestment(true);
|
572
|
+
}, 800);
|
573
|
+
}}
|
574
|
+
/>
|
468
575
|
|
576
|
+
<ConfirmAddInvestment
|
577
|
+
isVisible={openConfirmInvestment}
|
578
|
+
money={money}
|
579
|
+
lenderCode={item?.lenderName}
|
580
|
+
bank={chooseBank || listBank[0]}
|
581
|
+
onBackdropPress={() => setOpenConfirmInvestment(false)}
|
582
|
+
onPress={() => onRecharge()}
|
583
|
+
isLoading={isLoading}
|
584
|
+
/>
|
585
|
+
|
586
|
+
<ConfirmRecharge
|
587
|
+
isVisible={openRecharge}
|
588
|
+
onBackdropPress={() => setOpenRecharge(false)}
|
589
|
+
data={dataConfirm}
|
590
|
+
bank={chooseBank || listBank[0]}
|
591
|
+
onPress={() => {
|
592
|
+
setOpenRecharge(false);
|
593
|
+
setTimeout(() => {
|
594
|
+
setOpenSuccess(true);
|
595
|
+
}, 800);
|
596
|
+
}}
|
597
|
+
/>
|
598
|
+
<Success
|
599
|
+
isVisible={openSuccess}
|
600
|
+
onBackdropPress={() => setOpenSuccess(false)}
|
601
|
+
/>
|
469
602
|
{isLoading && <Loading />}
|
470
603
|
</ImageBackground>
|
471
604
|
);
|
@@ -1,19 +1,23 @@
|
|
1
1
|
/* eslint-disable react-native/no-inline-styles */
|
2
2
|
import React, { useState } from 'react';
|
3
3
|
import { TouchableOpacity } from 'react-native';
|
4
|
-
import AppHeader from '../../common/AppHeader';
|
5
4
|
import Colors from '../../common/Colors';
|
6
5
|
import Container from '../../common/Container';
|
7
6
|
import FlexRow from '../../common/FlexRow';
|
7
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
8
8
|
import RText from '../../common/RText';
|
9
9
|
import HomeLoan from './Screens/HomeLoan';
|
10
10
|
import PersonalLoan from './Screens/PersonalLoan';
|
11
11
|
|
12
|
-
export const InvestNew = () => {
|
12
|
+
export const InvestNew = ({ navigation }: any) => {
|
13
13
|
const [tabIndex, setTabIndex] = useState(0);
|
14
14
|
return (
|
15
15
|
<Container isStatusBar>
|
16
|
-
<AppHeader title="DANH SÁCH KHOẢN CHỜ ĐẦU TƯ" />
|
16
|
+
{/* <AppHeader title="DANH SÁCH KHOẢN CHỜ ĐẦU TƯ" /> */}
|
17
|
+
<BackHeader
|
18
|
+
title="DANH SÁCH KHOẢN CHỜ ĐẦU TƯ"
|
19
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
20
|
+
/>
|
17
21
|
<FlexRow>
|
18
22
|
<TouchableOpacity
|
19
23
|
onPress={() => setTabIndex(0)}
|
@@ -2,9 +2,9 @@
|
|
2
2
|
import React from 'react';
|
3
3
|
import { Image, View } from 'react-native';
|
4
4
|
import imageBanks from '../../assets/images/Banks';
|
5
|
-
import AppHeader from '../../common/AppHeader';
|
6
5
|
import Button from '../../common/Button';
|
7
6
|
import Container from '../../common/Container';
|
7
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
8
8
|
import { actuatedNormalize } from '../../common/Metrics';
|
9
9
|
import RText from '../../common/RText';
|
10
10
|
import Screens from '../../components/Navigation/Screens';
|
@@ -12,7 +12,11 @@ import Screens from '../../components/Navigation/Screens';
|
|
12
12
|
export const LinkSuccess = ({ navigation }: any) => {
|
13
13
|
return (
|
14
14
|
<Container isStatusBar>
|
15
|
-
<AppHeader title="LIÊN KẾT NGÂN HÀNG" />
|
15
|
+
{/* <AppHeader title="LIÊN KẾT NGÂN HÀNG" /> */}
|
16
|
+
<BackHeader
|
17
|
+
title="LIÊN KẾT NGÂN HÀNG"
|
18
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
19
|
+
/>
|
16
20
|
<View
|
17
21
|
style={{
|
18
22
|
backgroundColor: 'white',
|
@@ -6,12 +6,12 @@ import { FlatList, TouchableOpacity, View } from 'react-native';
|
|
6
6
|
import { showMessage } from 'react-native-flash-message';
|
7
7
|
import LinearGradient from 'react-native-linear-gradient';
|
8
8
|
import { useDispatch, useSelector } from 'react-redux';
|
9
|
-
import AppHeader from '../../common/AppHeader';
|
10
9
|
import Colors from '../../common/Colors';
|
11
10
|
import Container from '../../common/Container';
|
12
11
|
import EmptyView from '../../common/EmptyView';
|
13
12
|
import FlexRow from '../../common/FlexRow';
|
14
13
|
import formatNumber from '../../common/FormatNumber';
|
14
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
15
15
|
import Loading from '../../common/Loading';
|
16
16
|
import { actuatedNormalize, Shadow } from '../../common/Metrics';
|
17
17
|
import RText from '../../common/RText';
|
@@ -51,7 +51,7 @@ const dateTypes = [
|
|
51
51
|
},
|
52
52
|
];
|
53
53
|
|
54
|
-
export const ListLoan = ({
|
54
|
+
export const ListLoan = ({ navigation, route }: any) => {
|
55
55
|
const typeName = route?.params?.typeName;
|
56
56
|
const scrollRef = useRef<any>(null);
|
57
57
|
const touchRef = useRef<any>(null);
|
@@ -244,12 +244,16 @@ export const ListLoan = ({ _navigation, route }: any) => {
|
|
244
244
|
|
245
245
|
return (
|
246
246
|
<Container isStatusBar>
|
247
|
-
<AppHeader
|
247
|
+
{/* <AppHeader
|
248
248
|
title="Số tiền đang cho vay"
|
249
249
|
backColor={Colors.WHITE}
|
250
250
|
iconColor={Colors.BLACK}
|
251
251
|
titleStyle={{ color: Colors.BLACK }}
|
252
252
|
// renderRight={() => rightItem()}
|
253
|
+
/> */}
|
254
|
+
<BackHeader
|
255
|
+
title="Số tiền đang cho vay"
|
256
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
253
257
|
/>
|
254
258
|
<View
|
255
259
|
style={{
|
@@ -22,13 +22,13 @@ import {
|
|
22
22
|
import { useSelector } from 'react-redux';
|
23
23
|
import InvestIcons from '../../assets/images/Invest';
|
24
24
|
import imageOptions from '../../assets/images/Optional';
|
25
|
-
import AppHeader from '../../common/AppHeader';
|
26
25
|
import BorderWidth from '../../common/BorderWidth';
|
27
26
|
import Colors from '../../common/Colors';
|
28
27
|
import Container from '../../common/Container';
|
29
28
|
import EmptyView from '../../common/EmptyView';
|
30
29
|
import FlexRow from '../../common/FlexRow';
|
31
30
|
import formatNumber from '../../common/FormatNumber';
|
31
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
32
32
|
import LazyImage from '../../common/LazyImage';
|
33
33
|
import Loading from '../../common/Loading';
|
34
34
|
import { actuatedNormalize, Shadow } from '../../common/Metrics';
|
@@ -44,7 +44,7 @@ import { useAppDispatch } from '../../components/Redux/store';
|
|
44
44
|
import Success from '../AdditionalInvestmentCapital/Components/Success';
|
45
45
|
import ConfirmRecharge from './Components/ConfirmRecharge';
|
46
46
|
|
47
|
-
const ListWaitingApproval = () => {
|
47
|
+
const ListWaitingApproval = ({ navigation }: any) => {
|
48
48
|
const dispatch = useAppDispatch();
|
49
49
|
const userData = useSelector(userInfor);
|
50
50
|
const isLoading = useSelector(selectLoading);
|
@@ -297,11 +297,15 @@ const ListWaitingApproval = () => {
|
|
297
297
|
};
|
298
298
|
return (
|
299
299
|
<Container style={{ backgroundColor: '#F5F5F5' }}>
|
300
|
-
<AppHeader
|
300
|
+
{/* <AppHeader
|
301
301
|
title={`Danh sách đợi duyệt (${data?.length || 0})`}
|
302
302
|
backColor={Colors.WHITE}
|
303
303
|
iconColor={Colors.BLACK}
|
304
304
|
titleStyle={{ color: Colors.BLACK }}
|
305
|
+
/> */}
|
306
|
+
<BackHeader
|
307
|
+
title={`Danh sách đợi duyệt (${data?.length || 0})`}
|
308
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
305
309
|
/>
|
306
310
|
<FlatList
|
307
311
|
data={data}
|
@@ -4,7 +4,6 @@ import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { FlatList, TouchableOpacity, View } from 'react-native';
|
5
5
|
import { showMessage } from 'react-native-flash-message';
|
6
6
|
import LinearGradient from 'react-native-linear-gradient';
|
7
|
-
import AppHeader from '../../common/AppHeader';
|
8
7
|
import Colors from '../../common/Colors';
|
9
8
|
import Container from '../../common/Container';
|
10
9
|
import FlexRow from '../../common/FlexRow';
|
@@ -228,12 +227,12 @@ const ListWaitingExtension = ({ navigation }: any) => {
|
|
228
227
|
|
229
228
|
return (
|
230
229
|
<Container>
|
231
|
-
<AppHeader
|
230
|
+
{/* <AppHeader
|
232
231
|
title="Danh sách chờ gia hạn"
|
233
232
|
backColor="white"
|
234
233
|
iconColor="black"
|
235
234
|
titleStyle={{ color: 'black' }}
|
236
|
-
/>
|
235
|
+
/> */}
|
237
236
|
<LinearGradient
|
238
237
|
colors={['#FF8E4F', '#EF592E']}
|
239
238
|
style={{ paddingVertical: 8 }}
|
@@ -7,11 +7,11 @@ import { FlatList, TouchableOpacity, View } from 'react-native';
|
|
7
7
|
import { showMessage } from 'react-native-flash-message';
|
8
8
|
import { useSelector } from 'react-redux';
|
9
9
|
import InvestNewImages from '../../assets/images/InvestNew';
|
10
|
-
import AppHeader from '../../common/AppHeader';
|
11
10
|
import Colors from '../../common/Colors';
|
12
11
|
import Container from '../../common/Container';
|
13
12
|
import FlexRow from '../../common/FlexRow';
|
14
13
|
import formatNumber from '../../common/FormatNumber';
|
14
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
15
15
|
import LazyImage from '../../common/LazyImage';
|
16
16
|
import Loading from '../../common/Loading';
|
17
17
|
import { actuatedNormalize, Shadow } from '../../common/Metrics';
|
@@ -259,11 +259,15 @@ const LoanApplication = ({ navigation }: any) => {
|
|
259
259
|
};
|
260
260
|
return (
|
261
261
|
<Container>
|
262
|
-
<AppHeader
|
262
|
+
{/* <AppHeader
|
263
263
|
backColor={Colors.WHITE}
|
264
264
|
iconColor={Colors.BLACK}
|
265
265
|
titleStyle={{ color: Colors.BLACK }}
|
266
266
|
title="Đơn vay đủ điều kiện bán"
|
267
|
+
/> */}
|
268
|
+
<BackHeader
|
269
|
+
title="Đơn vay đủ điều kiện bán"
|
270
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
267
271
|
/>
|
268
272
|
<View
|
269
273
|
style={{
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import React, { useEffect, useState } from 'react';
|
4
4
|
import { FlatList, TouchableOpacity, View } from 'react-native';
|
5
5
|
import { useDispatch } from 'react-redux';
|
6
|
-
import AppHeader from '../../common/AppHeader';
|
7
6
|
import Container from '../../common/Container';
|
8
7
|
import FlexRow from '../../common/FlexRow';
|
8
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
9
9
|
import { numberWithCommas } from '../../common/Metrics';
|
10
10
|
import RText from '../../common/RText';
|
11
11
|
import constant from '../../common/constants/index';
|
@@ -79,7 +79,11 @@ export const LockingLoan = ({ navigation }: any) => {
|
|
79
79
|
}
|
80
80
|
return (
|
81
81
|
<Container isStatusBar>
|
82
|
-
<AppHeader title={'Hợp đồng chờ đối soát'.toUpperCase()} />
|
82
|
+
{/* <AppHeader title={'Hợp đồng chờ đối soát'.toUpperCase()} /> */}
|
83
|
+
<BackHeader
|
84
|
+
title={'Hợp đồng chờ đối soát'.toUpperCase()}
|
85
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
86
|
+
/>
|
83
87
|
<View style={{ flex: 1 }}>
|
84
88
|
<FlexRow
|
85
89
|
style={{
|
@@ -13,10 +13,10 @@ import {
|
|
13
13
|
import { showMessage } from 'react-native-flash-message';
|
14
14
|
import { useDispatch, useSelector } from 'react-redux';
|
15
15
|
import Images from '../../assets/images/Logo';
|
16
|
-
import AppHeader from '../../common/AppHeader';
|
17
16
|
import Colors from '../../common/Colors';
|
18
17
|
import Container from '../../common/Container';
|
19
18
|
import FlexRow from '../../common/FlexRow';
|
19
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
20
20
|
import Loading from '../../common/Loading';
|
21
21
|
import RText from '../../common/RText';
|
22
22
|
import {
|
@@ -165,7 +165,11 @@ export const Notification = ({ navigation }: any) => {
|
|
165
165
|
|
166
166
|
return (
|
167
167
|
<Container isStatusBar>
|
168
|
-
<AppHeader title="THÔNG BÁO" />
|
168
|
+
{/* <AppHeader title="THÔNG BÁO" /> */}
|
169
|
+
<BackHeader
|
170
|
+
title="THÔNG BÁO"
|
171
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
172
|
+
/>
|
169
173
|
<FlatList
|
170
174
|
data={dataNotifi}
|
171
175
|
keyExtractor={(item, index) => index.toString()}
|
@@ -4,11 +4,11 @@ import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { ScrollView, TextInput, View } from 'react-native';
|
5
5
|
import { showMessage } from 'react-native-flash-message';
|
6
6
|
import { useDispatch, useSelector } from 'react-redux';
|
7
|
-
import AppHeader from '../../common/AppHeader';
|
8
7
|
import Button from '../../common/Button';
|
9
8
|
import Colors from '../../common/Colors';
|
10
9
|
import Container from '../../common/Container';
|
11
10
|
import FlexRow from '../../common/FlexRow';
|
11
|
+
import BackHeader from '../../common/HeaderClose/BackHeader';
|
12
12
|
import Loading from '../../common/Loading';
|
13
13
|
import { actuatedNormalize, numberWithCommas } from '../../common/Metrics';
|
14
14
|
import RText from '../../common/RText';
|
@@ -185,7 +185,11 @@ export const OTP = ({ route, navigation }: any) => {
|
|
185
185
|
|
186
186
|
return (
|
187
187
|
<Container isStatusBar>
|
188
|
-
<AppHeader title="NHẬP MÃ XÁC THỰC" />
|
188
|
+
{/* <AppHeader title="NHẬP MÃ XÁC THỰC" /> */}
|
189
|
+
<BackHeader
|
190
|
+
title="NHẬP MÃ XÁC THỰC"
|
191
|
+
onPress={() => navigation.navigate('MyBank.Main')}
|
192
|
+
/>
|
189
193
|
<ScrollView
|
190
194
|
style={{ paddingHorizontal: actuatedNormalize(20) }}
|
191
195
|
scrollEnabled={false}
|