Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Prasetya Saputra
new_excelso
Commits
23922c05
Commit
23922c05
authored
Jul 02, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
01f9729e
fc2317e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
App.js
App.js
+2
-2
app.json
app.json
+1
-1
TransactionHistory.js
view/TransactionHistory.js
+2
-1
No files found.
App.js
View file @
23922c05
...
@@ -73,9 +73,9 @@ export default function App() {
...
@@ -73,9 +73,9 @@ export default function App() {
}
else
if
(
data
.
action_type
==
'WebView'
)
{
}
else
if
(
data
.
action_type
==
'WebView'
)
{
}
else
if
(
data
.
action_type
==
'Transfer Receive'
)
{
}
else
if
(
data
.
action_type
==
'Transfer Receive'
)
{
RootNavigation
.
navigate
(
'Transaction History'
);
}
else
if
(
data
.
action_type
==
'Cashback'
)
{
}
else
if
(
data
.
action_type
==
'Cashback'
)
{
RootNavigation
.
navigate
(
'Transaction History'
);
}
}
}
}
...
...
app.json
View file @
23922c05
{
{
"expo"
:
{
"expo"
:
{
"extra"
:
{
"extra"
:
{
"buildNumber"
:
"10
0
"
,
"buildNumber"
:
"10
4
"
,
"remarks"
:
""
"remarks"
:
""
},
},
...
...
view/TransactionHistory.js
View file @
23922c05
...
@@ -71,6 +71,7 @@ class TransactionHistory extends React.Component {
...
@@ -71,6 +71,7 @@ class TransactionHistory extends React.Component {
history_list
:
data
,
history_list
:
data
,
indicator
:
false
indicator
:
false
})
})
console
.
log
(
'ini res history'
+
JSON
.
stringify
(
this
.
state
.
history_list
))
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
let
response
=
error
.
response
.
data
;
let
response
=
error
.
response
.
data
;
...
@@ -157,7 +158,7 @@ class TransactionHistory extends React.Component {
...
@@ -157,7 +158,7 @@ class TransactionHistory extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.9
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
margin
:
10
,
marginLeft
:
15
,
borderLeftWidth
:
1
,
borderColor
:
'#838383'
}}
>
<
View
style
=
{{
flex
:
0.9
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
margin
:
10
,
marginLeft
:
15
,
borderLeftWidth
:
1
,
borderColor
:
'#838383'
}}
>
<
View
>
<
View
>
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
i
.
point_add
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
12
,
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
i
.
kaspro_
point_add
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
12
,
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
<
/View
>
<
/View
>
<
/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