Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
InvestCustomer
Commits
17989a0f
Commit
17989a0f
authored
3 years ago
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug upload iamge
parent
6d4f2337
switch_rsa
…
build_0106
build_01_July
build_02_July
build_06_07
build_11_June
build_1405
build_14_June
build_15_july
build_2405
build_2505
build_2805
build_30_June
build_release_1806
build_server_new
dev_0106
dev_01_July
dev_05_July
dev_09_June
dev_10_June
dev_11_June
dev_14_July
dev_14_May
dev_18_June
dev_2605
dev_phase2
ekyc
enter_smart_otp
forgot_smart_otp_pin
func_fingerprint_login
func_smart_otp
new_09_June
new_10_June
phase2_tool
search_period
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
Profile.js
src/Screens/AccountVerification/Tab/Profile.js
+3
-2
vn.js
src/helper/i18/locales/vn.js
+4
-4
No files found.
src/Screens/AccountVerification/Tab/Profile.js
View file @
17989a0f
...
@@ -30,7 +30,7 @@ import PickerItem from '../../../components/Picker/PickerItem';
...
@@ -30,7 +30,7 @@ import PickerItem from '../../../components/Picker/PickerItem';
import
{
saveUserToRedux
}
from
'../../../actions/users'
;
import
{
saveUserToRedux
}
from
'../../../actions/users'
;
import
I18n
from
'../../../helper/i18/i18n'
;
import
I18n
from
'../../../helper/i18/i18n'
;
import
{
uploadImage
}
from
'../../../apis/Functions/Upload'
;
import
{
uploadImage
}
from
'../../../apis/Functions/Upload'
;
import
{
TYPE
}
from
'../../../components/DropdownAlert'
;
import
{
showAlert
,
TYPE
}
from
'../../../components/DropdownAlert'
;
const
{
width
}
=
Dimensions
.
get
(
'window'
);
const
{
width
}
=
Dimensions
.
get
(
'window'
);
...
@@ -67,6 +67,7 @@ const Profile = (props) => {
...
@@ -67,6 +67,7 @@ const Profile = (props) => {
data
.
append
(
key
,
body
[
key
]);
data
.
append
(
key
,
body
[
key
]);
});
});
console
.
log
(
'Data'
,
data
);
console
.
log
(
'Data'
,
data
);
return
data
;
return
data
;
};
};
...
@@ -97,7 +98,7 @@ const Profile = (props) => {
...
@@ -97,7 +98,7 @@ const Profile = (props) => {
const
res
=
await
uploadImage
(
const
res
=
await
uploadImage
(
createFormData
(
urlBack
,
{
createFormData
(
urlBack
,
{
scope
:
'VERIFY_USER'
,
scope
:
'VERIFY_USER'
,
field_name
:
'identity_
before
'
,
field_name
:
'identity_
after
'
,
platform
:
Platform
.
OS
,
platform
:
Platform
.
OS
,
}),
}),
);
);
...
...
This diff is collapsed.
Click to expand it.
src/helper/i18/locales/vn.js
View file @
17989a0f
...
@@ -177,10 +177,10 @@ export default {
...
@@ -177,10 +177,10 @@ export default {
IdentityCard
:
'Chứng minh nhân dân'
,
IdentityCard
:
'Chứng minh nhân dân'
,
Passport
:
'Hộ chiếu'
,
Passport
:
'Hộ chiếu'
,
CitizenIdentification
:
'Căn cước công dân'
,
CitizenIdentification
:
'Căn cước công dân'
,
IdentityCardFrontPhoto
:
'Ảnh mặt trước C
N
ND'
,
IdentityCardFrontPhoto
:
'Ảnh mặt trước C
M
ND'
,
IdentityCitizenCardFrontPhoto
:
'Ảnh mặt trước C
N
ND/CCCD'
,
IdentityCitizenCardFrontPhoto
:
'Ảnh mặt trước C
M
ND/CCCD'
,
IdentityCardBackPhoto
:
'Ảnh mặt sau C
N
ND'
,
IdentityCardBackPhoto
:
'Ảnh mặt sau C
M
ND'
,
IdentityCitizenCardBackPhoto
:
'Ảnh mặt sau C
N
ND/CCCD'
,
IdentityCitizenCardBackPhoto
:
'Ảnh mặt sau C
M
ND/CCCD'
,
SignPhoto
:
'Ảnh chữ ký'
,
SignPhoto
:
'Ảnh chữ ký'
,
EnterOTPRequest
:
'Vui lòng nhập mã OTP'
,
EnterOTPRequest
:
'Vui lòng nhập mã OTP'
,
OTPInvalid
:
'Mã OTP không đúng định dạng'
,
OTPInvalid
:
'Mã OTP không đúng định dạng'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment