slot image added
This commit is contained in:
parent
4132a16439
commit
498e3fd75d
@ -271,7 +271,7 @@ unavailability(action,obj) {
|
||||
}
|
||||
|
||||
this.workinghours = JSON.parse(this.practitionerdetails.workingHours)
|
||||
// this.skills= JSON.parse(this.practitionerdetails.skills)
|
||||
this.skills= JSON.parse(this.practitionerdetails.skills)
|
||||
this.id=this.practitionerdetails.id
|
||||
this.userName = this.usersList.userName
|
||||
this.gender=this.practitionerdetails.gender
|
||||
@ -447,14 +447,14 @@ unavailability(action,obj) {
|
||||
let param: any = { "exp": this.exp,
|
||||
// "id": this.id,
|
||||
"qualification": this.qualification,
|
||||
"fees": "800",
|
||||
// "fees": "800",
|
||||
"languages": this.languages,
|
||||
"dob": this.dob,
|
||||
"designtion": this.qualification,
|
||||
"gender": this.gender,
|
||||
"workingHours": JSON.stringify( tmp),
|
||||
"description": this.description,
|
||||
// "skills": JSON.stringify(this.skills),
|
||||
"skills": this.skills,
|
||||
"caption": this.caption,
|
||||
"userName": this.userName,
|
||||
"practitionerId":userid
|
||||
@ -491,5 +491,9 @@ unavailability(action,obj) {
|
||||
selBox.select();
|
||||
document.execCommand('copy');
|
||||
document.body.removeChild(selBox);
|
||||
|
||||
setTimeout(() => {
|
||||
this.copiedKey = 0
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,6 +45,9 @@
|
||||
</div> -->
|
||||
|
||||
<mat-toolbar>
|
||||
<!-- <button mat-mini-fab class="fabBack" href="javascript:history.back()">
|
||||
<mat-icon>arrow_back</mat-icon>
|
||||
</button> -->
|
||||
<span style="text-align: center;">Appointment</span>
|
||||
<h3 style="margin-left:35% ;">{{busName}}</h3>
|
||||
</mat-toolbar>
|
||||
@ -92,9 +95,23 @@
|
||||
<mat-card class="navStyle" fxLayoutAlign="center center"> <button mat-raised-button (click)="goToSlotBooking2()" style="background-color: #7fffd400;box-shadow: none;color:#fff" ><mat-icon style="cursor: pointer;">keyboard_arrow_left</mat-icon></button><span style="width: 150px;text-align: center;">{{check(days) | date:'longDate'}}</span><button mat-raised-button (click)="goToSlotBooking()" *ngIf="clicks < 5" style="background-color: #7fffd400;box-shadow: none;color:#fff" ><mat-icon style="cursor: pointer;">keyboard_arrow_right</mat-icon></button></mat-card>
|
||||
</div>
|
||||
<div fxFlex.xs="100" fxFlex.sm="100" fxFlex.md="100" fxFlex.lg="100" fxFlex.xl="100" class="p-gap" style="text-align: center;">
|
||||
<ng-scrollbar class="scrollHV">
|
||||
<div *ngIf="slots.length == 0">
|
||||
<div fxLayout="row" class="flexCard">
|
||||
<div fxFlex.xs="100" fxFlex.sm="100" fxFlex.md="100" fxFlex.lg="100" fxFlex.xl="100" fxLayoutAlign="center center">
|
||||
<div><img src="assets/images/service.png" width="300" height="300"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div fxLayout="row" class="flexCard">
|
||||
<div fxFlex.xs="100" fxFlex.sm="100" fxFlex.md="100" fxFlex.lg="100" fxFlex.xl="100" fxLayoutAlign="center center">
|
||||
<h3 class="noAssignedService">No Slots Available</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ng-scrollbar class="scrollHV" >
|
||||
<button *ngFor="let slot of slots;let i=index" mat-raised-button mat-button-sm class="mr-1 mt-1 hoverButton" [ngClass]="{'primary':slotIndex != i,'clickedSlot':slotIndex == i } " (click)="toggleActive($event,slot,i)" >{{slot | date:'shortTime'}}</button>
|
||||
</ng-scrollbar>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div >
|
||||
|
||||
@ -351,4 +351,6 @@ export class SlotBookingDetailsComponent implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user