booking summary issue fixed

This commit is contained in:
bitbucket 2023-07-11 11:54:26 +05:30
parent 5ec3ee5299
commit 0982a5fabe
2 changed files with 11 additions and 11 deletions

View File

@ -14,8 +14,8 @@ export class AuthGuard implements CanActivate, CanActivateChild {
if(token != '' && token != undefined && token != null){ if(token != '' && token != undefined && token != null){
return true return true
}else{ }else{
alert("else");
this.router.navigate(['authentication/login']); this.router.navigate(['page']);
return false; return false;
} }

View File

@ -101,15 +101,15 @@ export class BookingSummaryComponent implements OnInit {
// console.log(res) // console.log(res)
// let serviceMap = res['data'][0].id // let serviceMap = res['data'][0].id
// let time = new Date().toLocaleTimeString() // let time = new Date().toLocaleTimeString()
// let param= { let param= {
// "busId": serviceDetails.busId, "busId": serviceDetails.busId,
// "cusId": cusID, "cusId": appointmentId,
// "appoinmentDate": slot_array[0].date, "appoinmentDate": slot_array[0].date,
// "userId": serviceDetails.userId, "userId": serviceDetails.userId,
// "appoinmentSlots": JSON.stringify(slot_array[0].slots) "appoinmentSlots": JSON.stringify(slot_array[0].slots)
// //"servicemap" :this.bookedAppointment_servicemap //"servicemap" :this.bookedAppointment_servicemap
// } }
let param =paramPay // let param =paramPay
console.log(param) console.log(param)
this.end_user.CheckAppoinmentsDetails(param).subscribe(res => { this.end_user.CheckAppoinmentsDetails(param).subscribe(res => {