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
dfbe05a7
Commit
dfbe05a7
authored
May 22, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add alert pickup
parent
dc9a19c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
26 deletions
+31
-26
PickupName.js
view/PickupName.js
+31
-26
No files found.
view/PickupName.js
View file @
dfbe05a7
...
...
@@ -234,39 +234,44 @@ class PickupName extends React.Component {
<
/TouchableOpacity
>
<
/View
>
)
:
(
<
View
>
<
View
style
=
{{
flexDirection
:
'row'
,
flex
:
1
}}
>
<
View
>
<
MaterialCommunityIcons
name
=
"map-marker"
size
=
{
32
}
color
=
"#ccb46c"
/>
<
/View
>
<
View
style
=
{
styles
.
list_addrees
}
>
<
View
style
=
{{
margin
:
5
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'grey'
,
fontSize
:
20
}}
>
{
item
.
name
}
<
/Text
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
{
item
.
can_accept_order
==
true
?
(
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
"#ccb46c"
,
top
:
5
}}
>
OPEN
<
/Text>
)
:
(
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
"#ccb46c"
}}
>
CLOSED
<
/Text>
)
}
<
View
>
<
TouchableOpacity
onPress
=
{()
=>
Alert
.
alert
(
''
,
'Mohon Maaf Outlet Tutup !'
)}
>
<
View
style
=
{{
flexDirection
:
'row'
,
flex
:
1
}}
>
<
View
>
<
MaterialCommunityIcons
name
=
"map-marker"
size
=
{
32
}
color
=
"#ccb46c"
/>
<
/View
>
<
View
style
=
{
styles
.
list_addrees
}
>
<
View
style
=
{{
margin
:
5
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'grey'
,
fontSize
:
20
}}
>
{
item
.
name
}
<
/Text
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
{
item
.
can_accept_order
==
true
?
(
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
"#ccb46c"
,
top
:
5
}}
>
OPEN
<
/Text>
)
:
(
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
"#ccb46c"
}}
>
CLOSED
<
/Text>
)
}
<
/View
>
<
/View
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'#CFB368'
}}
>
Opening
Hours
:
{
item
.
open_time
}
-
{
item
.
close_time
}
<
/Text
>
<
Text
style
=
{{
margin
:
5
,
color
:
'#b1b1b2'
,
fontFamily
:
'Gotham-Light'
}}
>
{
item
.
full_address
}
<
/Text
>
<
/View
>
<
View
>
<
CheckBox
center
checkedIcon
=
'dot-circle-o'
uncheckedIcon
=
'circle-o'
checked
=
{
this
.
state
.
checked
}
checkedColor
=
"#ccb46c"
uncheckedColor
=
"#ccb46c"
/>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#ccb46c'
,
fontFamily
:
'Gotham-Light'
}}
>
{
item
.
distance
}
KM
<
/Text
>
<
/View
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'#CFB368'
}}
>
Opening
Hours
:
{
item
.
open_time
}
-
{
item
.
close_time
}
<
/Text
>
<
Text
style
=
{{
margin
:
5
,
color
:
'#b1b1b2'
,
fontFamily
:
'Gotham-Light'
}}
>
{
item
.
full_address
}
<
/Text
>
<
/View
>
<
View
>
<
CheckBox
center
checkedIcon
=
'dot-circle-o'
uncheckedIcon
=
'circle-o'
checked
=
{
this
.
state
.
checked
}
checkedColor
=
"#ccb46c"
uncheckedColor
=
"#ccb46c"
/>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#ccb46c'
,
fontFamily
:
'Gotham-Light'
}}
>
{
item
.
distance
}
KM
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
<
/View
>
<
/View>
)
}
<
/View
>
);
}
render
()
{
...
...
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