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
1e023ff5
Commit
1e023ff5
authored
Jul 26, 2018
by
Alen Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'alen' into 'master'
july25 See merge request alen/CMC_revamp!20
parents
a1cd92fb
c298f3ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
ridesummary.ts
src/pages/ridesummary/ridesummary.ts
+0
-10
No files found.
src/pages/ridesummary/ridesummary.ts
View file @
1e023ff5
...
...
@@ -25,15 +25,6 @@ export class RidesummaryPage {
}
ionViewDidEnter
()
{
// this.driver = { 'name': 'asd', 'rating': '1','ratingCount':'1','image':''}
// this.ride = { 'km': 30, 'amount': '300','discount':'10%'}
// if(this.ride.discount){
// if(this.ride.discount.slice(-1) == '%'){
// var disc_amt = this.ride.discount.slice(0, -1)
// this.ride.discount = Number(this.ride.amount) * (disc_amt/100)
// console.log()
// }
// }
this
.
initializeBackButtonCustomHandler
();
this
.
storage
.
get
(
'user_data'
).
then
(
data
=>
{
if
(
data
)
{
...
...
@@ -44,7 +35,6 @@ export class RidesummaryPage {
this
.
driver
=
this
.
data
.
getdriverData
()
console
.
log
(
this
.
driver
)
this
.
geocoder
=
new
google
.
maps
.
Geocoder
();
for
(
let
i
=
0
;
i
<
2
;
i
++
)
{
if
(
i
==
0
)
{
...
...
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