-
-
-
-
-
-
+
\ 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 a9b481b..7ab63c1 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
@@ -1,127 +1,273 @@
-body{
- background:#eee;
-}
-.profile{
+// body{
+// background:#eee;
+// }
+// .profile{
+// padding: 2rem 2rem 2rem 2rem;
+// border-radius: 5px;
+// }
+// .card{
+// border:none;
+// position:relative;
+// overflow:hidden;
+// // border-radius:8px;
+// // cursor:pointer;
+// }
+// .card:before{
+// content:"";
+// position:absolute;
+// left:0;
+// top:0;
+// width:4px;
+// height:100%;
+// background-color:#E1BEE7;
+// transform:scaleY(1);
+// transition:all 0.5s;
+// transform-origin: bottom
+// }
+// .card:after{
+// content:"";
+// position:absolute;
+// left:0;
+// top:0;
+// width:4px;
+// height:100%;
+// background-color: #217e69;
+// transform:scaleY(0);
+// transition:all 0.5s;
+// transform-origin: bottom
+// }
+// .card:hover::after{
+// transform:scaleY(1);
+// }
+// .fonts{
+// font-size:13px;
+// }
+// .Centre-bacl{
+// box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
+// }
+
+// h5{
+// color: #02475b;
+// margin: 0;
+// overflow: hidden;
+// font-size: 20px;
+// text-overflow: ellipsis;
+// // padding-bottom: 10px;
+// }
+// .years{
+// color: #217e69;
+// font-weight: 600;
+// font-size: 13px;
+// text-transform: uppercase;
+// // padding-bottom: 10px;
+// }
+// .header {
+// padding: 0rem 0.5rem 0rem 0.5rem;
+// display: flex;
+// }
+// .content {
+// // margin-top: 0.75rem;
+// margin-right: 2rem;
+// }
+// .title {
+// color: #595b5f;
+// font-size: 13px;
+// font-weight: 600;
+// line-height: 1.5rem;
+// }
+// .title-dr{
+// color: #595b5f;
+// font-size: 14px;
+// font-weight: 600;
+// line-height: 1.5rem;
+// }
+// .message {
+// color: #217e69;
+// font-size: 13px;
+// line-height: 10px;
+// word-break: break-word;
+// padding-left: 40px;
+// padding-right: 10px;
+// }
+// // .img{
+// // width: 30px;
+// // margin-right: 10px;
+// // }
+// // .images{
+// // float: right;
+// // }
+// .line{
+// border-bottom: 0.5px solid rgba(2,71,91,0.2);
+// padding-bottom: 10px;
+// }
+// @media only screen and (max-width: 600px) {
+// .message {
+// padding-left: 48px;
+// line-height: 20px;
+// margin-top: 0px;
+// }
+// .p-3 {
+// padding: 2rem !important;
+// }
+// .header {
+// display: initial;
+// }
+// .media-prof{
+// margin-top: 18rem;
+// }
+// }
+// ::ng-deep body{
+// background-color: #f7f8f5 !important;
+// }
+
+
+//01/04.23
+
+.doctor-profile{
+ font-family: sans-serif;
padding: 2rem 2rem 2rem 2rem;
- border-radius: 5px;
-}
-.card{
- border:none;
- position:relative;
- overflow:hidden;
- // border-radius:8px;
- // cursor:pointer;
-}
-.card:before{
- content:"";
- position:absolute;
- left:0;
- top:0;
- width:4px;
- height:100%;
- background-color:#E1BEE7;
- transform:scaleY(1);
- transition:all 0.5s;
- transform-origin: bottom
-}
-.card:after{
- content:"";
- position:absolute;
- left:0;
- top:0;
- width:4px;
- height:100%;
- background-color: #217e69;
- transform:scaleY(0);
- transition:all 0.5s;
- transform-origin: bottom
-}
-.card:hover::after{
- transform:scaleY(1);
-}
-.fonts{
- font-size:13px;
-}
-.Centre-bacl{
- box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
-}
-.rounded-circle{
- height: 230px;
- max-width: 100%;
- vertical-align: middle;
- border-radius: 45px;
- width: 100%;
-}
-h5{
- color: #02475b;
- margin: 0;
- overflow: hidden;
- font-size: 20px;
- text-overflow: ellipsis;
- // padding-bottom: 10px;
-}
-.years{
- color: #217e69;
- font-weight: 600;
- font-size: 13px;
- text-transform: uppercase;
- // padding-bottom: 10px;
-}
-.header {
- padding: 0rem 0.5rem 0rem 0.5rem;
- display: flex;
- }
- .content {
- // margin-top: 0.75rem;
- margin-right: 2rem;
- }
- .title {
- color: #595b5f;
- font-size: 13px;
- font-weight: 600;
- line-height: 1.5rem;
- }
- .title-dr{
- color: #595b5f;
+ .padding-lt{
+ padding-left: 1.5rem;
+ }
+ .doctor_info{
+ background-color: #e8eeef;
+ border: 1px solid #e8eeef;
+ padding: 40px;
+ border-top: 4px solid #217e69;
+ margin-bottom: 40px;
+ // height: 100%;
+ }
+ .rounded-circle{
+ // height: 230px;
+ max-width: 100%;
+ vertical-align: middle;
+ border-radius: 45px;
+ width: 100%;
+ }
+ .images{
+ border-radius: 100%;
+ width: 50%;
+ height: 40%;
+ margin-left: 5rem;
+ }
+ .img{
+ width: 30px;
+ margin-right: 10px;
+ }
+ .heading{
+ margin: 40px 0 0;
+ padding: 0;
+ text-align: center;
+ }
+ a{
+ color: #50aab2;
font-size: 14px;
+ }
+ h4{
+ font-size: 20px;
+ text-transform: uppercase;
+ margin-bottom: 9px;
+ text-align: center;
+ color: #7a7a7a;
font-weight: 600;
- line-height: 1.5rem;
}
- .message {
- color: #217e69;
- font-size: 13px;
- line-height: 10px;
- word-break: break-word;
- padding-left: 40px;
- padding-right: 10px;
+ li {
+ list-style-type: none;
+ line-height: 45px;
+ font-size: 16px;
+}
+
+ .social-icons{
+ display: inline;
+ a {
+ margin-right: 10px;
+ }
}
- .img{
- width: 30px;
- margin-right: 10px;
+ .emergency-case {
+ font-size: 18px;
+ font-size: 1.125rem;
+ color: #ffff;
+ position: relative;
+ padding-left: 60px;
+ :before {
+ position: absolute;
+ font-size: 45px;
+ left: 0;
+ line-height: 1;
+ }
}
-.images{
- float: right;
+.last-of-type {
+ border: 1px solid #e8eeef;
+ padding: 40px;
+ // border-top: 4px solid #217e69;
+ margin-bottom: 40px;
+ border: 0;
+ background-color: #217e69;;
}
-.line{
- border-bottom: 0.5px solid rgba(2,71,91,0.2);
- padding-bottom: 10px;
+.elementor-container{
+ margin: 0px 0px 25px 0px;
+ p{
+ color: #062a4d;
+ font-weight: 400;
+ line-height: 30px;
+ font-size: 16px;
+ .language{
+ margin-bottom: 15px!important;
+ }
+ }
+ .para{
+ line-height: 30px;
+ color: #7a7a7a;
+ font-size: 16px;
+ font-weight: 400;
+ }
+ h3{
+ color: #6ec1e4;
+ line-height: 1.25;
+ font-weight: 700;
+ text-transform: uppercase;
+ font-size: 22px;
+ }
+ .care{
+ color: #062a4d;
+ font-weight: 700;
+ text-transform: uppercase;
+ }
+ .elementor-row {
+ width: 100%;
+ display: flex;
+ }
+ .mat-icon {
+ color: #217e69;
+ }
+ .elementor-div{
+ width: 50%;
+ ul{
+ padding-left: 1px;
+ li{
+ padding: 5px;
+ }
+ .list-text{
+ padding-left: 20px;
+ color: #062a4d;
+ font-size: 16px;
+ }
+ }
+
+ }
}
@media only screen and (max-width: 600px) {
- .message {
- padding-left: 48px;
- line-height: 20px;
- margin-top: 0px;
- }
- .p-3 {
- padding: 2rem !important;
+ .elementor-row {
+ display: initial!important;
}
- .header {
- display: initial;
- }
-.media-prof{
- margin-top: 18rem;
+ .elementor-div{
+ width: 100%!important;
+ }
+ .doctor_info{
+ padding: 20px;
+ }
+ .padding-lt{
+ padding-left: 0.5rem;
+ }
}
-}
-::ng-deep body{
- background-color: #f7f8f5 !important;
}
\ No newline at end of file
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 0e4cb82..1362978 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,4 +1,6 @@
import { Component, OnInit } from '@angular/core';
+import { Router } from '@angular/router';
+import { EndUserService } from '../end-user.service';
@Component({
selector: 'app-doctor-profile',
@@ -6,10 +8,38 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./doctor-profile.component.scss']
})
export class DoctorProfileComponent implements OnInit {
+ bookedAppointment: any=[];
- constructor() { }
+ constructor(private router:Router,public end_user:EndUserService) { }
ngOnInit(): void {
+ let service = localStorage.getItem("servicedetails")
+ let serviceDetails = JSON.parse(service)
+ console.log(serviceDetails)
+
+ this.end_user.appointmentBooked_observable$.subscribe((res) => {
+ console.log('booked', res);
+ if(res.length>0){
+ this.bookedAppointment=res[0].user[0]
+ }else{
+
+ let URL = this.router.url;
+ console.log(URL)
+ let URL_AS_LIST = URL.split('/');
+ console.log(URL_AS_LIST);
+ // this.router.navigate(['customer/business/'+URL_AS_LIST[3]])
+ }
+
+ })
}
+
+ goToSlotBooking(){
+ let URL = this.router.url;
+ console.log(URL)
+
+ // this.router.navigate([URL+"/slot"])
+ this.router.navigate([URL+"/slot"])
+
+ }
}
diff --git a/ng-seed/src/app/end-user/end-user-routing.module.ts b/ng-seed/src/app/end-user/end-user-routing.module.ts
index b519ef8..0ca9e81 100644
--- a/ng-seed/src/app/end-user/end-user-routing.module.ts
+++ b/ng-seed/src/app/end-user/end-user-routing.module.ts
@@ -49,23 +49,23 @@ const routes: Routes = [
component: ConsultantsListComponent
},
{
- path: 'business/:randstr/:randstrs/practitioner/slot',
+ path: 'business/:randstr/:randstrs/practitioner/details/slot',
component: SlotBookingDetailsComponent
},
{
- path: 'business/:randstr/:randstrs/practitioner/slot/cus',
+ path: 'business/:randstr/:randstrs/practitioner/details/slot/cus',
component: CustomerInfoComponent
},
{
- path: 'business/:randstr/:randstrs/practitioner/slot/cus/:cusId/pt',
+ path: 'business/:randstr/:randstrs/practitioner/details/slot/cus/:cusId/pt',
component: PaymentComponent
},
{
- path: 'business/:randstr/:randstrs/practitioner/slot/cus/:cusId/pt/bts',
+ path: 'business/:randstr/:randstrs/practitioner/details/slot/cus/:cusId/pt/bts',
component: BookingSummaryComponent
},
{
- path: 'doctor-profile',
+ path: 'business/:randstr/:randstrs/practitioner/details',
component: DoctorProfileComponent
},
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 b230a2d..4029960 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
@@ -64,6 +64,7 @@ export class ServiceListComponent implements OnInit {
this.enduser.getcusServicesMapDetails(params).subscribe(res => {
if (res.status == 200) {
+
console.log(res)
this.full_data = res['data']
let tmp =[];
@@ -87,7 +88,10 @@ export class ServiceListComponent implements OnInit {
console.log(result)
this.servicesList = result
// this.businessList = res.data;
- }
+ } else{
+
+
+ }
});
//this._pd.getTabStatusPdDetails(this.tabStatus)
// this._api.getServicesListDetails().subscribe(res => {
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 0189c32..69979bf 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
@@ -30,9 +30,11 @@
-->
- {{slot.startTime | date:'shortTime'}}
+
+ {{slot.startTime | date:'shortTime'}}
-
PROCEED
+
+
PROCEED