@@ -49,10 +53,10 @@
-

+
-
\ No newline at end of file
+
+
diff --git a/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.scss b/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.scss
index 845a078..a3bf497 100644
--- a/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.scss
+++ b/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.scss
@@ -124,6 +124,7 @@
//01/04.23
.scrollHV {
height: calc(100vh - 0px);
+ zoom: 90%;
}
.doctor-profile{
font-family: sans-serif;
@@ -145,13 +146,15 @@
max-width: 100%;
vertical-align: middle;
border-radius: 45px;
- width: 100%;
+ width: 65%;
+ height: 180px;
}
.images{
border-radius: 100%;
- width: 50%;
- height: 40%;
- margin-left: 5rem;
+ text-align: center;
+ // width: 50%;
+ // height: 40%;
+ // margin-left: 5rem;
}
.img{
width: 30px;
@@ -273,4 +276,15 @@
padding-left: 0.5rem;
}
}
-}
\ No newline at end of file
+}
+mat-toolbar{
+ background-color: #227f6e;
+ color:#fff;
+}
+footer {
+ background-color: #d1d1d1;
+ height:50px;
+ width: 100%;
+ position: absolute;
+ bottom: 0;
+ }
diff --git a/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.ts b/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.ts
index 1362978..0c113cc 100644
--- a/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.ts
+++ b/ng-seed/src/app/end-user/doctor-profile/doctor-profile.component.ts
@@ -1,6 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { EndUserService } from '../end-user.service';
+import { environment } from 'environments/environment';
@Component({
selector: 'app-doctor-profile',
@@ -9,10 +10,14 @@ import { EndUserService } from '../end-user.service';
})
export class DoctorProfileComponent implements OnInit {
bookedAppointment: any=[];
-
+ private apiUrl = environment.apiEndpoint;
+ dp: any =[];
+ busName: any=[];
+
constructor(private router:Router,public end_user:EndUserService) { }
ngOnInit(): void {
+ this.busName = localStorage.getItem('busName')
let service = localStorage.getItem("servicedetails")
let serviceDetails = JSON.parse(service)
console.log(serviceDetails)
@@ -21,6 +26,8 @@ export class DoctorProfileComponent implements OnInit {
console.log('booked', res);
if(res.length>0){
this.bookedAppointment=res[0].user[0]
+ this.dp = this.apiUrl+'imageViewer?img_name='+ this.bookedAppointment.logo
+ console.log(this.dp)
}else{
let URL = this.router.url;
@@ -42,4 +49,9 @@ export class DoctorProfileComponent implements OnInit {
this.router.navigate([URL+"/slot"])
}
+ image_view(image){
+
+ return this.apiUrl+'imageViewer?img_name='+image;
+ }
+
}
diff --git a/ng-seed/src/app/end-user/end-user.service.ts b/ng-seed/src/app/end-user/end-user.service.ts
index 85af81c..1361db4 100644
--- a/ng-seed/src/app/end-user/end-user.service.ts
+++ b/ng-seed/src/app/end-user/end-user.service.ts
@@ -54,6 +54,12 @@ private apiUrl = environment.apiEndpoint;
// catchError(this.handleError('role', []))
// )
}
+ getSlots(Params): Observable
{
+ return this._http.post(this.apiUrl + 'getSlots', Params)
+ // .pipe(
+ // catchError(this.handleError('role', []))
+ // )
+ }
CreateAppoinmentsCus(addParams): Observable {
return this._http.post(this.apiUrl + 'CreateAppoinmentsCus', addParams)
// .pipe(
diff --git a/ng-seed/src/app/end-user/payment/payment.component.html b/ng-seed/src/app/end-user/payment/payment.component.html
index 25b7acc..9c4c5c3 100644
--- a/ng-seed/src/app/end-user/payment/payment.component.html
+++ b/ng-seed/src/app/end-user/payment/payment.component.html
@@ -1,5 +1,6 @@
Appointment
+ {{busName}}
diff --git a/ng-seed/src/app/end-user/payment/payment.component.ts b/ng-seed/src/app/end-user/payment/payment.component.ts
index 796b615..6a5f5bf 100644
--- a/ng-seed/src/app/end-user/payment/payment.component.ts
+++ b/ng-seed/src/app/end-user/payment/payment.component.ts
@@ -11,6 +11,7 @@ import { EndUserService } from '../end-user.service';
export class PaymentComponent implements OnInit {
form: FormGroup;
bookedAppointment_servicemap: any;
+ busName: string;
constructor(private router:Router,public enduser:EndUserService, private route: ActivatedRoute, ) {
this.enduser.appointmentBooked_observable$.subscribe((res) => {
console.log('booked', res);
@@ -30,6 +31,7 @@ export class PaymentComponent implements OnInit {
}
ngOnInit(): void {
+ this.busName = localStorage.getItem('busName')
this.form = new FormGroup({
cardName: new FormControl('', [Validators.required]),
cardNo: new FormControl('', [Validators.required, Validators.maxLength(16)]),
diff --git a/ng-seed/src/app/end-user/service-list-details/service-list.component.ts b/ng-seed/src/app/end-user/service-list-details/service-list.component.ts
index 4029960..b1f0fdd 100644
--- a/ng-seed/src/app/end-user/service-list-details/service-list.component.ts
+++ b/ng-seed/src/app/end-user/service-list-details/service-list.component.ts
@@ -67,6 +67,8 @@ export class ServiceListComponent implements OnInit {
console.log(res)
this.full_data = res['data']
+ this.full_data[0].business[0].busName
+ localStorage.setItem('busName',this.full_data[0].business[0].busName)
let tmp =[];
res['data'].forEach(element => {
diff --git a/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.html b/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.html
index f750e6e..ba56c8b 100644
--- a/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.html
+++ b/ng-seed/src/app/end-user/slot-booking/slot-booking-details.component.html
@@ -46,10 +46,11 @@
Appointment
+ {{busName}}
-
+
@@ -66,42 +67,55 @@

-->
-
Oostelijk Handelskade 879
-
1020BD - Amsterdam, Netherlands
-
Christain Wicks
-
christain@teero.com
+
Business
+
{{busName}}
+
Practitioner
+
Dr. {{doctor}}
+
Service
+
{{servicesName.servicesName}} ({{servicesName.duration
+ }} Mins)
- This is an on-site interview. Please bring your CV and any other document required for work contract.
+
Date:{{date | date:'longDate'}}
+
Time :{{slotTime | date:'shortTime'}}
+
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
-
-
+
-->
+
+
@@ -112,9 +126,7 @@
Wednesday
April05
-
+
@@ -125,9 +137,7 @@
Thursday
April05
-
+
@@ -138,14 +148,12 @@
Friday
April05
-
+
-
+
-->
-
+
+