booking summary issue fixed
This commit is contained in:
parent
5ec3ee5299
commit
0982a5fabe
@ -14,8 +14,8 @@ export class AuthGuard implements CanActivate, CanActivateChild {
|
||||
if(token != '' && token != undefined && token != null){
|
||||
return true
|
||||
}else{
|
||||
alert("else");
|
||||
this.router.navigate(['authentication/login']);
|
||||
|
||||
this.router.navigate(['page']);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -101,15 +101,15 @@ export class BookingSummaryComponent implements OnInit {
|
||||
// console.log(res)
|
||||
// let serviceMap = res['data'][0].id
|
||||
// let time = new Date().toLocaleTimeString()
|
||||
// let param= {
|
||||
// "busId": serviceDetails.busId,
|
||||
// "cusId": cusID,
|
||||
// "appoinmentDate": slot_array[0].date,
|
||||
// "userId": serviceDetails.userId,
|
||||
// "appoinmentSlots": JSON.stringify(slot_array[0].slots)
|
||||
// //"servicemap" :this.bookedAppointment_servicemap
|
||||
// }
|
||||
let param =paramPay
|
||||
let param= {
|
||||
"busId": serviceDetails.busId,
|
||||
"cusId": appointmentId,
|
||||
"appoinmentDate": slot_array[0].date,
|
||||
"userId": serviceDetails.userId,
|
||||
"appoinmentSlots": JSON.stringify(slot_array[0].slots)
|
||||
//"servicemap" :this.bookedAppointment_servicemap
|
||||
}
|
||||
// let param =paramPay
|
||||
console.log(param)
|
||||
|
||||
this.end_user.CheckAppoinmentsDetails(param).subscribe(res => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user