slots for all days
This commit is contained in:
parent
7de8e09ad7
commit
e4e73ffc28
@ -425,7 +425,7 @@ export class DialogBoxComponent implements OnInit {
|
|||||||
|
|
||||||
getSlots(){
|
getSlots(){
|
||||||
let id = localStorage.getItem('user_id')
|
let id = localStorage.getItem('user_id')
|
||||||
let params ={"id": id}
|
let params ={"id": id,'addcount':0}
|
||||||
this._app.getSlots(params).subscribe((res:any) => {
|
this._app.getSlots(params).subscribe((res:any) => {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|||||||
@ -285,7 +285,11 @@ unavailability(action,obj) {
|
|||||||
this.userName = this.usersList.userName
|
this.userName = this.usersList.userName
|
||||||
this.gender=this.practitionerdetails.gender
|
this.gender=this.practitionerdetails.gender
|
||||||
this.description=this.practitionerdetails.description
|
this.description=this.practitionerdetails.description
|
||||||
|
if(this.userRole == 'PRACTITIONER'){
|
||||||
|
let dataDays = this.practitionerdetails.days
|
||||||
|
localStorage.setItem('advanced_slot_days',dataDays)
|
||||||
|
console.log(dataDays)
|
||||||
|
}
|
||||||
this.caption = this.practitionerdetails.caption
|
this.caption = this.practitionerdetails.caption
|
||||||
// this.dob=this.practitionerdetails.dob
|
// this.dob=this.practitionerdetails.dob
|
||||||
this.exp=this.practitionerdetails.exp
|
this.exp=this.practitionerdetails.exp
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user