Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_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
clone_excelso
Commits
7d15c08f
Commit
7d15c08f
authored
Sep 11, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
benerin margin dan benerin warna harga coret jadi #cccc
parent
3133eacb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Item.js
view/Item.js
+2
-2
No files found.
view/Item.js
View file @
7d15c08f
...
@@ -126,8 +126,8 @@ class Item extends React.Component {
...
@@ -126,8 +126,8 @@ class Item extends React.Component {
<
Text
style
=
{{
fontSize
:
14
,
margin
:
5
,
marginRight
:
10
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
{
item
.
name
}
<
/Text
>
<
Text
style
=
{{
fontSize
:
14
,
margin
:
5
,
marginRight
:
10
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
{
item
.
name
}
<
/Text
>
)
)
}
}
{
item
.
original_price
<
item
.
price
?
null
:
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
item
.
original_price
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
12
,
marginRight
:
10
,
fontFamily
:
'Gotham-Light'
,
color
:
'grey'
,
textDecorationLine
:
'line-through'
,
textDecorationStyle
:
'solid'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
}
{
item
.
original_price
<
item
.
price
?
null
:
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
item
.
original_price
}
renderText
=
{
value
=>
<
Text
style
=
{{
marginLeft
:
5
,
fontSize
:
12
,
marginRight
:
12
,
fontFamily
:
'Gotham-Light'
,
color
:
'#CCCCCC'
,
textDecorationLine
:
'line-through'
,
textDecorationStyle
:
'solid'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
}
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
item
.
price
}
renderText
=
{
value
=>
<
Text
style
=
{{
fontSize
:
14
,
margin
:
5
,
marginRight
:
10
,
fontFamily
:
'Gotham-Light'
,
color
:
'grey'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
<
NumberFormat
decimalScale
=
{
0
}
value
=
{
item
.
price
}
renderText
=
{
value
=>
<
Text
style
=
{{
marginLeft
:
5
,
fontSize
:
14
,
marginRight
:
12
,
fontFamily
:
'Gotham-Light'
,
color
:
'grey'
}}
>
Rp
.
{
value
}
<
/Text>} displayType={'text'} thousandSeparator={true} prefix={''} /
>
<
/View
>
<
/View
>
<
View
style
=
{{
marginLeft
:
10
,
marginRight
:
10
,
flexDirection
:
'row'
}}
>
<
View
style
=
{{
marginLeft
:
10
,
marginRight
:
10
,
flexDirection
:
'row'
}}
>
{
{
...
...
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