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
94aecd32
Commit
94aecd32
authored
3 years ago
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug methodpay
parent
f4dfaacb
ekyc
…
build_06_07
build_15_july
dev_14_July
dev_phase2
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
35 deletions
+39
-35
project.pbxproj
ios/Invest.xcodeproj/project.pbxproj
+2
-2
Withdraw.js
src/Screens/Action/Withdraw/Withdraw.js
+0
-1
Item.js
src/Screens/MethodPay/Item.js
+36
-32
MethodPay.js
src/Screens/MethodPay/MethodPay.js
+1
-0
No files found.
ios/Invest.xcodeproj/project.pbxproj
View file @
94aecd32
...
@@ -905,7 +905,7 @@
...
@@ -905,7 +905,7 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/InvestDebug.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
Invest/InvestDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1
7
;
CURRENT_PROJECT_VERSION
=
1
5
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
GCC_PREPROCESSOR_DEFINITIONS
=
(
GCC_PREPROCESSOR_DEFINITIONS
=
(
...
@@ -939,7 +939,7 @@
...
@@ -939,7 +939,7 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1
7
;
CURRENT_PROJECT_VERSION
=
1
5
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
INFOPLIST_FILE
=
Invest/Info.plist
;
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
...
...
This diff is collapsed.
Click to expand it.
src/Screens/Action/Withdraw/Withdraw.js
View file @
94aecd32
...
@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
...
@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
import
{
Platform
}
from
'react-native'
;
import
{
Platform
}
from
'react-native'
;
import
WithdrawView
from
'./WithdrawView'
;
import
WithdrawView
from
'./WithdrawView'
;
import
{
getListWidthDraw
}
from
'../../../apis/Functions/Widthdraw'
;
import
{
Alert
}
from
'react-native'
;
import
{
Alert
}
from
'react-native'
;
const
Withdraw
=
(
props
)
=>
{
const
Withdraw
=
(
props
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
src/Screens/MethodPay/Item.js
View file @
94aecd32
...
@@ -13,45 +13,49 @@ const Item = (props) => {
...
@@ -13,45 +13,49 @@ const Item = (props) => {
const
{
item
}
=
props
;
const
{
item
}
=
props
;
return
(
return
(
<
TouchableOpacity
onPress
=
{()
=>
navigate
.
navigate
(
METHODPAYDETAIL
,
item
)}
>
<
TouchableOpacity
onPress
=
{()
=>
navigate
.
navigate
(
METHODPAYDETAIL
,
item
)}
>
<
View
style
=
{
styles
.
container
}
>
{
item
.
bank
?
(
<
Block
flex
=
{
1
}
row
center
padding
=
{[
10
,
10
]}
>
<
View
style
=
{
styles
.
container
}
>
<
Image
source
=
{{
uri
:
item
.
bank
.
logo
}}
style
=
{
styles
.
imgIcon
}
/
>
<
Block
flex
=
{
1
}
row
center
padding
=
{[
10
,
10
]}
>
<
Block
padding
=
{[
0
,
10
]}
>
<
Image
source
=
{{
uri
:
item
.
bank
.
logo
}}
style
=
{
styles
.
imgIcon
}
/
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
item
.
title
}
<
/Text
>
<
Block
padding
=
{[
0
,
10
]}
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
item
.
title
}
<
/Text
>
<
Block
space
=
{
'between'
}
flex
=
{
1
}
>
<
Block
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'OwnerAccount'
}
/
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'OwnerAccount'
}
/
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_name
}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_name
}
<
/Text
>
<
/View
>
<
/View
>
<
View
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
Text
style
=
{
styles
.
txtLeft
}
>
STK
<
/Text
>
<
Text
style
=
{
styles
.
txtLeft
}
>
STK
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_no
}
<
/Text
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_no
}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'Branch'
}
/
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
View
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
branch_name
}
<
/Text
>
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'Branch'
}
/
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
branch_name
}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
/
View
>
<
/
Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/View
>
<
/View
>
)
:
(
<
View
/>
)}
<
/TouchableOpacity
>
<
/TouchableOpacity
>
);
);
};
};
...
...
This diff is collapsed.
Click to expand it.
src/Screens/MethodPay/MethodPay.js
View file @
94aecd32
...
@@ -31,6 +31,7 @@ const MethodPay = (props) => {
...
@@ -31,6 +31,7 @@ const MethodPay = (props) => {
setRefresh
(
false
);
setRefresh
(
false
);
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
)
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
)
{
setData
(
res
.
data
.
data
);
setData
(
res
.
data
.
data
);
console
.
log
(
res
.
data
.
data
);
}
else
{
}
else
{
showAlert
(
TYPE
.
ERROR
,
I18n
.
t
(
'Notification'
),
I18n
.
t
(
'Can_not_get_data'
));
showAlert
(
TYPE
.
ERROR
,
I18n
.
t
(
'Notification'
),
I18n
.
t
(
'Can_not_get_data'
));
}
}
...
...
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