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
Jul 07, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug methodpay
parent
f4dfaacb
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 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/InvestDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1
7
;
CURRENT_PROJECT_VERSION
=
1
5
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
ENABLE_BITCODE
=
NO
;
GCC_PREPROCESSOR_DEFINITIONS
=
(
...
...
@@ -939,7 +939,7 @@
CODE_SIGN_ENTITLEMENTS
=
Invest/Invest.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
1
7
;
CURRENT_PROJECT_VERSION
=
1
5
;
DEVELOPMENT_TEAM
=
MXZ24GRH48
;
INFOPLIST_FILE
=
Invest/Info.plist
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
...
...
src/Screens/Action/Withdraw/Withdraw.js
View file @
94aecd32
...
...
@@ -2,7 +2,6 @@ import React, {useEffect, useState} from 'react';
import
{
Platform
}
from
'react-native'
;
import
WithdrawView
from
'./WithdrawView'
;
import
{
getListWidthDraw
}
from
'../../../apis/Functions/Widthdraw'
;
import
{
Alert
}
from
'react-native'
;
const
Withdraw
=
(
props
)
=>
{
...
...
src/Screens/MethodPay/Item.js
View file @
94aecd32
...
...
@@ -13,45 +13,49 @@ const Item = (props) => {
const
{
item
}
=
props
;
return
(
<
TouchableOpacity
onPress
=
{()
=>
navigate
.
navigate
(
METHODPAYDETAIL
,
item
)}
>
<
View
style
=
{
styles
.
container
}
>
<
Block
flex
=
{
1
}
row
center
padding
=
{[
10
,
10
]}
>
<
Image
source
=
{{
uri
:
item
.
bank
.
logo
}}
style
=
{
styles
.
imgIcon
}
/
>
<
Block
padding
=
{[
0
,
10
]}
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
item
.
title
}
<
/Text
>
{
item
.
bank
?
(
<
View
style
=
{
styles
.
container
}
>
<
Block
flex
=
{
1
}
row
center
padding
=
{[
10
,
10
]}
>
<
Image
source
=
{{
uri
:
item
.
bank
.
logo
}}
style
=
{
styles
.
imgIcon
}
/
>
<
Block
padding
=
{[
0
,
10
]}
>
<
Text
style
=
{
styles
.
txtBig
}
>
{
item
.
title
}
<
/Text
>
<
Block
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'OwnerAccount'
}
/
>
<
Block
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'OwnerAccount'
}
/
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_name
}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_name
}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
Text
style
=
{
styles
.
txtLeft
}
>
STK
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_no
}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
AppText
style
=
{
styles
.
txtLeft
}
i18nKey
=
{
'Branch'
}
/
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
width
:
80
}}
>
<
Text
style
=
{
styles
.
txtLeft
}
>
STK
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
account_no
}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
Text
style
=
{
styles
.
txtRight
}
>
{
item
.
branch_name
}
<
/Text
>
<
View
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
>
<
/
Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/View
>
<
/View
>
)
:
(
<
View
/>
)}
<
/TouchableOpacity
>
);
};
...
...
src/Screens/MethodPay/MethodPay.js
View file @
94aecd32
...
...
@@ -31,6 +31,7 @@ const MethodPay = (props) => {
setRefresh
(
false
);
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
)
{
setData
(
res
.
data
.
data
);
console
.
log
(
res
.
data
.
data
);
}
else
{
showAlert
(
TYPE
.
ERROR
,
I18n
.
t
(
'Notification'
),
I18n
.
t
(
'Can_not_get_data'
));
}
...
...
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