{ "version": 3, "sources": ["src/app/shared/modules/booking-review/booking-review.component.ts", "src/app/shared/modules/booking-review/booking-review.component.html"], "sourcesContent": ["import { CouponService } from '../../components/coupon-card/service/coupon.service';\r\nimport { PromoCodeService } from './../../../proxy/services/promo-code.service';\r\nimport { AuthService } from './../../services/auth.service';\r\nimport {\r\n AppointmentService,\r\n EkPayService,\r\n SslCommerzService,\r\n} from 'src/app/proxy/services';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport {\r\n EkPayInputDto,\r\n PromoCodeInputDto,\r\n SslCommerzInputDto,\r\n} from 'src/app/proxy/input-dto';\r\nimport { TosterService } from 'src/app/shared/services/toster.service';\r\nimport { CommonService } from 'src/app/shared/services/common.service';\r\nimport {\r\n AppointmentType,\r\n PromoType,\r\n promoTypeOptions,\r\n} from 'src/app/proxy/enums';\r\nimport { ListItem } from 'src/app/shared/model/common-model';\r\nimport { Router } from '@angular/router';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { DynamicBookingComponent } from '../dynamic-booking/dynamic-booking.component';\r\nimport { AppointmentInputDto } from 'src/app/proxy/dto-models';\r\n//import { BookingDialogComponent } from '../../components/booking-dialog/booking-dialog.component';\r\n\r\n@Component({\r\n selector: 'app-booking-review',\r\n templateUrl: './booking-review.component.html',\r\n styleUrls: ['./booking-review.component.scss'],\r\n})\r\nexport class BookingReviewComponent implements OnInit {\r\n @Input() bookingInfo: any;\r\n @Output() gotToBack = new EventEmitter();\r\n //SSLCommerz\r\n sslInputDto = {\r\n applicantCode: '',\r\n examFee: 100,\r\n serviceCharge: 0,\r\n customAmount: 10,\r\n isCustomAmount: false,\r\n };\r\n hasValidCode = false;\r\n\r\n sslCInputDto: SslCommerzInputDto = {} as SslCommerzInputDto;\r\n loading: boolean = false;\r\n appointmentType: ListItem[];\r\n userType!: string;\r\n couponDiscountType!: ListItem[];\r\n discount!: PromoCodeInputDto;\r\n\r\n constructor(\r\n private ToasterService: TosterService,\r\n private AppointmentService: AppointmentService,\r\n private PromoCodeService: PromoCodeService,\r\n private AuthService: AuthService,\r\n private sslCommerzService: SslCommerzService, //private sslCommerzService: PaymentService\r\n private ekPayService: EkPayService, //private sslCommerzService: PaymentService\r\n private _router: Router,\r\n public dialogRef: MatDialogRef,\r\n private CouponService: CouponService\r\n ) {\r\n this.appointmentType = CommonService.getEnumList(AppointmentType);\r\n }\r\n ngOnInit(): void {\r\n this.userType = this.AuthService.authInfo().userType;\r\n }\r\n getTitle(id: any, type: string) {\r\n if (type == 'appointmentType') {\r\n return this.appointmentType.find((res) => res.id == id);\r\n } else {\r\n return;\r\n }\r\n }\r\n //getChamber(id: any) {\r\n // this.DoctorChamberService.get(id).subscribe(c => {\r\n // return c.chamberName?c.chamberName:'N/A';\r\n // });\r\n\r\n //}\r\n\r\n createAppointmentAndPayment() {\r\n this.loading = true;\r\n console.log(this.bookingInfo);\r\n\r\n try {\r\n this.AppointmentService.create(this.bookingInfo).subscribe({\r\n next: (res) => {\r\n if (res.totalAppointmentFee) {\r\n // if (this.userType == 'agent') {\r\n // this.payWithEkpay(res.appointmentCode),\r\n // localStorage.setItem(\r\n // 'patientAppointmentCode',\r\n // JSON.stringify(res.appointmentCode)\r\n // );\r\n // } else {\r\n // this.payWithSslCommerz(res.appointmentCode),\r\n // localStorage.setItem(\r\n // 'patientAppointmentCode',\r\n // JSON.stringify(res.appointmentCode)\r\n // );\r\n // }\r\n // this.payWithEkpay(res.appointmentCode),\r\n // localStorage.setItem(\r\n // 'patientAppointmentCode',\r\n // JSON.stringify(res.appointmentCode)\r\n // );\r\n this.payWithSslCommerz(res.appointmentCode),\r\n localStorage.setItem(\r\n 'patientAppointmentCode',\r\n JSON.stringify(res.appointmentCode)\r\n );\r\n } else {\r\n localStorage.setItem(\r\n 'patientAppointmentCode',\r\n JSON.stringify(res.appointmentCode)\r\n );\r\n this._router.navigate(['/payment-success']);\r\n this.dialogRef.close();\r\n }\r\n },\r\n error: (err) => {\r\n console.log(err);\r\n this.ToasterService.customToast(\r\n String(err.error.error.message),\r\n 'error'\r\n ),\r\n (this.loading = false);\r\n },\r\n });\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n payWithSslCommerz(appointmentCode: any): void {\r\n if (this.bookingInfo) {\r\n const sslCommerzInputDto: SslCommerzInputDto = {} as SslCommerzInputDto;\r\n sslCommerzInputDto.applicationCode = appointmentCode;\r\n // console.log(this.bookingInfo.totalAppointmentFee);\r\n\r\n sslCommerzInputDto.totalAmount = String(\r\n this.bookingInfo.totalAppointmentFee\r\n );\r\n sslCommerzInputDto.transactionId = '';\r\n this.sslCommerzService.initiatePayment(sslCommerzInputDto).subscribe({\r\n next: (response) => {\r\n console.log(response);\r\n\r\n if (\r\n response &&\r\n response.status === 'SUCCESS' &&\r\n response.gatewayPageURL\r\n ) {\r\n window.location.href = response.gatewayPageURL;\r\n this.loading = false;\r\n } else {\r\n this.loading = false;\r\n this.ToasterService.customToast(\r\n String(response.failedreason),\r\n 'error'\r\n );\r\n }\r\n },\r\n error: (err) => {\r\n this.loading = false;\r\n this.ToasterService.customToast(\r\n String(err.error.error.message),\r\n 'error'\r\n );\r\n },\r\n });\r\n } else {\r\n this.loading = false;\r\n this.ToasterService.customToast('Booking info not found', 'error');\r\n }\r\n }\r\n\r\n payWithEkpay(appointmentCode: any): void {\r\n if (this.bookingInfo) {\r\n const ekpayInputDto: EkPayInputDto = {} as EkPayInputDto;\r\n ekpayInputDto.applicationCode = appointmentCode;\r\n ekpayInputDto.totalAmount = String(this.bookingInfo.totalAppointmentFee);\r\n ekpayInputDto.transactionId = '';\r\n this.ekPayService.initiatePayment(ekpayInputDto).subscribe({\r\n next: (response) => {\r\n console.log(this.bookingInfo.totalAppointmentFee);\r\n if (\r\n response &&\r\n response.status === '1000' &&\r\n response.gatewayPageURL\r\n ) {\r\n window.location.href = response.gatewayPageURL;\r\n this.loading = false;\r\n } else {\r\n this.loading = false;\r\n this.ToasterService.customToast(String(response.message), 'error');\r\n }\r\n },\r\n error: (err) => {\r\n this.loading = false;\r\n this.ToasterService.customToast(\r\n String(err.error.error.message),\r\n 'error'\r\n );\r\n },\r\n });\r\n } else {\r\n this.loading = false;\r\n this.ToasterService.customToast('Booking info not found', 'error');\r\n }\r\n }\r\n\r\n getDayOfWeek(date: Date) {\r\n date = new Date(date);\r\n const daysOfWeek = [\r\n 'Sunday',\r\n 'Monday',\r\n 'Tuesday',\r\n 'Wednesday',\r\n 'Thursday',\r\n 'Friday',\r\n 'Saturday',\r\n ];\r\n return daysOfWeek[date.getDay()];\r\n }\r\n // applyCoupon(code: string): void {\r\n // console.log(`Applying coupon: ${code}`);\r\n\r\n // // Ensure bookingInfo exists\r\n // if (!this.bookingInfo) {\r\n // this.ToasterService.customToast(\r\n // 'Booking information is invalid',\r\n // 'error'\r\n // );\r\n // return;\r\n // }\r\n\r\n // // Ensure totalAppointmentFee exists\r\n // // if (!this.bookingInfo.totalAppointmentFee) {\r\n // // this.ToasterService.customToast('Not applicable!', 'error');\r\n // // return;\r\n // // }\r\n\r\n // this.PromoCodeService.getByName(code).subscribe({\r\n // next: (res) => {\r\n // if (!res.discountAmount || !res.discountAmountIn) {\r\n // this.ToasterService.customToast('Invalid coupon data', 'error');\r\n // return;\r\n // }\r\n\r\n // this.discount = res;\r\n\r\n // switch (res.discountAmountIn) {\r\n // case 1: // Fixed discount\r\n // if (this.bookingInfo.totalAppointmentFee < res.discountAmount) {\r\n // this.ToasterService.customToast(\r\n // 'Discount amount exceeds the total appointment fee!',\r\n // 'error'\r\n // );\r\n // return;\r\n // }\r\n\r\n // this.bookingInfo = {\r\n // ...this.bookingInfo,\r\n // totalAppointmentFee:\r\n // this.bookingInfo.totalAppointmentFee - res.discountAmount,\r\n // };\r\n // this.hasValidCode = true;\r\n // this.ToasterService.customToast(\r\n // `Coupon applied! Discount: ${res.discountAmount}`,\r\n // 'success'\r\n // );\r\n // break;\r\n\r\n // case 2: // Percentage discount\r\n // const percentageDiscount =\r\n // (this.bookingInfo.totalAppointmentFee * res.discountAmount) / 100;\r\n\r\n // if (this.bookingInfo.totalAppointmentFee < percentageDiscount) {\r\n // this.ToasterService.customToast(\r\n // 'Discount exceeds the total appointment fee!',\r\n // 'error'\r\n // );\r\n // return;\r\n // }\r\n\r\n // this.bookingInfo = {\r\n // ...this.bookingInfo,\r\n // totalAppointmentFee:\r\n // this.bookingInfo.totalAppointmentFee - percentageDiscount,\r\n // };\r\n // this.hasValidCode = true;\r\n // this.ToasterService.customToast(\r\n // `Coupon applied! Discount: ${res.discountAmount}%`,\r\n // 'success'\r\n // );\r\n // break;\r\n\r\n // default:\r\n // this.ToasterService.customToast('Invalid discount type', 'error');\r\n // break;\r\n // }\r\n\r\n // // Ensure totalAppointmentFee doesn't drop below 0\r\n // if (this.bookingInfo.totalAppointmentFee < 0) {\r\n // this.bookingInfo.totalAppointmentFee = 0;\r\n // }\r\n\r\n // console.log('Updated Booking Info:', this.bookingInfo);\r\n // },\r\n // error: (err) => {\r\n // console.log('Error applying coupon:', err);\r\n // this.ToasterService.customToast(\r\n // 'Failed to apply coupon. Please try again.',\r\n // 'error'\r\n // );\r\n // },\r\n // });\r\n // }\r\n}\r\n", "\r\n\r\n\r\n
\r\n Dr. {{ bookingInfo?.doctorName }}\r\n
\r\n

\r\n Patient name: {{ bookingInfo?.patientName }}\r\n

\r\n
\r\n
\r\n \r\n Appointment\r\n
\r\n \r\n {{ bookingInfo?.appointmentDate | date }}\r\n

\r\n

Date

\r\n
\r\n\r\n
\r\n \r\n @if (bookingInfo?.doctorChamberName) {\r\n {{ bookingInfo?.doctorChamberName }}\r\n }@else{ Soowgood Online Platform }\r\n

\r\n\r\n

Place

\r\n
\r\n\r\n
\r\n \r\n {{ getDayOfWeek(bookingInfo?.appointmentDate) }}\r\n

\r\n

Day

\r\n
\r\n
\r\n \r\n
\r\n \r\n Back\r\n \r\n \r\n {{ loading ? \"Loading...\" : \"Confirm & Pay\" }}\r\n \r\n
\r\n
\r\n \r\n\r\n"], "mappings": "sdCkCY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A,CAAA,EAAAnG,EAAA,IAAA0F,EAAAjE,QAAA,aAAA,gBAAA,GAAA,sGD7BJ,IAAOrB,EAAPsG,SAAOtG,CAAsB,GAAA", "names": ["\u0275\u0275text", "\u0275\u0275textInterpolate1", "ctx_r0", "bookingInfo", "doctorChamberName", "BookingReviewComponent", "constructor", "ToasterService", "AppointmentService", "PromoCodeService", "AuthService", "sslCommerzService", "ekPayService", "_router", "dialogRef", "CouponService", "gotToBack", "EventEmitter", "sslInputDto", "applicantCode", "examFee", "serviceCharge", "customAmount", "isCustomAmount", "hasValidCode", "sslCInputDto", "loading", "appointmentType", "CommonService", "getEnumList", "AppointmentType", "ngOnInit", "userType", "authInfo", "getTitle", "id", "type", "find", "res", "createAppointmentAndPayment", "console", "log", "create", "subscribe", "next", "totalAppointmentFee", "payWithSslCommerz", "appointmentCode", "localStorage", "setItem", "JSON", "stringify", "navigate", "close", "error", "err", "customToast", "String", "message", "sslCommerzInputDto", "applicationCode", "totalAmount", "transactionId", "initiatePayment", "response", "status", "gatewayPageURL", "window", "location", "href", "failedreason", "payWithEkpay", "ekpayInputDto", "getDayOfWeek", "date", "Date", "getDay", "\u0275\u0275directiveInject", "TosterService", "SslCommerzService", "EkPayService", "Router", "MatDialogRef", "selectors", "inputs", "outputs", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275elementEnd", "\u0275\u0275template", "BookingReviewComponent_Conditional_20_Template", "BookingReviewComponent_Conditional_21_Template", "\u0275\u0275element", "\u0275\u0275listener", "emit", "\u0275\u0275advance", "doctorName", "patientName", "\u0275\u0275pipeBind1", "appointmentDate", "\u0275\u0275conditional", "\u0275\u0275property", "_BookingReviewComponent"] }