Commit 1e023ff5 by Alen Jose

Merge branch 'alen' into 'master'

july25 See merge request alen/CMC_revamp!20
parents a1cd92fb c298f3ca
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment