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
88e02761
Commit
88e02761
authored
Jun 17, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change display card number, when user not activate card yet
parent
db8652b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
18 deletions
+15
-18
Home.js
view/Home.js
+15
-18
No files found.
view/Home.js
View file @
88e02761
...
@@ -385,20 +385,17 @@ class Home extends React.Component {
...
@@ -385,20 +385,17 @@ class Home extends React.Component {
)
:
)
:
this
.
state
.
account_number
===
""
?
(
this
.
state
.
account_number
===
""
?
(
<
View
style
=
{
styles
.
card
}
>
<
View
style
=
{
styles
.
card
}
>
<
Card
style
=
{{
padding
:
10
,
margin
:
10
,
alignContent
:
'center'
}}
>
<
Card
style
=
{{
padding
:
10
,
margin
:
10
,
alignContent
:
'center'
,
backgroundColor
:
'#838383'
}}
>
<
Text
style
=
{{
textAlign
:
"center"
,
fontFamily
:
'Gotham-Light'
}}
>
Anda
belum
aktivasi
kartu
<
/Text
>
<
View
style
=
{{
flex
:
1
,
backgroundColor
:
'grey'
,
height
:
150
,
borderRadius
:
20
,
marginRight
:
10
,
marginLeft
:
10
,
justifyContent
:
'center'
}}
>
<
Text
>
<
View
style
=
{{
justifyContent
:
'center'
}}
>
<
/Text
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'Card Activation'
)}
>
<
Text
style
=
{{
textAlign
:
"center"
,
fontSize
:
40
,
color
:
'#c9af6d'
}}
>
<
View
style
=
{{
height
:
50
,
borderRadius
:
20
,
backgroundColor
:
'white'
,
marginRight
:
20
,
marginLeft
:
20
,
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
15
}}
>
{
i18n
.
t
(
'Acitvatecard'
)}
<
/Text
>
<
/Text
>
<
/View
>
<
View
style
=
{
styles
.
line
}
><
/View
>
<
/TouchableOpacity
>
<
Text
style
=
{{
textAlign
:
'left'
,
fontWeight
:
'bold'
}}
>
{
'
\
n'
}
<
/View
>
<
/Text
>
<
/View
>
<
View
style
=
{
styles
.
line
}
><
/View
>
<
Text
style
=
{{
textAlign
:
'left'
,
fontWeight
:
'bold'
}}
>
{
'
\
n'
}
<
/Text
>
<
/Card
>
<
/Card
>
<
/View
>
<
/View
>
)
:
)
:
...
@@ -672,7 +669,7 @@ const mapStateToProps = (state) => {
...
@@ -672,7 +669,7 @@ const mapStateToProps = (state) => {
// login
// login
in_payment
:
state
.
in_payment
,
in_payment
:
state
.
in_payment
,
BASE_URL
:
state
.
BASE_URL
,
BASE_URL
:
state
.
BASE_URL
,
email
:
state
.
email
,
email
:
state
.
email
,
outlet_id
:
state
.
outlet_id
,
outlet_id
:
state
.
outlet_id
,
name_outlet
:
state
.
name_outlet
,
name_outlet
:
state
.
name_outlet
,
...
...
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