Commit db11cc81 by Jansa Jose

index page and dashboard schedule section

parent 83868b03
...@@ -742,7 +742,7 @@ export class DashboardComponent implements OnInit { ...@@ -742,7 +742,7 @@ export class DashboardComponent implements OnInit {
} }
scheduleNow(mechanic_id,cost){ scheduleNow(mechanic_id,cost){
this.wizardData['mechanic_id'] = mechanic_id; this.wizardData['mechanic_id'] = mechanic_id+':'+cost;
if(!this.loginDetails){ if(!this.loginDetails){
this.routeToIndex(); this.routeToIndex();
......
...@@ -445,7 +445,7 @@ export class IndexComponent implements OnInit { ...@@ -445,7 +445,7 @@ export class IndexComponent implements OnInit {
} }
scheduleNow(mechanic_id,cost){ scheduleNow(mechanic_id,cost){
this.wizardData['mechanic_id'] = mechanic_id; this.wizardData['mechanic_id'] = mechanic_id+':'+cost;
if(!this.loginDetails){ if(!this.loginDetails){
this.autoSchedule = true; this.autoSchedule = true;
......
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