react-native-timacare 3.3.55 → 3.3.56-alert
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/AppStore.js +1 -1
- package/lib/commonjs/AppStore.js.flow +7 -2
- package/lib/commonjs/AppStore.js.map +1 -1
- package/lib/commonjs/RNTimacare.js +1 -1
- package/lib/commonjs/RNTimacare.js.flow +7 -1
- package/lib/commonjs/RNTimacare.js.map +1 -1
- package/lib/commonjs/assets/icons/index.js +1 -1
- package/lib/commonjs/assets/icons/index.js.flow +8 -0
- package/lib/commonjs/assets/icons/index.js.map +1 -1
- package/lib/commonjs/assets/icons/modal_confirm.svg +15 -0
- package/lib/commonjs/assets/icons/modal_notice.svg +74 -0
- package/lib/commonjs/assets/icons/modal_success.svg +55 -0
- package/lib/commonjs/assets/icons/modal_warning.svg +48 -0
- package/lib/commonjs/components/AppModal.js +2 -0
- package/lib/commonjs/components/AppModal.js.flow +34 -0
- package/lib/commonjs/components/AppModal.js.map +1 -0
- package/lib/commonjs/components/ItemTimaOne.js +2 -0
- package/lib/commonjs/components/{ItemTimaOneV3.js.flow → ItemTimaOne.js.flow} +1 -1
- package/lib/commonjs/components/ItemTimaOne.js.map +1 -0
- package/lib/commonjs/components/ModalNotification/AlertGlobal.js +2 -0
- package/lib/commonjs/components/ModalNotification/AlertGlobal.js.flow +100 -0
- package/lib/commonjs/components/ModalNotification/AlertGlobal.js.map +1 -0
- package/lib/commonjs/components/ModalNotification/index.js +2 -0
- package/lib/commonjs/components/ModalNotification/index.js.flow +224 -0
- package/lib/commonjs/components/ModalNotification/index.js.map +1 -0
- package/lib/commonjs/components/ModalOptionLoan.js +1 -1
- package/lib/commonjs/components/ModalOptionLoan.js.flow +15 -7
- package/lib/commonjs/components/ModalOptionLoan.js.map +1 -1
- package/lib/commonjs/components/ModalOptionLoanDigital.js +1 -1
- package/lib/commonjs/components/ModalOptionLoanDigital.js.flow +15 -7
- package/lib/commonjs/components/ModalOptionLoanDigital.js.map +1 -1
- package/lib/commonjs/screens/SelectorStore.js +1 -1
- package/lib/commonjs/screens/SelectorStore.js.flow +7 -2
- package/lib/commonjs/screens/SelectorStore.js.map +1 -1
- package/lib/commonjs/screens/camera/CCCDCameraScreen.js +1 -1
- package/lib/commonjs/screens/camera/CCCDCameraScreen.js.flow +50 -54
- package/lib/commonjs/screens/camera/CCCDCameraScreen.js.map +1 -1
- package/lib/commonjs/screens/camera/index.js +1 -1
- package/lib/commonjs/screens/camera/index.js.flow +50 -54
- package/lib/commonjs/screens/camera/index.js.map +1 -1
- package/lib/commonjs/screens/cimb-sign/index.js +1 -1
- package/lib/commonjs/screens/cimb-sign/index.js.flow +10 -14
- package/lib/commonjs/screens/cimb-sign/index.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.flow +75 -54
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.flow +77 -54
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/store.js +1 -1
- package/lib/commonjs/screens/detail-loan/store.js.flow +39 -7
- package/lib/commonjs/screens/detail-loan/store.js.map +1 -1
- package/lib/commonjs/screens/detail-loan-tima/InforLoan.js +1 -1
- package/lib/commonjs/screens/detail-loan-tima/InforLoan.js.flow +20 -4
- package/lib/commonjs/screens/detail-loan-tima/InforLoan.js.map +1 -1
- package/lib/commonjs/screens/detail-loan-tima/PaymentSchedule.js +1 -1
- package/lib/commonjs/screens/detail-loan-tima/PaymentSchedule.js.flow +19 -4
- package/lib/commonjs/screens/detail-loan-tima/PaymentSchedule.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step6.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step6.js.flow +24 -29
- package/lib/commonjs/screens/digital-lending/Step6.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/store.js +1 -1
- package/lib/commonjs/screens/digital-lending/store.js.flow +113 -20
- package/lib/commonjs/screens/digital-lending/store.js.map +1 -1
- package/lib/commonjs/screens/eSign/Store.js +1 -1
- package/lib/commonjs/screens/eSign/Store.js.flow +69 -34
- package/lib/commonjs/screens/eSign/Store.js.map +1 -1
- package/lib/commonjs/screens/eSign/index.js +1 -1
- package/lib/commonjs/screens/eSign/index.js.flow +33 -34
- package/lib/commonjs/screens/eSign/index.js.map +1 -1
- package/lib/commonjs/screens/full-submit/accept_policy.js +1 -1
- package/lib/commonjs/screens/full-submit/accept_policy.js.flow +101 -85
- package/lib/commonjs/screens/full-submit/accept_policy.js.map +1 -1
- package/lib/commonjs/screens/full-submit/store.js +1 -1
- package/lib/commonjs/screens/full-submit/store.js.flow +157 -27
- package/lib/commonjs/screens/full-submit/store.js.map +1 -1
- package/lib/commonjs/screens/full-submit/update-info.js +1 -1
- package/lib/commonjs/screens/full-submit/update-info.js.flow +0 -1
- package/lib/commonjs/screens/full-submit/update-info.js.map +1 -1
- package/lib/commonjs/screens/home/DigitalTopupItem.js +1 -1
- package/lib/commonjs/screens/home/DigitalTopupItem.js.flow +15 -7
- package/lib/commonjs/screens/home/DigitalTopupItem.js.map +1 -1
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js +1 -1
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js.flow +16 -7
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js.map +1 -1
- package/lib/commonjs/screens/home/Store.js +1 -1
- package/lib/commonjs/screens/home/Store.js.flow +44 -23
- package/lib/commonjs/screens/home/Store.js.map +1 -1
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +299 -186
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/commonjs/screens/liveness/LivenessStore.js +1 -1
- package/lib/commonjs/screens/liveness/LivenessStore.js.flow +111 -89
- package/lib/commonjs/screens/liveness/LivenessStore.js.map +1 -1
- package/lib/commonjs/screens/liveness/index.js +1 -1
- package/lib/commonjs/screens/liveness/index.js.flow +67 -68
- package/lib/commonjs/screens/liveness/index.js.map +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js.flow +52 -52
- package/lib/commonjs/screens/liveness-v2/index.js.map +1 -1
- package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js +1 -1
- package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js.flow +20 -10
- package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js.map +1 -1
- package/lib/commonjs/screens/loan/UpdateLoan.js +1 -1
- package/lib/commonjs/screens/loan/UpdateLoan.js.flow +56 -23
- package/lib/commonjs/screens/loan/UpdateLoan.js.map +1 -1
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js +1 -1
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.flow +43 -29
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.map +1 -1
- package/lib/commonjs/screens/motobike/PolicyF88.js +1 -1
- package/lib/commonjs/screens/motobike/PolicyF88.js.flow +15 -6
- package/lib/commonjs/screens/motobike/PolicyF88.js.map +1 -1
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js +1 -1
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.flow +13 -3
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.map +1 -1
- package/lib/commonjs/screens/mrz-scanner/index.js +1 -1
- package/lib/commonjs/screens/mrz-scanner/index.js.flow +56 -55
- package/lib/commonjs/screens/mrz-scanner/index.js.map +1 -1
- package/lib/commonjs/screens/mrz-scanner/store.js +1 -1
- package/lib/commonjs/screens/mrz-scanner/store.js.flow +13 -3
- package/lib/commonjs/screens/mrz-scanner/store.js.map +1 -1
- package/lib/commonjs/screens/nationalID/Store.js +1 -1
- package/lib/commonjs/screens/nationalID/Store.js.flow +50 -29
- package/lib/commonjs/screens/nationalID/Store.js.map +1 -1
- package/lib/commonjs/screens/nationalID/index.js +1 -1
- package/lib/commonjs/screens/nationalID/index.js.flow +0 -1
- package/lib/commonjs/screens/nationalID/index.js.map +1 -1
- package/lib/commonjs/screens/nationalIDBack/Store.js +1 -1
- package/lib/commonjs/screens/nationalIDBack/Store.js.flow +44 -26
- package/lib/commonjs/screens/nationalIDBack/Store.js.map +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js.flow +0 -1
- package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
- package/lib/commonjs/screens/notification/ListLoanStore.js +1 -1
- package/lib/commonjs/screens/notification/ListLoanStore.js.flow +19 -4
- package/lib/commonjs/screens/notification/ListLoanStore.js.map +1 -1
- package/lib/commonjs/screens/notification/index.js +1 -1
- package/lib/commonjs/screens/notification/index.js.flow +0 -1
- package/lib/commonjs/screens/notification/index.js.map +1 -1
- package/lib/commonjs/screens/notification/store.js +1 -1
- package/lib/commonjs/screens/notification/store.js.flow +7 -2
- package/lib/commonjs/screens/notification/store.js.map +1 -1
- package/lib/commonjs/screens/personal/index.js +1 -1
- package/lib/commonjs/screens/personal/index.js.flow +21 -19
- package/lib/commonjs/screens/personal/index.js.map +1 -1
- package/lib/commonjs/screens/qualify/Store.js.flow +0 -1
- package/lib/commonjs/screens/qualify/Store.js.map +1 -1
- package/lib/commonjs/screens/quick-submit/store.js +1 -1
- package/lib/commonjs/screens/quick-submit/store.js.flow +85 -15
- package/lib/commonjs/screens/quick-submit/store.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js.flow +20 -4
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/store.js +1 -1
- package/lib/commonjs/screens/schedule-payment/store.js.flow +13 -5
- package/lib/commonjs/screens/schedule-payment/store.js.map +1 -1
- package/lib/commonjs/screens/selfie/SelfieStore.js +1 -1
- package/lib/commonjs/screens/selfie/SelfieStore.js.flow +25 -9
- package/lib/commonjs/screens/selfie/SelfieStore.js.map +1 -1
- package/lib/commonjs/screens/selfie/index.js +1 -1
- package/lib/commonjs/screens/selfie/index.js.flow +0 -1
- package/lib/commonjs/screens/selfie/index.js.map +1 -1
- package/lib/commonjs/screens/sign-tima/ViewContract.js +1 -1
- package/lib/commonjs/screens/sign-tima/ViewContract.js.flow +17 -18
- package/lib/commonjs/screens/sign-tima/ViewContract.js.map +1 -1
- package/lib/commonjs/screens/sign-tima/store.js +1 -1
- package/lib/commonjs/screens/sign-tima/store.js.flow +37 -7
- package/lib/commonjs/screens/sign-tima/store.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js.flow +36 -10
- package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/OCR.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/OCR.js.flow +64 -66
- package/lib/commonjs/screens/toan-trinh-so/OCR.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js.flow +21 -4
- package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.flow +50 -54
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +31 -25
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.flow +88 -82
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +25 -5
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js.flow +42 -25
- package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +63 -56
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.flow +63 -55
- package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.flow +50 -43
- package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.flow +50 -54
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/store.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/store.js.flow +82 -37
- package/lib/commonjs/screens/toan-trinh-so/store.js.map +1 -1
- package/lib/commonjs/screens/uploadVideo/index.js +1 -1
- package/lib/commonjs/screens/uploadVideo/index.js.flow +26 -21
- package/lib/commonjs/screens/uploadVideo/index.js.map +1 -1
- package/lib/commonjs/screens/uploadVideo/videoStore.js +1 -1
- package/lib/commonjs/screens/uploadVideo/videoStore.js.flow +19 -4
- package/lib/commonjs/screens/uploadVideo/videoStore.js.map +1 -1
- package/lib/commonjs/screens/v3/AssetInformation.js +1 -1
- package/lib/commonjs/screens/v3/AssetInformation.js.flow +35 -16
- package/lib/commonjs/screens/v3/AssetInformation.js.map +1 -1
- package/lib/commonjs/screens/v3/LoanBuyCar.js +1 -1
- package/lib/commonjs/screens/v3/LoanBuyCar.js.flow +35 -16
- package/lib/commonjs/screens/v3/LoanBuyCar.js.map +1 -1
- package/lib/commonjs/services/api/api.js +1 -1
- package/lib/commonjs/services/api/api.js.flow +23 -26
- package/lib/commonjs/services/api/api.js.map +1 -1
- package/lib/module/AppStore.js +1 -1
- package/lib/module/AppStore.js.map +1 -1
- package/lib/module/RNTimacare.js +1 -1
- package/lib/module/RNTimacare.js.map +1 -1
- package/lib/module/assets/icons/index.js +1 -1
- package/lib/module/assets/icons/index.js.map +1 -1
- package/lib/module/assets/icons/modal_confirm.svg +15 -0
- package/lib/module/assets/icons/modal_notice.svg +74 -0
- package/lib/module/assets/icons/modal_success.svg +55 -0
- package/lib/module/assets/icons/modal_warning.svg +48 -0
- package/lib/module/components/AppModal.js +2 -0
- package/lib/module/components/AppModal.js.map +1 -0
- package/lib/module/components/ItemTimaOne.js +2 -0
- package/lib/module/components/ItemTimaOne.js.map +1 -0
- package/lib/module/components/ModalNotification/AlertGlobal.js +2 -0
- package/lib/module/components/ModalNotification/AlertGlobal.js.map +1 -0
- package/lib/module/components/ModalNotification/index.js +2 -0
- package/lib/module/components/ModalNotification/index.js.map +1 -0
- package/lib/module/components/ModalOptionLoan.js +1 -1
- package/lib/module/components/ModalOptionLoan.js.map +1 -1
- package/lib/module/components/ModalOptionLoanDigital.js +1 -1
- package/lib/module/components/ModalOptionLoanDigital.js.map +1 -1
- package/lib/module/screens/SelectorStore.js +1 -1
- package/lib/module/screens/SelectorStore.js.map +1 -1
- package/lib/module/screens/camera/CCCDCameraScreen.js +1 -1
- package/lib/module/screens/camera/CCCDCameraScreen.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/cimb-sign/index.js +1 -1
- package/lib/module/screens/cimb-sign/index.js.map +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/module/screens/detail-loan/store.js +1 -1
- package/lib/module/screens/detail-loan/store.js.map +1 -1
- package/lib/module/screens/detail-loan-tima/InforLoan.js +1 -1
- package/lib/module/screens/detail-loan-tima/InforLoan.js.map +1 -1
- package/lib/module/screens/detail-loan-tima/PaymentSchedule.js +1 -1
- package/lib/module/screens/detail-loan-tima/PaymentSchedule.js.map +1 -1
- package/lib/module/screens/digital-lending/Step6.js +1 -1
- package/lib/module/screens/digital-lending/Step6.js.map +1 -1
- package/lib/module/screens/digital-lending/store.js +1 -1
- package/lib/module/screens/digital-lending/store.js.map +1 -1
- package/lib/module/screens/eSign/Store.js +1 -1
- package/lib/module/screens/eSign/Store.js.map +1 -1
- package/lib/module/screens/eSign/index.js +1 -1
- package/lib/module/screens/eSign/index.js.map +1 -1
- package/lib/module/screens/full-submit/accept_policy.js +1 -1
- package/lib/module/screens/full-submit/accept_policy.js.map +1 -1
- package/lib/module/screens/full-submit/store.js +1 -1
- package/lib/module/screens/full-submit/store.js.map +1 -1
- package/lib/module/screens/full-submit/update-info.js +1 -1
- package/lib/module/screens/full-submit/update-info.js.map +1 -1
- package/lib/module/screens/home/DigitalTopupItem.js +1 -1
- package/lib/module/screens/home/DigitalTopupItem.js.map +1 -1
- package/lib/module/screens/home/ItemMotoBikeLoan.js +1 -1
- package/lib/module/screens/home/ItemMotoBikeLoan.js.map +1 -1
- package/lib/module/screens/home/Store.js +1 -1
- package/lib/module/screens/home/Store.js.map +1 -1
- package/lib/module/screens/home/index.js +1 -1
- package/lib/module/screens/home/index.js.map +1 -1
- package/lib/module/screens/liveness/LivenessStore.js +1 -1
- package/lib/module/screens/liveness/LivenessStore.js.map +1 -1
- package/lib/module/screens/liveness/index.js +1 -1
- package/lib/module/screens/liveness/index.js.map +1 -1
- package/lib/module/screens/liveness-v2/index.js +1 -1
- package/lib/module/screens/liveness-v2/index.js.map +1 -1
- package/lib/module/screens/loan/PreviewSchedulePaymentTopup.js +1 -1
- package/lib/module/screens/loan/PreviewSchedulePaymentTopup.js.map +1 -1
- package/lib/module/screens/loan/UpdateLoan.js +1 -1
- package/lib/module/screens/loan/UpdateLoan.js.map +1 -1
- package/lib/module/screens/motobike/InfoLoanMotobike.js +1 -1
- package/lib/module/screens/motobike/InfoLoanMotobike.js.map +1 -1
- package/lib/module/screens/motobike/PolicyF88.js +1 -1
- package/lib/module/screens/motobike/PolicyF88.js.map +1 -1
- package/lib/module/screens/motobike/ReviewLoanMotobike.js +1 -1
- package/lib/module/screens/motobike/ReviewLoanMotobike.js.map +1 -1
- package/lib/module/screens/mrz-scanner/index.js +1 -1
- package/lib/module/screens/mrz-scanner/index.js.map +1 -1
- package/lib/module/screens/mrz-scanner/store.js +1 -1
- package/lib/module/screens/mrz-scanner/store.js.map +1 -1
- package/lib/module/screens/nationalID/Store.js +1 -1
- package/lib/module/screens/nationalID/Store.js.map +1 -1
- package/lib/module/screens/nationalID/index.js +1 -1
- package/lib/module/screens/nationalID/index.js.map +1 -1
- package/lib/module/screens/nationalIDBack/Store.js +1 -1
- package/lib/module/screens/nationalIDBack/Store.js.map +1 -1
- package/lib/module/screens/nationalIDBack/index.js +1 -1
- package/lib/module/screens/nationalIDBack/index.js.map +1 -1
- package/lib/module/screens/notification/ListLoanStore.js +1 -1
- package/lib/module/screens/notification/ListLoanStore.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/notification/store.js +1 -1
- package/lib/module/screens/notification/store.js.map +1 -1
- package/lib/module/screens/personal/index.js +1 -1
- package/lib/module/screens/personal/index.js.map +1 -1
- package/lib/module/screens/qualify/Store.js.map +1 -1
- package/lib/module/screens/quick-submit/store.js +1 -1
- package/lib/module/screens/quick-submit/store.js.map +1 -1
- package/lib/module/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
- package/lib/module/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
- package/lib/module/screens/schedule-payment/store.js +1 -1
- package/lib/module/screens/schedule-payment/store.js.map +1 -1
- package/lib/module/screens/selfie/SelfieStore.js +1 -1
- package/lib/module/screens/selfie/SelfieStore.js.map +1 -1
- package/lib/module/screens/selfie/index.js +1 -1
- package/lib/module/screens/selfie/index.js.map +1 -1
- package/lib/module/screens/sign-tima/ViewContract.js +1 -1
- package/lib/module/screens/sign-tima/ViewContract.js.map +1 -1
- package/lib/module/screens/sign-tima/store.js +1 -1
- package/lib/module/screens/sign-tima/store.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/LoanInterestRate.js +1 -1
- package/lib/module/screens/toan-trinh-so/LoanInterestRate.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/OCR.js +1 -1
- package/lib/module/screens/toan-trinh-so/OCR.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterBack.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterCamera.js +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterCamera.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformation.js +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewLoan.js +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSOTP.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSOTP.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSignLoan.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSignLoan.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
- package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleCamera.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistration.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistration.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/store.js +1 -1
- package/lib/module/screens/toan-trinh-so/store.js.map +1 -1
- package/lib/module/screens/uploadVideo/index.js +1 -1
- package/lib/module/screens/uploadVideo/index.js.map +1 -1
- package/lib/module/screens/uploadVideo/videoStore.js +1 -1
- package/lib/module/screens/uploadVideo/videoStore.js.map +1 -1
- package/lib/module/screens/v3/AssetInformation.js +1 -1
- package/lib/module/screens/v3/AssetInformation.js.map +1 -1
- package/lib/module/screens/v3/LoanBuyCar.js +1 -1
- package/lib/module/screens/v3/LoanBuyCar.js.map +1 -1
- package/lib/module/services/api/api.js +1 -1
- package/lib/module/services/api/api.js.map +1 -1
- package/lib/typescript/AppStore.d.ts.map +1 -1
- package/lib/typescript/RNTimacare.d.ts.map +1 -1
- package/lib/typescript/assets/icons/index.d.ts +5 -1
- package/lib/typescript/assets/icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AppModal.d.ts +18 -0
- package/lib/typescript/components/AppModal.d.ts.map +1 -0
- package/lib/typescript/components/ItemTimaOne.d.ts +7 -0
- package/lib/typescript/components/ItemTimaOne.d.ts.map +1 -0
- package/lib/typescript/components/ModalNotification/AlertGlobal.d.ts +30 -0
- package/lib/typescript/components/ModalNotification/AlertGlobal.d.ts.map +1 -0
- package/lib/typescript/components/ModalNotification/index.d.ts +35 -0
- package/lib/typescript/components/ModalNotification/index.d.ts.map +1 -0
- package/lib/typescript/components/ModalOptionLoan.d.ts.map +1 -1
- package/lib/typescript/components/ModalOptionLoanDigital.d.ts.map +1 -1
- package/lib/typescript/screens/SelectorStore.d.ts.map +1 -1
- package/lib/typescript/screens/camera/CCCDCameraScreen.d.ts.map +1 -1
- package/lib/typescript/screens/camera/index.d.ts.map +1 -1
- package/lib/typescript/screens/cimb-sign/index.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/ShowQrCode.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/store.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan-tima/InforLoan.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan-tima/PaymentSchedule.d.ts.map +1 -1
- package/lib/typescript/screens/digital-lending/Step6.d.ts.map +1 -1
- package/lib/typescript/screens/digital-lending/store.d.ts.map +1 -1
- package/lib/typescript/screens/eSign/Store.d.ts.map +1 -1
- package/lib/typescript/screens/eSign/index.d.ts.map +1 -1
- package/lib/typescript/screens/full-submit/accept_policy.d.ts.map +1 -1
- package/lib/typescript/screens/full-submit/store.d.ts.map +1 -1
- package/lib/typescript/screens/full-submit/update-info.d.ts.map +1 -1
- package/lib/typescript/screens/home/DigitalTopupItem.d.ts.map +1 -1
- package/lib/typescript/screens/home/ItemMotoBikeLoan.d.ts.map +1 -1
- package/lib/typescript/screens/home/Store.d.ts.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/lib/typescript/screens/liveness/LivenessStore.d.ts.map +1 -1
- package/lib/typescript/screens/liveness/index.d.ts.map +1 -1
- package/lib/typescript/screens/loan/PreviewSchedulePaymentTopup.d.ts.map +1 -1
- package/lib/typescript/screens/loan/UpdateLoan.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/InfoLoanMotobike.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/PolicyF88.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/ReviewLoanMotobike.d.ts.map +1 -1
- package/lib/typescript/screens/mrz-scanner/index.d.ts.map +1 -1
- package/lib/typescript/screens/mrz-scanner/store.d.ts.map +1 -1
- package/lib/typescript/screens/nationalID/Store.d.ts.map +1 -1
- package/lib/typescript/screens/nationalID/index.d.ts.map +1 -1
- package/lib/typescript/screens/nationalIDBack/Store.d.ts.map +1 -1
- package/lib/typescript/screens/nationalIDBack/index.d.ts.map +1 -1
- package/lib/typescript/screens/notification/ListLoanStore.d.ts.map +1 -1
- package/lib/typescript/screens/notification/index.d.ts.map +1 -1
- package/lib/typescript/screens/notification/store.d.ts.map +1 -1
- package/lib/typescript/screens/personal/index.d.ts.map +1 -1
- package/lib/typescript/screens/qualify/Store.d.ts.map +1 -1
- package/lib/typescript/screens/quick-submit/store.d.ts.map +1 -1
- package/lib/typescript/screens/schedule-payment/DigitalSchedulePayment.d.ts.map +1 -1
- package/lib/typescript/screens/schedule-payment/store.d.ts.map +1 -1
- package/lib/typescript/screens/selfie/SelfieStore.d.ts.map +1 -1
- package/lib/typescript/screens/selfie/index.d.ts.map +1 -1
- package/lib/typescript/screens/sign-tima/ViewContract.d.ts.map +1 -1
- package/lib/typescript/screens/sign-tima/store.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/LoanInterestRate.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/OCR.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/RegisterBack.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/RegisterCamera.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDBack.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDFront.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSOTP.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSSignLoan.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TopupLoanInfo.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistration.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationFront.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/store.d.ts.map +1 -1
- package/lib/typescript/screens/uploadVideo/index.d.ts.map +1 -1
- package/lib/typescript/screens/uploadVideo/videoStore.d.ts.map +1 -1
- package/lib/typescript/screens/v3/AssetInformation.d.ts.map +1 -1
- package/lib/typescript/screens/v3/LoanBuyCar.d.ts.map +1 -1
- package/lib/typescript/services/api/api.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/AppStore.tsx +7 -2
- package/src/RNTimacare.tsx +7 -1
- package/src/assets/icons/index.tsx +8 -0
- package/src/assets/icons/modal_confirm.svg +15 -0
- package/src/assets/icons/modal_notice.svg +74 -0
- package/src/assets/icons/modal_success.svg +55 -0
- package/src/assets/icons/modal_warning.svg +48 -0
- package/src/components/AppModal.tsx +34 -0
- package/src/components/{ItemTimaOneV3.tsx → ItemTimaOne.tsx} +1 -1
- package/src/components/ModalNotification/AlertGlobal.tsx +100 -0
- package/src/components/ModalNotification/index.tsx +224 -0
- package/src/components/ModalOptionLoan.tsx +15 -7
- package/src/components/ModalOptionLoanDigital.tsx +15 -7
- package/src/screens/SelectorStore.tsx +7 -2
- package/src/screens/camera/CCCDCameraScreen.tsx +50 -54
- package/src/screens/camera/index.tsx +50 -54
- package/src/screens/cimb-sign/index.tsx +10 -14
- package/src/screens/detail-loan/PaymentInfo.tsx +75 -54
- package/src/screens/detail-loan/ShowQrCode.tsx +77 -54
- package/src/screens/detail-loan/store.tsx +39 -7
- package/src/screens/detail-loan-tima/InforLoan.tsx +20 -4
- package/src/screens/detail-loan-tima/PaymentSchedule.tsx +19 -4
- package/src/screens/digital-lending/Step6.tsx +24 -29
- package/src/screens/digital-lending/store.tsx +113 -20
- package/src/screens/eSign/Store.tsx +69 -34
- package/src/screens/eSign/index.tsx +33 -34
- package/src/screens/full-submit/accept_policy.tsx +101 -85
- package/src/screens/full-submit/store.tsx +157 -27
- package/src/screens/full-submit/update-info.tsx +0 -1
- package/src/screens/home/DigitalTopupItem.tsx +15 -7
- package/src/screens/home/ItemMotoBikeLoan.tsx +16 -7
- package/src/screens/home/Store.tsx +44 -23
- package/src/screens/home/index.tsx +299 -186
- package/src/screens/liveness/LivenessStore.tsx +111 -89
- package/src/screens/liveness/index.tsx +67 -68
- package/src/screens/liveness-v2/index.tsx +52 -52
- package/src/screens/loan/PreviewSchedulePaymentTopup.tsx +20 -10
- package/src/screens/loan/UpdateLoan.tsx +56 -23
- package/src/screens/motobike/InfoLoanMotobike.tsx +43 -29
- package/src/screens/motobike/PolicyF88.tsx +15 -6
- package/src/screens/motobike/ReviewLoanMotobike.tsx +13 -3
- package/src/screens/mrz-scanner/index.tsx +56 -55
- package/src/screens/mrz-scanner/store.ts +13 -3
- package/src/screens/nationalID/Store.tsx +50 -29
- package/src/screens/nationalID/index.tsx +0 -1
- package/src/screens/nationalIDBack/Store.tsx +44 -26
- package/src/screens/nationalIDBack/index.tsx +0 -1
- package/src/screens/notification/ListLoanStore.tsx +19 -4
- package/src/screens/notification/index.tsx +0 -1
- package/src/screens/notification/store.tsx +7 -2
- package/src/screens/personal/index.tsx +21 -19
- package/src/screens/qualify/Store.tsx +0 -1
- package/src/screens/quick-submit/store.tsx +85 -15
- package/src/screens/schedule-payment/DigitalSchedulePayment.tsx +20 -4
- package/src/screens/schedule-payment/store.tsx +13 -5
- package/src/screens/selfie/SelfieStore.tsx +25 -9
- package/src/screens/selfie/index.tsx +0 -1
- package/src/screens/sign-tima/ViewContract.tsx +17 -18
- package/src/screens/sign-tima/store.tsx +37 -7
- package/src/screens/toan-trinh-so/LoanInterestRate.tsx +36 -10
- package/src/screens/toan-trinh-so/OCR.tsx +64 -66
- package/src/screens/toan-trinh-so/RegisterBack.tsx +21 -4
- package/src/screens/toan-trinh-so/RegisterCamera.tsx +50 -54
- package/src/screens/toan-trinh-so/ReviewInformation.tsx +31 -25
- package/src/screens/toan-trinh-so/ReviewInformationOther.tsx +88 -82
- package/src/screens/toan-trinh-so/ReviewLoan.tsx +25 -5
- package/src/screens/toan-trinh-so/TTSNationalIDBack.tsx +19 -4
- package/src/screens/toan-trinh-so/TTSNationalIDFront.tsx +19 -4
- package/src/screens/toan-trinh-so/TTSOTP.tsx +42 -25
- package/src/screens/toan-trinh-so/TTSSelfie.tsx +63 -56
- package/src/screens/toan-trinh-so/TTSSignLoan.tsx +63 -55
- package/src/screens/toan-trinh-so/TopupLoanInfo.tsx +50 -43
- package/src/screens/toan-trinh-so/VehicleCamera.tsx +50 -54
- package/src/screens/toan-trinh-so/VehicleRegistration.tsx +19 -4
- package/src/screens/toan-trinh-so/VehicleRegistrationBack.tsx +19 -4
- package/src/screens/toan-trinh-so/VehicleRegistrationFront.tsx +19 -4
- package/src/screens/toan-trinh-so/store.ts +82 -37
- package/src/screens/uploadVideo/index.tsx +26 -21
- package/src/screens/uploadVideo/videoStore.tsx +19 -4
- package/src/screens/v3/AssetInformation.tsx +35 -16
- package/src/screens/v3/LoanBuyCar.tsx +35 -16
- package/src/services/api/api.ts +23 -26
- package/lib/commonjs/components/ItemTimaOneV2.js +0 -2
- package/lib/commonjs/components/ItemTimaOneV2.js.flow +0 -617
- package/lib/commonjs/components/ItemTimaOneV2.js.map +0 -1
- package/lib/commonjs/components/ItemTimaOneV3.js +0 -2
- package/lib/commonjs/components/ItemTimaOneV3.js.map +0 -1
- package/lib/module/components/ItemTimaOneV2.js +0 -2
- package/lib/module/components/ItemTimaOneV2.js.map +0 -1
- package/lib/module/components/ItemTimaOneV3.js +0 -2
- package/lib/module/components/ItemTimaOneV3.js.map +0 -1
- package/lib/typescript/components/ItemTimaOneV2.d.ts +0 -7
- package/lib/typescript/components/ItemTimaOneV2.d.ts.map +0 -1
- package/lib/typescript/components/ItemTimaOneV3.d.ts +0 -7
- package/lib/typescript/components/ItemTimaOneV3.d.ts.map +0 -1
- package/src/components/ItemTimaOneV2.tsx +0 -617
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import React, { useEffect, useState } from 'react';
|
|
3
3
|
import {
|
|
4
4
|
ActivityIndicator,
|
|
5
|
-
Alert,
|
|
6
5
|
Dimensions,
|
|
7
6
|
Image,
|
|
8
7
|
ImageBackground,
|
|
@@ -106,7 +105,7 @@ import {
|
|
|
106
105
|
IconOcr,
|
|
107
106
|
} from '../../assets/svgs';
|
|
108
107
|
import { o } from 'ramda';
|
|
109
|
-
import
|
|
108
|
+
import ItemTimaOne from '../../components/ItemTimaOne';
|
|
110
109
|
import ModalOptionLoan from '../../components/ModalOptionLoan';
|
|
111
110
|
import AlertLoan from '../../components/AlertLoan';
|
|
112
111
|
import DigitalTopupItem from './DigitalTopupItem';
|
|
@@ -114,6 +113,7 @@ import ModalOptionLoanDigital from '../../components/ModalOptionLoanDigital';
|
|
|
114
113
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
115
114
|
import ItemMotoBikeLoan from './ItemMotoBikeLoan';
|
|
116
115
|
import BoxGuidline from './BoxGuidline';
|
|
116
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
117
117
|
|
|
118
118
|
const listBanners = [
|
|
119
119
|
require('../../assets/img/banner1.png'),
|
|
@@ -297,7 +297,6 @@ export const Home = observer(function Home() {
|
|
|
297
297
|
} else {
|
|
298
298
|
}
|
|
299
299
|
} else {
|
|
300
|
-
Alert.alert('Thông báo', 'Có lỗi xảy ra. Vui lòng thử lại sau');
|
|
301
300
|
}
|
|
302
301
|
} catch (error) {
|
|
303
302
|
console.log(error);
|
|
@@ -364,73 +363,93 @@ export const Home = observer(function Home() {
|
|
|
364
363
|
console.log(
|
|
365
364
|
'This feature is not available (on this device / in this context)'
|
|
366
365
|
);
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
'
|
|
370
|
-
|
|
366
|
+
AlertGlobal.show({
|
|
367
|
+
type: 'warning',
|
|
368
|
+
title: 'Thông báo',
|
|
369
|
+
message:
|
|
370
|
+
'Máy ảnh trên thiết bị không tương thích.\nVui lòng kiểm tra lại thiết bị!',
|
|
371
|
+
primaryText: 'Đóng',
|
|
372
|
+
});
|
|
373
|
+
break;
|
|
374
|
+
case RESULTS.DENIED:
|
|
375
|
+
console.log(
|
|
376
|
+
'The permission has not been requested / is denied but requestable'
|
|
371
377
|
);
|
|
378
|
+
AlertGlobal.show({
|
|
379
|
+
type: 'warning',
|
|
380
|
+
title: 'Thông báo',
|
|
381
|
+
message:
|
|
382
|
+
'Máy ảnh trên thiết bị không tương thích.\nVui lòng kiểm tra lại thiết bị!',
|
|
383
|
+
primaryText: 'Đóng',
|
|
384
|
+
});
|
|
372
385
|
break;
|
|
373
386
|
case RESULTS.DENIED:
|
|
374
387
|
console.log(
|
|
375
388
|
'The permission has not been requested / is denied but requestable'
|
|
376
389
|
);
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
'
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
},
|
|
391
|
-
]
|
|
390
|
+
AlertGlobal.show({
|
|
391
|
+
type: 'warning',
|
|
392
|
+
title: 'Thông báo',
|
|
393
|
+
message:
|
|
394
|
+
'Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',
|
|
395
|
+
primaryText: 'Đóng',
|
|
396
|
+
});
|
|
397
|
+
break;
|
|
398
|
+
case RESULTS.DENIED:
|
|
399
|
+
console.log(
|
|
400
|
+
'The permission has not been requested / is denied but requestable'
|
|
392
401
|
);
|
|
402
|
+
AlertGlobal.show({
|
|
403
|
+
type: 'warning',
|
|
404
|
+
title: 'Thông báo',
|
|
405
|
+
message:
|
|
406
|
+
'Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',
|
|
407
|
+
primaryText: 'Đồng ý',
|
|
408
|
+
onPrimaryPress: () => {
|
|
409
|
+
if (Platform.OS === 'ios') {
|
|
410
|
+
openSettings();
|
|
411
|
+
} else {
|
|
412
|
+
requestPermissions();
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
});
|
|
393
416
|
break;
|
|
394
417
|
case RESULTS.LIMITED:
|
|
395
418
|
console.log('The permission is limited: some actions are possible');
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
'
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
]
|
|
411
|
-
);
|
|
419
|
+
AlertGlobal.show({
|
|
420
|
+
type: 'warning',
|
|
421
|
+
title: 'Thông báo',
|
|
422
|
+
message:
|
|
423
|
+
'Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',
|
|
424
|
+
primaryText: 'Đồng ý',
|
|
425
|
+
onPrimaryPress: () => {
|
|
426
|
+
if (Platform.OS === 'ios') {
|
|
427
|
+
openSettings();
|
|
428
|
+
} else {
|
|
429
|
+
requestPermissions();
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
});
|
|
412
433
|
break;
|
|
413
434
|
case RESULTS.GRANTED:
|
|
414
435
|
console.log('The permission is granted');
|
|
415
436
|
break;
|
|
416
437
|
case RESULTS.BLOCKED:
|
|
417
438
|
console.log('The permission is denied and not requestable anymore');
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
'
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
]
|
|
433
|
-
);
|
|
439
|
+
AlertGlobal.show({
|
|
440
|
+
type: 'warning',
|
|
441
|
+
title: 'Thông báo',
|
|
442
|
+
message:
|
|
443
|
+
'Bạn đã từ chối quyền vị trí. Vui lòng cấp quyền vị trí để tiếp tục!',
|
|
444
|
+
primaryText: 'Đồng ý',
|
|
445
|
+
onPrimaryPress: () => {
|
|
446
|
+
if (Platform.OS === 'ios') {
|
|
447
|
+
openSettings();
|
|
448
|
+
} else {
|
|
449
|
+
requestPermissions();
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
});
|
|
434
453
|
break;
|
|
435
454
|
}
|
|
436
455
|
});
|
|
@@ -467,14 +486,22 @@ export const Home = observer(function Home() {
|
|
|
467
486
|
setCheckTCCIMB(false);
|
|
468
487
|
closeModalThen(() => onRefresh());
|
|
469
488
|
} else {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
489
|
+
AlertGlobal.show({
|
|
490
|
+
type: 'warning',
|
|
491
|
+
title: 'Thông báo',
|
|
492
|
+
message:
|
|
493
|
+
response?.data?.meta?.errorMessage ||
|
|
494
|
+
'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
495
|
+
primaryText: 'Đóng',
|
|
496
|
+
});
|
|
475
497
|
}
|
|
476
498
|
} catch (error) {
|
|
477
|
-
|
|
499
|
+
AlertGlobal.show({
|
|
500
|
+
type: 'warning',
|
|
501
|
+
title: 'Thông báo',
|
|
502
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
503
|
+
primaryText: 'Đóng',
|
|
504
|
+
});
|
|
478
505
|
} finally {
|
|
479
506
|
setIsConfirmingTCCIMB(false);
|
|
480
507
|
}
|
|
@@ -500,12 +527,31 @@ export const Home = observer(function Home() {
|
|
|
500
527
|
if (response.data?.meta?.errorCode === 200) {
|
|
501
528
|
closeModalThen(() => onRefresh());
|
|
502
529
|
} else {
|
|
503
|
-
|
|
530
|
+
AlertGlobal.show({
|
|
531
|
+
type: 'warning',
|
|
532
|
+
title: 'Thông báo',
|
|
533
|
+
message:
|
|
534
|
+
response?.data?.meta?.errorMessage ||
|
|
535
|
+
'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
536
|
+
primaryText: 'Đóng',
|
|
537
|
+
});
|
|
504
538
|
}
|
|
505
539
|
} else {
|
|
506
|
-
|
|
540
|
+
AlertGlobal.show({
|
|
541
|
+
type: 'warning',
|
|
542
|
+
title: 'Thông báo',
|
|
543
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
544
|
+
primaryText: 'Đóng',
|
|
545
|
+
});
|
|
507
546
|
}
|
|
508
547
|
} catch (error) {
|
|
548
|
+
AlertGlobal.show({
|
|
549
|
+
type: 'warning',
|
|
550
|
+
title: 'Thông báo',
|
|
551
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
552
|
+
primaryText: 'Đóng',
|
|
553
|
+
});
|
|
554
|
+
} finally {
|
|
509
555
|
setIsLoading(false);
|
|
510
556
|
}
|
|
511
557
|
};
|
|
@@ -522,10 +568,22 @@ export const Home = observer(function Home() {
|
|
|
522
568
|
if (response.data?.meta?.errorCode === 200) {
|
|
523
569
|
closeModalThen(() => onRefresh());
|
|
524
570
|
} else {
|
|
525
|
-
|
|
571
|
+
AlertGlobal.show({
|
|
572
|
+
type: 'warning',
|
|
573
|
+
title: 'Thông báo',
|
|
574
|
+
message:
|
|
575
|
+
response?.data?.meta?.errorMessage ||
|
|
576
|
+
'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
577
|
+
primaryText: 'Đóng',
|
|
578
|
+
});
|
|
526
579
|
}
|
|
527
580
|
} else {
|
|
528
|
-
|
|
581
|
+
AlertGlobal.show({
|
|
582
|
+
type: 'warning',
|
|
583
|
+
title: 'Thông báo',
|
|
584
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
585
|
+
primaryText: 'Đóng',
|
|
586
|
+
});
|
|
529
587
|
}
|
|
530
588
|
} catch (error) {
|
|
531
589
|
setIsLoading(false);
|
|
@@ -631,7 +689,7 @@ export const Home = observer(function Home() {
|
|
|
631
689
|
item?.typeLoan === 6 ||
|
|
632
690
|
item?.typeLoan === 7 ? (
|
|
633
691
|
<View>
|
|
634
|
-
<
|
|
692
|
+
<ItemTimaOne item={item} navigation={navigation} />
|
|
635
693
|
</View>
|
|
636
694
|
) : item?.typeLoan === 4 && !item?.isPipelineCIMB ? (
|
|
637
695
|
<DigitalTopupItem
|
|
@@ -674,9 +732,7 @@ export const Home = observer(function Home() {
|
|
|
674
732
|
</MText>
|
|
675
733
|
</View>
|
|
676
734
|
</View>
|
|
677
|
-
<View
|
|
678
|
-
style={styles.divider}
|
|
679
|
-
/>
|
|
735
|
+
<View style={styles.divider} />
|
|
680
736
|
<View
|
|
681
737
|
style={{
|
|
682
738
|
flexDirection: 'row',
|
|
@@ -695,9 +751,7 @@ export const Home = observer(function Home() {
|
|
|
695
751
|
{item?.loanStatus}
|
|
696
752
|
</MText>
|
|
697
753
|
</View>
|
|
698
|
-
<View
|
|
699
|
-
style={styles.dividerThin}
|
|
700
|
-
/>
|
|
754
|
+
<View style={styles.dividerThin} />
|
|
701
755
|
<View style={{ flexDirection: 'row' }}>
|
|
702
756
|
{item?.loanStatus === null ||
|
|
703
757
|
item?.loanStatus === '' ? (
|
|
@@ -718,7 +772,10 @@ export const Home = observer(function Home() {
|
|
|
718
772
|
>
|
|
719
773
|
<AddInfo />
|
|
720
774
|
<MText
|
|
721
|
-
style={[
|
|
775
|
+
style={[
|
|
776
|
+
commonStyles.textNormal,
|
|
777
|
+
styles.actionLabelCenter,
|
|
778
|
+
]}
|
|
722
779
|
>
|
|
723
780
|
Hoàn thiện{'\n'}cung cấp thông tin
|
|
724
781
|
</MText>
|
|
@@ -755,7 +812,10 @@ export const Home = observer(function Home() {
|
|
|
755
812
|
>
|
|
756
813
|
<AddInfo />
|
|
757
814
|
<MText
|
|
758
|
-
style={[
|
|
815
|
+
style={[
|
|
816
|
+
commonStyles.textNormal,
|
|
817
|
+
styles.actionLabelCenter,
|
|
818
|
+
]}
|
|
759
819
|
>
|
|
760
820
|
Hoàn thiện{'\n'}cung cấp thông tin
|
|
761
821
|
</MText>
|
|
@@ -764,7 +824,10 @@ export const Home = observer(function Home() {
|
|
|
764
824
|
<View style={{ alignItems: 'center' }}>
|
|
765
825
|
<AddInfoDisable />
|
|
766
826
|
<MText
|
|
767
|
-
style={[
|
|
827
|
+
style={[
|
|
828
|
+
commonStyles.textNormal,
|
|
829
|
+
styles.actionLabelCenter,
|
|
830
|
+
]}
|
|
768
831
|
>
|
|
769
832
|
Hoàn thiện{'\n'}cung cấp thông tin
|
|
770
833
|
</MText>
|
|
@@ -788,17 +851,23 @@ export const Home = observer(function Home() {
|
|
|
788
851
|
)
|
|
789
852
|
);
|
|
790
853
|
} else {
|
|
791
|
-
|
|
792
|
-
'Thông báo',
|
|
793
|
-
|
|
794
|
-
|
|
854
|
+
AlertGlobal.show({
|
|
855
|
+
title: 'Thông báo',
|
|
856
|
+
message:
|
|
857
|
+
'Bạn chưa thể ký hợp đồng bây giờ?',
|
|
858
|
+
type: 'warning',
|
|
859
|
+
primaryText: 'Đóng',
|
|
860
|
+
});
|
|
795
861
|
}
|
|
796
862
|
});
|
|
797
863
|
}}
|
|
798
864
|
>
|
|
799
865
|
<IconSign2 />
|
|
800
866
|
<MText
|
|
801
|
-
style={[
|
|
867
|
+
style={[
|
|
868
|
+
commonStyles.textNormal,
|
|
869
|
+
styles.label12,
|
|
870
|
+
]}
|
|
802
871
|
>
|
|
803
872
|
Ký hợp đồng
|
|
804
873
|
</MText>
|
|
@@ -822,7 +891,10 @@ export const Home = observer(function Home() {
|
|
|
822
891
|
>
|
|
823
892
|
<ContractTimeIcon />
|
|
824
893
|
<MText
|
|
825
|
-
style={[
|
|
894
|
+
style={[
|
|
895
|
+
commonStyles.textNormal,
|
|
896
|
+
styles.label12Center,
|
|
897
|
+
]}
|
|
826
898
|
>
|
|
827
899
|
Hợp đồng{'\n'}dịch vụ
|
|
828
900
|
</MText>
|
|
@@ -846,7 +918,10 @@ export const Home = observer(function Home() {
|
|
|
846
918
|
>
|
|
847
919
|
<IconEviden />
|
|
848
920
|
<MText
|
|
849
|
-
style={[
|
|
921
|
+
style={[
|
|
922
|
+
commonStyles.textNormal,
|
|
923
|
+
styles.label12Center,
|
|
924
|
+
]}
|
|
850
925
|
>
|
|
851
926
|
Mục đích {'\n'}sử dụng
|
|
852
927
|
</MText>
|
|
@@ -870,7 +945,10 @@ export const Home = observer(function Home() {
|
|
|
870
945
|
>
|
|
871
946
|
<IconSchedule />
|
|
872
947
|
<MText
|
|
873
|
-
style={[
|
|
948
|
+
style={[
|
|
949
|
+
commonStyles.textNormal,
|
|
950
|
+
styles.label12,
|
|
951
|
+
]}
|
|
874
952
|
>
|
|
875
953
|
Lịch dự kiến
|
|
876
954
|
</MText>
|
|
@@ -881,9 +959,7 @@ export const Home = observer(function Home() {
|
|
|
881
959
|
{item.messageErrorCIMB !== '' &&
|
|
882
960
|
item?.messageErrorCIMB &&
|
|
883
961
|
item?.isCimbApproveFull === null ? (
|
|
884
|
-
<View
|
|
885
|
-
style={styles.infoBanner}
|
|
886
|
-
>
|
|
962
|
+
<View style={styles.infoBanner}>
|
|
887
963
|
<View
|
|
888
964
|
style={{
|
|
889
965
|
flexDirection: 'row',
|
|
@@ -939,9 +1015,7 @@ export const Home = observer(function Home() {
|
|
|
939
1015
|
</View>
|
|
940
1016
|
</View>
|
|
941
1017
|
) : (
|
|
942
|
-
<View
|
|
943
|
-
style={styles.infoBannerRow}
|
|
944
|
-
>
|
|
1018
|
+
<View style={styles.infoBannerRow}>
|
|
945
1019
|
<Info />
|
|
946
1020
|
<MText
|
|
947
1021
|
style={[
|
|
@@ -989,9 +1063,7 @@ export const Home = observer(function Home() {
|
|
|
989
1063
|
</MText>
|
|
990
1064
|
</View>
|
|
991
1065
|
</View>
|
|
992
|
-
<View
|
|
993
|
-
style={styles.divider}
|
|
994
|
-
/>
|
|
1066
|
+
<View style={styles.divider} />
|
|
995
1067
|
<View
|
|
996
1068
|
style={{
|
|
997
1069
|
flexDirection: 'row',
|
|
@@ -1049,9 +1121,7 @@ export const Home = observer(function Home() {
|
|
|
1049
1121
|
</TouchableOpacity>
|
|
1050
1122
|
) : (
|
|
1051
1123
|
<View>
|
|
1052
|
-
<View
|
|
1053
|
-
style={styles.dividerThin}
|
|
1054
|
-
/>
|
|
1124
|
+
<View style={styles.dividerThin} />
|
|
1055
1125
|
<View style={{ flexDirection: 'row' }}>
|
|
1056
1126
|
{item?.loanStatus === null ||
|
|
1057
1127
|
item?.loanStatus === '' ? (
|
|
@@ -1074,7 +1144,10 @@ export const Home = observer(function Home() {
|
|
|
1074
1144
|
>
|
|
1075
1145
|
<AddInfo />
|
|
1076
1146
|
<MText
|
|
1077
|
-
style={[
|
|
1147
|
+
style={[
|
|
1148
|
+
commonStyles.textNormal,
|
|
1149
|
+
styles.actionLabelCenter,
|
|
1150
|
+
]}
|
|
1078
1151
|
>
|
|
1079
1152
|
Hoàn thiện{'\n'}cung cấp thông tin
|
|
1080
1153
|
</MText>
|
|
@@ -1113,7 +1186,10 @@ export const Home = observer(function Home() {
|
|
|
1113
1186
|
>
|
|
1114
1187
|
<AddInfo />
|
|
1115
1188
|
<MText
|
|
1116
|
-
style={[
|
|
1189
|
+
style={[
|
|
1190
|
+
commonStyles.textNormal,
|
|
1191
|
+
styles.actionLabelCenter,
|
|
1192
|
+
]}
|
|
1117
1193
|
>
|
|
1118
1194
|
Hoàn thiện{'\n'}cung cấp thông
|
|
1119
1195
|
tin
|
|
@@ -1127,7 +1203,10 @@ export const Home = observer(function Home() {
|
|
|
1127
1203
|
>
|
|
1128
1204
|
<AddInfoDisable />
|
|
1129
1205
|
<MText
|
|
1130
|
-
style={[
|
|
1206
|
+
style={[
|
|
1207
|
+
commonStyles.textNormal,
|
|
1208
|
+
styles.actionLabelCenter,
|
|
1209
|
+
]}
|
|
1131
1210
|
>
|
|
1132
1211
|
Hoàn thiện{'\n'}cung cấp thông
|
|
1133
1212
|
tin
|
|
@@ -1152,17 +1231,23 @@ export const Home = observer(function Home() {
|
|
|
1152
1231
|
)
|
|
1153
1232
|
);
|
|
1154
1233
|
} else {
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
'
|
|
1158
|
-
|
|
1234
|
+
AlertGlobal.show({
|
|
1235
|
+
type: 'warning',
|
|
1236
|
+
title: 'Thông báo',
|
|
1237
|
+
message:
|
|
1238
|
+
'Bạn chưa thể ký hợp đồng bây giờ?',
|
|
1239
|
+
primaryText: 'Đóng',
|
|
1240
|
+
});
|
|
1159
1241
|
}
|
|
1160
1242
|
});
|
|
1161
1243
|
}}
|
|
1162
1244
|
>
|
|
1163
1245
|
<IconSign2 />
|
|
1164
1246
|
<MText
|
|
1165
|
-
style={[
|
|
1247
|
+
style={[
|
|
1248
|
+
commonStyles.textNormal,
|
|
1249
|
+
styles.actionLabel,
|
|
1250
|
+
]}
|
|
1166
1251
|
>
|
|
1167
1252
|
Ký hợp đồng
|
|
1168
1253
|
</MText>
|
|
@@ -1186,7 +1271,10 @@ export const Home = observer(function Home() {
|
|
|
1186
1271
|
>
|
|
1187
1272
|
<ContractTimeIcon />
|
|
1188
1273
|
<MText
|
|
1189
|
-
style={[
|
|
1274
|
+
style={[
|
|
1275
|
+
commonStyles.textNormal,
|
|
1276
|
+
styles.actionLabelCenter,
|
|
1277
|
+
]}
|
|
1190
1278
|
>
|
|
1191
1279
|
Hợp đồng{'\n'}dịch vụ
|
|
1192
1280
|
</MText>
|
|
@@ -1210,7 +1298,10 @@ export const Home = observer(function Home() {
|
|
|
1210
1298
|
>
|
|
1211
1299
|
<IconEviden />
|
|
1212
1300
|
<MText
|
|
1213
|
-
style={[
|
|
1301
|
+
style={[
|
|
1302
|
+
commonStyles.textNormal,
|
|
1303
|
+
styles.actionLabelCenter,
|
|
1304
|
+
]}
|
|
1214
1305
|
>
|
|
1215
1306
|
Mục đích {'\n'}sử dụng
|
|
1216
1307
|
</MText>
|
|
@@ -1232,7 +1323,10 @@ export const Home = observer(function Home() {
|
|
|
1232
1323
|
>
|
|
1233
1324
|
<IconSchedule />
|
|
1234
1325
|
<MText
|
|
1235
|
-
style={[
|
|
1326
|
+
style={[
|
|
1327
|
+
commonStyles.textNormal,
|
|
1328
|
+
styles.actionLabel,
|
|
1329
|
+
]}
|
|
1236
1330
|
>
|
|
1237
1331
|
Lịch dự kiến
|
|
1238
1332
|
</MText>
|
|
@@ -1243,9 +1337,7 @@ export const Home = observer(function Home() {
|
|
|
1243
1337
|
{item.messageErrorCIMB !== '' &&
|
|
1244
1338
|
item?.messageErrorCIMB &&
|
|
1245
1339
|
item?.isCimbApproveFull === null ? (
|
|
1246
|
-
<View
|
|
1247
|
-
style={styles.infoBanner}
|
|
1248
|
-
>
|
|
1340
|
+
<View style={styles.infoBanner}>
|
|
1249
1341
|
<View
|
|
1250
1342
|
style={{
|
|
1251
1343
|
flexDirection: 'row',
|
|
@@ -1307,9 +1399,7 @@ export const Home = observer(function Home() {
|
|
|
1307
1399
|
</View>
|
|
1308
1400
|
</View>
|
|
1309
1401
|
) : (
|
|
1310
|
-
<View
|
|
1311
|
-
style={styles.infoBannerRow}
|
|
1312
|
-
>
|
|
1402
|
+
<View style={styles.infoBannerRow}>
|
|
1313
1403
|
<Info />
|
|
1314
1404
|
<MText
|
|
1315
1405
|
style={[
|
|
@@ -1360,9 +1450,7 @@ export const Home = observer(function Home() {
|
|
|
1360
1450
|
</MText>
|
|
1361
1451
|
</View>
|
|
1362
1452
|
</View>
|
|
1363
|
-
<View
|
|
1364
|
-
style={styles.divider}
|
|
1365
|
-
/>
|
|
1453
|
+
<View style={styles.divider} />
|
|
1366
1454
|
<View
|
|
1367
1455
|
style={{
|
|
1368
1456
|
flexDirection: 'row',
|
|
@@ -1381,9 +1469,7 @@ export const Home = observer(function Home() {
|
|
|
1381
1469
|
{item?.loanStatus}
|
|
1382
1470
|
</MText>
|
|
1383
1471
|
</View>
|
|
1384
|
-
<View
|
|
1385
|
-
style={styles.dividerThin}
|
|
1386
|
-
/>
|
|
1472
|
+
<View style={styles.dividerThin} />
|
|
1387
1473
|
<View style={{ flexDirection: 'row' }}>
|
|
1388
1474
|
{item?.isUpdateLoan ||
|
|
1389
1475
|
item?.isUpdateInformation ? (
|
|
@@ -1415,7 +1501,10 @@ export const Home = observer(function Home() {
|
|
|
1415
1501
|
>
|
|
1416
1502
|
<AddInfo />
|
|
1417
1503
|
<MText
|
|
1418
|
-
style={[
|
|
1504
|
+
style={[
|
|
1505
|
+
commonStyles.textNormal,
|
|
1506
|
+
styles.actionLabelCenter,
|
|
1507
|
+
]}
|
|
1419
1508
|
>
|
|
1420
1509
|
Hoàn thiện{'\n'}cung cấp thông tin
|
|
1421
1510
|
</MText>
|
|
@@ -1424,7 +1513,10 @@ export const Home = observer(function Home() {
|
|
|
1424
1513
|
<View style={{ alignItems: 'center' }}>
|
|
1425
1514
|
<AddInfoDisable />
|
|
1426
1515
|
<MText
|
|
1427
|
-
style={[
|
|
1516
|
+
style={[
|
|
1517
|
+
commonStyles.textNormal,
|
|
1518
|
+
styles.actionLabelCenter,
|
|
1519
|
+
]}
|
|
1428
1520
|
>
|
|
1429
1521
|
Hoàn thiện{'\n'}cung cấp thông tin
|
|
1430
1522
|
</MText>
|
|
@@ -1445,17 +1537,23 @@ export const Home = observer(function Home() {
|
|
|
1445
1537
|
)
|
|
1446
1538
|
);
|
|
1447
1539
|
} else {
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
'
|
|
1451
|
-
|
|
1540
|
+
AlertGlobal.show({
|
|
1541
|
+
type: 'warning',
|
|
1542
|
+
title: 'Thông báo',
|
|
1543
|
+
message:
|
|
1544
|
+
'Bạn chưa thể ký hợp đồng bây giờ?',
|
|
1545
|
+
primaryText: 'Đóng',
|
|
1546
|
+
});
|
|
1452
1547
|
}
|
|
1453
1548
|
});
|
|
1454
1549
|
}}
|
|
1455
1550
|
>
|
|
1456
1551
|
<IconSign2 />
|
|
1457
1552
|
<MText
|
|
1458
|
-
style={[
|
|
1553
|
+
style={[
|
|
1554
|
+
commonStyles.textNormal,
|
|
1555
|
+
styles.actionLabel,
|
|
1556
|
+
]}
|
|
1459
1557
|
>
|
|
1460
1558
|
Ký hợp đồng
|
|
1461
1559
|
</MText>
|
|
@@ -1479,7 +1577,10 @@ export const Home = observer(function Home() {
|
|
|
1479
1577
|
>
|
|
1480
1578
|
<ContractTimeIcon />
|
|
1481
1579
|
<MText
|
|
1482
|
-
style={[
|
|
1580
|
+
style={[
|
|
1581
|
+
commonStyles.textNormal,
|
|
1582
|
+
styles.actionLabelCenter,
|
|
1583
|
+
]}
|
|
1483
1584
|
>
|
|
1484
1585
|
Hợp đồng{'\n'}dịch vụ
|
|
1485
1586
|
</MText>
|
|
@@ -1503,7 +1604,10 @@ export const Home = observer(function Home() {
|
|
|
1503
1604
|
>
|
|
1504
1605
|
<IconEviden />
|
|
1505
1606
|
<MText
|
|
1506
|
-
style={[
|
|
1607
|
+
style={[
|
|
1608
|
+
commonStyles.textNormal,
|
|
1609
|
+
styles.actionLabelCenter,
|
|
1610
|
+
]}
|
|
1507
1611
|
>
|
|
1508
1612
|
Mục đích {'\n'}sử dụng
|
|
1509
1613
|
</MText>
|
|
@@ -1525,7 +1629,10 @@ export const Home = observer(function Home() {
|
|
|
1525
1629
|
>
|
|
1526
1630
|
<IconSchedule />
|
|
1527
1631
|
<MText
|
|
1528
|
-
style={[
|
|
1632
|
+
style={[
|
|
1633
|
+
commonStyles.textNormal,
|
|
1634
|
+
styles.actionLabel,
|
|
1635
|
+
]}
|
|
1529
1636
|
>
|
|
1530
1637
|
Lịch dự kiến
|
|
1531
1638
|
</MText>
|
|
@@ -1533,9 +1640,7 @@ export const Home = observer(function Home() {
|
|
|
1533
1640
|
)}
|
|
1534
1641
|
</View>
|
|
1535
1642
|
|
|
1536
|
-
<View
|
|
1537
|
-
style={styles.infoBannerRow}
|
|
1538
|
-
>
|
|
1643
|
+
<View style={styles.infoBannerRow}>
|
|
1539
1644
|
<Info />
|
|
1540
1645
|
<MText
|
|
1541
1646
|
style={[
|
|
@@ -1732,9 +1837,7 @@ export const Home = observer(function Home() {
|
|
|
1732
1837
|
{item?.loanStatus ?? 'Chưa xác định'}
|
|
1733
1838
|
</MText>
|
|
1734
1839
|
</View>
|
|
1735
|
-
<View
|
|
1736
|
-
style={styles.dividerThin}
|
|
1737
|
-
/>
|
|
1840
|
+
<View style={styles.dividerThin} />
|
|
1738
1841
|
<View
|
|
1739
1842
|
style={{
|
|
1740
1843
|
flexDirection: 'row',
|
|
@@ -1760,7 +1863,10 @@ export const Home = observer(function Home() {
|
|
|
1760
1863
|
>
|
|
1761
1864
|
<AddInfo />
|
|
1762
1865
|
<MText
|
|
1763
|
-
style={[
|
|
1866
|
+
style={[
|
|
1867
|
+
commonStyles.textNormal,
|
|
1868
|
+
styles.label12,
|
|
1869
|
+
]}
|
|
1764
1870
|
>
|
|
1765
1871
|
EKYC
|
|
1766
1872
|
</MText>
|
|
@@ -1785,7 +1891,10 @@ export const Home = observer(function Home() {
|
|
|
1785
1891
|
>
|
|
1786
1892
|
<TopupSvg />
|
|
1787
1893
|
<MText
|
|
1788
|
-
style={[
|
|
1894
|
+
style={[
|
|
1895
|
+
commonStyles.textNormal,
|
|
1896
|
+
styles.label12,
|
|
1897
|
+
]}
|
|
1789
1898
|
>
|
|
1790
1899
|
Cập nhật{'\n'}thông tin
|
|
1791
1900
|
</MText>
|
|
@@ -1814,7 +1923,10 @@ export const Home = observer(function Home() {
|
|
|
1814
1923
|
>
|
|
1815
1924
|
<IconVideo />
|
|
1816
1925
|
<MText
|
|
1817
|
-
style={[
|
|
1926
|
+
style={[
|
|
1927
|
+
commonStyles.textNormal,
|
|
1928
|
+
styles.label12,
|
|
1929
|
+
]}
|
|
1818
1930
|
>
|
|
1819
1931
|
Quay video
|
|
1820
1932
|
</MText>
|
|
@@ -1836,7 +1948,10 @@ export const Home = observer(function Home() {
|
|
|
1836
1948
|
>
|
|
1837
1949
|
<IconSign2 />
|
|
1838
1950
|
<MText
|
|
1839
|
-
style={[
|
|
1951
|
+
style={[
|
|
1952
|
+
commonStyles.textNormal,
|
|
1953
|
+
styles.label12,
|
|
1954
|
+
]}
|
|
1840
1955
|
>
|
|
1841
1956
|
Ký HĐ
|
|
1842
1957
|
</MText>
|
|
@@ -1858,7 +1973,10 @@ export const Home = observer(function Home() {
|
|
|
1858
1973
|
>
|
|
1859
1974
|
<IconSign2 />
|
|
1860
1975
|
<MText
|
|
1861
|
-
style={[
|
|
1976
|
+
style={[
|
|
1977
|
+
commonStyles.textNormal,
|
|
1978
|
+
styles.label12Center,
|
|
1979
|
+
]}
|
|
1862
1980
|
>
|
|
1863
1981
|
Ký HĐ
|
|
1864
1982
|
</MText>
|
|
@@ -1882,16 +2000,17 @@ export const Home = observer(function Home() {
|
|
|
1882
2000
|
>
|
|
1883
2001
|
<IconSchedule />
|
|
1884
2002
|
<MText
|
|
1885
|
-
style={[
|
|
2003
|
+
style={[
|
|
2004
|
+
commonStyles.textNormal,
|
|
2005
|
+
styles.label12Center,
|
|
2006
|
+
]}
|
|
1886
2007
|
>
|
|
1887
2008
|
Lịch thanh toán{'\n'}dự kiến
|
|
1888
2009
|
</MText>
|
|
1889
2010
|
</TouchableOpacity>
|
|
1890
2011
|
)}
|
|
1891
2012
|
</View>
|
|
1892
|
-
<View
|
|
1893
|
-
style={styles.infoBannerRow}
|
|
1894
|
-
>
|
|
2013
|
+
<View style={styles.infoBannerRow}>
|
|
1895
2014
|
<Info />
|
|
1896
2015
|
<MText
|
|
1897
2016
|
style={[
|
|
@@ -2320,49 +2439,45 @@ export const Home = observer(function Home() {
|
|
|
2320
2439
|
marginTop: 8,
|
|
2321
2440
|
}}
|
|
2322
2441
|
onPress={async () => {
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2442
|
+
AlertGlobal.show({
|
|
2443
|
+
type: 'confirm',
|
|
2444
|
+
title: 'Vui lòng xác nhận lại',
|
|
2445
|
+
message: `Bạn có chắc chắn muốn huỷ khoản vay từ CIMB với số tiền ${formatMoney(
|
|
2326
2446
|
loanCimb?.loanAmount
|
|
2327
2447
|
)}`,
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
{
|
|
2362
|
-
text: 'Không',
|
|
2363
|
-
},
|
|
2364
|
-
]
|
|
2365
|
-
);
|
|
2448
|
+
primaryText: 'Có',
|
|
2449
|
+
secondaryText: 'Không',
|
|
2450
|
+
onPrimaryPress: async () => {
|
|
2451
|
+
const response =
|
|
2452
|
+
await Api.getInstance().customerCancel({
|
|
2453
|
+
LoanBriefId: loanCimb?.id,
|
|
2454
|
+
});
|
|
2455
|
+
if (response.kind === 'ok') {
|
|
2456
|
+
if (response.data.meta.errorCode === 200) {
|
|
2457
|
+
closeModal();
|
|
2458
|
+
const key = `SHOW_${loanCimb.id}`;
|
|
2459
|
+
save(key, true);
|
|
2460
|
+
AlertGlobal.show({
|
|
2461
|
+
type: 'success',
|
|
2462
|
+
title: 'Thông báo',
|
|
2463
|
+
message:
|
|
2464
|
+
'Bạn đã hủy khoản vay thành công. Vui lòng chọn khoản vay khác hoặc quay lại trang chủ.',
|
|
2465
|
+
primaryText: 'Đồng ý',
|
|
2466
|
+
onPrimaryPress() {
|
|
2467
|
+
navigation.pop();
|
|
2468
|
+
},
|
|
2469
|
+
});
|
|
2470
|
+
}
|
|
2471
|
+
} else {
|
|
2472
|
+
AlertGlobal.show({
|
|
2473
|
+
type: 'warning',
|
|
2474
|
+
title: 'Thông báo',
|
|
2475
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau!',
|
|
2476
|
+
primaryText: 'Đóng',
|
|
2477
|
+
});
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
});
|
|
2366
2481
|
}}
|
|
2367
2482
|
>
|
|
2368
2483
|
<MText style={{ color: '#BDBDBD' }}>Huỷ</MText>
|
|
@@ -2683,9 +2798,7 @@ export const Home = observer(function Home() {
|
|
|
2683
2798
|
onPress={() => confirmTCCIMB()}
|
|
2684
2799
|
>
|
|
2685
2800
|
<LinearGradient
|
|
2686
|
-
colors={
|
|
2687
|
-
checkTCCIMB ? GRADIENT_ORANGE : ['#E0E0E0', '#E0E0E0']
|
|
2688
|
-
}
|
|
2801
|
+
colors={checkTCCIMB ? GRADIENT_ORANGE : ['#E0E0E0', '#E0E0E0']}
|
|
2689
2802
|
style={{
|
|
2690
2803
|
height: 40,
|
|
2691
2804
|
alignItems: 'center',
|