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
0b4aad77
Commit
0b4aad77
authored
Oct 27, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tampilkan nama outlet saat mode delivery
parent
9939621f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
129 additions
and
66 deletions
+129
-66
MenuConfirmation.js
view/MenuConfirmation.js
+117
-64
OrderDetail.js
view/OrderDetail.js
+12
-2
No files found.
view/MenuConfirmation.js
View file @
0b4aad77
This diff is collapsed.
Click to expand it.
view/OrderDetail.js
View file @
0b4aad77
import
{
FontAwesome
}
from
'@expo/vector-icons'
;
import
{
FontAwesome
,
FontAwesome5
}
from
'@expo/vector-icons'
;
import
Axios
from
'axios'
;
import
i18n
from
'i18n-js'
;
import
moment
from
'moment'
;
...
...
@@ -115,7 +115,7 @@ class OrderDetail extends React.Component {
// console.log("PARAMETER : " + JSON.stringify(params))
Axios
.
post
(
this
.
props
.
BASE_URL
+
'crm/v2/transaction/detail'
,
params
).
then
(
res
=>
{
let
data
=
res
.
data
if
(
data
.
trans_status_display
==
'On Queue'
)
{
data
.
trans_status_display
=
'Queueing'
}
else
...
...
@@ -358,6 +358,16 @@ class OrderDetail extends React.Component {
)
}
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
borderColor
:
'grey'
,
marginHorizontal
:
10
,
padding
:
10
}}
>
<
View
style
=
{{
flex
:
0.1
,
justifyContent
:
'center'
,
alignItems
:
'center'
}}
>
<
FontAwesome5
name
=
"store"
size
=
{
18
}
color
=
"#CFB368"
/>
<
/View
>
<
View
style
=
{{
flex
:
0.6
,
justifyContent
:
'center'
,
paddingLeft
:
10
}}
>
<
Text
style
=
{{
fontSize
:
14
,
fontFamily
:
'Gotham-Black'
,
color
:
'grey'
}}
>
{
this
.
state
.
detail_trans
.
outlet
}
<
/Text
>
<
Text
style
=
{{
fontSize
:
12
,
fontFamily
:
'Gotham-Light'
,
color
:
'grey'
}}
>
{
this
.
state
.
detail_trans
.
outlet_address
}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
borderBottomWidth
:
1
,
borderColor
:
'grey'
,
marginHorizontal
:
10
,
padding
:
10
}}
>
<
View
style
=
{{
flex
:
0.1
,
justifyContent
:
'center'
}}
>
<
Image
source
=
{
require
(
'../assets/grab-logo.png'
)}
style
=
{{
height
:
32
,
width
:
32
,
borderRadius
:
5
,
}}
/
>
...
...
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