react-native-timacare 3.1.66 → 3.1.67

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.
Files changed (250) hide show
  1. package/lib/commonjs/AppStore.js +1 -1
  2. package/lib/commonjs/AppStore.js.flow +4 -2
  3. package/lib/commonjs/AppStore.js.map +1 -1
  4. package/lib/commonjs/assets/v3/home.svg +5 -0
  5. package/lib/commonjs/assets/v3/index.js +2 -0
  6. package/lib/commonjs/assets/v3/index.js.flow +38 -0
  7. package/lib/commonjs/assets/v3/index.js.map +1 -0
  8. package/lib/commonjs/assets/v3/option1.svg +27 -0
  9. package/lib/commonjs/assets/v3/option2.svg +25 -0
  10. package/lib/commonjs/assets/v3/step1-success.svg +39 -0
  11. package/lib/commonjs/assets/v3/step1.svg +90 -0
  12. package/lib/commonjs/assets/v3/step2-disable.svg +14 -0
  13. package/lib/commonjs/assets/v3/step2-success.svg +8 -0
  14. package/lib/commonjs/assets/v3/step2.svg +37 -0
  15. package/lib/commonjs/assets/v3/step3-disable.svg +17 -0
  16. package/lib/commonjs/assets/v3/step3-success.svg +17 -0
  17. package/lib/commonjs/assets/v3/step3.svg +45 -0
  18. package/lib/commonjs/assets/v3/step4-disable.svg +11 -0
  19. package/lib/commonjs/assets/v3/step4-success.svg +11 -0
  20. package/lib/commonjs/assets/v3/step4.svg +29 -0
  21. package/lib/commonjs/assets/v3/step5-disable.svg +17 -0
  22. package/lib/commonjs/assets/v3/step5-success.svg +17 -0
  23. package/lib/commonjs/assets/v3/step5.svg +45 -0
  24. package/lib/commonjs/components/ItemTimaOneV2.js +2 -0
  25. package/lib/commonjs/components/ItemTimaOneV2.js.flow +617 -0
  26. package/lib/commonjs/components/ItemTimaOneV2.js.map +1 -0
  27. package/lib/commonjs/components/ItemTimaOneV3.js +2 -0
  28. package/lib/commonjs/components/ItemTimaOneV3.js.flow +558 -0
  29. package/lib/commonjs/components/ItemTimaOneV3.js.map +1 -0
  30. package/lib/commonjs/components/MText.js +1 -1
  31. package/lib/commonjs/components/MText.js.flow +1 -1
  32. package/lib/commonjs/components/ModalOptionLoan.js +2 -0
  33. package/lib/commonjs/components/ModalOptionLoan.js.flow +242 -0
  34. package/lib/commonjs/components/ModalOptionLoan.js.map +1 -0
  35. package/lib/commonjs/navigation/primary-navigator.js +1 -1
  36. package/lib/commonjs/navigation/primary-navigator.js.flow +12 -0
  37. package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
  38. package/lib/commonjs/screens/eSign/index.js +1 -1
  39. package/lib/commonjs/screens/eSign/index.js.flow +22 -16
  40. package/lib/commonjs/screens/eSign/index.js.map +1 -1
  41. package/lib/commonjs/screens/home/index.js +1 -1
  42. package/lib/commonjs/screens/home/index.js.flow +64 -625
  43. package/lib/commonjs/screens/home/index.js.map +1 -1
  44. package/lib/commonjs/screens/mySignViettel/Layer_3.png +0 -0
  45. package/lib/commonjs/screens/mySignViettel/index.js +2 -0
  46. package/lib/commonjs/screens/mySignViettel/index.js.flow +278 -0
  47. package/lib/commonjs/screens/mySignViettel/index.js.map +1 -0
  48. package/lib/commonjs/screens/sign-tima/ViewContract.js +1 -1
  49. package/lib/commonjs/screens/sign-tima/ViewContract.js.flow +22 -16
  50. package/lib/commonjs/screens/sign-tima/ViewContract.js.map +1 -1
  51. package/lib/commonjs/screens/toan-trinh-so/OCR.js +1 -1
  52. package/lib/commonjs/screens/toan-trinh-so/OCR.js.flow +1 -1
  53. package/lib/commonjs/screens/toan-trinh-so/OCR.js.map +1 -1
  54. package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js +1 -1
  55. package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js.flow +9 -2
  56. package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js.map +1 -1
  57. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +1 -1
  58. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +110 -7
  59. package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
  60. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
  61. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.flow +9 -8
  62. package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
  63. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +1 -1
  64. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +43 -169
  65. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  66. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js +1 -1
  67. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.flow +1 -1
  68. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -1
  69. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js +1 -1
  70. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.flow +1 -1
  71. package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -1
  72. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +1 -1
  73. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +17 -14
  74. package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
  75. package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js +1 -1
  76. package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.flow +38 -19
  77. package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.map +1 -1
  78. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js +1 -1
  79. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.flow +133 -43
  80. package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
  81. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js +1 -1
  82. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.flow +1 -1
  83. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.map +1 -1
  84. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
  85. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.flow +1 -1
  86. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
  87. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js +1 -1
  88. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.flow +1 -1
  89. package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -1
  90. package/lib/commonjs/screens/toan-trinh-so/store.js +1 -1
  91. package/lib/commonjs/screens/toan-trinh-so/store.js.flow +1 -1
  92. package/lib/commonjs/screens/toan-trinh-so/store.js.map +1 -1
  93. package/lib/commonjs/screens/v3/AssetInformation.js +2 -0
  94. package/lib/commonjs/screens/v3/AssetInformation.js.flow +690 -0
  95. package/lib/commonjs/screens/v3/AssetInformation.js.map +1 -0
  96. package/lib/commonjs/services/api/api.js +1 -1
  97. package/lib/commonjs/services/api/api.js.flow +196 -0
  98. package/lib/commonjs/services/api/api.js.map +1 -1
  99. package/lib/commonjs/utils/index.js +1 -1
  100. package/lib/commonjs/utils/index.js.flow +2 -0
  101. package/lib/commonjs/utils/index.js.map +1 -1
  102. package/lib/module/AppStore.js +1 -1
  103. package/lib/module/AppStore.js.map +1 -1
  104. package/lib/module/assets/v3/home.svg +5 -0
  105. package/lib/module/assets/v3/index.js +2 -0
  106. package/lib/module/assets/v3/index.js.map +1 -0
  107. package/lib/module/assets/v3/option1.svg +27 -0
  108. package/lib/module/assets/v3/option2.svg +25 -0
  109. package/lib/module/assets/v3/step1-success.svg +39 -0
  110. package/lib/module/assets/v3/step1.svg +90 -0
  111. package/lib/module/assets/v3/step2-disable.svg +14 -0
  112. package/lib/module/assets/v3/step2-success.svg +8 -0
  113. package/lib/module/assets/v3/step2.svg +37 -0
  114. package/lib/module/assets/v3/step3-disable.svg +17 -0
  115. package/lib/module/assets/v3/step3-success.svg +17 -0
  116. package/lib/module/assets/v3/step3.svg +45 -0
  117. package/lib/module/assets/v3/step4-disable.svg +11 -0
  118. package/lib/module/assets/v3/step4-success.svg +11 -0
  119. package/lib/module/assets/v3/step4.svg +29 -0
  120. package/lib/module/assets/v3/step5-disable.svg +17 -0
  121. package/lib/module/assets/v3/step5-success.svg +17 -0
  122. package/lib/module/assets/v3/step5.svg +45 -0
  123. package/lib/module/components/ItemTimaOneV2.js +2 -0
  124. package/lib/module/components/ItemTimaOneV2.js.map +1 -0
  125. package/lib/module/components/ItemTimaOneV3.js +2 -0
  126. package/lib/module/components/ItemTimaOneV3.js.map +1 -0
  127. package/lib/module/components/MText.js +1 -1
  128. package/lib/module/components/ModalOptionLoan.js +2 -0
  129. package/lib/module/components/ModalOptionLoan.js.map +1 -0
  130. package/lib/module/navigation/primary-navigator.js +1 -1
  131. package/lib/module/navigation/primary-navigator.js.map +1 -1
  132. package/lib/module/screens/eSign/index.js +1 -1
  133. package/lib/module/screens/eSign/index.js.map +1 -1
  134. package/lib/module/screens/home/index.js +1 -1
  135. package/lib/module/screens/home/index.js.map +1 -1
  136. package/lib/module/screens/mySignViettel/Layer_3.png +0 -0
  137. package/lib/module/screens/mySignViettel/index.js +2 -0
  138. package/lib/module/screens/mySignViettel/index.js.map +1 -0
  139. package/lib/module/screens/sign-tima/ViewContract.js +1 -1
  140. package/lib/module/screens/sign-tima/ViewContract.js.map +1 -1
  141. package/lib/module/screens/toan-trinh-so/OCR.js +1 -1
  142. package/lib/module/screens/toan-trinh-so/OCR.js.map +1 -1
  143. package/lib/module/screens/toan-trinh-so/RegisterBack.js +1 -1
  144. package/lib/module/screens/toan-trinh-so/RegisterBack.js.map +1 -1
  145. package/lib/module/screens/toan-trinh-so/ReviewInformation.js +1 -1
  146. package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
  147. package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
  148. package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
  149. package/lib/module/screens/toan-trinh-so/ReviewLoan.js +1 -1
  150. package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  151. package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js +1 -1
  152. package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -1
  153. package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js +1 -1
  154. package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -1
  155. package/lib/module/screens/toan-trinh-so/TTSSelfie.js +1 -1
  156. package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
  157. package/lib/module/screens/toan-trinh-so/TTSSignLoan.js +1 -1
  158. package/lib/module/screens/toan-trinh-so/TTSSignLoan.js.map +1 -1
  159. package/lib/module/screens/toan-trinh-so/VehicleCamera.js +1 -1
  160. package/lib/module/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
  161. package/lib/module/screens/toan-trinh-so/VehicleRegistration.js +1 -1
  162. package/lib/module/screens/toan-trinh-so/VehicleRegistration.js.map +1 -1
  163. package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
  164. package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
  165. package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js +1 -1
  166. package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -1
  167. package/lib/module/screens/toan-trinh-so/store.js +1 -1
  168. package/lib/module/screens/toan-trinh-so/store.js.map +1 -1
  169. package/lib/module/screens/v3/AssetInformation.js +2 -0
  170. package/lib/module/screens/v3/AssetInformation.js.map +1 -0
  171. package/lib/module/services/api/api.js +1 -1
  172. package/lib/module/services/api/api.js.map +1 -1
  173. package/lib/module/utils/index.js +1 -1
  174. package/lib/module/utils/index.js.map +1 -1
  175. package/lib/typescript/AppStore.d.ts +2 -2
  176. package/lib/typescript/AppStore.d.ts.map +1 -1
  177. package/lib/typescript/assets/v3/index.d.ts +19 -0
  178. package/lib/typescript/assets/v3/index.d.ts.map +1 -0
  179. package/lib/typescript/components/ItemTimaOneV2.d.ts +7 -0
  180. package/lib/typescript/components/ItemTimaOneV2.d.ts.map +1 -0
  181. package/lib/typescript/components/ItemTimaOneV3.d.ts +7 -0
  182. package/lib/typescript/components/ItemTimaOneV3.d.ts.map +1 -0
  183. package/lib/typescript/components/ModalOptionLoan.d.ts +8 -0
  184. package/lib/typescript/components/ModalOptionLoan.d.ts.map +1 -0
  185. package/lib/typescript/navigation/primary-navigator.d.ts +2 -0
  186. package/lib/typescript/navigation/primary-navigator.d.ts.map +1 -1
  187. package/lib/typescript/screens/eSign/index.d.ts.map +1 -1
  188. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  189. package/lib/typescript/screens/mySignViettel/index.d.ts +2 -0
  190. package/lib/typescript/screens/mySignViettel/index.d.ts.map +1 -0
  191. package/lib/typescript/screens/sign-tima/ViewContract.d.ts.map +1 -1
  192. package/lib/typescript/screens/toan-trinh-so/RegisterBack.d.ts.map +1 -1
  193. package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts.map +1 -1
  194. package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts.map +1 -1
  195. package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts.map +1 -1
  196. package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -1
  197. package/lib/typescript/screens/toan-trinh-so/TTSSignLoan.d.ts.map +1 -1
  198. package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts.map +1 -1
  199. package/lib/typescript/screens/v3/AssetInformation.d.ts +2 -0
  200. package/lib/typescript/screens/v3/AssetInformation.d.ts.map +1 -0
  201. package/lib/typescript/services/api/api.d.ts +192 -0
  202. package/lib/typescript/services/api/api.d.ts.map +1 -1
  203. package/lib/typescript/utils/index.d.ts.map +1 -1
  204. package/package.json +1 -1
  205. package/src/AppStore.tsx +4 -2
  206. package/src/assets/v3/home.svg +5 -0
  207. package/src/assets/v3/index.tsx +38 -0
  208. package/src/assets/v3/option1.svg +27 -0
  209. package/src/assets/v3/option2.svg +25 -0
  210. package/src/assets/v3/step1-success.svg +39 -0
  211. package/src/assets/v3/step1.svg +90 -0
  212. package/src/assets/v3/step2-disable.svg +14 -0
  213. package/src/assets/v3/step2-success.svg +8 -0
  214. package/src/assets/v3/step2.svg +37 -0
  215. package/src/assets/v3/step3-disable.svg +17 -0
  216. package/src/assets/v3/step3-success.svg +17 -0
  217. package/src/assets/v3/step3.svg +45 -0
  218. package/src/assets/v3/step4-disable.svg +11 -0
  219. package/src/assets/v3/step4-success.svg +11 -0
  220. package/src/assets/v3/step4.svg +29 -0
  221. package/src/assets/v3/step5-disable.svg +17 -0
  222. package/src/assets/v3/step5-success.svg +17 -0
  223. package/src/assets/v3/step5.svg +45 -0
  224. package/src/components/ItemTimaOneV2.tsx +617 -0
  225. package/src/components/ItemTimaOneV3.tsx +558 -0
  226. package/src/components/MText.tsx +1 -1
  227. package/src/components/ModalOptionLoan.tsx +242 -0
  228. package/src/navigation/primary-navigator.tsx +12 -0
  229. package/src/screens/eSign/index.tsx +22 -16
  230. package/src/screens/home/index.tsx +64 -625
  231. package/src/screens/mySignViettel/Layer_3.png +0 -0
  232. package/src/screens/mySignViettel/index.tsx +278 -0
  233. package/src/screens/sign-tima/ViewContract.tsx +22 -16
  234. package/src/screens/toan-trinh-so/OCR.tsx +1 -1
  235. package/src/screens/toan-trinh-so/RegisterBack.tsx +9 -2
  236. package/src/screens/toan-trinh-so/ReviewInformation.tsx +110 -7
  237. package/src/screens/toan-trinh-so/ReviewInformationOther.tsx +9 -8
  238. package/src/screens/toan-trinh-so/ReviewLoan.tsx +43 -169
  239. package/src/screens/toan-trinh-so/TTSNationalIDBack.tsx +1 -1
  240. package/src/screens/toan-trinh-so/TTSNationalIDFront.tsx +1 -1
  241. package/src/screens/toan-trinh-so/TTSSelfie.tsx +17 -14
  242. package/src/screens/toan-trinh-so/TTSSignLoan.tsx +38 -19
  243. package/src/screens/toan-trinh-so/VehicleCamera.tsx +133 -43
  244. package/src/screens/toan-trinh-so/VehicleRegistration.tsx +1 -1
  245. package/src/screens/toan-trinh-so/VehicleRegistrationBack.tsx +1 -1
  246. package/src/screens/toan-trinh-so/VehicleRegistrationFront.tsx +1 -1
  247. package/src/screens/toan-trinh-so/store.ts +1 -1
  248. package/src/screens/v3/AssetInformation.tsx +690 -0
  249. package/src/services/api/api.ts +196 -0
  250. package/src/utils/index.tsx +2 -0
@@ -0,0 +1,45 @@
1
+ <svg width="40" height="45" viewBox="0 0 40 45" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="6.75" y="0.25" width="26.5" height="8.5" rx="4.25"
3
+ fill="url(#paint0_linear_9853_42226)" />
4
+ <rect x="6.75" y="0.25" width="26.5" height="8.5" rx="4.25" stroke="white" stroke-width="0.5" />
5
+ <path
6
+ d="M9.96716 6.5V2.06H11.9052C12.1892 2.06 12.4312 2.11 12.6312 2.21C12.8312 2.31 12.9832 2.444 13.0872 2.612C13.1952 2.78 13.2492 2.964 13.2492 3.164C13.2492 3.368 13.2112 3.536 13.1352 3.668C13.0632 3.8 12.9752 3.904 12.8712 3.98C12.7712 4.052 12.6792 4.102 12.5952 4.13V4.172C12.6992 4.2 12.8152 4.254 12.9432 4.334C13.0752 4.414 13.1892 4.528 13.2852 4.676C13.3812 4.82 13.4292 5.008 13.4292 5.24C13.4292 5.448 13.3792 5.65 13.2792 5.846C13.1792 6.038 13.0212 6.196 12.8052 6.32C12.5892 6.44 12.3032 6.5 11.9472 6.5H9.96716ZM11.7972 2.75H10.7832V3.908H11.7972C12.0292 3.908 12.1972 3.85 12.3012 3.734C12.4052 3.618 12.4572 3.482 12.4572 3.326C12.4572 3.174 12.4052 3.04 12.3012 2.924C12.1972 2.808 12.0292 2.75 11.7972 2.75ZM11.8572 4.532H10.7832V5.81H11.8572C12.1212 5.81 12.3132 5.746 12.4332 5.618C12.5532 5.49 12.6132 5.34 12.6132 5.168C12.6132 5 12.5532 4.852 12.4332 4.724C12.3132 4.596 12.1212 4.532 11.8572 4.532ZM15.1046 6.56C14.7726 6.56 14.5206 6.458 14.3486 6.254C14.1806 6.05 14.0966 5.788 14.0966 5.468V3.32H14.8886V5.336C14.8886 5.508 14.9346 5.646 15.0266 5.75C15.1186 5.85 15.2486 5.9 15.4166 5.9C15.5646 5.9 15.6846 5.862 15.7766 5.786C15.8686 5.71 15.9346 5.612 15.9746 5.492C16.0186 5.372 16.0406 5.248 16.0406 5.12V3.32H16.6226C16.7786 3.32 16.8566 3.238 16.8566 3.074V2.672H17.5106V3.098C17.5106 3.302 17.4566 3.462 17.3486 3.578C17.2446 3.694 17.0886 3.752 16.8806 3.752H16.8386V6.5H16.0406V6.044H16.0046C15.9646 6.116 15.9066 6.192 15.8306 6.272C15.7586 6.352 15.6626 6.42 15.5426 6.476C15.4266 6.532 15.2806 6.56 15.1046 6.56ZM19.6314 2.864L19.0194 2.858L19.5174 1.784H20.2794L19.6314 2.864ZM19.3254 6.56C18.9734 6.56 18.6754 6.482 18.4314 6.326C18.1914 6.17 18.0074 5.968 17.8794 5.72C17.7554 5.468 17.6934 5.198 17.6934 4.91C17.6934 4.622 17.7554 4.354 17.8794 4.106C18.0074 3.854 18.1914 3.65 18.4314 3.494C18.6754 3.338 18.9734 3.26 19.3254 3.26H20.1054C20.2614 3.26 20.3394 3.178 20.3394 3.014V2.612H20.9994V3.038C20.9994 3.226 20.9534 3.376 20.8614 3.488C20.7734 3.6 20.6394 3.666 20.4594 3.686C20.6234 3.842 20.7474 4.026 20.8314 4.238C20.9154 4.45 20.9574 4.674 20.9574 4.91C20.9574 5.198 20.8934 5.468 20.7654 5.72C20.6414 5.968 20.4574 6.17 20.2134 6.326C19.9734 6.482 19.6774 6.56 19.3254 6.56ZM19.3254 5.894C19.5014 5.894 19.6514 5.848 19.7754 5.756C19.8994 5.664 19.9934 5.544 20.0574 5.396C20.1214 5.244 20.1534 5.082 20.1534 4.91C20.1534 4.734 20.1214 4.572 20.0574 4.424C19.9934 4.276 19.8994 4.156 19.7754 4.064C19.6514 3.972 19.5014 3.926 19.3254 3.926C19.1494 3.926 18.9994 3.972 18.8754 4.064C18.7514 4.156 18.6574 4.276 18.5934 4.424C18.5294 4.572 18.4974 4.734 18.4974 4.91C18.4974 5.082 18.5294 5.244 18.5934 5.396C18.6574 5.544 18.7514 5.664 18.8754 5.756C18.9994 5.848 19.1494 5.894 19.3254 5.894ZM23.2449 6.56C22.9729 6.56 22.7349 6.514 22.5309 6.422C22.3269 6.326 22.1569 6.2 22.0209 6.044C21.8849 5.884 21.7829 5.706 21.7149 5.51C21.6509 5.314 21.6189 5.114 21.6189 4.91C21.6189 4.706 21.6509 4.506 21.7149 4.31C21.7829 4.114 21.8829 3.938 22.0149 3.782C22.1509 3.622 22.3209 3.496 22.5249 3.404C22.7289 3.308 22.9689 3.26 23.2449 3.26C23.5169 3.26 23.7429 3.3 23.9229 3.38C24.1029 3.46 24.2449 3.56 24.3489 3.68C24.4569 3.8 24.5369 3.92 24.5889 4.04C24.6409 4.156 24.6749 4.254 24.6909 4.334C24.7069 4.414 24.7149 4.454 24.7149 4.454H23.9649C23.9649 4.454 23.9569 4.428 23.9409 4.376C23.9249 4.32 23.8929 4.256 23.8449 4.184C23.7969 4.112 23.7249 4.048 23.6289 3.992C23.5369 3.936 23.4129 3.908 23.2569 3.908C23.0729 3.908 22.9169 3.956 22.7889 4.052C22.6649 4.144 22.5709 4.266 22.5069 4.418C22.4429 4.57 22.4109 4.734 22.4109 4.91C22.4109 5.086 22.4429 5.25 22.5069 5.402C22.5709 5.554 22.6649 5.678 22.7889 5.774C22.9169 5.866 23.0729 5.912 23.2569 5.912C23.4129 5.912 23.5369 5.884 23.6289 5.828C23.7249 5.772 23.7969 5.708 23.8449 5.636C23.8929 5.564 23.9249 5.502 23.9409 5.45C23.9569 5.394 23.9649 5.366 23.9649 5.366H24.7149C24.7149 5.366 24.7069 5.406 24.6909 5.486C24.6749 5.566 24.6409 5.666 24.5889 5.786C24.5369 5.902 24.4569 6.02 24.3489 6.14C24.2449 6.26 24.1029 6.36 23.9229 6.44C23.7429 6.52 23.5169 6.56 23.2449 6.56ZM28.4379 6.56C28.1739 6.56 27.9479 6.524 27.7599 6.452C27.5719 6.38 27.4159 6.286 27.2919 6.17C27.1679 6.054 27.0699 5.932 26.9979 5.804C26.9259 5.676 26.8739 5.554 26.8419 5.438C26.8139 5.322 26.7979 5.228 26.7939 5.156H27.5559C27.5559 5.156 27.5599 5.182 27.5679 5.234C27.5759 5.282 27.5939 5.342 27.6219 5.414C27.6539 5.486 27.6999 5.56 27.7599 5.636C27.8239 5.708 27.9099 5.768 28.0179 5.816C28.1259 5.864 28.2619 5.888 28.4259 5.888C28.6259 5.888 28.7899 5.846 28.9179 5.762C29.0499 5.678 29.1479 5.57 29.2119 5.438C29.2759 5.306 29.3079 5.166 29.3079 5.018C29.3079 4.87 29.2759 4.73 29.2119 4.598C29.1479 4.462 29.0519 4.35 28.9239 4.262C28.7959 4.174 28.6359 4.13 28.4439 4.13C28.2959 4.13 28.1719 4.154 28.0719 4.202C27.9759 4.25 27.8999 4.304 27.8439 4.364C27.7879 4.424 27.7479 4.478 27.7239 4.526C27.6999 4.574 27.6879 4.598 27.6879 4.598H26.8839L27.2619 2.06H29.7999V2.774H27.8259L27.6639 3.872H27.6879C27.7159 3.84 27.7639 3.794 27.8319 3.734C27.8999 3.674 27.9959 3.62 28.1199 3.572C28.2439 3.524 28.4059 3.5 28.6059 3.5C28.9299 3.5 29.2019 3.572 29.4219 3.716C29.6459 3.86 29.8159 4.048 29.9319 4.28C30.0479 4.508 30.1059 4.75 30.1059 5.006C30.1059 5.198 30.0699 5.386 29.9979 5.57C29.9299 5.754 29.8259 5.922 29.6859 6.074C29.5499 6.222 29.3779 6.34 29.1699 6.428C28.9619 6.516 28.7179 6.56 28.4379 6.56Z"
7
+ fill="white" />
8
+ <rect opacity="0.1" y="4.5" width="40" height="40" rx="8" fill="url(#paint1_linear_9853_42226)" />
9
+ <path fill-rule="evenodd" clip-rule="evenodd"
10
+ d="M14 16.5C13.4477 16.5 13 16.9477 13 17.5V31.5C13 32.0523 13.4477 32.5 14 32.5H26C26.5523 32.5 27 32.0523 27 31.5V24.5C27 23.9477 27.4477 23.5 28 23.5C28.5523 23.5 29 23.9477 29 24.5V31.5C29 33.1569 27.6569 34.5 26 34.5H14C12.3431 34.5 11 33.1569 11 31.5V17.5C11 15.8431 12.3431 14.5 14 14.5H20C20.5523 14.5 21 14.9477 21 15.5C21 16.0523 20.5523 16.5 20 16.5H14Z"
11
+ fill="url(#paint2_linear_9853_42226)" />
12
+ <path
13
+ d="M27.495 16.2679C26.5187 15.2916 24.9358 15.2916 23.9595 16.2679L23.2523 16.975C23.0571 17.1702 23.0571 17.4868 23.2523 17.6821L26.7879 21.2176C26.9831 21.4129 27.2997 21.4129 27.495 21.2176L28.2021 20.5105C29.1784 19.5342 29.1784 17.9513 28.2021 16.975L27.495 16.2679Z"
14
+ fill="url(#paint3_linear_9853_42226)" />
15
+ <path
16
+ d="M21.8381 19.0963C21.6428 18.901 21.3263 18.901 21.131 19.0963L16.0634 24.1639C15.9104 24.3169 15.8111 24.5154 15.7806 24.7296L15.3091 28.0294C15.2149 28.6894 15.7806 29.2551 16.4405 29.1608L19.7403 28.6894C19.9545 28.6588 20.153 28.5595 20.306 28.4065L25.3736 23.3389C25.5689 23.1437 25.5689 22.8271 25.3736 22.6318L21.8381 19.0963Z"
17
+ fill="url(#paint4_linear_9853_42226)" />
18
+ <defs>
19
+ <linearGradient id="paint0_linear_9853_42226" x1="33" y1="8.5" x2="9.62948" y2="-4.3007"
20
+ gradientUnits="userSpaceOnUse">
21
+ <stop stop-color="#FF8E4F" />
22
+ <stop offset="1" stop-color="#EF592E" />
23
+ </linearGradient>
24
+ <linearGradient id="paint1_linear_9853_42226" x1="40" y1="44.5" x2="-5.45035" y2="36.8402"
25
+ gradientUnits="userSpaceOnUse">
26
+ <stop stop-color="#FF8E4F" />
27
+ <stop offset="1" stop-color="#EF592E" />
28
+ </linearGradient>
29
+ <linearGradient id="paint2_linear_9853_42226" x1="29" y1="34.5" x2="8.43945" y2="31.3814"
30
+ gradientUnits="userSpaceOnUse">
31
+ <stop stop-color="#FF8E4F" />
32
+ <stop offset="1" stop-color="#EF592E" />
33
+ </linearGradient>
34
+ <linearGradient id="paint3_linear_9853_42226" x1="28.9343" y1="29.1711" x2="13.4409"
35
+ y2="26.56" gradientUnits="userSpaceOnUse">
36
+ <stop stop-color="#FF8E4F" />
37
+ <stop offset="1" stop-color="#EF592E" />
38
+ </linearGradient>
39
+ <linearGradient id="paint4_linear_9853_42226" x1="28.9343" y1="29.1711" x2="13.4409"
40
+ y2="26.56" gradientUnits="userSpaceOnUse">
41
+ <stop stop-color="#FF8E4F" />
42
+ <stop offset="1" stop-color="#EF592E" />
43
+ </linearGradient>
44
+ </defs>
45
+ </svg>
@@ -0,0 +1,617 @@
1
+ //@ts-nocheck
2
+ import React from 'react';
3
+ import { TouchableOpacity, View, ViewStyle } from 'react-native';
4
+ import LinearGradient from 'react-native-linear-gradient';
5
+ import {
6
+ IconEdit,
7
+ IconEditDisable,
8
+ IconEditSuccess,
9
+ IconEkyc,
10
+ IconEkycDisable,
11
+ IconEkycSuccess,
12
+ IconMoney2,
13
+ IconOcr,
14
+ IconOCRSuccess,
15
+ IconSignDisable,
16
+ IconSignSuccess,
17
+ IconTick,
18
+ } from '../assets/svgs';
19
+ import { MText } from './MText';
20
+ import { formatMoney } from '../utils';
21
+ import { ScreenNames } from '../navigation';
22
+ import { IconSign2, Info } from '../assets/icons';
23
+
24
+ const $action: ViewStyle = {
25
+ flexDirection: 'column',
26
+ alignItems: 'center',
27
+ };
28
+
29
+ interface ItemTimaOneV2 {
30
+ item: any;
31
+ navigation: any;
32
+ }
33
+ export default function ItemTimaOneV2({ item, navigation }: ItemTimaOneV2) {
34
+ return (
35
+ <View
36
+ style={{
37
+ backgroundColor: '#FFFFFF',
38
+ paddingHorizontal: 16,
39
+ marginBottom: 16,
40
+ borderRadius: 8,
41
+ borderWidth: 0.5,
42
+ borderColor: '#E0E0E0',
43
+ }}
44
+ >
45
+ <LinearGradient
46
+ colors={
47
+ item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0
48
+ ? ['#4CBA3D', '#98D788']
49
+ : ['#FF8E4F', '#EF592E']
50
+ }
51
+ style={{
52
+ borderTopLeftRadius: 8,
53
+ borderTopRightRadius: 8,
54
+ marginHorizontal: -16,
55
+ }}
56
+ >
57
+ <View
58
+ style={{
59
+ flexDirection: 'row',
60
+ justifyContent: 'space-between',
61
+ alignItems: 'center',
62
+ paddingHorizontal: 16,
63
+ paddingVertical: 8,
64
+ }}
65
+ >
66
+ <View
67
+ style={{
68
+ flexDirection: 'row',
69
+ alignItems: 'center',
70
+ gap: 8,
71
+ }}
72
+ >
73
+ <IconMoney2 />
74
+ <MText
75
+ style={{
76
+ fontSize: 12,
77
+ color: 'white',
78
+ }}
79
+ >
80
+ Số tiền đăng ký vay
81
+ </MText>
82
+ </View>
83
+ <MText
84
+ style={{
85
+ fontSize: 12,
86
+ color: 'white',
87
+ fontWeight: 'bold',
88
+ }}
89
+ >
90
+ {item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0
91
+ ? formatMoney(
92
+ item?.listLoanAllAutoDE.reduce(
93
+ (sum, item) => sum + item.totalMoney,
94
+ 0
95
+ )
96
+ )
97
+ : formatMoney(item?.loanAmount)}
98
+ đ
99
+ </MText>
100
+ </View>
101
+ </LinearGradient>
102
+ {item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0 && (
103
+ <View
104
+ style={{
105
+ marginHorizontal: -16,
106
+ backgroundColor: '#ECFFE8',
107
+ paddingHorizontal: 16,
108
+ paddingVertical: 8,
109
+ }}
110
+ >
111
+ <View
112
+ style={{
113
+ flexDirection: 'row',
114
+ justifyContent: 'space-between',
115
+ }}
116
+ >
117
+ <MText
118
+ style={{
119
+ fontSize: 10,
120
+ color: '#878787',
121
+ marginLeft: 24,
122
+ }}
123
+ >
124
+ Số tiền giải ngân
125
+ </MText>
126
+ <MText
127
+ style={{
128
+ fontSize: 10,
129
+ color: '#333333',
130
+ }}
131
+ >
132
+ {formatMoney(
133
+ item?.listLoanAllAutoDE.reduce(
134
+ (sum, item) => sum + item.loanAmount,
135
+ 0
136
+ )
137
+ )}{' '}
138
+ đ
139
+ </MText>
140
+ </View>
141
+ <View
142
+ style={{
143
+ flexDirection: 'row',
144
+ justifyContent: 'space-between',
145
+ marginTop: 6,
146
+ }}
147
+ >
148
+ <MText
149
+ style={{
150
+ fontSize: 10,
151
+ color: '#878787',
152
+ marginLeft: 24,
153
+ }}
154
+ >
155
+ Số tiền bảo hiểm
156
+ </MText>
157
+ <MText
158
+ style={{
159
+ fontSize: 10,
160
+ color: '#333333',
161
+ }}
162
+ >
163
+ {formatMoney(
164
+ item?.listLoanAllAutoDE.reduce(
165
+ (sum, item) => sum + item.insurenceMoney,
166
+ 0
167
+ )
168
+ )}{' '}
169
+ đ
170
+ </MText>
171
+ </View>
172
+ </View>
173
+ )}
174
+
175
+ <View
176
+ style={{
177
+ flexDirection: 'row',
178
+ justifyContent: 'space-between',
179
+ marginTop:
180
+ item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0
181
+ ? 16
182
+ : 32,
183
+ paddingHorizontal: 24,
184
+ }}
185
+ >
186
+ <TouchableOpacity
187
+ disabled={item?.step >= 3 ? true : false}
188
+ style={$action}
189
+ onPress={() => {
190
+ if (item?.step === 0) {
191
+ navigation.push(ScreenNames.OCR, {
192
+ loan: item,
193
+ front: true,
194
+ });
195
+ } else if (item?.step === 1) {
196
+ navigation.push(ScreenNames.VehicleCamera, {
197
+ loan: item,
198
+ front: true,
199
+ });
200
+ } else if (item?.step === 2) {
201
+ navigation.push(ScreenNames.RegisterCamera, {
202
+ loan: item,
203
+ });
204
+ }
205
+ }}
206
+ >
207
+ {item?.step >= 3 ? <IconOCRSuccess /> : <IconOcr />}
208
+ <MText
209
+ style={{
210
+ textAlign: 'center',
211
+ fontSize: 10,
212
+ marginTop: 5,
213
+ color: '#333333',
214
+ }}
215
+ >
216
+ OCR{'\n'}chứng từ
217
+ </MText>
218
+ </TouchableOpacity>
219
+ <TouchableOpacity
220
+ disabled={item?.step !== 3 ? true : false}
221
+ style={$action}
222
+ onPress={() => {
223
+ if (item?.step === 3) {
224
+ if (item?.typeLoan === 5) {
225
+ navigation.push(ScreenNames.ReviewInformation, {
226
+ loan: item,
227
+ });
228
+ } else if (item?.typeLoan === 6) {
229
+ navigation.push(ScreenNames.TopupLoanInfo, {
230
+ loan: item,
231
+ });
232
+ }
233
+ }
234
+ }}
235
+ >
236
+ {item.step > 3 ? (
237
+ <IconEditSuccess />
238
+ ) : item.step === 3 ? (
239
+ <IconEdit />
240
+ ) : (
241
+ <IconEditDisable />
242
+ )}
243
+ <MText
244
+ style={{
245
+ textAlign: 'center',
246
+ fontSize: 10,
247
+ marginTop: 5,
248
+ color: '#333333',
249
+ }}
250
+ >
251
+ Cập nhật{'\n'}thông tin
252
+ </MText>
253
+ </TouchableOpacity>
254
+ <TouchableOpacity
255
+ onPress={() => {
256
+ navigation.push(ScreenNames.LivenessV2, {
257
+ loan: item,
258
+ });
259
+ }}
260
+ style={$action}
261
+ disabled={item?.step === 6 ? false : true}
262
+ >
263
+ {item?.step >= 7 ? (
264
+ <IconEkycSuccess />
265
+ ) : item?.step <= 5 ? (
266
+ <IconEkycDisable />
267
+ ) : (
268
+ <IconEkyc />
269
+ )}
270
+
271
+ <MText
272
+ style={{
273
+ textAlign: 'center',
274
+ fontSize: 10,
275
+ marginTop: 5,
276
+ color: '#333333',
277
+ }}
278
+ >
279
+ EKYC
280
+ </MText>
281
+ </TouchableOpacity>
282
+ <TouchableOpacity
283
+ disabled={item?.step === 7 ? false : true}
284
+ style={$action}
285
+ onPress={() => {
286
+ navigation.push(ScreenNames.TTSSignLoan, {
287
+ loan: item,
288
+ });
289
+ }}
290
+ >
291
+ {item?.step <= 6 ? (
292
+ <IconSignDisable />
293
+ ) : item?.step === 8 ? (
294
+ <IconSignSuccess />
295
+ ) : (
296
+ <IconSign2 />
297
+ )}
298
+ <MText
299
+ style={{
300
+ textAlign: 'center',
301
+ fontSize: 10,
302
+ marginTop: 5,
303
+ color: '#333333',
304
+ }}
305
+ >
306
+ Ký HĐ
307
+ </MText>
308
+ </TouchableOpacity>
309
+ </View>
310
+
311
+ <View
312
+ style={{
313
+ flexDirection: 'row',
314
+ alignItems: 'center',
315
+ gap: 8,
316
+ marginTop: 16,
317
+ backgroundColor: item?.step === 8 ? '#E8FFE9' : '#FFF2F2',
318
+ paddingHorizontal: 10,
319
+ paddingVertical: 10,
320
+ borderRadius: 4,
321
+ justifyContent: 'space-between',
322
+ }}
323
+ >
324
+ <View
325
+ style={{
326
+ flexDirection: 'row',
327
+ alignItems: 'center',
328
+ gap: 8,
329
+ flex: 1,
330
+ paddingRight: 24,
331
+ }}
332
+ >
333
+ {item?.step === 8 ? <IconTick /> : <Info />}
334
+ <MText
335
+ style={{
336
+ color: item?.step === 8 ? '#28A745' : '#E40010',
337
+ fontSize: 10,
338
+ }}
339
+ >
340
+ {item?.step < 3
341
+ ? 'OCR chứng từ để được giải ngân'
342
+ : item?.step === 3
343
+ ? `Tiếp tục Cập nhật thông tin để${'\n'}giải ngân nhanh nhất`
344
+ : item?.step === 6 || item?.step === 7
345
+ ? `Tiếp tục eKYC và Ký hợp đồng để${'\n'}giải ngân nhanh nhất`
346
+ : item?.step === 8
347
+ ? `Hợp đồng đã ký thành công. Vui lòng chờ chuyên viên tư vấn liên hệ`
348
+ : 'Đơn vay đang trong quá trình xử lý'}
349
+ </MText>
350
+ </View>
351
+ {item?.step < 3 ? (
352
+ <TouchableOpacity
353
+ onPress={() => {
354
+ if (item?.step === 0) {
355
+ navigation.push(ScreenNames.OCR, {
356
+ loan: item,
357
+ front: true,
358
+ });
359
+ } else if (item?.step === 1) {
360
+ navigation.push(ScreenNames.VehicleCamera, {
361
+ loan: item,
362
+ front: true,
363
+ });
364
+ } else if (item?.step === 2) {
365
+ navigation.push(ScreenNames.RegisterCamera, {
366
+ loan: item,
367
+ });
368
+ }
369
+ }}
370
+ >
371
+ <LinearGradient
372
+ colors={['#FF8E4F', '#EF592E']}
373
+ style={{
374
+ height: 24,
375
+ alignItems: 'center',
376
+ justifyContent: 'center',
377
+ borderRadius: 24,
378
+ paddingHorizontal: 10,
379
+ }}
380
+ >
381
+ <MText
382
+ style={{
383
+ color: 'white',
384
+ fontSize: 10,
385
+ }}
386
+ >
387
+ Đi tới OCR
388
+ </MText>
389
+ </LinearGradient>
390
+ </TouchableOpacity>
391
+ ) : item?.step === 3 ? (
392
+ <TouchableOpacity
393
+ onPress={() => {
394
+ if (item?.step === 3) {
395
+ if (item?.typeLoan === 5) {
396
+ navigation.push(ScreenNames.ReviewInformation, {
397
+ loan: item,
398
+ });
399
+ } else if (item?.typeLoan === 6) {
400
+ navigation.push(ScreenNames.TopupLoanInfo, {
401
+ loan: item,
402
+ });
403
+ }
404
+ }
405
+ }}
406
+ >
407
+ <LinearGradient
408
+ colors={['#FF8E4F', '#EF592E']}
409
+ style={{
410
+ height: 24,
411
+ alignItems: 'center',
412
+ justifyContent: 'center',
413
+ borderRadius: 24,
414
+ paddingHorizontal: 10,
415
+ }}
416
+ >
417
+ <MText
418
+ style={{
419
+ color: 'white',
420
+ fontSize: 10,
421
+ }}
422
+ >
423
+ Cập nhật thông tin
424
+ </MText>
425
+ </LinearGradient>
426
+ </TouchableOpacity>
427
+ ) : item?.step === 6 ? (
428
+ <TouchableOpacity
429
+ onPress={() => {
430
+ navigation.push(ScreenNames.LivenessV2, {
431
+ loan: item,
432
+ });
433
+ }}
434
+ >
435
+ <LinearGradient
436
+ colors={['#FF8E4F', '#EF592E']}
437
+ style={{
438
+ height: 24,
439
+ alignItems: 'center',
440
+ justifyContent: 'center',
441
+ borderRadius: 24,
442
+ paddingHorizontal: 10,
443
+ }}
444
+ >
445
+ <MText
446
+ style={{
447
+ color: 'white',
448
+ fontSize: 10,
449
+ }}
450
+ >
451
+ Đi tới EKYC
452
+ </MText>
453
+ </LinearGradient>
454
+ </TouchableOpacity>
455
+ ) : item?.step === 7 ? (
456
+ <TouchableOpacity
457
+ onPress={() => {
458
+ navigation.push(ScreenNames.TTSSignLoan, {
459
+ loan: item,
460
+ });
461
+ }}
462
+ >
463
+ <LinearGradient
464
+ colors={['#FF8E4F', '#EF592E']}
465
+ style={{
466
+ height: 24,
467
+ alignItems: 'center',
468
+ justifyContent: 'center',
469
+ borderRadius: 24,
470
+ paddingHorizontal: 10,
471
+ }}
472
+ >
473
+ <MText
474
+ style={{
475
+ color: 'white',
476
+ fontSize: 10,
477
+ }}
478
+ >
479
+ Ký hợp đồng
480
+ </MText>
481
+ </LinearGradient>
482
+ </TouchableOpacity>
483
+ ) : (
484
+ <></>
485
+ )}
486
+ </View>
487
+
488
+ <View
489
+ style={{
490
+ flexDirection: 'row',
491
+ justifyContent: 'space-between',
492
+ marginTop: 16,
493
+ }}
494
+ >
495
+ <MText
496
+ style={{
497
+ color: '#878787',
498
+ fontSize: 12,
499
+ }}
500
+ >
501
+ Trạng thái
502
+ </MText>
503
+ <MText
504
+ style={[
505
+ commonStyles.textNormalBold,
506
+ { color: '#333333', fontSize: 12 },
507
+ ]}
508
+ >
509
+ {item?.loanStatus}
510
+ </MText>
511
+ </View>
512
+ <View
513
+ style={{
514
+ height: 1,
515
+ backgroundColor: '#E0E0E0',
516
+ marginTop: 16,
517
+ }}
518
+ />
519
+ {item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0 && (
520
+ <View>
521
+ <MText
522
+ style={{
523
+ fontSize: 12,
524
+ fontWeight: 'bold',
525
+ marginTop: 16,
526
+ color: '#333333',
527
+ }}
528
+ >
529
+ Danh sách đơn chia nhỏ
530
+ </MText>
531
+ {item?.listLoanAllAutoDE.map((x, index) => (
532
+ <View
533
+ key={index}
534
+ style={{
535
+ marginTop: 8,
536
+ borderBottomWidth:
537
+ index + 1 === item?.listLoanAllAutoDE.length ? 0 : 1,
538
+ borderColor: '#E0E0E0',
539
+ paddingBottom: 8,
540
+ }}
541
+ >
542
+ <View
543
+ style={{
544
+ flexDirection: 'row',
545
+ justifyContent: 'space-between',
546
+ }}
547
+ >
548
+ <View
549
+ style={{
550
+ flexDirection: 'row',
551
+ alignItems: 'center',
552
+ gap: 10,
553
+ }}
554
+ >
555
+ <IconTima16 />
556
+ <MText
557
+ style={[
558
+ commonStyles.textNormal,
559
+ {
560
+ color: '#333333',
561
+ fontSize: 12,
562
+ },
563
+ ]}
564
+ >
565
+ HD-{x?.loanBriefId} ({index + 1})
566
+ </MText>
567
+ </View>
568
+ <MText
569
+ style={[
570
+ commonStyles.textNormalBold,
571
+ {
572
+ color: '#333333',
573
+ fontSize: 12,
574
+ },
575
+ ]}
576
+ >
577
+ {formatMoney(x?.totalMoney)} đ
578
+ </MText>
579
+ </View>
580
+ </View>
581
+ ))}
582
+ </View>
583
+ )}
584
+
585
+ {item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0 && (
586
+ <TouchableOpacity
587
+ onPress={() => {
588
+ navigation.push(ScreenNames.LoanInterestRate, {
589
+ loan: item,
590
+ });
591
+ }}
592
+ style={{
593
+ flex: 1,
594
+ alignItems: 'center',
595
+ backgroundColor: '#EDF6FF',
596
+ marginHorizontal: -16,
597
+ paddingVertical: 10,
598
+ borderBottomRightRadius: 8,
599
+ borderBottomLeftRadius: 8,
600
+ marginTop: 10,
601
+ }}
602
+ >
603
+ <MText
604
+ style={[
605
+ {
606
+ fontSize: 12,
607
+ color: '#2F80ED',
608
+ },
609
+ ]}
610
+ >
611
+ Bảng biểu lãi phí đơn vay {`->`}
612
+ </MText>
613
+ </TouchableOpacity>
614
+ )}
615
+ </View>
616
+ );
617
+ }