Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Callmycab-Userapp
Project
Overview
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
kevin
Callmycab-Userapp
Commits
c554e3dc
Commit
c554e3dc
authored
6 years ago
by
Alen Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latlng db
parent
cc157949
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
confirmride.ts
src/pages/confirmride/confirmride.ts
+1
-1
ridedetail.ts
src/pages/ridedetail/ridedetail.ts
+1
-1
ridepop.ts
src/pages/ridepop/ridepop.ts
+2
-0
No files found.
src/pages/confirmride/confirmride.ts
View file @
c554e3dc
...
...
@@ -27,7 +27,7 @@ export class ConfirmridePage {
this
.
book
=
this
.
data
.
getbookingData
()
console
.
log
(
this
.
book
)
var
bdata
=
{
'book_date'
:
this
.
book
.
date
,
'drop_area'
:
this
.
book
.
dropArea
,
'pickup_area'
:
this
.
book
.
pickArea
,
'taxi_type'
:
this
.
book
.
carDetails
.
car_type
,
'amount'
:
''
,
'km'
:
''
,
'promocode'
:
this
.
book
.
promocode
,
'token'
:
this
.
local
.
token
,
'userid'
:
this
.
local
.
id
,
'type'
:
'later'
,
'drivers'
:
[],
'discount'
:
this
.
book
.
discount
?
this
.
book
.
discount
:
0
}
var
bdata
=
{
'book_date'
:
this
.
book
.
date
,
'drop_area'
:
this
.
book
.
dropArea
,
'pickup_area'
:
this
.
book
.
pickArea
,
'taxi_type'
:
this
.
book
.
carDetails
.
car_type
,
'amount'
:
''
,
'km'
:
''
,
'promocode'
:
this
.
book
.
promocode
,
'token'
:
this
.
local
.
token
,
'userid'
:
this
.
local
.
id
,
'type'
:
'later'
,
'drivers'
:
[],
'discount'
:
this
.
book
.
discount
?
this
.
book
.
discount
:
0
,
'pickup_latlng'
:
this
.
book
.
pickLat
+
','
+
this
.
book
.
pickLng
,
'drop_latlng'
:
this
.
book
.
dropLat
+
','
+
this
.
book
.
dropLng
}
this
.
myservice
.
load_post
(
bdata
,
'book_cab'
).
subscribe
(
response
=>
{
this
.
myservice
.
hide_loader
()
...
...
This diff is collapsed.
Click to expand it.
src/pages/ridedetail/ridedetail.ts
View file @
c554e3dc
...
...
@@ -101,7 +101,7 @@ export class RidedetailPage {
This
.
myservice
.
show_alert
(
''
,
'No drivers found'
)
}
else
{
var
bdata
=
{
'book_date'
:
This
.
book
.
date
,
'drop_area'
:
This
.
book
.
dropArea
,
'pickup_area'
:
This
.
book
.
pickArea
,
'taxi_type'
:
This
.
book
.
carDetails
.
car_type
,
'amount'
:
''
,
'km'
:
''
,
'promocode'
:
This
.
book
.
promocode
,
'token'
:
This
.
local
.
token
,
'userid'
:
This
.
local
.
id
,
'type'
:
'now'
,
'drivers'
:
[],
'discount'
:
This
.
book
.
discount
?
This
.
book
.
discount
:
0
}
var
bdata
=
{
'book_date'
:
This
.
book
.
date
,
'drop_area'
:
This
.
book
.
dropArea
,
'pickup_area'
:
This
.
book
.
pickArea
,
'taxi_type'
:
This
.
book
.
carDetails
.
car_type
,
'amount'
:
''
,
'km'
:
''
,
'promocode'
:
This
.
book
.
promocode
,
'token'
:
This
.
local
.
token
,
'userid'
:
This
.
local
.
id
,
'type'
:
'now'
,
'drivers'
:
[],
'discount'
:
This
.
book
.
discount
?
This
.
book
.
discount
:
0
,
'pickup_latlng'
:
this
.
book
.
pickLat
+
','
+
this
.
book
.
pickLng
,
'drop_latlng'
:
this
.
book
.
dropLat
+
','
+
this
.
book
.
dropLng
}
bdata
.
drivers
=
This
.
drivers
;
...
...
This diff is collapsed.
Click to expand it.
src/pages/ridepop/ridepop.ts
View file @
c554e3dc
...
...
@@ -19,6 +19,8 @@ export class RidepopPage {
}
ionViewDidEnter
()
{
this
.
locData
=
this
.
data
.
getbookingData
()
console
.
log
(
this
.
locData
)
this
.
myservice
.
show_loader
()
this
.
myservice
.
load_post
({},
'getCabDetails'
).
subscribe
(
response
=>
{
this
.
myservice
.
hide_loader
()
...
...
This diff is collapsed.
Click to expand it.
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