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
63980c0c
Commit
63980c0c
authored
May 24, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update packet cqg
parent
0c02a7df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
CQG.js
src/Screens/Menu/Profile/Tab/CQG.js
+11
-4
GeneralInfor.js
src/Screens/Menu/Profile/Tab/GeneralInfor.js
+1
-4
No files found.
src/Screens/Menu/Profile/Tab/CQG.js
View file @
63980c0c
...
@@ -35,7 +35,9 @@ const Profile = (props) => {
...
@@ -35,7 +35,9 @@ const Profile = (props) => {
return
(
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
{
props
.
user
.
status
==
6
?
(
{
props
.
user
.
status
==
6
||
props
.
user
.
status
==
7
||
props
.
user
.
status
==
8
?
(
<
View
>
<
View
>
<
View
style
=
{
styles
.
item
}
>
<
View
style
=
{
styles
.
item
}
>
<
AppText
i18nKey
=
{
'ContactCode'
}
style
=
{
styles
.
txtTitle
}
><
/AppText
>
<
AppText
i18nKey
=
{
'ContactCode'
}
style
=
{
styles
.
txtTitle
}
><
/AppText
>
...
@@ -53,7 +55,7 @@ const Profile = (props) => {
...
@@ -53,7 +55,7 @@ const Profile = (props) => {
style
=
{
styles
.
txtTitle
}
><
/AppText
>
style
=
{
styles
.
txtTitle
}
><
/AppText
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
props
.
user
.
cqg_account
}
<
/Text
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
props
.
user
.
cqg_account
}
<
/Text
>
<
/View
>
<
/View
>
{
props
.
user
.
status
==
6
?
(
<
View
<
View
style
=
{{
style
=
{{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -64,12 +66,17 @@ const Profile = (props) => {
...
@@ -64,12 +66,17 @@ const Profile = (props) => {
<
TouchableOpacity
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
navigate
(
PACKETCQG
)}
onPress
=
{()
=>
navigation
.
navigate
(
PACKETCQG
)}
style
=
{
styles
.
btnLeft
}
>
style
=
{
styles
.
btnLeft
}
>
<
AppText
i18nKey
=
{
'UpdatePacket'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
AppText
i18nKey
=
{
'UpdatePacket'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
onPress
=
{
onClickCLose
}
style
=
{
styles
.
btnRight
}
>
<
TouchableOpacity
onPress
=
{
onClickCLose
}
style
=
{
styles
.
btnRight
}
>
<
AppText
i18nKey
=
{
'CloseAccount'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
AppText
i18nKey
=
{
'CloseAccount'
}
style
=
{
styles
.
txtBtn
}
><
/AppText
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
)
:
null
}
<
/View
>
<
/View
>
)
:
(
)
:
(
<
View
style
=
{{
justifyContent
:
'center'
,
alignItems
:
'center'
,
flex
:
1
}}
>
<
View
style
=
{{
justifyContent
:
'center'
,
alignItems
:
'center'
,
flex
:
1
}}
>
...
...
src/Screens/Menu/Profile/Tab/GeneralInfor.js
View file @
63980c0c
...
@@ -115,10 +115,7 @@ const GeneralInfor = (props) => {
...
@@ -115,10 +115,7 @@ const GeneralInfor = (props) => {
<
AppText
i18nKey
=
{
'Status'
}
style
=
{
styles
.
txtTitle
}
><
/AppText
>
<
AppText
i18nKey
=
{
'Status'
}
style
=
{
styles
.
txtTitle
}
><
/AppText
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
wrapRight
}
>
<
View
style
=
{
styles
.
wrapRight
}
>
<
Text
style
=
{
styles
.
txtTitle
}
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
props
.
user
.
status_name
}
<
/Text
>
{
' '
}
{
renderStatus
(
props
.
user
.
status
)}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
...
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