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
67fa458f
Commit
67fa458f
authored
May 05, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tambah ongkir
parent
cc204930
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ShoppingCart.js
view/ShoppingCart.js
+3
-3
No files found.
view/ShoppingCart.js
View file @
67fa458f
...
@@ -415,7 +415,7 @@ class ShoppingCart extends React.Component {
...
@@ -415,7 +415,7 @@ class ShoppingCart extends React.Component {
<
View
style
=
{{
alignItems
:
'center'
}}
>
<
View
style
=
{{
alignItems
:
'center'
}}
>
{
{
this
.
state
.
kasproBalance
<
this
.
props
.
order_total
||
this
.
props
.
order_total
==
0
?
(
this
.
state
.
kasproBalance
<
this
.
props
.
order_total
+
this
.
props
.
grabamount
||
this
.
props
.
order_total
==
0
?
(
<
Card
style
=
{{
margin
:
5
,
padding
:
10
,
backgroundColor
:
'gray'
}}
>
<
Card
style
=
{{
margin
:
5
,
padding
:
10
,
backgroundColor
:
'gray'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}}
>
<
View
>
<
View
>
...
@@ -453,7 +453,7 @@ class ShoppingCart extends React.Component {
...
@@ -453,7 +453,7 @@ class ShoppingCart extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{{
alignItems
:
'center'
}}
>
<
View
style
=
{{
alignItems
:
'center'
}}
>
{
{
this
.
state
.
kasproPoint
<
this
.
props
.
order_total
||
this
.
props
.
order_total
==
0
?
(
this
.
state
.
kasproPoint
<
this
.
props
.
order_total
+
this
.
props
.
grabamount
||
this
.
props
.
order_total
==
0
?
(
<
Card
style
=
{{
margin
:
5
,
padding
:
10
,
backgroundColor
:
'gray'
}}
>
<
Card
style
=
{{
margin
:
5
,
padding
:
10
,
backgroundColor
:
'gray'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}}
>
<
View
>
<
View
>
...
@@ -492,7 +492,7 @@ class ShoppingCart extends React.Component {
...
@@ -492,7 +492,7 @@ class ShoppingCart extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{{
alignItems
:
'center'
}}
>
<
View
style
=
{{
alignItems
:
'center'
}}
>
{
{
this
.
state
.
kasproPoint
+
this
.
state
.
kasproBalance
>=
this
.
props
.
order_total
&&
this
.
state
.
kasproBalance
!=
0
&&
this
.
state
.
kasproPoint
!=
0
?
(
this
.
state
.
kasproPoint
+
this
.
state
.
kasproBalance
>=
this
.
props
.
order_total
+
this
.
props
.
grabamount
&&
this
.
state
.
kasproBalance
!=
0
&&
this
.
state
.
kasproPoint
!=
0
?
(
<
TouchableOpacity
onPress
=
{()
=>
{
<
TouchableOpacity
onPress
=
{()
=>
{
this
.
checkedSelection
(
'balancepoint'
)
this
.
checkedSelection
(
'balancepoint'
)
}}
>
}}
>
...
...
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