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
8eb8c15e
Commit
8eb8c15e
authored
Aug 26, 2020
by
William Goszal
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix text saat kirim whatsapp
parent
d6db27c1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
en.json
lib/en.json
+1
-1
id.json
lib/id.json
+1
-1
OrderDetail.js
view/OrderDetail.js
+8
-2
No files found.
lib/en.json
View file @
8eb8c15e
...
@@ -234,5 +234,5 @@
...
@@ -234,5 +234,5 @@
"alertVoucher"
:
"Voucher cannot be used with point"
,
"alertVoucher"
:
"Voucher cannot be used with point"
,
"alertemailblank"
:
"Email cannot be empty"
,
"alertemailblank"
:
"Email cannot be empty"
,
"waCallCenter"
:
"Hello, I have a problem with t
he transaction number #
"
"waCallCenter"
:
"Hello, I have a problem with t
rans no
"
}
}
\ No newline at end of file
lib/id.json
View file @
8eb8c15e
...
@@ -234,5 +234,5 @@
...
@@ -234,5 +234,5 @@
"alertVoucher"
:
"Voucher tidak bisa digunakan dengan point"
,
"alertVoucher"
:
"Voucher tidak bisa digunakan dengan point"
,
"alertemailblank"
:
"Email tidak boleh kosong"
,
"alertemailblank"
:
"Email tidak boleh kosong"
,
"waCallCenter"
:
"Halo, saya ada masalah dengan
nomor transaksi #
"
"waCallCenter"
:
"Halo, saya ada masalah dengan
trans no
"
}
}
\ No newline at end of file
view/OrderDetail.js
View file @
8eb8c15e
...
@@ -358,7 +358,10 @@ class OrderDetail extends React.Component {
...
@@ -358,7 +358,10 @@ class OrderDetail extends React.Component {
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
<
View
>
<
View
>
<
TouchableOpacity
onPress
=
{()
=>
{
Linking
.
openURL
(
'whatsapp://send?text=say something&phone='
+
this
.
state
.
detail_trans
.
grab_driver_phone
)
}}
>
<
TouchableOpacity
onPress
=
{()
=>
{
Linking
.
openURL
(
"whatsapp://send?phone="
+
this
.
state
.
detail_trans
.
grab_driver_phone
+
"&text="
)
}}
>
<
Icon
<
Icon
name
=
'whatsapp'
name
=
'whatsapp'
type
=
'font-awesome'
type
=
'font-awesome'
...
@@ -630,7 +633,10 @@ class OrderDetail extends React.Component {
...
@@ -630,7 +633,10 @@ class OrderDetail extends React.Component {
{
{
this
.
state
.
trans_status
<
4
&&
this
.
state
.
trans_status
!==
-
1
?
(
<
TouchableOpacity
onPress
=
{()
=>
{
Linking
.
openURL
(
'whatsapp://send?text=say something&phone='
+
this
.
state
.
detail_trans
.
call_center_phone
)
}}
>
this
.
state
.
trans_status
<
4
&&
this
.
state
.
trans_status
!==
-
1
?
(
<
TouchableOpacity
onPress
=
{()
=>
{
Linking
.
openURL
(
"whatsapp://send?phone="
+
this
.
state
.
detail_trans
.
call_center_phone
+
"&text="
+
i18n
.
t
(
'waCallCenter'
)
+
" "
+
this
.
state
.
numberId
)
}}
>
<
View
style
=
{
styles
.
button3
}
>
<
View
style
=
{
styles
.
button3
}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'center'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'center'
,
alignItems
:
'center'
}}
>
<
View
style
=
{{
marginRight
:
10
}}
>
<
View
style
=
{{
marginRight
:
10
}}
>
...
...
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