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EAAoB;QAApBA,yDAAA,SAAAkpB,GAAA,CAAA/X,SAAA,MAAoB;QA0GpBnR,wDAAA,EAAoB;QAApBA,yDAAA,SAAAkpB,GAAA,CAAA/X,SAAA,MAAoB;QAuMpBnR,wDAAA,EAAoB;QAApBA,yDAAA,SAAAkpB,GAAA,CAAA/X,SAAA,MAAoB;QAuF7BnR,wDAAA,EAA0C;QAA1CA,yDAAA,SAAAkpB,GAAA,CAAAhK,QAAA,KAAAgK,GAAA,CAAAjK,uBAAA,CAA0C;QAa1Cjf,wDAAA,EAAe;QAAfA,yDAAA,SAAAkpB,GAAA,CAAA09E,SAAA,CAAe;QAcf5mG,wDAAA,EAAiB;QAAjBA,yDAAA,SAAAkpB,GAAA,CAAAkjF,WAAA,CAAiB;QAQjBpsG,wDAAA,EAAyB;QAAzBA,yDAAA,SAAAkpB,GAAA,CAAAqjH,mBAAA,CAAyB;QASzBvsI,wDAAA,EAAwB;QAAxBA,yDAAA,SAAAkpB,GAAA,CAAA6jH,kBAAA,CAAwB;QASxB/sI,wDAAA,EAAsB;QAAtBA,yDAAA,SAAAkpB,GAAA,CAAA9S,gBAAA,CAAsB;QActBpW,wDAAA,EAA0B;QAA1BA,yDAAA,SAAAkpB,GAAA,CAAA3R,oBAAA,CAA0B;;;;;;SDzgClBvb,2BAA2B;AAAA","sources":["./src/app/enums/calendar-view.enum.ts","./src/app/models/booking/bcom-report-misconduct.model.ts","./src/app/models/booking/booking-all-details.model.ts","./src/app/models/booking/booking-flow.model.ts","./src/app/models/booking/booking-note.mode.ts","./src/app/models/booking/booking-search-broken-payments.model.ts","./src/app/models/booking/booking-search.model.ts","./src/app/models/booking/booking-tooltip.model.ts","./src/app/models/booking/calculate-room-price-request.model.ts","./src/app/models/booking/calendar-legend-colors.model.ts","./src/app/models/booking/calendar-new-booking-pd.model.ts","./src/app/models/booking/calendar-new-booking-request.model.ts","./src/app/models/booking/calendar-request.model.ts","./src/app/models/booking/calendar-response.model.ts","./src/app/models/booking/calendar-scheduler.model.ts","./src/app/models/booking/calendar-status-pd.model.ts","./src/app/models/booking/calendar.model.ts","./src/app/models/booking/eligible-room-types-request.model.ts","./src/app/models/booking/event.model.ts","./src/app/models/booking/finish-booking-payment-response.model.ts","./src/app/models/booking/update-calendar-booking.model.ts","./src/app/models/booking/update-calendar.model.ts","./src/app/models/booking/update-event-calendar.model.ts","./src/app/models/epos/move-epos.model.ts","./src/app/models/guest-merge/guest-merge-grid.model.ts","./src/app/models/guest-merge/guest-merge-view.model.ts","./src/app/models/room/room-base.model.ts","./src/app/routes/booking/booking-common.service.ts","./src/app/routes/booking/booking.module.ts","./src/app/routes/booking/calendar/calendar-details/calendar-details.component.ts","./src/app/routes/booking/calendar/calendar-details/calendar-details.component.html","./src/app/routes/booking/calendar/calendar-event-details/calendar-event-details.component.ts","./src/app/routes/booking/calendar/calendar-event-details/calendar-event-details.component.html","./src/app/routes/booking/calendar/calendar-status/calendar-status.component.ts","./src/app/routes/booking/calendar/calendar-status/calendar-status.component.html","./src/app/routes/booking/calendar/calendar.component.ts","./src/app/routes/booking/calendar/calendar.component.html","./src/app/routes/booking/calendar/calendar.service.ts","./src/app/routes/booking/settings-booking-broken-payments/broken-payments-booking-search/broken-payments-booking-search.component.ts","./src/app/routes/booking/settings-booking-broken-payments/broken-payments-booking-search/broken-payments-booking-search.component.html","./src/app/routes/booking/settings-booking-broken-payments/settings-booking-broken-payments.component.ts","./src/app/routes/booking/settings-booking-broken-payments/settings-booking-broken-payments.component.html","./src/app/routes/booking/settings-booking-broken-payments/settings-booking-broken-payments.service.ts","./src/app/routes/booking/settings-booking-detail/booking-bulk-edit/booking-bulk-edit.component.ts","./src/app/routes/booking/settings-booking-detail/booking-bulk-edit/booking-bulk-edit.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-add-invoice/booking-details-add-invoice.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-add-invoice/booking-details-add-invoice.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-add-invoice/booking-details-create-invoice-preview/booking-details-create-invoice-preview.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-add-invoice/booking-details-create-invoice-preview/booking-details-create-invoice-preview.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-add-rooms/booking-details-add-rooms.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-add-rooms/booking-details-add-rooms.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-extras/booking-details-extras.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-extras/booking-details-extras.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-guests/booking-details-guests.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-guests/booking-details-guests.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-move-extras/booking-details-move-extras.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-move-extras/booking-details-move-extras.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-payment/booking-details-payment.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-payment/booking-details-payment.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-payment/cards-list-modal/cards-list-modal.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-payment/cards-list-modal/cards-list-modal.component.html","./src/app/routes/booking/settings-booking-detail/booking-details-resolver.service.ts","./src/app/routes/booking/settings-booking-detail/booking-details-rooms/booking-details-rooms.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details-rooms/booking-details-rooms.component.html","./src/app/routes/booking/settings-booking-detail/booking-details.component.ts","./src/app/routes/booking/settings-booking-detail/booking-details.component.html","./src/app/routes/booking/settings-booking-detail/booking-print-summary/booking-print-summary.component.ts","./src/app/routes/booking/settings-booking-detail/booking-print-summary/booking-print-summary.component.html","./src/app/routes/booking/settings-booking-detail/booking-report-misconduct/booking-report-misconduct.component.ts","./src/app/routes/booking/settings-booking-detail/booking-report-misconduct/booking-report-misconduct.component.html","./src/app/routes/booking/settings-booking-detail/confirm-invoice-all-popup/confirm-invoice-all-popup.component.ts","./src/app/routes/booking/settings-booking-detail/confirm-invoice-all-popup/confirm-invoice-all-popup.component.html","./src/app/routes/booking/settings-booking-detail/note-edit/note-edit.component.ts","./src/app/routes/booking/settings-booking-detail/note-edit/note-edit.component.html","./src/app/routes/booking/settings-booking-search/bookings-search-resolver.service.ts","./src/app/routes/booking/settings-booking-search/settings-booking-search.component.ts","./src/app/routes/booking/settings-booking-search/settings-booking-search.component.html","./src/app/routes/booking/settings-guest-list/guest-list-bookings/guest-list-bookings.component.ts","./src/app/routes/booking/settings-guest-list/guest-list-bookings/guest-list-bookings.component.html","./src/app/routes/booking/settings-guest-list/guest-list-edit/guest-list-edit.component.ts","./src/app/routes/booking/settings-guest-list/guest-list-edit/guest-list-edit.component.html","./src/app/routes/booking/settings-guest-list/guest-list-merge/guest-list-merge.component.ts","./src/app/routes/booking/settings-guest-list/guest-list-merge/guest-list-merge.component.html","./src/app/routes/booking/settings-guest-list/settings-guest-list.component.ts","./src/app/routes/booking/settings-guest-list/settings-guest-list.component.html","./src/app/routes/booking/settings-new-booking/new-booking.service.ts","./src/app/routes/booking/settings-new-booking/settings-new-booking.component.ts","./src/app/routes/booking/settings-new-booking/settings-new-booking.component.html"],"sourcesContent":["export enum CalendarView {\r\n Regular = 0,\r\n Extended = 1,\r\n SevenGrid = 2,\r\n}\r\n","export class BcomReportMisconductModel {\r\n public bookingId: number;\r\n public categoryId?: number;\r\n public subcategoryId?: number;\r\n public damageTypeId?: number;\r\n public damageCost?: number;\r\n public detailsText?: string;\r\n public escalateReport: boolean;\r\n public rebookingAllowed: boolean;\r\n\r\n public constructor(bookingId: number, categoryId: number, subcategoryId: number, damageTypeId: number, damageCost: number, detailsText: string, escalateReport: boolean, rebookingAllowed: boolean)\r\n {\r\n this.bookingId = bookingId;\r\n this.categoryId = categoryId;\r\n this.subcategoryId = subcategoryId;\r\n this.damageTypeId = damageTypeId;\r\n this.damageCost = damageCost;\r\n this.detailsText = detailsText;\r\n this.escalateReport = escalateReport;\r\n this.rebookingAllowed = rebookingAllowed;\r\n }\r\n}\r\n","import DataSource from 'devextreme/data/data_source';\r\nimport { CountryModel } from '../account/country.model';\r\nimport { PartnerModel } from '../partners/partner.model';\r\nimport { DiscountPolicyModel } from './booking-search.model';\r\nimport { EnumModel } from '../shared/enum-model';\r\nimport { FunctionModel } from '../function-room/function.model';\r\nimport { OtaChannel } from 'src/app/enums/otaChannel.enum';\r\n\r\nexport class BookingAllDetails {\r\n public rooms: BookingRoomDetailModel[] = [];\r\n public extras: BookingExtraDetailModel[] = [];\r\n public guests: BookingGuestDetailModel[] = [];\r\n public payments: BookingPaymentDetailModel[] = [];\r\n public invoices: InvoiceDetailModel[] = [];\r\n public countries: CountryModel[] = [];\r\n public titles: EnumModel[] = [];\r\n public partners: PartnerModel[] = [];\r\n public info: BookingInfoModel;\r\n public logs: BookingLogModel[] = [];\r\n public functions: FunctionModel[] = [];\r\n public discount: DiscountPolicyModel;\r\n public source: string;\r\n public unCancelAvailable: boolean;\r\n public guestAccepted?: boolean;\r\n public groupColor: string;\r\n public noShowAvailable: boolean;\r\n public misconductReported: boolean;\r\n public noShowReported: boolean;\r\n\r\n constructor() {\r\n this.info = new BookingInfoModel();\r\n this.discount = new DiscountPolicyModel();\r\n }\r\n}\r\n\r\nexport class BookingRoomDetailModel {\r\n public bookingRoomId: number;\r\n public bookingId: number;\r\n public roomId: number;\r\n public bookingRoomShortName: string;\r\n public bookingRoomFullName: string;\r\n public roomTypeId: number;\r\n public roomTypeShortName: string;\r\n public roomTypeName: string;\r\n public ratePlanId: number;\r\n public ratePlanShortName: string;\r\n public ratePlanName: string;\r\n public bookingFrom: string;\r\n public bookingTo: string;\r\n public adults: number;\r\n public children: number;\r\n public status: EnumModel;\r\n public invoiceId?: number;\r\n public notes?: string;\r\n public carReg?: string;\r\n public eta?: string;\r\n public etd?: string;\r\n public price: number;\r\n public maxGuestAllowed?: number;\r\n public isFull?: boolean;\r\n // added new properties\r\n public standardPrice: number;\r\n public suggestedPrice: number;\r\n public hasRoom: boolean;\r\n public hasRoomType: boolean;\r\n public showMessage?: boolean;\r\n public nights?: number;\r\n public eposAccountLimit?: number;\r\n public locked: boolean;\r\n public forceRoomChange: boolean;\r\n public eposBalance?: number;\r\n\r\n constructor(bookingRoomId?: number, bookingRoomFullName?: string, bookingRoomShortName?: string) {\r\n this.status = new EnumModel();\r\n this.bookingRoomId = bookingRoomId;\r\n this.bookingRoomFullName = bookingRoomFullName;\r\n this.bookingRoomShortName = bookingRoomShortName;\r\n this.hasRoomType = true;\r\n this.hasRoom = true;\r\n }\r\n}\r\n\r\nexport class BookingExtraDetailModel {\r\n public bookingExtraId: number;\r\n public bookingId: number;\r\n public saleItemId: number;\r\n public saleItemName: string;\r\n public chargeType: EnumModel;\r\n public itemType: EnumModel;\r\n public bookingRoomId: number;\r\n public bookingRoomShortName: string;\r\n public bookingRoomFullName: string;\r\n public quantity: number;\r\n public dateFrom?: string;\r\n public dateTo?: string;\r\n public dateLabel: string;\r\n public price: number;\r\n public total: number;\r\n public invoiceId?: number;\r\n public notes: string;\r\n public description: string;\r\n public allowanceId?: number;\r\n public count?: number;\r\n public token: string;\r\n public invoiceIds: number[];\r\n\r\n // added new properties\r\n public saleItemsSource: DataSource;\r\n public disabledItem: boolean;\r\n\r\n constructor() {\r\n this.chargeType = new EnumModel();\r\n this.itemType = new EnumModel();\r\n }\r\n}\r\n\r\nexport class BookingExtraMoveModel extends BookingExtraDetailModel\r\n{\r\n public newQuantity: number;\r\n}\r\n\r\nexport class BookingGuestDetailModel {\r\n public bookingGuestId: number;\r\n public bookingId: number;\r\n public guestId: number;\r\n public leadGuest: boolean;\r\n public notes: string;\r\n public bookingRoomId?: number;\r\n public bookingRoomShortName: string;\r\n public guest: GuestDetail;\r\n public forceLeadGuest: boolean;\r\n\r\n // added new properties\r\n public isUnder16: boolean;\r\n\r\n constructor() {\r\n this.guest = new GuestDetail();\r\n this.bookingGuestId = null;\r\n this.bookingId = null;\r\n this.guestId = null;\r\n this.leadGuest = false;\r\n this.notes = '';\r\n this.bookingRoomId = null;\r\n this.bookingRoomShortName = null;\r\n }\r\n}\r\n\r\nexport class GuestDetail {\r\n public id: number;\r\n public documentId?: number;\r\n public title: string;\r\n public email: string;\r\n public firstName: string;\r\n public lastName: string;\r\n public initials?: number;\r\n public gender: string;\r\n public address1: string;\r\n public address2?: string;\r\n public address3?: string;\r\n public phone: string;\r\n public phone2: string;\r\n public postalCode?: string;\r\n public countryId?: any;\r\n public countryCode?: number;\r\n public countryName?: string;\r\n public partnerId?: number;\r\n public newsletter: boolean;\r\n public status: number;\r\n public dateCreated: Date;\r\n public under16: boolean;\r\n\r\n constructor() {\r\n this.id = null;\r\n this.title = null;\r\n this.email = '';\r\n this.firstName = '';\r\n this.lastName = '';\r\n this.gender = null;\r\n this.address1 = '';\r\n this.address2 = '';\r\n this.address3 = '';\r\n this.phone = '';\r\n this.phone2 = '';\r\n this.postalCode = '';\r\n this.countryId = null;\r\n this.countryCode = null;\r\n this.countryName = '';\r\n this.partnerId = null;\r\n this.newsletter = false;\r\n this.status = null;\r\n this.dateCreated = null;\r\n this.under16 = false;\r\n }\r\n}\r\n\r\nexport class BookingPaymentDetailModel {\r\n public id: number;\r\n public paymentNo: string;\r\n public date: Date;\r\n public bookingId: number;\r\n public bookingNo: string;\r\n public invoiceId: number;\r\n public invoiceNo: string;\r\n public guestId?: number;\r\n public partnerId?: number;\r\n public paidBy: string;\r\n public paid: boolean;\r\n public purpose: EnumModel;\r\n public purposeName: string;\r\n public type: EnumModel;\r\n public typeName: string;\r\n public note: string;\r\n public status: string;\r\n public amount: number;\r\n public card: string;\r\n public cardExpiry: string;\r\n public cardType: string;\r\n public vcc: boolean;\r\n public canRebill: boolean;\r\n public cardReportedInvalid: boolean;\r\n public canRefund: boolean;\r\n public canVerifyToken: boolean;\r\n public canChargeToken: boolean;\r\n public canVoid: boolean;\r\n public paymentOrigin: EnumModel;\r\n\r\n constructor() {\r\n this.purpose = new EnumModel();\r\n this.type = new EnumModel();\r\n }\r\n}\r\n\r\nexport class InvoiceDetailModel {\r\n public id: number;\r\n public guestId?: number;\r\n public partnerId?: number;\r\n public invoiceNo: number;\r\n public bookingId: number;\r\n public bookingNo: string;\r\n public dateCreated: Date;\r\n public status: EnumModel;\r\n public customerName: string;\r\n public amount: number;\r\n public paid: number;\r\n public balance: number;\r\n}\r\n\r\nexport class BookingInfoModel {\r\n public bookingId: number;\r\n public bookingRef: string;\r\n public promoCode: string;\r\n public bookingSourceName: string;\r\n public status: string;\r\n public booker: string;\r\n public people: number;\r\n public arrival: Date;\r\n public departure: Date;\r\n public total: number;\r\n public balance: number;\r\n public canBeInvoiced: boolean;\r\n public cancellationValue?: number;\r\n public partnerId?: number;\r\n public partnerShortName: string;\r\n public notes: string;\r\n public otaRef: string;\r\n public otaChannel: string;\r\n public virtualCardNotes: string;\r\n public source: string;\r\n\r\n constructor() {\r\n this.cancellationValue = null;\r\n }\r\n}\r\n\r\nexport class BookingLogModel {\r\n public date: Date;\r\n public entity: string;\r\n public operation: string;\r\n public username: string;\r\n public description: string;\r\n}\r\n\r\nexport class BookingPrintModel {\r\n public bookingNo: string;\r\n public amount: number;\r\n public isRefund: boolean;\r\n}\r\n\r\nexport class BookingSummaryModel {\r\n public guestName: string;\r\n public bookingReference: string;\r\n public source: string;\r\n public notes: string;\r\n public rooms: string;\r\n public extrasTotal: string;\r\n public bookingTotal: string;\r\n public depositPaid: string;\r\n public balance: string;\r\n}\r\n","import { GuestModel } from './guest-info.model';\r\nimport { SaleItemModel } from '../cost-center/sale-item.model';\r\nimport { RoomBaseModel } from '../room/room-base.model';\r\nimport { BookingSearchRoomModel, DiscountPolicyModel, RatePlanBookingResultModel } from './booking-search.model';\r\nimport { BookingPaymentModel } from './booking-details.model';\r\nimport DataSource from 'devextreme/data/data_source';\r\nimport { BookingGuestDetailModel } from './booking-all-details.model';\r\nimport { EnumModel } from '../shared/enum-model';\r\n\r\nexport class BookingFlowModel {\r\n public bookingRoom: BookingGridModel[] = [];\r\n public guests: BookingGuestDetailModel[] = [];\r\n public bookingExtras: SaleItemBookingModel[] = [];\r\n public bookingPayment: BookingPaymentModel;\r\n public bookingNotes: string;\r\n public bookingStatus: string;\r\n public bookingSourceId: string;\r\n public partnerId: number;\r\n public promoCode: string;\r\n public userId: number;\r\n public superUserId: number;\r\n public propertyId: number;\r\n public discountPolicy: DiscountPolicyModel;\r\n public sendEmail: boolean;\r\n\r\n constructor() {\r\n this.bookingPayment = new BookingPaymentModel();\r\n this.discountPolicy = new DiscountPolicyModel();\r\n }\r\n}\r\n\r\nexport class BookingGridModel {\r\n public bookingId: number;\r\n public checked: boolean;\r\n public bookingFrom: Date;\r\n public bookingTo: Date;\r\n public room: BookingSearchRoomModel;\r\n public roomId: number;\r\n public roomTypeId: number;\r\n public roomTypeName: string;\r\n public ratePlan: RatePlanBookingResultModel;\r\n public ratePlanId: number;\r\n public maxOccupancy: number;\r\n public adults: number;\r\n public children: number;\r\n public price: number;\r\n public standardPrice: number;\r\n public suggestedPrice: number;\r\n public duration: number;\r\n\r\n public rooms: RoomBaseModel[] = [];\r\n public ratePlans: RatePlanBookingResultModel[] = [];\r\n public roomTypes: string[] = [];\r\n public discountModel: DiscountPolicyModel;\r\n public originalRoomId?: number;\r\n public originalRoom?: string;\r\n}\r\n\r\nexport class SaleItemBookingModel {\r\n public bookingRoomId: number;\r\n public saleItemId: number;\r\n public chargeType: string;\r\n public dateFrom: string;\r\n public dateTo: string;\r\n public quantity: number;\r\n public price: number;\r\n public total: number;\r\n public notes: string;\r\n \r\n public disabledSaleItem: boolean;\r\n public disabledDateFrom: boolean;\r\n public disabledDateTo: boolean;\r\n public disabledQuantity: boolean;\r\n public disabledPrice: boolean;\r\n\r\n public saleItemsSource: SaleItemModel[] = [];\r\n public minDate: string;\r\n public maxDate: string;\r\n // public saleItemsSource: DataSource;\r\n}\r\n\r\nexport class BookingAddRoomGridModel {\r\n public bookingId: number;\r\n public checked: boolean;\r\n public bookingFrom: Date;\r\n public bookingTo: Date;\r\n public room: BookingSearchRoomModel;\r\n public roomId: number;\r\n public roomTypeId: number;\r\n public roomTypeName: string;\r\n public ratePlan: RatePlanBookingResultModel;\r\n public ratePlanId: number;\r\n public maxOccupancy: number;\r\n public adults: number;\r\n public children: number;\r\n public price: number;\r\n public standardPrice: number;\r\n public suggestedPrice: number;\r\n public enquiry: boolean;\r\n public duration: number;\r\n public status: EnumModel;\r\n\r\n public rooms: BookingSearchRoomModel[] = [];\r\n public ratePlans: RatePlanBookingResultModel[] = [];\r\n public roomTypes: string[] = [];\r\n public discountModel: DiscountPolicyModel;\r\n\r\n constructor() {\r\n this.status = new EnumModel();\r\n }\r\n}\r\n","export class BookingNoteModel {\r\n public bookingRef: string;\r\n public note: string;\r\n}\r\n","import { GridConfiguration, GridRequest } from '../../shared/helpers/dx-grid-helper';\r\n\r\nexport class BookingSearchBrokenPaymensModel extends GridConfiguration {\r\n constructor() {\r\n super();\r\n this.columns = [\r\n {\r\n dataField: 'Date',\r\n cellTemplate: 'Date',\r\n caption: 'Date',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 100,\r\n },\r\n {\r\n dataField: 'AuthCode',\r\n cellTemplate: 'AuthCode',\r\n caption: 'Auth Code',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 100,\r\n },\r\n {\r\n dataField: 'Amount',\r\n cellTemplate: 'Amount',\r\n caption: 'Amount',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 75,\r\n },\r\n {\r\n dataField: 'CardMask',\r\n cellTemplate: 'CardMask',\r\n caption: 'Card Mask',\r\n allowSorting: false,\r\n alignment: 'center',\r\n width: 125,\r\n },\r\n {\r\n dataField: 'CustomerName',\r\n cellTemplate: 'CustomerName',\r\n caption: 'Customer Name',\r\n allowSorting: false,\r\n alignment: 'center',\r\n width: 150,\r\n },\r\n {\r\n dataField: 'bookingNo',\r\n cellTemplate: 'bookingNo',\r\n caption: 'Booking No',\r\n allowSorting: false,\r\n alignment: 'center',\r\n width: 100,\r\n },\r\n {\r\n dataField: 'Description',\r\n cellTemplate: 'Description',\r\n caption: 'Description',\r\n allowSorting: false,\r\n alignment: 'left',\r\n width: 290,\r\n },\r\n { cellTemplate: 'fix', caption: '', allowSorting: false, alignment: 'center', width: 30 },\r\n { cellTemplate: 'removedPayment', caption: '', allowSorting: false, alignment: 'center', width: 30 },\r\n ];\r\n\r\n this.customSearch = [\r\n {\r\n fieldName: 'searchString',\r\n value: '',\r\n },\r\n ];\r\n\r\n this.pager = {\r\n showPageSizeSelector: false,\r\n showNavigationButtons: true,\r\n allowedPageSizes: [20],\r\n pageSize: 20,\r\n showInfo: false,\r\n };\r\n\r\n this.paging = {\r\n enabled: true,\r\n pageIndex: 0,\r\n pageSize: 20,\r\n };\r\n }\r\n\r\n mapGridRequest(gridRequest: GridRequest, loadOptions: any) {\r\n super.mapGridRequest(gridRequest, loadOptions);\r\n gridRequest.options.customSearch = this.customSearch;\r\n }\r\n}\r\n\r\nexport class BookingBrokenPayments {\r\n public caterPayLogId: number;\r\n public date: Date;\r\n public transactionId: string;\r\n public authCode: string;\r\n public amount: number;\r\n public isActiveSchoolUser: boolean;\r\n public cardMask: string;\r\n public customerName: string;\r\n public userName: string;\r\n public bookingId?: number;\r\n public bookingNo?: string;\r\n public description?: string;\r\n public fixed?: boolean;\r\n public lastName: string;\r\n public customerEmail: string;\r\n public descriptionWithLabels?: string;\r\n public removedPayment: boolean;\r\n public isFunction: boolean;\r\n}\r\n\r\nexport class BookingsForBrokenPaymentsModel {\r\n public email: string;\r\n public parameters: string[];\r\n public functionSearch: boolean;\r\n}\r\n\r\nexport class FilteredBookingDataModel {\r\n public id: number;\r\n public bookingNo: string;\r\n public bookingDates: string;\r\n public bookedOnDate: Date;\r\n public guest: string;\r\n public notes: string;\r\n public total: number;\r\n public balance: number;\r\n public status: string;\r\n public canceledWithPenalty: boolean;\r\n public penaltyType: string;\r\n public nights: number;\r\n public madeBy: string;\r\n public hasExtras: boolean;\r\n public hasUninvoicedItems: boolean;\r\n public dateCancelled: Date;\r\n public isFunction: boolean;\r\n}\r\n","import { RoomBaseModel } from '../room/room-base.model';\r\nimport { EnumModel } from '../shared/enum-model';\r\n\r\nexport class BookingSearchModel {\r\n public from: string;\r\n public to: string;\r\n public adults = 1;\r\n public children = 0;\r\n public beddingArrangement: EnumModel[] = [];\r\n public ratePlanId?: number;\r\n public promoCode: string;\r\n public partnerId?: number;\r\n public bookingId: number;\r\n\r\n constructor() {\r\n this.beddingArrangement = null;\r\n this.ratePlanId = null;\r\n this.partnerId = null;\r\n }\r\n}\r\n\r\nexport class BookingSearchResultModel {\r\n public arrive: Date;\r\n public depart: Date;\r\n public roomTypeId: number;\r\n public roomTypeName: string;\r\n public available: number;\r\n public ratePlans: RatePlanBookingResultModel[] = [];\r\n public rooms: BookingSearchRoomModel[] = [];\r\n public discountModel: DiscountPolicyModel;\r\n public availabilityRestriction: boolean;\r\n public availabilityStatus: string;\r\n public assignedRoomId?: number;\r\n public originalRoomId?: number;\r\n public originalRoom: string;\r\n\r\n // added new properties\r\n public chosenRooms: number;\r\n}\r\n\r\nexport class DiscountPolicyModel {\r\n public discountType: string;\r\n public discountValue: number;\r\n}\r\n\r\nexport class RatePlanBookingResultModel {\r\n public id: number;\r\n public name: string;\r\n public shortName: string;\r\n public description: string;\r\n public price: number;\r\n public maxOccupancy: number;\r\n\r\n // added new properties\r\n public checked = false;\r\n public required = 1;\r\n public priceView: number;\r\n public isLast: boolean;\r\n}\r\n\r\nexport class BookingSearchRoomModel {\r\n public id: number;\r\n public shortName: string;\r\n public fullName: string;\r\n public ratePlanId?: number;\r\n public virtualRooms: BookingSearchRoomModel[] = [];\r\n}\r\n","export class BookingTooltipModelRoom {\r\n bookingId: number;\r\n bookingNo: string;\r\n booker: string;\r\n guest: string;\r\n roomTypeShortName: string;\r\n ratePlanShortName: string;\r\n from: Date;\r\n to: Date;\r\n notes: string;\r\n status: string;\r\n occupancy: number;\r\n completed: boolean;\r\n children: number;\r\n adults: number;\r\n total: number;\r\n balance: number;\r\n\r\n constructor() {}\r\n}\r\n\r\nexport class BookingTooltipModelEvent {\r\n dateFrom: Date;\r\n dateTo: Date;\r\n name: string;\r\n details: string;\r\n}\r\n\r\nexport class BookingToolTipTotalRowModel {\r\n totalBookedRooms: number;\r\n totalResidentGuests: number;\r\n}\r\n\r\n\r\n","import { DiscountPolicyModel } from './booking-search.model';\r\n\r\nexport class CalculateRoomPriceRequestModel {\r\n public roomTypeId: number;\r\n public ratePlanId: number;\r\n public arrive: string;\r\n public depart: string;\r\n public adults: number;\r\n public children: number;\r\n public discount: DiscountPolicyModel;\r\n\r\n constructor() {\r\n this.discount = new DiscountPolicyModel();\r\n }\r\n}\r\n","/**\r\n * When changing this model be aware that\r\n * there is a less interperetation of it in\r\n * the global style.less file that also needs to be changed.\r\n */\r\nexport default class CalendarLegendColorModel {\r\n public colors: CalendarColorsModel;\r\n constructor() {\r\n this.colors = new CalendarColorsModel();\r\n }\r\n}\r\n\r\nexport class CalendarColorsModel {\r\n events: string;\r\n toArrive: string;\r\n checkIn: string;\r\n checkOut: string;\r\n enquired: string;\r\n unavailable: string;\r\n maintenance: string;\r\n warningInfo: string;\r\n constructor(\r\n c1 = '#1e90ff',\r\n c2 = '#55c1f0',\r\n c3 = '#017ab8',\r\n c4 = '#FFaC74',\r\n c5 = '#Ffd948',\r\n c6 = '#C19777',\r\n c7 = '#Bfbfbf',\r\n c8 = '#ff0000'\r\n ) {\r\n this.events = c1;\r\n this.toArrive = c2;\r\n this.checkIn = c3;\r\n this.checkOut = c4;\r\n this.enquired = c5;\r\n this.unavailable = c6;\r\n this.maintenance = c7;\r\n this.warningInfo = c8;\r\n }\r\n}\r\n","import { RoomTypeBaseModel } from '../room-type/room-type-base.model';\r\nimport { RatePlanBaseModel } from '../rate-plan/rate-plan-base.model';\r\nimport { PartnerModel } from '../partners/partner.model';\r\nimport { GuestModel } from './guest-info.model';\r\nimport { EnumModel } from '../shared/enum-model';\r\nimport { CountryModel } from '../account/country.model';\r\nimport { BookingGuestDetailModel } from './booking-all-details.model';\r\nimport { BookingPaymentModel } from './booking-details.model';\r\n\r\nexport class CalendarNewBookingPDModel {\r\n public booking: CalendarBookingModel;\r\n public roomTypes: RoomTypeBaseModel[] = [];\r\n public ratePlans: RatePlanBaseModel[] = [];\r\n public partners: PartnerModel[] = [];\r\n public bookingStatus: EnumModel[] = [];\r\n public countries: CountryModel[] = [];\r\n public bookingPaymentTypes: EnumModel[] = [];\r\n public titles: EnumModel[] = [];\r\n public roomShortName: string;\r\n public showEmailCheckBox: boolean;\r\n public noShowAvailable: boolean;\r\n\r\n constructor() {\r\n this.booking = new CalendarBookingModel();\r\n }\r\n}\r\n\r\nexport class CalendarEditBookingPDModel extends CalendarNewBookingPDModel {\r\n public statuses: string[] = [];\r\n}\r\n\r\nexport class CalendarBookingModel {\r\n public calendarId: number;\r\n public partnerId?: number;\r\n public bookingRoom: CalendarNewBookingRoomModel;\r\n public guests: BookingGuestDetailModel[] = [];\r\n public bookingStatus: string;\r\n public bookingPayment: BookingPaymentModel; \r\n public bookingNote: string;\r\n public bookingNo: string;\r\n public bookingId: string;\r\n public userId?: number;\r\n public superUserId?: number;\r\n public sendEmail: boolean;\r\n\r\n constructor() {\r\n this.bookingRoom = new CalendarNewBookingRoomModel();\r\n this.bookingPayment = new BookingPaymentModel();\r\n }\r\n}\r\n\r\nexport class CalendarNewBookingRoomModel {\r\n public id: number;\r\n public roomId: number;\r\n public bookingFrom: string;\r\n public bookingTo: string;\r\n public roomTypeId: number;\r\n public ratePlanId: number;\r\n public adults = 1;\r\n public children = 0;\r\n public totalPrice: number;\r\n public status: string;\r\n\r\n // added new properties\r\n public suggestedPrice: number;\r\n}\r\n\r\nexport class CalendarNewBookingGuestModel {\r\n public guestId?: number;\r\n public guest: GuestModel;\r\n\r\n constructor() {\r\n this.guest = new GuestModel();\r\n }\r\n}\r\n","export class CalendarNewBookingRequestModel {\r\n public partnerId?: number;\r\n public roomId: number;\r\n public dateFrom: string;\r\n public dateTo: string;\r\n}\r\n","export class CalendarRequestModel {\r\n public dateFrom: string;\r\n public dateTo: string;\r\n public beddingArrangements: string[] = [];\r\n public activeRoomTypes: number[] = [];\r\n public quickBookingId: string;\r\n}\r\n","import { RoomModel } from '../room/rooms-mapping.model';\r\nimport { CalendarModel } from './calendar.model';\r\nimport { EventModel } from './event.model';\r\nimport { FunctionRoomModel } from './../function-room/function-flow.model';\r\nimport { PropertyFunctionRoomModel } from './../function-room/function-room.model';\r\n\r\nexport class CalendarResponseModel {\r\n public beddingTypes: string[];\r\n public activeRoomTypes: ActiveRoomTypes[] = [];\r\n public rooms: CalendarRoomModel[] = [];\r\n public events: EventModel[] = [];\r\n public shuffle: CalendarModel[] = [];\r\n public total: CalendarFooterModel[] = [];\r\n public functionRooms: CalendarFunctionModel[] = [];\r\n}\r\n\r\nexport class CalendarRoomModel extends RoomModel {\r\n public calendarList: CalendarModel[] = [];\r\n \r\n}\r\n\r\nexport class ActiveRoomTypes {\r\n public id: number;\r\n public name: string;\r\n}\r\n\r\nexport class CalendarFunctionModel extends PropertyFunctionRoomModel {\r\n public calendarList: CalendarModel[] = [];\r\n public isFunction: boolean;\r\n}\r\n\r\nexport class CalendarFooterModel {\r\n public date: string;\r\n public total: number;\r\n}\r\n\r\nexport class CalendarFunctionSplitModel {\r\n public roomName: string;\r\n public amEventName: string;\r\n public amFunctionId?: number;\r\n public amFunctionStatus: string;\r\n public amFunctionNo: string;\r\n public pmEventName: string;\r\n public pmFunctionId?: number;\r\n public pmFunctionStatus: string;\r\n public pmFunctionNo: string;\r\n public eveEventName: string;\r\n public eveFunctionId?: number;\r\n public eveFunctionStatus: string;\r\n public eveFunctionNo: string;\r\n public amClassName: string;\r\n public pmClassName: string;\r\n public eveClassName: string;\r\n\r\n}\r\n","import { EventModel } from './event.model';\r\nimport { CalendarModel } from './calendar.model';\r\n\r\nexport class Unit {\r\n text: string;\r\n id: number;\r\n color: string;\r\n\r\n constructor(id?: number, text?: string, color?: string) {\r\n this.id = id;\r\n this.text = text;\r\n this.color = color;\r\n }\r\n}\r\n\r\nexport class CalendarSchedulerModel {\r\n calendarId: number;\r\n text: string;\r\n ownerId: number[];\r\n unitId: number;\r\n startDate: Date;\r\n endDate: Date;\r\n allDay = true;\r\n color: string;\r\n calendar: CalendarModel;\r\n event: EventModel;\r\n shuffle: CalendarModel;\r\n roomTypeShortName: string;\r\n showTooltip: boolean;\r\n\r\n constructor(\r\n calendarId?: number,\r\n text?: string,\r\n ownerId?: number[],\r\n unitId?: number,\r\n startDate?: Date,\r\n endDate?: Date,\r\n allDay?: boolean,\r\n color?: string,\r\n calendar?: CalendarModel,\r\n event?: EventModel,\r\n shuffle?: CalendarModel,\r\n roomTypeShortName?: string\r\n ) {\r\n this.calendarId = calendarId;\r\n this.text = text;\r\n this.ownerId = ownerId;\r\n this.unitId = unitId;\r\n this.startDate = startDate;\r\n this.endDate = endDate;\r\n this.allDay = allDay;\r\n this.color = color;\r\n this.calendar = calendar;\r\n this.event = event;\r\n this.shuffle = shuffle;\r\n this.roomTypeShortName = roomTypeShortName;\r\n this.showTooltip = false;\r\n }\r\n}\r\n","import { CalendarModel } from './calendar.model';\r\nimport { EnumModel } from '../shared/enum-model';\r\n\r\nexport class CalendarStatusPDModel {\r\n public calendar: CalendarModel;\r\n public statuses: EnumModel[] = [];\r\n\r\n constructor() {\r\n this.calendar = new CalendarModel();\r\n }\r\n}\r\n","import { CalendarFunctionSplitModel } from \"./calendar-response.model\";\r\n\r\nexport class CalendarModel {\r\n public id: number;\r\n public propertyId: number;\r\n public roomId: number;\r\n public dateFrom: string;\r\n public dateTo: string;\r\n public calendarStatus?: string;\r\n public bookingRoomStatus?: string;\r\n public bookingRoomId?: number;\r\n public bookingRef?: number;\r\n public description: string;\r\n public daysInRange: number;\r\n public fullyPaid: boolean;\r\n public title: string;\r\n public warningInfo: string;\r\n public locked: boolean;\r\n\r\n public morningSession: boolean;\r\n public afternoonSession: boolean;\r\n public eveningSession: boolean;\r\n public calendarFunctionSplitModel: CalendarFunctionSplitModel;\r\n}\r\n","export class EligibleRoomTypesRequestModel {\r\n public bookingId: number;\r\n public ratePlanId: number;\r\n public from: string;\r\n public to: string;\r\n public adults: number;\r\n public children: number;\r\n public bediingType: string;\r\n public bookingRoomId: number;\r\n}\r\n","export class EventModel {\r\n public id: number;\r\n public propertyId: number;\r\n public name: string;\r\n public description: string;\r\n public dateFrom: string;\r\n public dateTo: string;\r\n public dateCreated: Date;\r\n public active: boolean;\r\n public daysInRange: number;\r\n}\r\n","import { BookingOtaDetailsModel } from \"./booking-ota-details.model\";\r\n\r\nexport class FinishBookingPaymentResponseModel {\r\n public action: string;\r\n public amount: string;\r\n public authCode: string;\r\n public reference: string;\r\n public responseCode: string;\r\n public responseMessage: string;\r\n public bookingId: string;\r\n public otaDetails: BookingOtaDetailsModel;\r\n public bookingPaymentId: number;\r\n}\r\n","export class UpdateCalendarBookingModel{\r\n public CalendarId : number;\r\n public PartnerId? : number;\r\n public BookingNote : string;\r\n public BookingFrom : string;\r\n public BookingTo : string;\r\n public RoomTypeId : number;\r\n public RatePlanId : number;\r\n public Adults : number;\r\n public Children : number;\r\n public BookingId : number;\r\n public BookingRoomId : number;\r\n public BookingStatus? : string;\r\n public BookingGuestId : number;\r\n public GuestId : number;\r\n public Title : string;\r\n public FirstName : string;\r\n public LastName : string;\r\n public Address1 : string;\r\n public Phone : string;\r\n public Email : string;\r\n}\r\n","export class UpdateCalendarModel {\r\n public calendarId: number;\r\n public roomId: number;\r\n public roomTypeId: number;\r\n public from: string;\r\n public to: string;\r\n public forceChangeRoomType: boolean;\r\n public isCalendar: boolean;\r\n}\r\n","export class UpdateEventCalendarModel {\r\n public eventId: number;\r\n public dateFrom: string;\r\n public dateTo: string;\r\n}\r\n","import { BookingExtraDetailModel } from \"../booking/booking-all-details.model\";\r\n\r\nexport class MoveEposModel {\r\n public fromBookingId: number;\r\n public selectedItems: BookingExtraDetailModel[];\r\n public toBookingId: number;\r\n public toBookingRoomId: number;\r\n}","import { GridConfiguration, GridRequest } from '../../shared/helpers/dx-grid-helper';\r\n\r\nexport class GuestListGridResponseModel extends GridConfiguration {\r\n constructor() {\r\n super();\r\n this.columns = [\r\n {\r\n dataField: 'fullName',\r\n cellTemplate: 'fullName',\r\n caption: 'Name',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 150,\r\n },\r\n {\r\n dataField: 'email',\r\n cellTemplate: 'email',\r\n caption: 'Email',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 'fit-content',\r\n },\r\n {\r\n dataField: 'country',\r\n cellTemplate: 'country',\r\n caption: 'Country',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 120,\r\n },\r\n {\r\n dataField: 'address1',\r\n cellTemplate: 'address1',\r\n caption: 'Address',\r\n allowSorting: true,\r\n alignment: 'left',\r\n width: 200,\r\n },\r\n {\r\n dataField: 'numberOfBookings',\r\n cellTemplate: 'numberOfBookings',\r\n caption: 'Bookings',\r\n allowSorting: false,\r\n alignment: 'center',\r\n width: 100,\r\n },\r\n { cellTemplate: 'editGuest', caption: '', allowSorting: false, alignment: 'center', width: 70 },\r\n { cellTemplate: 'viewGuestBookings', caption: '', allowSorting: false, alignment: 'center', width: 70 },\r\n ];\r\n\r\n this.customSearch = [\r\n {\r\n fieldName: 'searchString',\r\n value: '',\r\n },\r\n ];\r\n\r\n this.pager = {\r\n showPageSizeSelector: true,\r\n showNavigationButtons: true,\r\n allowedPageSizes: [10, 15, 20],\r\n pageSize: 10,\r\n showInfo: false,\r\n };\r\n\r\n this.selection = {\r\n mode: 'multiple',\r\n allowSelectAll: false,\r\n selectAllMode: 'page',\r\n };\r\n }\r\n\r\n mapGridRequest(gridRequest: GridRequest, loadOptions: any) {\r\n super.mapGridRequest(gridRequest, loadOptions);\r\n gridRequest.options.customSearch = this.customSearch;\r\n }\r\n}\r\n","import { EnumModel } from './../shared/enum-model';\r\n\r\nexport class GuestMergeViewModel {\r\n public id: number;\r\n public firstName: string;\r\n public lastName: string;\r\n public email: string;\r\n public country: string;\r\n public address1: string;\r\n public address2: string;\r\n public address3: string;\r\n public postalCode: string;\r\n public phone: string;\r\n public phone2: string;\r\n public title: EnumModel;\r\n public newsletter: boolean;\r\n public numberOfBookings: number;\r\n public countryId: number;\r\n public fullName: string;\r\n}\r\n","export class RoomBaseModel {\r\n public id: number;\r\n public fullName: string;\r\n public shortName: string;\r\n public ratePlanId?: number;\r\n\r\n constructor(id?: number, fullName?: string, shortName?: string) {\r\n this.id = id;\r\n this.fullName = fullName;\r\n this.shortName = shortName;\r\n }\r\n}\r\n\r\nexport class PartnerBaseModel {\r\n public partnerId: number;\r\n public name: string;\r\n}\r\n\r\nexport class SourceBaseModel {\r\n public sourceId: number;\r\n public name: string;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BookingSearchResultModel } from 'src/app/models/booking/booking-search.model';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class BookingCommonService{\r\n\r\n constructor() { }\r\n\r\n getAvailabilityRestrictionMessage(roomType: BookingSearchResultModel): String {\r\n switch (roomType.availabilityStatus) {\r\n case \"Closed\":\r\n return \"Room type is set to closed on or within these dates\";\r\n case \"ClosedOnArrival\":\r\n return \"Room type is set to closed on arrival/departure on or within these dates\";\r\n case \"Unavailable\":\r\n return \"Room type is set to unavailable on or within these dates\";\r\n case \"EnquiryOnly\":\r\n return \"Room type is set to enquiry only on or within these dates\"\r\n case \"Available\":\r\n return \"\";\r\n default: \r\n return \"Rateplan has no pricing defined for this date range\";\r\n }\r\n}\r\n\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { SharedModule } from 'src/app/shared/shared.module';\r\nimport { CalendarComponent } from './calendar/calendar.component';\r\nimport { AuthGuardCompleteUser, AuthGuardUserByRole } from 'src/app/shared/auth-guards/auth-guard.service';\r\nimport { RouterModule, mapToCanActivate } from '@angular/router';\r\nimport { CalendarDetailsComponent } from './calendar/calendar-details/calendar-details.component';\r\nimport { CalendarEventDetailsComponent } from './calendar/calendar-event-details/calendar-event-details.component';\r\nimport { CalendarStatusComponent } from './calendar/calendar-status/calendar-status.component';\r\nimport { CalendarService } from './calendar/calendar.service';\r\nimport { SettingsBookingSearchComponent } from './settings-booking-search/settings-booking-search.component';\r\nimport { BookingsSearchPdResolver } from './settings-booking-search/bookings-search-resolver.service';\r\nimport { SettingsNewBookingComponent } from './settings-new-booking/settings-new-booking.component';\r\nimport { BookingDetailsComponent } from './settings-booking-detail/booking-details.component';\r\nimport { BookingDetailsResolver } from './settings-booking-detail/booking-details-resolver.service';\r\nimport { SettingsGuestListComponent } from './settings-guest-list/settings-guest-list.component';\r\nimport { SettingsBookingBrokenPaymentsComponent } from './settings-booking-broken-payments/settings-booking-broken-payments.component';\r\nimport { BrokenPaymentsBookingSearchComponent } from './settings-booking-broken-payments/broken-payments-booking-search/broken-payments-booking-search.component';\r\nimport { BookingDetailsRoomsComponent } from './settings-booking-detail/booking-details-rooms/booking-details-rooms.component';\r\nimport { BookingDetailsExtrasComponent } from './settings-booking-detail/booking-details-extras/booking-details-extras.component';\r\nimport { BookingDetailsGuestsComponent } from './settings-booking-detail/booking-details-guests/booking-details-guests.component';\r\nimport { BookingDetailsPaymentComponent } from './settings-booking-detail/booking-details-payment/booking-details-payment.component';\r\nimport { BookingDetailsAddRoomsComponent } from './settings-booking-detail/booking-details-add-rooms/booking-details-add-rooms.component';\r\nimport { BookingDetailsAddInvoiceComponent } from './settings-booking-detail/booking-details-add-invoice/booking-details-add-invoice.component';\r\nimport { ConfirmInvoiceAllPopupComponent } from './settings-booking-detail/confirm-invoice-all-popup/confirm-invoice-all-popup.component';\r\nimport { BookingDetailsCreateInvoicePreviewComponent } from './settings-booking-detail/booking-details-add-invoice/booking-details-create-invoice-preview/booking-details-create-invoice-preview.component';\r\nimport { CardsListModalComponent } from './settings-booking-detail/booking-details-payment/cards-list-modal/cards-list-modal.component';\r\nimport { NoteEditComponent } from './settings-booking-detail/note-edit/note-edit.component';\r\nimport { GuestListEditComponent } from './settings-guest-list/guest-list-edit/guest-list-edit.component';\r\nimport { GuestListMergeComponent } from './settings-guest-list/guest-list-merge/guest-list-merge.component';\r\nimport { GuestListBookingsComponent } from './settings-guest-list/guest-list-bookings/guest-list-bookings.component';\r\nimport { BookingPrintSummaryComponent } from './settings-booking-detail/booking-print-summary/booking-print-summary.component';\r\nimport { NewBookingService } from './settings-new-booking/new-booking.service';\r\nimport { SettingsBookingSearchService } from './settings-booking-search/settings-booking-search.service';\r\nimport { SettingsBookingBrokenPaymentsService } from './settings-booking-broken-payments/settings-booking-broken-payments.service';\r\nimport { NewFunctionService } from '../function/settings-new-function/new-function.service';\r\n\r\nimport {\r\n DxTagBoxModule,\r\n DxContextMenuModule,\r\n DxDateBoxModule,\r\n DxPopoverModule,\r\n DxSelectBoxModule,\r\n DxDataGridModule,\r\n DxTextBoxModule,\r\n DxTooltipModule,\r\n DxRadioGroupModule,\r\n DxTabsModule,\r\n DxTabPanelModule,\r\n} from 'devextreme-angular';\r\nimport { BookingDetailsMoveExtrasComponent } from './settings-booking-detail/booking-details-move-extras/booking-details-move-extras.component';\r\nimport { BookingReportMisconductComponent } from './settings-booking-detail/booking-report-misconduct/booking-report-misconduct.component';\r\nimport { BookingBulkEditComponent } from './settings-booking-detail/booking-bulk-edit/booking-bulk-edit.component';\r\n\r\nconst bookingRoutes = [\r\n { path: 'calendar', canActivate: mapToCanActivate([AuthGuardCompleteUser]), component: CalendarComponent },\r\n {\r\n path: 'search',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor', 'Receptionist', 'BookingOnly'] },\r\n component: SettingsBookingSearchComponent,\r\n resolve: { pdData: BookingsSearchPdResolver },\r\n },\r\n {\r\n path: 'new',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor', 'Receptionist', 'BookingOnly'] },\r\n component: SettingsNewBookingComponent,\r\n },\r\n {\r\n path: 'details/:bookingId',\r\n canActivate: mapToCanActivate([AuthGuardCompleteUser]),\r\n component: BookingDetailsComponent,\r\n resolve: { bookingAllDetails: BookingDetailsResolver },\r\n },\r\n {\r\n path: 'guest-records',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor'] },\r\n component: SettingsGuestListComponent,\r\n },\r\n {\r\n path: 'details/:bookingId/finance/:paymentNo',\r\n canActivate: mapToCanActivate([AuthGuardCompleteUser]),\r\n component: BookingDetailsComponent,\r\n resolve: { bookingAllDetails: BookingDetailsResolver },\r\n },\r\n {\r\n path: 'details/:bookingId/finance',\r\n canActivate: mapToCanActivate([AuthGuardCompleteUser]),\r\n component: BookingDetailsComponent,\r\n resolve: { bookingAllDetails: BookingDetailsResolver },\r\n },\r\n {\r\n path: 'broken-payments',\r\n canActivate: mapToCanActivate([AuthGuardCompleteUser]),\r\n component: SettingsBookingBrokenPaymentsComponent,\r\n },\r\n { path: 'broken-payments', canActivate: mapToCanActivate([AuthGuardCompleteUser]), component: BrokenPaymentsBookingSearchComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n RouterModule.forChild(bookingRoutes),\r\n SharedModule,\r\n DxTagBoxModule,\r\n DxContextMenuModule,\r\n DxDateBoxModule,\r\n DxSelectBoxModule,\r\n DxDataGridModule,\r\n DxPopoverModule,\r\n DxTextBoxModule,\r\n DxTooltipModule,\r\n DxRadioGroupModule,\r\n DxTabsModule,\r\n DxTabPanelModule,\r\n ],\r\n providers: [CalendarService, NewBookingService, BookingDetailsResolver, SettingsBookingBrokenPaymentsService, NewFunctionService],\r\n bootstrap: [CalendarComponent],\r\n declarations: [\r\n CalendarComponent,\r\n CalendarDetailsComponent,\r\n CalendarEventDetailsComponent,\r\n CalendarStatusComponent,\r\n SettingsBookingSearchComponent,\r\n SettingsNewBookingComponent,\r\n BookingDetailsComponent,\r\n SettingsGuestListComponent,\r\n SettingsBookingBrokenPaymentsComponent,\r\n BookingDetailsRoomsComponent,\r\n BookingDetailsExtrasComponent,\r\n BookingDetailsGuestsComponent,\r\n BookingDetailsPaymentComponent,\r\n BookingDetailsAddRoomsComponent,\r\n BookingDetailsAddInvoiceComponent,\r\n ConfirmInvoiceAllPopupComponent,\r\n BookingDetailsCreateInvoicePreviewComponent,\r\n CardsListModalComponent,\r\n NoteEditComponent,\r\n GuestListEditComponent,\r\n GuestListMergeComponent,\r\n GuestListBookingsComponent,\r\n BookingPrintSummaryComponent,\r\n BrokenPaymentsBookingSearchComponent,\r\n BookingDetailsMoveExtrasComponent,\r\n BookingReportMisconductComponent,\r\n BookingBulkEditComponent,\r\n\r\n ],\r\n})\r\nexport class BookingModule {}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { CalendarService } from '../calendar.service';\r\nimport { CalendarNewBookingPDModel } from '../../../../models/booking/calendar-new-booking-pd.model';\r\nimport { CalendarNewBookingRequestModel } from '../../../../models/booking/calendar-new-booking-request.model';\r\nimport { CalculateRoomPriceRequestModel } from '../../../../models/booking/calculate-room-price-request.model';\r\nimport { UpdateCalendarBookingModel } from '../../../../models/booking/update-calendar-booking.model';\r\nimport { DiscountPolicyModel } from '../../../../models/booking/booking-search.model';\r\nimport { PartnerModel } from '../../../../models/partners/partner.model';\r\nimport { BookingGuestDetailModel, BookingRoomDetailModel, GuestDetail } from '../../../../models/booking/booking-all-details.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport CookieHelper from '../../../../shared/helpers/cookie-helper';\r\nimport { TokenContext } from '../../../../models/auth-jwt/token-context';\r\nimport { RoomTypeBaseModel } from '../../../../models/room-type/room-type-base.model';\r\nimport { RoomModel } from '../../../../models/room/rooms-mapping.model';\r\nimport { UpdateCalendarModel } from '../../../../models/booking/update-calendar.model';\r\nimport { BookingDetailPermissionsModel } from '../../../../models/permissions/permissions.model';\r\nimport { PermissionsEnum } from '../../../../enums/permissions.enum';\r\nimport { PermissionsService } from '../../../../shared/services/permissions.service';\r\nimport { NewBookingService } from '../../settings-new-booking/new-booking.service';\r\nimport { BookingDetailsService } from '../../settings-booking-detail/booking-details.service';\r\nimport * as moment from 'moment';\r\nimport { BookingPaymentModel } from '../../../../models/booking/booking-details.model';\r\nimport { CommunicationService } from '../../../../shared/services/communication.service';\r\nimport { ChangeDetectorRef } from '@angular/core';\r\nimport { PciNewBookingModel, PciNewCalendarBookingModel } from '../../../../models/booking/pci-new-booking.model';\r\n//import { timingSafeEqual } from 'crypto';\r\n//import { $ } from 'protractor';\r\nimport { Data, Router } from '@angular/router';\r\nimport { Subject } from 'rxjs';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { CustomValidationService } from 'src/app/shared/services/custom-validation.service';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\nimport { BookingCancellationPolicy } from 'src/app/models/booking/booking-cancellation-policy.model';\r\nimport { PciBookingDetailModel } from 'src/app/models/booking/pci-booking-detail.model';\r\nimport { BookingPaymentType } from 'src/app/enums/booking-payment-type.enum';\r\n\r\n@Component({\r\n selector: 'app-calendar-details',\r\n templateUrl: './calendar-details.component.html',\r\n styleUrls: ['./calendar-details.component.less'],\r\n})\r\nexport class CalendarDetailsComponent implements OnInit {\r\n @Input() newBooking: boolean;\r\n @Output() newBookingChange = new EventEmitter();\r\n @Input() editBooking: boolean;\r\n @Output() editBookingChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Output() deselect = new EventEmitter();\r\n @Input() data: any;\r\n @Output() paymentError = new EventEmitter();\r\n\r\n showForm = false;\r\n loader = false;\r\n loaderCancel = false;\r\n loaderCheck = false;\r\n togglePeople = false;\r\n cancelPopup = false;\r\n checkInConfirm = false;\r\n checkOutConfirm = false;\r\n formSubmitted = false;\r\n\r\n activeTab = 0;\r\n bookingId: number;\r\n bookingRoomId: number;\r\n\r\n dateFrom: Date;\r\n dateTo: Date;\r\n\r\n valForm: UntypedFormGroup;\r\n guestForm: UntypedFormGroup;\r\n financeForm: UntypedFormGroup;\r\n\r\n discountModel = new DiscountPolicyModel();\r\n calendarNewBookingPDModel = new CalendarNewBookingPDModel();\r\n calendarNewBookingRequestModel = new CalendarNewBookingRequestModel();\r\n calculateRoomPriceRequestModel = new CalculateRoomPriceRequestModel();\r\n bookingRoomsList: BookingRoomDetailModel[] = [];\r\n currentRoomTypeModel = new RoomTypeBaseModel();\r\n updateCalendarBookingModel = new UpdateCalendarBookingModel();\r\n roomsList: RoomModel[] = [];\r\n currentRoomModel = new RoomModel();\r\n roomTypesBaseList: RoomTypeBaseModel[] = [];\r\n statusBooking: string;\r\n\r\n // guest properties\r\n showGuestModalFirstTime = false;\r\n addGuest = false;\r\n editGuest = false;\r\n deleteGuest = false;\r\n changeAddLeadGuest = false;\r\n changeAddLeadGuestMessage = '';\r\n changeEditLeadGuest = false;\r\n changeEditLeadGuestMessage = '';\r\n currentGuestId: number;\r\n bookingIdGuests: number;\r\n errorLeadGuest = '';\r\n showLeadGuestError = false;\r\n submitGuestFromCalendar: Subject = new Subject();\r\n currentGuestModel = new BookingGuestDetailModel();\r\n initialGuest = new BookingGuestDetailModel();\r\n oldGuestValue: BookingGuestDetailModel = new BookingGuestDetailModel();\r\n newGuestValue: BookingGuestDetailModel = new BookingGuestDetailModel();\r\n bookingGuestModel = new BookingGuestDetailModel();\r\n bookingPaymentModel = new BookingPaymentModel();\r\n token: TokenContext;\r\n\r\n showExistingGuests = false;\r\n existingGuestsList: BookingGuestDetailModel[] = [];\r\n searchValue: string;\r\n setExistGuest = false;\r\n theme: number;\r\n readOnly = false;\r\n clearGuest = false;\r\n editBookingGuest = false;\r\n\r\n creditCard: string;\r\n creditCardValidation: boolean;\r\n\r\n // finance\r\n pciBookingForm: string;\r\n caterpayForm: string;\r\n showPaymentFormModal = false;\r\n showFinanceForm = false;\r\n\r\n // Exception (COA, COD...)\r\n dateExceptionMessage: string;\r\n confirmDateChange: boolean;\r\n confirmDateNew: boolean;\r\n confirmPaymentError:boolean;\r\n\r\n confirmCheckIn: boolean;\r\n confirmCheckInCheckGuestBefore: boolean;\r\n confirmCheckInMessage: string;\r\n confirmNotifyBcom: boolean;\r\n notifyBcomMessage: string;\r\n\r\n allowNoShow: boolean = false;\r\n confirmNoShowWaiveFees: boolean = false;\r\n confirmCancelWaiveFees: boolean = false;\r\n confirmCancelWaiveFeesMessage: string = 'Booking will be cancelled, do you wish to apply the cancellation penalty?';\r\n confirmNoShowWaiveFeesMessage: string = 'Booking will be set as no-show, do you wish to apply the cancellation penalty?';\r\n\r\n permissionsModel: BookingDetailPermissionsModel;\r\n\r\n //existing guest matching\r\n checkedMatchedGuests: GuestDetail[] = [];\r\n showMatchedGuest: boolean = false;\r\n matchedGuest: GuestDetail;\r\n matchedGuestLoader: boolean = false;\r\n showMatchedGuestMessage: string;\r\n postMatchAction: number;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private calendarService: CalendarService,\r\n private newBookingService: NewBookingService,\r\n private bookingDetailsService: BookingDetailsService,\r\n private toasterService: ToastService,\r\n private permissionsService: PermissionsService,\r\n private communicationService: CommunicationService,\r\n private changeDetector: ChangeDetectorRef,\r\n private router: Router,\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.permissionsModel = this.permissionsService.createPermissionsModel(PermissionsEnum.BookingDetail);\r\n this.token = AuthTokenService.decodeJwtToken();\r\n\r\n this.valForm = fb.group({\r\n dateFrom: [null, Validators.required],\r\n dateTo: [null, Validators.required],\r\n roomType: [null, Validators.required],\r\n ratePlan: [null, Validators.required],\r\n status: [null, Validators.required],\r\n partner: [null],\r\n totalPrice: [null, Validators.compose([Validators.required, Validators.min(0)])],\r\n suggested_price: [null],\r\n note: [null],\r\n });\r\n\r\n this.guestForm = fb.group({\r\n title: [null],\r\n firstName: [null, Validators.compose([Validators.maxLength(50)])],\r\n lastName: [null, Validators.compose([Validators.maxLength(50), Validators.required])],\r\n leadGuest: [null],\r\n email: [null, Validators.compose([Validators.maxLength(50), Validators.email])],\r\n initials: [null, Validators.maxLength(3)],\r\n gender: [null],\r\n telephone: [null, Validators.compose([Validators.maxLength(50)])],\r\n mobilePhone: [null, Validators.compose([Validators.maxLength(50), Validators.pattern(CustomValidationService.telephoneExpression)])],\r\n address1: [null, Validators.maxLength(50)],\r\n address2: [null, Validators.maxLength(50)],\r\n address3: [null, Validators.maxLength(50)],\r\n postCode: [null, Validators.maxLength(50)],\r\n country: [null],\r\n notes: [null],\r\n newsletter: [null], \r\n dialCode1: [null],\r\n dialCode2: [null],\r\n isChild: [null],\r\n });\r\n\r\n this.financeForm = fb.group({\r\n total: [null],\r\n deposit: [null, Validators.min(0)],\r\n type: [null],\r\n date: [new Date(), Validators.required],\r\n });\r\n \r\n this.financeForm.controls['total'].disable();\r\n\r\n this.discountModel.discountType = 'None';\r\n this.discountModel.discountValue = 0;\r\n\r\n window.addEventListener('message', this.postMessageHandlerNewBooking, false);\r\n }\r\n\r\n changeTab(index) {\r\n console.log('Index => ' + index);\r\n\r\n if (index == 1) {\r\n this.getBookingDeposit();\r\n }\r\n else if (index == 2){\r\n // validate guest tab\r\n if (this.submitGuest())\r\n {\r\n this.calendarNewBookingPDModel.booking.guests = [];\r\n this.calendarNewBookingPDModel.booking.guests.push(this.bookingGuestModel);\r\n\r\n const total = this.calendarNewBookingPDModel.booking.bookingRoom.totalPrice;\r\n this.financeForm.patchValue({ total: total.toFixed(2) });\r\n this.matchGuest(index);\r\n return;\r\n }\r\n else{\r\n index--; \r\n } \r\n }\r\n\r\n this.activeTab = index;\r\n }\r\n\r\n classTab1() {\r\n let className = '';\r\n if (this.activeTab === 0) {\r\n className = 'active';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n classTab2() {\r\n let className = '';\r\n if (this.activeTab === 1) {\r\n className = 'active ';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n classTab3() {\r\n let className = '';\r\n if (this.activeTab === 2) {\r\n className = 'active ';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n ngOnInit() {\r\n this.init();\r\n }\r\n\r\n postMessageHandlerNewBooking = (event: any) => {\r\n\r\n if (!event.data.token && !event.data.cardMask && !event.data.bookingId) {\r\n this.showPaymentFormModal = false;\r\n return;\r\n }\r\n console.log('event.data ==>', event.data);\r\n const bookingId: string = event.data.bookingId; \r\n const paymentStatus: string = event.data.paymentStatus;\r\n const bookingStatus: string = event.data.bookingStatus; \r\n const token: string = event.data.token;\r\n const cardMask: string = event.data.cardMask;\r\n\r\n if (bookingId) { \r\n this.showPaymentFormModal = false;\r\n \r\n // store booking id in the local storage for 5 min\r\n this.setBookingIdCookie(bookingId);\r\n \r\n if(paymentStatus === \"failed\")\r\n {\r\n this.paymentError.emit();\r\n }\r\n else\r\n {\r\n this.update.emit();\r\n }\r\n this.loader = false;\r\n this.close();\r\n } \r\n else if (bookingStatus) { \r\n this.showPaymentFormModal = false;\r\n this.confirmPaymentError = true;\r\n this.confirmPaymentError = true;\r\n // insert booking\r\n this.insertBooking();\r\n } \r\n else if (token && cardMask) {\r\n this.loader = true;\r\n const pciNewBookingModel: PciNewCalendarBookingModel = new PciNewCalendarBookingModel();\r\n pciNewBookingModel.bookingFlow = this.calendarNewBookingPDModel.booking;\r\n pciNewBookingModel.pciBookingToken = token;\r\n pciNewBookingModel.cardMask = cardMask;\r\n\r\n this.newBookingService.pciNewCalendarBooking(pciNewBookingModel).subscribe(\r\n (bookingIdFromResponse) => {\r\n this.showPaymentFormModal = false;\r\n \r\n this.setBookingIdCookie(bookingIdFromResponse);\r\n \r\n this.update.emit();\r\n this.loader = false;\r\n this.close();\r\n },\r\n (error) => {\r\n this.toasterService.showToast('Create booking error', error, null, ToastEventType.Error, true, 6000);\r\n this.showPaymentFormModal = false;\r\n }\r\n );\r\n } \r\n };\r\n\r\n setBookingIdCookie(bookingId:string){\r\n CookieHelper.setCookie('calendarHighlightBookingId', bookingId, 120, false);\r\n }\r\n\r\n validateMaxOccupancyAdult() {\r\n // if ((this.calendarNewBookingPDModel.booking.bookingRoom.children +\r\n // this.calendarNewBookingPDModel.booking.bookingRoom.adults) >\r\n // this.currentRoomTypeModel.maximumOccupancy) {\r\n // this.substractAdultNum();\r\n // return;\r\n // }\r\n // this.calculateRoomPrice();\r\n }\r\n\r\n resetAdultChildrenByRoomType() {\r\n if (this.calendarNewBookingPDModel.booking.bookingRoom.adults > this.currentRoomTypeModel.maximumOccupancy) {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.adults = this.currentRoomTypeModel.maximumOccupancy;\r\n }\r\n if (this.calendarNewBookingPDModel.booking.bookingRoom.children > this.currentRoomTypeModel.maximumChildren) {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.children = 0;\r\n }\r\n }\r\n\r\n validateMaxOccupancyChild() {\r\n // if ((this.calendarNewBookingPDModel.booking.bookingRoom.children +\r\n // this.calendarNewBookingPDModel.booking.bookingRoom.adults) > this.currentRoomTypeModel.maximumOccupancy) {\r\n // this.substractChildNum();\r\n // return;\r\n // }\r\n // this.calculateRoomPrice();\r\n }\r\n\r\n getCurrentRoomType() {\r\n this.currentRoomTypeModel = this.getRoomTypeById(this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId);\r\n }\r\n\r\n getRoomTypeById(id: number): RoomTypeBaseModel {\r\n for (const roomType of this.calendarNewBookingPDModel.roomTypes) {\r\n if (id === roomType.id) {\r\n return roomType;\r\n }\r\n }\r\n }\r\n\r\n findRoomInNewList(): boolean {\r\n if (typeof this.currentRoomModel === 'undefined') {\r\n return true;\r\n }\r\n for (const room of this.roomsList) {\r\n if (room.id === this.currentRoomModel.id) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n findLeadGuestForEdit(){\r\n for (const guest of this.calendarNewBookingPDModel.booking.guests) {\r\n if (guest.leadGuest) { \r\n return guest;\r\n }\r\n }\r\n //if no guest in room return empty model\r\n return new BookingGuestDetailModel();\r\n }\r\n\r\n init(requestModel: CalendarNewBookingRequestModel = null, partnerChange: boolean = false) {\r\n const body = document.getElementsByTagName('body')[0];\r\n body.style.overflow = 'hidden';\r\n\r\n if (this.newBooking) {\r\n this.showGuestModalFirstTime = true;\r\n this.addGuest = true;\r\n this.bookingIdGuests = -1;\r\n this.bookingRoomId = this.data.groups.unitId;\r\n\r\n if (requestModel) {\r\n this.calendarNewBookingRequestModel = requestModel;\r\n } else {\r\n this.calendarNewBookingRequestModel.roomId = this.data.groups.unitId;\r\n this.calendarNewBookingRequestModel.dateFrom = new Date(this.data.startDate).toDateString();\r\n this.calendarNewBookingRequestModel.dateTo = new Date(this.data.endDate).toDateString();\r\n }\r\n\r\n this.calendarService.newCalendarBooking(this.calendarNewBookingRequestModel).subscribe(\r\n (response) => {\r\n this.showForm = true;\r\n this.calendarNewBookingPDModel = response;\r\n this.statusBooking = this.calendarNewBookingPDModel.booking.bookingStatus;\r\n this.dateFrom = new Date(this.calendarNewBookingPDModel.booking.bookingRoom.bookingFrom);\r\n this.dateTo = new Date(this.calendarNewBookingPDModel.booking.bookingRoom.bookingTo);\r\n this.calendarNewBookingPDModel.booking.bookingRoom.adults = 1;\r\n this.calendarNewBookingPDModel.booking.bookingRoom.children = 0;\r\n this.calendarNewBookingPDModel.booking.sendEmail = this.calendarNewBookingPDModel.showEmailCheckBox;\r\n this.getCurrentRoomType();\r\n this.getRatePlanByRoomType(partnerChange);\r\n },\r\n (error) => {\r\n this.showForm = partnerChange;\r\n if (partnerChange) {\r\n this.calendarNewBookingPDModel.booking.partnerId = null;\r\n } else {\r\n this.close();\r\n }\r\n }\r\n );\r\n } else if (this.editBooking) {\r\n this.valForm.removeControl('totalPrice');\r\n this.valForm.updateValueAndValidity();\r\n this.showFinanceForm = false;\r\n\r\n this.calendarService.editCalendarBooking(this.data.calendarId, this.data.calendar.roomId).subscribe(\r\n (response) => {\r\n this.showForm = true;\r\n this.calendarNewBookingPDModel = response;\r\n this.dateFrom = new Date(this.calendarNewBookingPDModel.booking.bookingRoom.bookingFrom);\r\n this.dateTo = new Date(this.calendarNewBookingPDModel.booking.bookingRoom.bookingTo);\r\n this.statusBooking = this.calendarNewBookingPDModel.booking.bookingRoom.status;\r\n this.bookingGuestModel = this.findLeadGuestForEdit();\r\n this.getCurrentRoomType();\r\n this.getRatePlanByRoomType();\r\n },\r\n (error) => {\r\n this.showForm = false;\r\n console.log(error);\r\n this.close();\r\n }\r\n );\r\n }\r\n }\r\n\r\n\r\n\r\n changeDateFrom() {\r\n if (new Date(this.dateFrom).getTime() >= new Date(this.dateTo).getTime()) {\r\n const dateFrom: Date = new Date(this.dateFrom);\r\n this.dateTo = new Date(dateFrom.getTime() + 24 * 60 * 60 * 1000);\r\n }\r\n this.calculateRoomPrice();\r\n this.getRoomTypeByRatePlan();\r\n this.checkEnquiryBooking();\r\n }\r\n\r\n changeDateTo() {\r\n if (new Date(this.dateFrom).getTime() >= new Date(this.dateTo).getTime()) {\r\n const dateTo: Date = new Date(this.dateTo);\r\n this.dateFrom = new Date(dateTo.getTime() - 24 * 60 * 60 * 1000);\r\n }\r\n this.calculateRoomPrice();\r\n this.getRoomTypeByRatePlan();\r\n this.checkEnquiryBooking();\r\n }\r\n\r\n checkEnquiryBooking() {\r\n if (this.newBooking && this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId) {\r\n this.calendarService\r\n .checkBookingStatus(\r\n this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId,\r\n this.dateFrom.toDateString(),\r\n this.dateTo.toDateString()\r\n )\r\n .subscribe(\r\n (response) => {\r\n this.calendarNewBookingPDModel.bookingStatus = response;\r\n const status = this.calendarNewBookingPDModel.bookingStatus.find(\r\n (x) => x.value === this.statusBooking\r\n );\r\n if (typeof status === 'undefined' && this.calendarNewBookingPDModel.bookingStatus.length > 0) {\r\n this.statusBooking = this.calendarNewBookingPDModel.bookingStatus[0].value;\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n calculateDurationOfBooking(): number {\r\n const to: Date = new Date(new Date(this.dateTo).toDateString());\r\n const from: Date = new Date(new Date(this.dateFrom).toDateString());\r\n\r\n return moment(to).diff(moment(from), 'days');\r\n }\r\n\r\n calculateRoomPrice() {\r\n if (this.newBooking && this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId !== null) {\r\n this.calculateRoomPriceRequestModel.ratePlanId =\r\n this.calendarNewBookingPDModel.booking.bookingRoom.ratePlanId;\r\n this.calculateRoomPriceRequestModel.roomTypeId =\r\n this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId;\r\n this.calculateRoomPriceRequestModel.arrive = new Date(this.dateFrom).toDateString();\r\n this.calculateRoomPriceRequestModel.depart = new Date(this.dateTo).toDateString();\r\n this.calculateRoomPriceRequestModel.adults = this.calendarNewBookingPDModel.booking.bookingRoom.adults;\r\n this.calculateRoomPriceRequestModel.children = this.calendarNewBookingPDModel.booking.bookingRoom.children;\r\n this.calculateRoomPriceRequestModel.discount = this.discountModel;\r\n\r\n this.newBookingService.calculateRoomPrice(this.calculateRoomPriceRequestModel).subscribe(\r\n (response) => {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.suggestedPrice = response;\r\n this.calendarNewBookingPDModel.booking.bookingRoom.totalPrice =\r\n this.calendarNewBookingPDModel.booking.bookingRoom.suggestedPrice;\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n validateBookingPrice(): boolean {\r\n if (this.newBooking && this.valForm.controls['totalPrice'].value < 0) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n getRatePlanByRoomType(partnerChange: boolean = false) {\r\n this.getCurrentRoomType();\r\n this.resetAdultChildrenByRoomType();\r\n this.calendarService\r\n .getRatePlanByRoomType(\r\n this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId,\r\n new Date(this.dateFrom).toDateString(),\r\n new Date(this.dateTo).toDateString(),\r\n this.calendarNewBookingPDModel.booking.partnerId\r\n )\r\n .subscribe(\r\n (response) => {\r\n this.calendarNewBookingPDModel.ratePlans = response;\r\n if (partnerChange) {\r\n this.calculateRoomPrice();\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n getRoomTypeByRatePlan() {\r\n let calendarId = -1;\r\n if (this.editBooking) {\r\n calendarId = this.data.calendarId;\r\n }\r\n\r\n const partnerId =\r\n this.calendarNewBookingPDModel.booking.partnerId === null\r\n ? -1\r\n : this.calendarNewBookingPDModel.booking.partnerId;\r\n\r\n const roomId = this.editBooking ? this.data.calendar.roomId : this.data.groups.unitId;\r\n\r\n this.calendarService\r\n .getRoomTypeByRatePlan(\r\n calendarId,\r\n this.calendarNewBookingPDModel.booking.bookingRoom.ratePlanId,\r\n roomId,\r\n new Date(this.dateFrom).toDateString(),\r\n new Date(this.dateTo).toDateString(),\r\n partnerId\r\n )\r\n .subscribe(\r\n (response) => {\r\n this.calendarNewBookingPDModel.roomTypes = response;\r\n },\r\n (error) => {\r\n console.log(error);\r\n if (error.status === 400) {\r\n this.calendarNewBookingPDModel.roomTypes = [];\r\n this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId = null;\r\n }\r\n }\r\n );\r\n }\r\n\r\n\r\n checkOut() {\r\n this.checkOutConfirmFunction();\r\n }\r\n\r\n checkInConfirmFunction(checkGuestBefore = true) {\r\n this.loader = true;\r\n this.bookingDetailsService\r\n .bookingRoomCheckIn(this.calendarNewBookingPDModel.booking.bookingRoom.id, true, checkGuestBefore)\r\n .subscribe(\r\n (response) => {\r\n this.loader = false;\r\n if (response.includes('Guest')) {\r\n this.confirmCheckInMessage = response;\r\n this.confirmCheckInMessage += ' Are you sure you want to proceed?';\r\n this.confirmCheckIn = true;\r\n return;\r\n } else if (response) {\r\n this.toasterService.showToast('', response, null, ToastEventType.Success, true, 5000);\r\n }\r\n this.update.emit();\r\n this.init();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n checkOutConfirmFunction() {\r\n this.loader = true;\r\n this.bookingDetailsService.bookingRoomCheckOut(this.calendarNewBookingPDModel.booking.bookingRoom.id).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.update.emit();\r\n this.init();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n substractAdultNum() {\r\n if (\r\n this.calendarNewBookingPDModel.booking.bookingRoom.adults > 1 &&\r\n this.calendarNewBookingPDModel.booking.bookingRoom.adults - 1 >=\r\n this.calendarNewBookingPDModel.booking.guests.length\r\n ) {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.adults =\r\n this.calendarNewBookingPDModel.booking.bookingRoom.adults - 1;\r\n this.calculateRoomPrice();\r\n }\r\n }\r\n\r\n substractChildNum() {\r\n if (this.calendarNewBookingPDModel.booking.bookingRoom.children > 0) {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.children =\r\n this.calendarNewBookingPDModel.booking.bookingRoom.children - 1;\r\n this.calculateRoomPrice();\r\n }\r\n }\r\n\r\n refreshDiscountData(event) {\r\n if (event.itemData !== null) {\r\n const partnerModel: PartnerModel = event.itemData;\r\n this.discountModel.discountValue = partnerModel.discountAmount;\r\n this.discountModel.discountType = partnerModel.discountType;\r\n } else {\r\n this.discountModel.discountValue = 0;\r\n this.discountModel.discountType = 'None';\r\n }\r\n this.calculateRoomPrice();\r\n }\r\n\r\n onPartnerChanged(event) {\r\n if (this.newBooking) {\r\n let partnerModel: PartnerModel = null;\r\n if (event.value) {\r\n partnerModel = this.calendarNewBookingPDModel.partners.find((p) => p.id === event.value);\r\n this.discountModel.discountValue = partnerModel.discountAmount;\r\n this.discountModel.discountType = partnerModel.discountType;\r\n } else {\r\n this.discountModel.discountValue = 0;\r\n this.discountModel.discountType = 'None';\r\n }\r\n\r\n const newBookingRequest: CalendarNewBookingRequestModel = {\r\n dateFrom: new Date(this.dateFrom).toDateString(),\r\n dateTo: new Date(this.dateTo).toDateString(),\r\n partnerId: partnerModel ? partnerModel.id : null,\r\n roomId: this.data.groups.unitId,\r\n };\r\n\r\n this.init(newBookingRequest, true);\r\n return;\r\n }\r\n\r\n if (this.editBooking) {\r\n this.refreshDiscountData(event);\r\n this.getRoomTypeByRatePlan();\r\n return;\r\n }\r\n }\r\n\r\n cancelBooking() {\r\n const body = document.getElementsByTagName('body')[0];\r\n body.style.overflow = 'auto';\r\n this.cancelPopup = true;\r\n }\r\n\r\n cancelBookingConfirm() {\r\n this.loader = true;\r\n this.bookingDetailsService.getCancellationPolicy(parseInt(this.calendarNewBookingPDModel.booking.bookingId)).subscribe(\r\n (response) => {\r\n let result: BookingCancellationPolicy;\r\n result = response;\r\n if (result.applies && result.penaltyAmount > 0)\r\n {\r\n this.confirmCancelWaiveFees = true;\r\n this.confirmCancelWaiveFeesMessage = `Booking will be cancelled.

Do you wish to apply the ${result.policyType.toLowerCase()} cancellation penalty (${this.token.Currency.Symbol}${result.penaltyAmount.toFixed(2)})?`;\r\n this.loader = false;\r\n }\r\n else \r\n {\r\n this.ConfirmCancelBooking(0);\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n ConfirmCancelBooking(applyPenalty: number) {\r\n this.loaderCancel = true;\r\n this.calendarService.cancelCalendarBooking(this.calendarNewBookingPDModel.booking.bookingId, applyPenalty).subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n this.loaderCancel = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n this.loaderCancel = false;\r\n }\r\n );\r\n }\r\n\r\n noShowConfirm() {\r\n this.loader = true;\r\n this.bookingDetailsService.getCancellationPolicy(parseInt(this.calendarNewBookingPDModel.booking.bookingId)).subscribe(\r\n (response) => {\r\n let result: BookingCancellationPolicy;\r\n result = response;\r\n if (result.applies && result.penaltyAmount > 0)\r\n {\r\n this.confirmNoShowWaiveFees = true;\r\n if (result.otaChannel == 'BCOM') {\r\n this.confirmNoShowWaiveFeesMessage = `Booking will be set as no-show and reported to Booking.com.

Do you wish to apply the ${result.policyType.toLowerCase()} cancellation penalty (${this.token.Currency.Symbol}${result.penaltyAmount.toFixed(2)})?`;\r\n }\r\n else {\r\n this.confirmNoShowWaiveFeesMessage = `Booking will be set as no-show.

Do you wish to apply the ${result.policyType.toLowerCase()} cancellation penalty (${this.token.Currency.Symbol}${result.penaltyAmount.toFixed(2)})?`;\r\n }\r\n \r\n this.loader = false;\r\n }\r\n else \r\n {\r\n this.confirmNoShow(0);\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n confirmNoShow(applyPenalty:number) {\r\n this.loaderCancel = true;\r\n this.bookingDetailsService.noShowBooking(parseInt(this.calendarNewBookingPDModel.booking.bookingId), applyPenalty).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Report no show', result.successMessage, null, ToastEventType.Success, true, 5000);\r\n this.update.emit();\r\n this.close();\r\n this.loaderCancel = false;\r\n }\r\n else {\r\n this.toasterService.showToast('Report no show', result.errors[0], null, ToastEventType.Error, true, 5000);\r\n this.loaderCancel = false;\r\n }\r\n \r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loaderCancel = false;\r\n }\r\n );\r\n }\r\n\r\n onBookingStatusChanged(e: any){\r\n this.showFinanceForm = e.value !== 'Enquired' && this.newBooking;\r\n this.changeDetector.detectChanges();\r\n }\r\n\r\n declinedChangeEditLeadGuest(declined: boolean) {\r\n if (declined) {\r\n this.newGuestValue.leadGuest = false;\r\n const index = this.calendarNewBookingPDModel.booking.guests.indexOf(this.oldGuestValue);\r\n this.calendarNewBookingPDModel.booking.guests[index] = this.newGuestValue;\r\n }\r\n }\r\n\r\n declinedChangeAddLeadGuest(declined: boolean) {\r\n if (declined) {\r\n this.newGuestValue.leadGuest = false;\r\n this.calendarNewBookingPDModel.booking.guests.push(this.newGuestValue);\r\n }\r\n }\r\n\r\n checkAndADefaultLeadingGuest(){\r\n if (this.newBooking) {\r\n for (const guest of this.calendarNewBookingPDModel.booking.guests) {\r\n if (guest.leadGuest) {\r\n return true;\r\n }\r\n }\r\n this.calendarNewBookingPDModel.booking.guests[0].leadGuest = true;\r\n return true;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n submitGuest() {\r\n for (const c in this.guestForm.controls) {\r\n this.guestForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.guestForm.valid) {\r\n return this.insertUpdateGuest();\r\n }\r\n\r\n return false;\r\n }\r\n\r\n insertUpdateGuest() { \r\n this.bookingGuestModel.guest.gender = null; \r\n this.bookingGuestModel.bookingRoomId = this.bookingRoomId;\r\n this.bookingGuestModel.leadGuest = true;\r\n this.bookingGuestModel.bookingId = this.bookingId;\r\n // clear guests\r\n this.calendarNewBookingPDModel.booking.guests = [];\r\n // push current model\r\n this.calendarNewBookingPDModel.booking.guests.push(this.bookingGuestModel);\r\n \r\n return true;\r\n }\r\n\r\n insertNewBookingGuest() {\r\n this.bookingDetailsService.insertNewBookingGuest(this.bookingGuestModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n if (response === null) {\r\n return true;\r\n }\r\n\r\n return false;\r\n\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n return false;\r\n }\r\n );\r\n }\r\n\r\n searchExistingGuests() {\r\n if (this.searchValue.length > 2) {\r\n let bookingId = parseInt(this.calendarNewBookingPDModel.booking.bookingId);\r\n this.bookingDetailsService.searchExistingGuests(bookingId, this.searchValue).subscribe(\r\n (response) => {\r\n this.existingGuestsList = response;\r\n if (this.existingGuestsList.length > 0) {\r\n this.showExistingGuests = true;\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n onClickOutside(event: Object) {\r\n if (event && event['value'] === true) {\r\n this.showExistingGuests = false;\r\n }\r\n }\r\n\r\n setInitValues() {\r\n this.guestForm.controls['title'].setValue(this.bookingGuestModel.guest.title);\r\n this.guestForm.controls['country'].setValue(this.bookingGuestModel.guest.countryId);\r\n //this.guestForm.controls['room'].setValue(this.bookingGuestModel.bookingRoomId);\r\n\r\n /*if (this.bookingGuestModel.guest.gender === 'Under16') {\r\n this.ageCheck = true;\r\n this.disableControls();\r\n } else {\r\n this.ageCheck = false;\r\n this.enableControls();\r\n }*/\r\n }\r\n\r\n setExistingGuest(bookingGuest: BookingGuestDetailModel) {\r\n if (this.bookingId === -1) {\r\n bookingGuest.bookingId = -1;\r\n }\r\n /* if (this.editBookingGuest && this.bookingId !== -1) {\r\n bookingGuest.bookingGuestId = this.bookingGuestModel.bookingGuestId;\r\n }*/\r\n this.showExistingGuests = false;\r\n this.bookingGuestModel = bookingGuest; \r\n this.bookingGuestModel.leadGuest = true; \r\n \r\n this.setInitValues();\r\n this.setExistGuest = true;\r\n }\r\n\r\n clearForm() {\r\n this.searchValue = '';\r\n this.setExistGuest = false;\r\n let bookingGuestId = 0;\r\n\r\n if (this.editBookingGuest && this.bookingId !== -1) {\r\n bookingGuestId = this.bookingGuestModel.bookingGuestId;\r\n }\r\n this.bookingGuestModel = new BookingGuestDetailModel();\r\n this.bookingGuestModel.bookingId = this.bookingId;\r\n this.bookingGuestModel.bookingGuestId = bookingGuestId;\r\n }\r\n\r\n clearFormConfirm() {\r\n if (!this.readOnly) {\r\n this.clearGuest = true;\r\n }\r\n }\r\n\r\n checkGuestAge(event) {\r\n this.bookingGuestModel.isUnder16 = event.target.checked;\r\n if (event.target.checked) {\r\n this.bookingGuestModel.leadGuest = false;\r\n this.bookingGuestModel.guest.title = null;\r\n this.bookingGuestModel.guest.email = null;\r\n this.bookingGuestModel.guest.phone = null;\r\n this.bookingGuestModel.guest.phone2 = null;\r\n this.bookingGuestModel.guest.address1 = null;\r\n this.bookingGuestModel.guest.address2 = null;\r\n this.bookingGuestModel.guest.address3 = null;\r\n this.bookingGuestModel.guest.postalCode = null;\r\n this.bookingGuestModel.guest.countryCode = null;\r\n this.bookingGuestModel.guest.newsletter = false;\r\n this.bookingGuestModel.notes = null;\r\n this.errorLeadGuest = 'Error! Booking must have lead guest.';\r\n this.showLeadGuestError = true;\r\n this.disableGuestControls();\r\n\r\n } else {\r\n if (!this.readOnly) {\r\n this.enableGuestControls();\r\n }\r\n this.bookingGuestModel.leadGuest = true;\r\n this.errorLeadGuest = '';\r\n this.showLeadGuestError = false;\r\n\r\n }\r\n }\r\n\r\n disableGuestControls() {\r\n this.guestForm.controls['title'].disable();\r\n this.guestForm.controls['leadGuest'].disable();\r\n this.guestForm.controls['email'].disable();\r\n this.guestForm.controls['telephone'].disable();\r\n this.guestForm.controls['mobilePhone'].disable();\r\n this.guestForm.controls['address1'].disable();\r\n this.guestForm.controls['address2'].disable();\r\n this.guestForm.controls['address3'].disable();\r\n this.guestForm.controls['postCode'].disable();\r\n this.guestForm.controls['country'].disable();\r\n this.guestForm.controls['newsletter'].disable();\r\n this.guestForm.controls['dialCode1'].disable();\r\n this.guestForm.controls['dialCode2'].disable();\r\n }\r\n\r\n enableGuestControls() {\r\n this.guestForm.controls['title'].enable();\r\n this.guestForm.controls['leadGuest'].enable();\r\n this.guestForm.controls['email'].enable();\r\n this.guestForm.controls['telephone'].enable();\r\n this.guestForm.controls['address1'].enable();\r\n this.guestForm.controls['mobilePhone'].enable();\r\n this.guestForm.controls['address2'].enable();\r\n this.guestForm.controls['address3'].enable();\r\n this.guestForm.controls['postCode'].enable();\r\n this.guestForm.controls['country'].enable();\r\n this.guestForm.controls['newsletter'].enable();\r\n }\r\n\r\n subscribeNewsletterChange(event) {\r\n const date: Date = new Date();\r\n const dateFormatted = `${date.getDate()}/${date.getMonth() + 1}/${date.getFullYear()}`;\r\n if (event.target.checked) {\r\n this.bookingGuestModel.notes\r\n ? (this.bookingGuestModel.notes += ` Consented to email newsletter on ${dateFormatted} via printed Check In Form.`)\r\n : (this.bookingGuestModel.notes = `Consented to email newsletter on ${dateFormatted} via printed Check In Form.`);\r\n } else {\r\n this.bookingGuestModel.notes = this.bookingGuestModel.notes.replace(\r\n `Consented to email newsletter on ${dateFormatted} via printed Check In Form.`,\r\n ''\r\n );\r\n }\r\n }\r\n\r\n getBookingDeposit() {\r\n \r\n if (this.calendarNewBookingPDModel.booking.bookingStatus != \"Enquired\") {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.bookingFrom = this.dateFrom.toDateString();\r\n this.calendarNewBookingPDModel.booking.bookingRoom.bookingTo = this.dateTo.toDateString();\r\n console.log('getBookingDeposit', this.calendarNewBookingPDModel.booking);\r\n this.newBookingService.getCalendarBookingDeposit(this.calendarNewBookingPDModel.booking).subscribe(\r\n (response) => {\r\n this.bookingPaymentModel.amount = response.toFixed(2);\r\n this.changeTypeValidation(this.bookingPaymentModel.amount);\r\n },\r\n (error) => {}\r\n );\r\n }\r\n else {\r\n this.bookingPaymentModel.amount = 0; \r\n }\r\n }\r\n\r\n changeTypeValidationOnInput(event: any) {\r\n this.changeTypeValidation(event.target.value);\r\n }\r\n\r\n changeTypeValidation(value: number) {\r\n if (value > 0) {\r\n this.financeForm.get('type').setValidators([Validators.required]);\r\n this.financeForm.get('type').updateValueAndValidity();\r\n } else {\r\n this.financeForm.get('type').setValidators(null);\r\n this.financeForm.get('type').updateValueAndValidity();\r\n }\r\n }\r\n\r\n validateFinanceForm() {\r\n return this.financeForm.valid; \r\n }\r\n\r\n findLeadGuest(): BookingGuestDetailModel {\r\n for (const guest of this.calendarNewBookingPDModel.booking.guests) {\r\n if (guest.leadGuest) {\r\n return guest;\r\n }\r\n }\r\n }\r\n\r\n checkForCreditCard() {\r\n this.creditCard = this.calendarNewBookingPDModel.booking.bookingNote.replace(/[0-9]/g, 'X');\r\n\r\n if (this.creditCard.includes('XXXXXXXXXXXXXXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX-XXXX-XXXX-XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX.XXXX.XXXX.XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX/XXXX/XXXX/XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX XXXX XXXX XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n\r\n if (this.creditCard.includes('XXXX,XXXX,XXXX,XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n } else {\r\n this.creditCardValidation = false;\r\n }\r\n }\r\n\r\n totalRoomsPrice(): number {\r\n return this.calendarNewBookingPDModel.booking.bookingRoom.totalPrice;\r\n }\r\n\r\n matchGuest(postMatchAction: number) {\r\n this.postMatchAction = postMatchAction;\r\n if (!this.editBooking) {\r\n let leadGuest = this.calendarNewBookingPDModel.booking.guests.find(x => x.leadGuest === true);\r\n if (leadGuest != null && leadGuest.guest != null && (leadGuest.guestId == null || leadGuest.guestId == 0))\r\n {\r\n if (this.checkedMatchedGuests.findIndex(x => x.lastName == leadGuest.guest.lastName && x.address1 == leadGuest.guest.address1 && x.phone2 == leadGuest.guest.phone2 && x.email == leadGuest.guest.email && x.postalCode == leadGuest.guest.postalCode) > -1) {\r\n //we've already checked this guest => continue\r\n console.log('Already attempted to match guest');\r\n this.postMatchActionHandler();\r\n }\r\n else {\r\n //they've entered a guest rather than searched for an existing one - let's see if we can match this\r\n console.log('Matching entered guest:', leadGuest);\r\n this.matchedGuestLoader = true;\r\n \r\n this.newBookingService.matchGuest(leadGuest.guest).subscribe(\r\n (response) => {\r\n this.matchedGuest = response;\r\n if (this.matchedGuest != null) {\r\n console.log('Found possible matching guest:', this.matchedGuest);\r\n this.showMatchedGuestMessage = 'Existing guest found:
';\r\n if (this.matchedGuest.title != null && this.matchedGuest.title != \"0\") {\r\n this.showMatchedGuestMessage += `
Title: ${this.getGuestTitle(this.matchedGuest.title)}`;\r\n }\r\n if (this.matchedGuest.firstName != null && this.matchedGuest.firstName.length > 0) {\r\n this.showMatchedGuestMessage += `
First name: ${this.matchedGuest.firstName}`;\r\n }\r\n if (this.matchedGuest.lastName != null && this.matchedGuest.lastName.length > 0) {\r\n this.showMatchedGuestMessage += `
Last name: ${this.matchedGuest.lastName}`;\r\n }\r\n if (this.matchedGuest.email != null && this.matchedGuest.email.length > 0) {\r\n this.showMatchedGuestMessage += `
Email: ${this.matchedGuest.email}`;\r\n }\r\n if (this.matchedGuest.phone2 != null && this.matchedGuest.phone2.length > 0) {\r\n this.showMatchedGuestMessage += `
Mobile: ${this.matchedGuest.phone2}`;\r\n }\r\n if (this.matchedGuest.address1 != null && this.matchedGuest.address1.length > 0) {\r\n this.showMatchedGuestMessage += `
Address1: ${this.matchedGuest.address1}`;\r\n }\r\n if (this.matchedGuest.postalCode != null && this.matchedGuest.postalCode.length > 0) {\r\n this.showMatchedGuestMessage += `
Postal code: ${this.matchedGuest.postalCode}`;\r\n }\r\n this.showMatchedGuestMessage += '

Do you want to use this guest as the lead guest, or create a new guest record?';\r\n this.matchedGuestLoader = false;\r\n this.showMatchedGuest = true;\r\n this.checkedMatchedGuests.push(JSON.parse(JSON.stringify(leadGuest.guest)));\r\n }\r\n else {\r\n this.matchedGuestLoader = false;\r\n this.postMatchActionHandler(); \r\n }\r\n },\r\n (error) => {\r\n this.matchedGuestLoader = false;\r\n this.postMatchActionHandler();\r\n }\r\n );\r\n }\r\n }\r\n else {\r\n this.postMatchActionHandler();\r\n }\r\n }\r\n else {\r\n this.postMatchActionHandler();\r\n }\r\n }\r\n\r\n postMatchActionHandler() {\r\n if (this.postMatchAction == -1) {\r\n //complete booking\r\n this.completeSubmitBooking();\r\n }\r\n else {\r\n this.activeTab = this.postMatchAction;\r\n }\r\n }\r\n\r\n getGuestTitle(title: string): string {\r\n switch (title) {\r\n case '1':\r\n return 'Mr';\r\n case '2':\r\n return 'Mrs';\r\n case '3':\r\n return 'Ms';\r\n case '4':\r\n return 'Miss';\r\n case '5':\r\n return 'Dr';\r\n default: \r\n return '';\r\n }\r\n }\r\n\r\n showMatchedGuestConfirmation(result: boolean) {\r\n this.showMatchedGuest = false;\r\n this.showMatchedGuestMessage = null;\r\n\r\n if (result == true) {\r\n let leadGuest = this.calendarNewBookingPDModel.booking.guests.find(x => x.leadGuest === true);\r\n leadGuest.guest = JSON.parse(JSON.stringify(this.matchedGuest));\r\n leadGuest.guestId = this.matchedGuest.id;\r\n leadGuest.guest.title = this.getGuestTitle(this.matchedGuest.title);\r\n console.log('Lead guest is now', leadGuest);\r\n this.matchedGuest = null; \r\n }\r\n this.postMatchActionHandler();\r\n\r\n }\r\n\r\n \r\n submitBooking(e) {\r\n e.stopPropagation();\r\n console.log('this.editbooking ' + this.editBooking);\r\n\r\n this.calendarNewBookingPDModel.booking.bookingRoom.bookingFrom = this.dateFrom.toDateString();\r\n this.calendarNewBookingPDModel.booking.bookingRoom.bookingTo = this.dateTo.toDateString();\r\n\r\n if (this.editBooking && this.activeTab == 0){\r\n console.log(this.editBooking + ' ' + this.activeTab + \" 1 \");\r\n for (const c in this.guestForm.controls) {\r\n this.guestForm.controls[c].markAsTouched();\r\n }\r\n this.bookingGuestModel.leadGuest = true;\r\n }\r\n\r\n if (this.activeTab == 1){\r\n for (const c in this.guestForm.controls) {\r\n this.guestForm.controls[c].markAsTouched();\r\n }\r\n\r\n this.bookingGuestModel.leadGuest = true;\r\n\r\n if (this.guestForm.valid){\r\n this.calendarNewBookingPDModel.booking.guests = [];\r\n\r\n this.bookingGuestModel.leadGuest = true;\r\n this.bookingGuestModel.bookingRoomId = this.bookingRoomId;\r\n this.bookingGuestModel.bookingId = this.bookingId;\r\n\r\n this.calendarNewBookingPDModel.booking.guests.push(this.bookingGuestModel);\r\n\r\n }\r\n else{\r\n\r\n return;\r\n }\r\n }\r\n\r\n this.matchGuest(-1);\r\n }\r\n\r\n completeSubmitBooking() {\r\n\r\n if (this.calendarNewBookingPDModel.booking.bookingNote && this.calendarNewBookingPDModel.booking.bookingNote.length > 1) {\r\n this.checkForCreditCard();\r\n }\r\n\r\n if (!this.creditCardValidation) {\r\n console.log(this.editBooking + ' ' + this.activeTab + \" 2 \");\r\n\r\n // finance data was optional if booking done from Guest tab\r\n if (this.activeTab === 2){\r\n for (const c in this.financeForm.controls) {\r\n this.financeForm.controls[c].markAsTouched();\r\n }\r\n\r\n }\r\n\r\n let message = '';\r\n if (!this.validateBookingPrice()) {\r\n message = 'Total price must be greater than 0';\r\n }\r\n else if (this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId === null) {\r\n message = 'Room type is required';\r\n }\r\n else if (this.calendarNewBookingPDModel.booking.guests.length === 0) {\r\n message = 'No booking guests';\r\n }\r\n else if (!this.bookingGuestModel.leadGuest) {\r\n message = 'Error! Booking must have lead guest.';\r\n }\r\n\r\n if (message != '') {\r\n this.toasterService.showToast('Error', message, null, ToastEventType.Error, true, 5000);\r\n return;\r\n }\r\n \r\n if (this.calendarNewBookingPDModel.booking.bookingStatus === 'Enquired') {\r\n\r\n console.log(this.editBooking + ' ' + this.activeTab + \" 3 \");\r\n\r\n if ( (this.activeTab == 0 && this.valForm.valid) || (this.activeTab == 1 && this.guestForm.valid && this.valForm.valid)){\r\n this.calendarNewBookingPDModel.booking.bookingPayment = null;\r\n if (this.newBooking) {\r\n this.insertBooking();\r\n } else if (this.editBooking) {\r\n this.calendarNewBookingPDModel.booking.calendarId = this.data.calendarId;\r\n this.updateBooking();\r\n }\r\n }\r\n\r\n }else if ((this.activeTab == 0 && this.valForm.valid && this.editBooking) || (this.activeTab == 1 && this.valForm.valid && this.guestForm.valid)){\r\n console.log(this.editBooking + ' ' + this.activeTab + \" 4 \");\r\n this.calendarNewBookingPDModel.booking.bookingPayment = null;\r\n if (this.newBooking) {\r\n this.insertBooking();\r\n } else if (this.editBooking) {\r\n this.calendarNewBookingPDModel.booking.calendarId = this.data.calendarId;\r\n this.updateBooking();\r\n }\r\n }else if (this.valForm.valid && this.guestForm.valid && this.financeForm.valid && this.activeTab==2) {\r\n this.bookingPaymentModel.propertyId = this.token.Property.Id;\r\n this.bookingPaymentModel.paymentPurpose = 'Deposit';\r\n this.bookingPaymentModel.userId = this.calendarNewBookingPDModel.booking.userId = this.token.IsSuperUser ? null : this.token.User.Id;\r\n this.bookingPaymentModel.superUserId = this.calendarNewBookingPDModel.booking.superUserId = this.token.IsSuperUser ? this.token.User.Id : null;\r\n\r\n this.calendarNewBookingPDModel.booking.bookingPayment = JSON.parse(JSON.stringify(this.bookingPaymentModel));\r\n\r\n switch (this.bookingPaymentModel.paymentType) {\r\n case 'CaterPay':\r\n case 'Verify':\r\n this.formSubmitted = true;\r\n this.loader = true;\r\n this.calendarService.GetCaterpayHtmlFormForNewCalendarBooking(this.calendarNewBookingPDModel).subscribe(\r\n (response: string) => {\r\n this.loader = false;\r\n this.caterpayForm = response;\r\n this.showPaymentFormModal = true;\r\n this.changeDetector.detectChanges();\r\n console.log(response);\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n break;\r\n case 'Tokenise':\r\n this.newBookingService.getPciCardEntryForm().subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.pciBookingForm = response;\r\n this.showPaymentFormModal = true;\r\n const body = document.getElementsByTagName('body')[0];\r\n body.classList.add('noscroll');\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n break;\r\n default:\r\n this.insertBooking();\r\n break;\r\n }\r\n }\r\n\r\n\r\n }\r\n }\r\n\r\n setPaymentType(e) {\r\n if (e.itemData.value === 'Tokenise') {\r\n this.bookingPaymentModel.amount = 0;\r\n }\r\n }\r\n\r\n isPaymentSuccessfull(paymentRef: string){\r\n if (paymentRef){\r\n this.calendarService.IsCaterPayPaymentSuccessfull(paymentRef).subscribe(\r\n (response) => {\r\n console.log('response for status for payment is : ' + response);\r\n \r\n return response;\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n )\r\n } \r\n return false;\r\n }\r\n\r\n insertBooking() {\r\n this.calendarNewBookingPDModel.booking.userId = AuthTokenService.decodeJwtToken().IsSuperUser\r\n ? null\r\n : AuthTokenService.decodeJwtToken().User.Id;\r\n this.calendarNewBookingPDModel.booking.superUserId = AuthTokenService.decodeJwtToken().IsSuperUser\r\n ? AuthTokenService.decodeJwtToken().User.Id\r\n : null;\r\n this.calendarNewBookingPDModel.booking.bookingStatus = this.statusBooking;\r\n\r\n // Model for getForUpdate\r\n let updateCalendarModel = new UpdateCalendarModel();\r\n updateCalendarModel = {\r\n calendarId: +this.calendarNewBookingPDModel.booking.calendarId,\r\n roomId: this.calendarNewBookingPDModel.booking.bookingRoom.roomId,\r\n roomTypeId: this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId,\r\n from: this.calendarNewBookingPDModel.booking.bookingRoom.bookingFrom,\r\n to: this.calendarNewBookingPDModel.booking.bookingRoom.bookingTo,\r\n forceChangeRoomType: true,\r\n isCalendar: true,\r\n };\r\n\r\n this.calendarService.getForUpdateCalendar(updateCalendarModel).subscribe(\r\n (response) => {\r\n if (response.hasException) {\r\n this.loader = false;\r\n this.dateExceptionMessage = response.message;\r\n this.dateExceptionMessage += '. Do you wish to continue?';\r\n this.confirmDateNew = true;\r\n } else {\r\n this.loader = false;\r\n this.insertCalendarBookingRequest();\r\n }\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.error(error.message);\r\n }\r\n );\r\n }\r\n\r\n insertCalendarBookingRequest() {\r\n this.loader = true;\r\n this.confirmDateNew = false;\r\n this.calendarService.insertCalendarBooking(this.calendarNewBookingPDModel.booking).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n console.log(response);\r\n this.setBookingIdCookie(response);\r\n if (this.confirmPaymentError){\r\n console.log(this.paymentError);\r\n this.paymentError.emit();\r\n }\r\n else{\r\n this.update.emit(); \r\n } \r\n this.close();\r\n },\r\n );\r\n }\r\n\r\n updateBooking() {\r\n this.calendarNewBookingPDModel.booking.bookingRoom.status = this.statusBooking;\r\n this.loader = true;\r\n // Model for getForUpdate\r\n let updateCalendarModel = new UpdateCalendarModel();\r\n updateCalendarModel = {\r\n calendarId: +this.calendarNewBookingPDModel.booking.calendarId,\r\n roomId: this.calendarNewBookingPDModel.booking.bookingRoom.roomId,\r\n roomTypeId: this.calendarNewBookingPDModel.booking.bookingRoom.roomTypeId,\r\n from: this.calendarNewBookingPDModel.booking.bookingRoom.bookingFrom,\r\n to: this.calendarNewBookingPDModel.booking.bookingRoom.bookingTo,\r\n forceChangeRoomType: true,\r\n isCalendar: true,\r\n };\r\n\r\n this.calendarService.getForUpdateCalendar(updateCalendarModel).subscribe(\r\n (response) => {\r\n if (response.hasException) {\r\n this.loader = false;\r\n this.dateExceptionMessage = response.message;\r\n this.dateExceptionMessage += '. Do you wish to continue?';\r\n this.confirmDateChange = true;\r\n } else {\r\n this.loader = false;\r\n this.updateCalendarBookingRequest();\r\n }\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.error(error.message);\r\n }\r\n );\r\n }\r\n\r\n updateCalendarBookingRequest() {\r\n this.loader = true;\r\n this.calendarService.updateCalendarBooking(this.calendarNewBookingPDModel.booking).subscribe(\r\n (response) => {\r\n this.loader= false;\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\")\r\n {\r\n this.toasterService.showToast('', result.successMessage, null, ToastEventType.Success, true, 5000);\r\n this.update.emit();\r\n this.close();\r\n }\r\n else if (result.actionResult === \"CompleteWithConfirmation\") {\r\n if (result.confirmationType === \"ReportBcomStayChange\")\r\n {\r\n this.confirmNotifyBcom = true;\r\n this.notifyBcomMessage = result.warnings[0];\r\n }\r\n }\r\n else if (result.actionResult === \"CompleteWithWarnings\" ) {\r\n this.toasterService.showToast('', result.warnings[0], null, ToastEventType.Warning, true, 5000);\r\n this.update.emit();\r\n this.close();\r\n }\r\n else if (result.actionResult === \"Errored\") {\r\n this.toasterService.showToast('', result.errors[0], null, ToastEventType.Error, true, 5000);\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n notifyBcomConfirmed() {\r\n this.loader = true;\r\n this.calendarService.reportBcomCalendarBookingStayChange(this.calendarNewBookingPDModel.booking).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Report stay change', 'The stay change details were successfully reported to Booking.com', null, ToastEventType.Success, true, 5000);\r\n }\r\n else {\r\n this.toasterService.showToast('Report stay change', result.errors[0], null, ToastEventType.Error, true, 5000);\r\n }\r\n this.confirmNotifyBcom = false;\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n this.confirmNotifyBcom = false;\r\n this.loader = false;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n closeGuestSearch() {\r\n this.showExistingGuests = false;\r\n }\r\n\r\n getGuestSearchPii(guest: BookingGuestDetailModel): string {\r\n if (guest.guest.email != null && guest.guest.email.length > 0) {\r\n return guest.guest.email;\r\n }\r\n else if (guest.guest.phone2 != null && guest.guest.phone2.length > 0) {\r\n return guest.guest.phone2;\r\n }\r\n else if (guest.guest.address1 != null && guest.guest.address1.length > 0) {\r\n return guest.guest.address1;\r\n }\r\n else if (guest.guest.postalCode != null && guest.guest.postalCode.length > 0) {\r\n return guest.guest.postalCode;\r\n }\r\n return '';\r\n }\r\n\r\n close() {\r\n const body = document.getElementsByTagName('body')[0];\r\n body.style.overflow = 'auto';\r\n this.newBookingChange.emit(false);\r\n this.editBookingChange.emit(false);\r\n this.deselect.emit();\r\n }\r\n\r\n ngOnDestroy() {\r\n window.removeEventListener('message', this.postMessageHandlerNewBooking, false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
1. Room
\r\n
2. Guest
\r\n
3. Finance
\r\n
\r\n \r\n

\r\n New Booking\r\n \r\n for {{ calendarNewBookingPDModel?.roomShortName }}\r\n \r\n

\r\n

\r\n Edit Booking\r\n \r\n for {{ calendarNewBookingPDModel?.roomShortName }}\r\n \r\n #{{ calendarNewBookingPDModel.booking.bookingNo }}\r\n

\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Date from
\r\n \r\n Date from is required.\r\n
\r\n
\r\n
Date to
\r\n \r\n Date to is required.\r\n
\r\n
\r\n
Duration
\r\n \r\n {{ calculateDurationOfBooking() }}\r\n night \r\n nights \r\n
\r\n
\r\n
\r\n\r\n
\r\n
Room type
\r\n \r\n Room type is required.\r\n
\r\n
\r\n
Rate plan
\r\n \r\n Rate plan is required.\r\n
\r\n
\r\n
People
\r\n\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
Adults
\r\n \r\n \r\n
\r\n
\r\n {{ calendarNewBookingPDModel.booking.bookingRoom.adults }}\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Children\r\n Ages 0-12\r\n
\r\n \r\n \r\n
\r\n
\r\n {{ calendarNewBookingPDModel.booking.bookingRoom.children }}\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Status
\r\n \r\n
\r\n\r\n
\r\n
Suggested price
\r\n \r\n
\r\n\r\n
\r\n
Total price
\r\n \r\n \r\n \r\n Total price is required.\r\n
\r\n\r\n
\r\n
Partner
\r\n \r\n
\r\n\r\n
\r\n
Booking Note
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Cancel booking\r\n \r\n
\r\n \r\n Check in\r\n \r\n \r\n Check out\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n\r\n \r\n
\r\n

Guest

\r\n
\r\n
\r\n {{ message }}\r\n
\r\n\r\n
\r\n
\r\n
Search guests
\r\n \r\n
\r\n
\r\n
    \r\n \r\n {{ bookingGuest.guest.firstName }} {{ bookingGuest.guest.lastName }}\r\n \r\n ({{ getGuestSearchPii(bookingGuest) }})\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ bookingGuestModel?.guest?.firstName }} {{ bookingGuestModel?.guest?.lastName }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Title
\r\n \r\n \r\n
\r\n
\r\n
First name
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Last name
\r\n \r\n Max 50 characters\r\n Last name is required\r\n
\r\n
\r\n
E-mail
\r\n \r\n Max 50 characters\r\n Must be a valid email address\r\n
\r\n
\r\n
Telephone
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Mobile phone
\r\n
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
\r\n
Address 1
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Address 2
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Address 3
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Post. code
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Country
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{\r\n errorLeadGuest\r\n }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Booking total
\r\n {{ token.Currency.Symbol }}\r\n \r\n
\r\n
\r\n
Deposit
\r\n {{ token.Currency.Symbol }}\r\n Minimum is 0\r\n
\r\n
\r\n
Payment type
\r\n \r\n \r\n Payment type is required\r\n
\r\n
\r\n
Payment date
\r\n \r\n \r\n Payment date is required\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n < Back\r\n \r\n \r\n Book\r\n \r\n \r\n \r\n Next >\r\n \r\n \r\n \r\n Save\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { CalendarService } from '../calendar.service';\r\nimport { EventModel } from '../../../../models/booking/event.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\n\r\n@Component({\r\n selector: 'app-calendar-event-details',\r\n templateUrl: './calendar-event-details.component.html',\r\n styleUrls: ['./calendar-event-details.component.less'],\r\n})\r\nexport class CalendarEventDetailsComponent implements OnInit {\r\n @Input() newEvent: boolean;\r\n @Output() newEventChange = new EventEmitter();\r\n @Input() editEvent: boolean;\r\n @Output() editEventChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Output() deselect = new EventEmitter();\r\n @Input() data: any;\r\n\r\n loader = false;\r\n valForm: UntypedFormGroup;\r\n dateFrom: Date;\r\n dateTo: Date;\r\n eventModel = new EventModel();\r\n theme: number;\r\n\r\n constructor(private fb: UntypedFormBuilder, private calendarService: CalendarService) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.valForm = fb.group({\r\n dateFrom: [null, Validators.required],\r\n dateTo: [null, Validators.required],\r\n title: [null, Validators.compose([Validators.required, Validators.maxLength(50)])],\r\n details: [null],\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n const copyData = JSON.parse(JSON.stringify(this.data));\r\n const dateOffset = 24 * 60 * 60 * 1000;\r\n\r\n this.dateFrom = new Date(new Date(copyData.startDate).toDateString());\r\n this.dateTo = new Date(new Date(copyData.endDate).toDateString());\r\n\r\n // Not edit event\r\n if (!this.data.event && typeof this.data.endDate !== 'string') {\r\n // Date too minus one\r\n this.dateTo.setTime(this.dateTo.getTime() - dateOffset);\r\n }\r\n\r\n this.valForm.controls['dateFrom'].setValue(this.dateFrom);\r\n this.valForm.controls['dateTo'].setValue(this.dateTo);\r\n\r\n if (this.editEvent) {\r\n this.eventModel = copyData.event;\r\n }\r\n }\r\n\r\n changeDateFrom() {\r\n if (new Date(this.dateFrom).getTime() >= new Date(this.dateTo).getTime()) {\r\n const dateFrom: Date = new Date(this.dateFrom);\r\n\r\n if (this.dateFrom > this.dateTo) {\r\n this.dateFrom = this.dateTo;\r\n }\r\n // this.dateTo = new Date(dateFrom.getTime() + 24 * 60 * 60 * 1000);\r\n }\r\n }\r\n\r\n changeDateTo() {\r\n if (new Date(this.dateFrom).getTime() >= new Date(this.dateTo).getTime()) {\r\n const dateTo: Date = new Date(this.dateTo);\r\n // this.dateFrom = new Date(dateTo.getTime() - 24 * 60 * 60 * 1000);\r\n if (this.dateFrom > this.dateTo) {\r\n this.dateFrom = this.dateTo;\r\n }\r\n }\r\n }\r\n\r\n checkForSpaces(value) {\r\n if (typeof value !== 'undefined' && value !== null) {\r\n if (value.trim() === '') {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n validateWhiteSpace() {\r\n console.log(this.eventModel);\r\n if (this.eventModel.name.trim() === '') {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n submitEvent(e) {\r\n e.stopPropagation();\r\n for (const c in this.valForm.controls) {\r\n this.valForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.valForm.valid && this.validateWhiteSpace()) {\r\n this.loader = true;\r\n\r\n this.eventModel.dateFrom = this.dateFrom.toDateString();\r\n this.eventModel.dateTo = this.dateTo.toDateString();\r\n\r\n // until database is changed to not required\r\n if (!this.eventModel.description) {\r\n this.eventModel.description = '';\r\n }\r\n\r\n if (this.newEvent) {\r\n this.insertEvent();\r\n } else if (this.editEvent) {\r\n this.updateEvent();\r\n }\r\n }\r\n }\r\n\r\n insertEvent() {\r\n this.eventModel.propertyId = AuthTokenService.decodeJwtToken().Property.Id;\r\n this.calendarService.createEvent(this.eventModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n updateEvent() {\r\n this.calendarService.updateEvent(this.eventModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.newEventChange.emit(false);\r\n this.editEventChange.emit(false);\r\n this.deselect.emit();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

New Diary

\r\n

Edit Diary

\r\n\r\n
\r\n
\r\n
\r\n
Date from
\r\n \r\n Date from is required.\r\n
\r\n
\r\n
Date to
\r\n \r\n Date to is required.\r\n
\r\n
\r\n
Title
\r\n \r\n Title is required.\r\n Max 50 characters.\r\n Cannot contain only blank characters\r\n
\r\n
\r\n
Details
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChange, SimpleChanges } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { CalendarService } from '../calendar.service';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { UpdateCalendarModel } from '../../../../models/booking/update-calendar.model';\r\nimport { CalendarStatusPDModel } from '../../../../models/booking/calendar-status-pd.model';\r\nimport { RoomModel } from '../../../../models/room/rooms-mapping.model';\r\n\r\n@Component({\r\n selector: 'app-calendar-status',\r\n templateUrl: './calendar-status.component.html',\r\n styleUrls: ['./calendar-status.component.less'],\r\n})\r\nexport class CalendarStatusComponent implements OnInit, OnChanges {\r\n @Input() newStatus: boolean = false;\r\n @Output() newStatusChange = new EventEmitter();\r\n @Input() editStatus: boolean;\r\n @Output() editStatusChange = new EventEmitter();\r\n @Input() deleteStatus: boolean;\r\n @Output() deleteStatusChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Output() deselect = new EventEmitter();\r\n @Input() data: any;\r\n @Input() rooms: RoomModel[];\r\n\r\n loader = false;\r\n valForm: UntypedFormGroup;\r\n dateFrom: Date;\r\n dateTo: Date;\r\n errorMessageDates: string;\r\n selectedRooms: number[] = [];\r\n\r\n calendarStatusPDModel = new CalendarStatusPDModel();\r\n updateCalendarRequest = new UpdateCalendarModel();\r\n\r\n theme: number;\r\n\r\n constructor(private fb: UntypedFormBuilder, private calendarService: CalendarService) {\r\n this.calendarStatusPDModel.calendar.description = null;\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.valForm = fb.group({\r\n dateFrom: [null, Validators.required],\r\n dateTo: [null, Validators.required],\r\n status: [null, Validators.required],\r\n description: [null],\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n if (this.newStatus) {\r\n this.valForm.addControl('roomIds', new UntypedFormControl('', [Validators.required]));\r\n this.updateCalendarRequest.from = new Date(this.data.startDate).toDateString();\r\n this.updateCalendarRequest.to = new Date(this.data.endDate).toDateString();\r\n this.updateCalendarRequest.roomId = this.data.groups.unitId;\r\n\r\n this.calendarService.newCalendarStatus(this.updateCalendarRequest).subscribe(\r\n (response) => {\r\n this.calendarStatusPDModel = response;\r\n this.valForm.patchValue({ roomIds: [this.calendarStatusPDModel.calendar.roomId] });\r\n this.selectedRooms = [this.calendarStatusPDModel.calendar.roomId];\r\n this.dateFrom = new Date(this.calendarStatusPDModel.calendar.dateFrom);\r\n this.dateTo = new Date(this.calendarStatusPDModel.calendar.dateTo);\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n } else if (this.editStatus) {\r\n this.calendarService.editCalendarStatus(this.data.calendarId).subscribe(\r\n (response) => {\r\n this.calendarStatusPDModel = response;\r\n this.dateFrom = new Date(this.calendarStatusPDModel.calendar.dateFrom);\r\n this.dateTo = new Date(this.calendarStatusPDModel.calendar.dateTo);\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n } else if (this.deleteStatus) {\r\n this.valForm.addControl('roomIds', new UntypedFormControl('', [Validators.required]));\r\n this.calendarService.editCalendarStatus(this.data.calendarId).subscribe(\r\n (response) => {\r\n this.calendarStatusPDModel = response;\r\n this.valForm.patchValue({ roomIds: [this.calendarStatusPDModel.calendar.roomId] });\r\n this.selectedRooms = [this.calendarStatusPDModel.calendar.roomId];\r\n this.dateFrom = new Date(this.calendarStatusPDModel.calendar.dateFrom);\r\n this.dateTo = new Date(this.calendarStatusPDModel.calendar.dateTo);\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes['rooms']) {\r\n this.rooms = this.rooms.filter((r) => r.id != 0 && r.id != -1 && r.isFunction!=true);\r\n }\r\n }\r\n\r\n changeDateFrom() {\r\n if (new Date(this.dateFrom).getTime() >= new Date(this.dateTo).getTime()) {\r\n const dateFrom: Date = new Date(this.dateFrom);\r\n this.dateTo = new Date(dateFrom.getTime() + 24 * 60 * 60 * 1000);\r\n }\r\n }\r\n\r\n changeDateTo() {\r\n if (new Date(this.dateFrom).getTime() >= new Date(this.dateTo).getTime()) {\r\n const dateTo: Date = new Date(this.dateTo);\r\n this.dateFrom = new Date(dateTo.getTime() - 24 * 60 * 60 * 1000);\r\n }\r\n }\r\n\r\n validateDateRange() {\r\n if (new Date(this.dateFrom).getTime() === new Date(this.dateTo).getTime()) {\r\n this.errorMessageDates = 'Dates cannot be the same.';\r\n return false;\r\n }\r\n\r\n this.errorMessageDates = '';\r\n return true;\r\n }\r\n\r\n submitStatus(e) {\r\n e.stopPropagation();\r\n for (const c in this.valForm.controls) {\r\n this.valForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.valForm.valid && this.validateDateRange()) {\r\n this.loader = true;\r\n this.calendarStatusPDModel.calendar.propertyId = AuthTokenService.decodeJwtToken().Property.Id;\r\n this.calendarStatusPDModel.calendar.dateFrom = this.dateFrom.toDateString();\r\n this.calendarStatusPDModel.calendar.dateTo = this.dateTo.toDateString();\r\n\r\n if (this.newStatus) {\r\n this.insertStatus();\r\n } else if (this.editStatus) {\r\n this.updateStatus();\r\n } else if (this.deleteStatus) {\r\n this.removeStatus();\r\n }\r\n }\r\n }\r\n\r\n insertStatus() {\r\n const batch = {\r\n dateFrom: this.calendarStatusPDModel.calendar.dateFrom,\r\n dateTo: this.calendarStatusPDModel.calendar.dateTo,\r\n roomIds: this.selectedRooms,\r\n calendarStatus: this.calendarStatusPDModel.calendar.calendarStatus,\r\n propertyId: this.calendarStatusPDModel.calendar.propertyId,\r\n description: this.valForm.value.description,\r\n username: localStorage.getItem('userName') || AuthTokenService.decodeJwtToken().User.Username || 'admin',\r\n };\r\n\r\n this.calendarService.insertCalendarStatusBatch(batch).subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.close();\r\n }\r\n );\r\n }\r\n\r\n updateStatus() {\r\n this.calendarService\r\n .updateCalendarStatus({\r\n ...this.calendarStatusPDModel.calendar,\r\n description: this.valForm.value.description,\r\n })\r\n .subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n removeStatus() {\r\n const batch = {\r\n dateFrom: this.calendarStatusPDModel.calendar.dateFrom,\r\n dateTo: this.calendarStatusPDModel.calendar.dateTo,\r\n roomIds: this.selectedRooms,\r\n calendarStatus: this.calendarStatusPDModel.calendar.calendarStatus,\r\n propertyId: this.calendarStatusPDModel.calendar.propertyId,\r\n username: localStorage.getItem('userName') || AuthTokenService.decodeJwtToken().User.Username || 'admin',\r\n };\r\n\r\n this.calendarService.deleteCalendarStatusBatch(batch).subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.newStatusChange.emit(false);\r\n this.editStatusChange.emit(false);\r\n this.deleteStatusChange.emit(false);\r\n this.deselect.emit();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

New Status

\r\n

Edit Status

\r\n

Delete Status

\r\n\r\n
\r\n
\r\n
\r\n
Date from
\r\n
Delete from
\r\n \r\n Date from is required.\r\n
\r\n
\r\n
Date to
\r\n
Delete to
\r\n \r\n Date to is required.\r\n {{ errorMessageDates }}\r\n
\r\n
\r\n
Status
\r\n \r\n Status is required.\r\n
\r\n
\r\n
Description
\r\n \r\n \r\n
\r\n
\r\n
Rooms
\r\n \r\n \r\n Rooms are required.\r\n
\r\n
\r\n\r\n

Are you sure you want to delete status for specified date range and rooms?

\r\n\r\n \r\n \r\n
\r\n \r\n Cancel\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, ElementRef, OnDestroy, HostListener, ChangeDetectorRef } from '@angular/core';\r\nimport { CalendarService } from './calendar.service';\r\n\r\nimport { Router } from '@angular/router';\r\nimport { CookieService } from 'ngx-cookie-service';\r\n\r\nimport 'devextreme/integration/jquery';\r\nimport { Subscription } from 'rxjs';\r\nimport { DxSchedulerComponent } from 'devextreme-angular';\r\nimport { CurrencyContext } from 'src/app/models/auth-jwt/token-context';\r\nimport CalendarLegendColorModel from 'src/app/models/booking/calendar-legend-colors.model';\r\nimport { BookingTooltipModelRoom, BookingTooltipModelEvent, BookingToolTipTotalRowModel } from 'src/app/models/booking/booking-tooltip.model';\r\nimport { CalendarSchedulerModel, Unit } from 'src/app/models/booking/calendar-scheduler.model';\r\nimport { CalendarRequestModel } from 'src/app/models/booking/calendar-request.model';\r\nimport { CalendarResponseModel, CalendarFunctionModel, CalendarFunctionSplitModel } from 'src/app/models/booking/calendar-response.model';\r\nimport { UpdateCalendarModel } from 'src/app/models/booking/update-calendar.model';\r\nimport { CalendarPermissionsModel } from 'src/app/models/permissions/permissions.model';\r\nimport { CalendarView } from 'src/app/enums/calendar-view.enum';\r\nimport { PermissionsService } from 'src/app/shared/services/permissions.service';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { PermissionsEnum } from 'src/app/enums/permissions.enum';\r\nimport { UpdateEventCalendarModel } from 'src/app/models/booking/update-event-calendar.model';\r\nimport { CalendarModel } from 'src/app/models/booking/calendar.model';\r\nimport { BookingDetailsService } from '../settings-booking-detail/booking-details.service';\r\nimport { PropertyFunctionRoomModel } from 'src/app/models/function-room/function-room.model';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\nimport * as moment from 'moment';\r\nimport CookieHelper from 'src/app/shared/helpers/cookie-helper';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\n\r\ndeclare var $: any;\r\ndeclare const InstallTrigger: any;\r\nconst SEVEN_DAY_MODE_ROOMS = 100;\r\n@Component({\r\n selector: 'app-calendar',\r\n templateUrl: './calendar.component.html',\r\n styleUrls: ['./calendar.component.less'],\r\n})\r\nexport class CalendarComponent implements OnInit, OnDestroy {\r\n @ViewChild(DxSchedulerComponent) dxScheduler: DxSchedulerComponent;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n\r\n token: TokenContext;\r\n dateFrom: Date;\r\n dateTo: Date;\r\n top: number;\r\n left: number;\r\n ftop: number;\r\n fleft: number;\r\n \r\n showTooltip = false;\r\n showFunctionTooltip = false;\r\n calendarLegendColor = new CalendarLegendColorModel();\r\n tooltipModelRoom = new BookingTooltipModelRoom();\r\n tooltipModelEvent = new BookingTooltipModelEvent();\r\n tooltipModelFunction = new CalendarFunctionSplitModel();\r\n tooltipModelTotalRow = new BookingToolTipTotalRowModel();\r\n tooltipType = '';\r\n windowSize: any;\r\n openPopover = false;\r\n targetElement = '';\r\n // total Row tool tip data\r\n totalRooms: number;\r\n totalGuests: number;\r\n\r\n elWidth: number;\r\n resizeGridWidth: number;\r\n offsetWidth: number;\r\n\r\n calendarSchedulerData: CalendarSchedulerModel[] = [];\r\n unitsData: Unit[] = [];\r\n\r\n showCalendar = false;\r\n loader = false;\r\n\r\n // booking and events\r\n newBooking = false;\r\n editBooking = false;\r\n newEvent = false;\r\n editEvent = false;\r\n deleteEvent = false;\r\n newStatus = false;\r\n editStatus = false;\r\n deleteStatus = false;\r\n deleteStatusBatch = false;\r\n currentEventId: number;\r\n currentCalendarId: number;\r\n tooltip = true;\r\n changeRoomType = false;\r\n\r\n dayCell = false;\r\n dayEvent = false;\r\n diaryCell = false;\r\n diaryEvent = false;\r\n daysHeader = false;\r\n\r\n calendarRequestModel = new CalendarRequestModel();\r\n calendarResponseModel = new CalendarResponseModel();\r\n updateCalendarModel = new UpdateCalendarModel();\r\n\r\n cellEventSource = [{ text: 'New Diary' }];\r\n appointmentEventSource = [{ text: 'Edit Diary' }, { text: 'Delete Diary' }];\r\n eventContextMenu = false;\r\n\r\n cellBookingSource = [{ text: 'New Booking' }, { text: 'New Status' }];\r\n appointmentBookingSource = [{ text: 'Edit' }];\r\n bookingContextMenu = false;\r\n\r\n data: any = {};\r\n subscriptionCalendar: Subscription;\r\n subscriptionEventTooltip: Subscription;\r\n subscriptionRoomTooltip: Subscription;\r\n\r\n isSelectionStarted = false;\r\n target;\r\n startData;\r\n\r\n addTwoWeeks = 0;\r\n startDate: Date = new Date(new Date().setDate(new Date().getDate() - 2));\r\n endDate: Date = new Date(new Date().setDate(new Date().getDate() - 2));\r\n datesArray: string[] = [];\r\n changeDateRange = false;\r\n todayButtonClick = false;\r\n currentDateRange: string;\r\n uiEvent = false;\r\n ifEvent = false;\r\n leftOffset: number;\r\n showAcceptReject = false;\r\n acceptRejectTarget = '';\r\n diaryModel: any = {};\r\n uiElement: any;\r\n diaryResized = false;\r\n shuffleChanged = false;\r\n eventResized = false;\r\n shuffleCalId: any;\r\n rejectDropped = false;\r\n initialWidthOnResize: any;\r\n theme: number;\r\n refreshGrid = false;\r\n acceptClicked = false;\r\n\r\n noPriceDefinedModal: boolean;\r\n activeBookingId: number;\r\n\r\n diaryTopValue: any;\r\n draggingElementRow: any;\r\n dateExceptionMessage: string;\r\n confirmDateChange: boolean;\r\n tooltipBottom: boolean;\r\n\r\n confirmMoveToTakenRoomMessage: string;\r\n\r\n confirmMoveToTakenRoom: boolean;\r\n\r\n partlyShowingDropped: boolean;\r\n\r\n permissionsModel: CalendarPermissionsModel;\r\n activeCalendarView: CalendarView;\r\n\r\n // for booking payment error\r\n showQuickBookingPaymentError: boolean;\r\n quickBookingPaymentMessage: string;\r\n\r\n confirmNotifyBcom: boolean;\r\n notifyBcomMessage: string;\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize() {\r\n this.resizeElements();\r\n\r\n const draggables = $('.draggable');\r\n\r\n for (const element of draggables) {\r\n const numOfDays = Number($(element).attr('data-day-number'));\r\n\r\n element.style.width = this.getDraggableElementWidth(this.elWidth, numOfDays, false);\r\n }\r\n\r\n clearTimeout(window['resizedFinished']);\r\n window['resizedFinished'] = setTimeout(() => this.refreshData(), 1000);\r\n }\r\n\r\n @HostListener('window:scroll', []) onWindowScroll() {\r\n // do some stuff here when the window is scrolled\r\n const verticalOffset = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;\r\n\r\n if (verticalOffset > 255 && $('.calendar-cells .calendar-row').length > 25) {\r\n this.daysHeader = true;\r\n } else {\r\n this.daysHeader = false;\r\n }\r\n }\r\n\r\n constructor(\r\n private calendarService: CalendarService,\r\n private elRef: ElementRef,\r\n private toasterService: ToastService,\r\n private router: Router,\r\n private cookieService: CookieService,\r\n private bookingDetailsService: BookingDetailsService,\r\n private permissionsService: PermissionsService,\r\n private ref: ChangeDetectorRef\r\n ) {\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.activeCalendarView = this.calendarService.getCalendarView();\r\n //this.getCalendar();\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.offsetWidth =\r\n this.activeCalendarView === CalendarView.SevenGrid\r\n ? 5\r\n : this.activeCalendarView === CalendarView.Regular\r\n ? 2\r\n : 1;\r\n this.elWidth = 50 * this.offsetWidth;\r\n this.resizeGridWidth = 51 * this.offsetWidth;\r\n\r\n // cookie configuration\r\n const expiresDate: Date = new Date();\r\n expiresDate.setMinutes(expiresDate.getMinutes() + 10);\r\n\r\n const match = document.cookie.match(new RegExp('(^| )dateFrom=([^;]+)'));\r\n if (match && match.length > 1) {\r\n const dateFrom: string = match[2];\r\n const dateFromDecoded: string = decodeURI(dateFrom);\r\n const fromDate: Date = new Date(dateFromDecoded);\r\n this.setCookie(fromDate.toDateString(), expiresDate);\r\n this.setToSpecifiedDate(fromDate);\r\n } else {\r\n this.setCookie(this.endDate.toDateString(), expiresDate);\r\n this.setToSpecifiedDate(this.endDate);\r\n }\r\n\r\n const currentDate: Date = new Date(new Date().setDate(new Date().getDate() - 2));\r\n this.setDateFromDateTo(currentDate);\r\n this.contextMenuItemClick = this.contextMenuItemClick.bind(this);\r\n\r\n this.permissionsModel = this.permissionsService.createPermissionsModel(PermissionsEnum.Calendar);\r\n }\r\n\r\n setCookie(cookieValue, expiryDate) {\r\n const expires = 'expires=' + expiryDate.toUTCString();\r\n document.cookie = 'dateFrom=' + cookieValue + ';' + expires + ';path=/';\r\n }\r\n\r\n getCalendar() {\r\n this.subscriptionCalendar = this.calendarService.getCalendarByRange(this.calendarRequestModel).subscribe(\r\n () => {\r\n this.setupCalendar();\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n getOffset() {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n return this.activeCalendarView === CalendarView.SevenGrid ? 7 : 15;\r\n } else {\r\n return this.activeCalendarView === CalendarView.Regular ? 15 : 30;\r\n }\r\n }\r\n\r\n getDraggableElementWidth(elWidth, numOfDays, isFunction) {\r\n\r\n let width = this.activeCalendarView === CalendarView.Regular || this.activeCalendarView === CalendarView.SevenGrid\r\n ? `${elWidth * numOfDays + (2 * numOfDays - 4)}px`\r\n : `${elWidth * numOfDays + (numOfDays - 1)}px`;\r\n\r\n\r\n return width;\r\n }\r\n\r\n setupCalendar() {\r\n this.offsetWidth =\r\n this.activeCalendarView === CalendarView.SevenGrid\r\n ? 5\r\n : this.activeCalendarView === CalendarView.Regular\r\n ? 2\r\n : 1;\r\n this.calendarService.setCalendarView(this.activeCalendarView);\r\n\r\n this.changeDateRange = true;\r\n const currentDate: Date = new Date(this.datesArray[0]);\r\n let lastDate: Date = new Date();\r\n\r\n const offset = this.getOffset();\r\n\r\n addDaysLast(currentDate, offset);\r\n\r\n function addDaysLast(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n lastDate = result;\r\n }\r\n\r\n this.datesArray = [];\r\n\r\n while (currentDate < lastDate) {\r\n this.datesArray.push(currentDate.toDateString());\r\n currentDate.setDate(currentDate.getDate() + 1);\r\n }\r\n\r\n const startDay: Date = new Date(this.datesArray[0]);\r\n const endDay: Date = new Date(this.datesArray[this.datesArray.length - 1]);\r\n this.startDate = new Date(startDay);\r\n this.endDate = new Date(endDay);\r\n this.startDate.setDate(startDay.getDate());\r\n this.endDate.setDate(endDay.getDate() + 1);\r\n\r\n const expiresDate: Date = new Date();\r\n expiresDate.setMinutes(expiresDate.getMinutes() + 10);\r\n this.setCookie(new Date(this.datesArray[0]).toDateString(), expiresDate);\r\n\r\n // this.setDateFromDateTo(new Date());\r\n this.refreshData();\r\n }\r\n\r\n toggleCalendarView(newCalendarView) {\r\n this.activeCalendarView = newCalendarView;\r\n\r\n this.setupCalendar();\r\n }\r\n\r\n openCalendarDetails(event) {\r\n event.cancel = true;\r\n if (event.cellData.groups.unitId === -1) {\r\n this.newEvent = true;\r\n this.data = event.cellData;\r\n } else if (event.cellData.groups.unitId !== -2) {\r\n this.newBooking = true;\r\n const body = document.getElementsByTagName('body')[0];\r\n body.style.overflow = 'hidden';\r\n this.data = event.cellData;\r\n }\r\n }\r\n\r\n prepareFunctionTooltipData(frId: number, calendar: any, event?: any): any {\r\n if (calendar != null)\r\n {\r\n \r\n this.tooltipModelFunction = calendar.calendarSplitModel;\r\n this.tooltipType = 'function';\r\n this.showPopup(event);\r\n this.showFunctionTooltip=true;\r\n } \r\n }\r\n\r\n prepareTotalRowTooltipData(toalRow: any, event?: any): any {\r\n this.tooltipType = 'totalRow'; \r\n this.tooltipModelTotalRow = toalRow;\r\n this.showTooltip = true; \r\n this.showPopup(event);\r\n }\r\n\r\n getTooltipFunctionDesc(tooltipModelFunction, session): string\r\n {\r\n //session 1=am, 2=pm, 3=eve\r\n let result = '';\r\n if ((tooltipModelFunction.amFunctionStatus=='Enquiry' && session==1) \r\n || (tooltipModelFunction.pmFunctionStatus=='Enquiry' && session==2)\r\n || (tooltipModelFunction.eveFunctionStatus=='Enquiry' && session==3)\r\n )\r\n {\r\n result='**Enquiry** ';\r\n }\r\n if (tooltipModelFunction.amFunctionNo!=null && session==1)\r\n {\r\n result = result + tooltipModelFunction.amFunctionNo + ': ';\r\n }\r\n if (tooltipModelFunction.pmFunctionNo!=null && session==2)\r\n {\r\n result = result + tooltipModelFunction.pmFunctionNo + ': ';\r\n }\r\n if (tooltipModelFunction.eveFunctionNo!=null && session==3)\r\n {\r\n result = result + tooltipModelFunction.eveFunctionNo + ': ';\r\n }\r\n\r\n if (tooltipModelFunction.amEventName!=null && session==1)\r\n {\r\n result = result + tooltipModelFunction.amEventName;\r\n }\r\n if (tooltipModelFunction.pmEventName!=null && session==2)\r\n {\r\n result = result + tooltipModelFunction.pmEventName;\r\n }\r\n if (tooltipModelFunction.eveEventName!=null && session==3)\r\n {\r\n result = result + tooltipModelFunction.eveEventName;\r\n }\r\n\r\n if (result.length == 0) {\r\n result = \"-\";\r\n }\r\n return result;\r\n }\r\n\r\n prepareTooltipData(appointment: any, event?: any): any {\r\n this.showFunctionTooltip=false;\r\n if (appointment.calendar == null) {\r\n if (typeof this.subscriptionEventTooltip !== 'undefined') {\r\n this.subscriptionEventTooltip.unsubscribe();\r\n }\r\n\r\n this.subscriptionEventTooltip = this.calendarService.getTooltipDataForEvent(appointment.event.id).subscribe(\r\n (response) => {\r\n if (response != null) {\r\n this.tooltipModelEvent = response;\r\n this.showTooltip = true;\r\n this.tooltipModelEvent.details =\r\n this.tooltipModelEvent.details && this.tooltipModelEvent.details.length > 95\r\n ? this.tooltipModelEvent.details.substring(0, 95) + '...'\r\n : this.tooltipModelEvent.details;\r\n this.tooltipType = 'event';\r\n this.showPopup(event);\r\n } else {\r\n this.toasterService.showToast('Error', 'Event no longer exists', null, ToastEventType.Error, true, 5000);\r\n this.refreshData();\r\n }\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n } else {\r\n if (appointment.calendar.bookingRef === null) {\r\n this.showTooltip = true;\r\n this.tooltipType = 'status';\r\n this.tooltipModelRoom.status = appointment.calendar.calendarStatus;\r\n if (!!appointment.calendar.description) {\r\n this.tooltipModelRoom.status = appointment.calendar.description;\r\n }\r\n this.showPopup(event);\r\n } else {\r\n if (typeof this.subscriptionRoomTooltip !== 'undefined') {\r\n this.subscriptionRoomTooltip.unsubscribe();\r\n }\r\n\r\n if (!appointment.calendar.id) {\r\n return;\r\n }\r\n\r\n this.subscriptionRoomTooltip = this.calendarService\r\n .getTooltipDataForBooking(appointment.calendar.id)\r\n .subscribe(\r\n (response) => {\r\n if (response != null) {\r\n this.tooltipModelRoom = response;\r\n this.tooltipModelRoom.notes =\r\n this.tooltipModelRoom.notes && this.tooltipModelRoom.notes.length > 95\r\n ? this.tooltipModelRoom.notes.substring(0, 95) + '...'\r\n : this.tooltipModelRoom.notes;\r\n this.showTooltip = true;\r\n this.tooltipType = 'room';\r\n this.showPopup(event);\r\n } else {\r\n this.toasterService.showToast('Error', 'Booking has been cancelled', null, ToastEventType.Error, true, 5000);\r\n this.refreshData();\r\n }\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n contextMenuItemClick(e) {\r\n const text = e.itemData.text;\r\n switch (text) {\r\n case 'New Diary':\r\n this.newEvent = true;\r\n break;\r\n case 'Edit Diary':\r\n this.editEvent = true;\r\n break;\r\n case 'Delete Diary':\r\n this.deleteEvent = true;\r\n break;\r\n case 'New Booking':\r\n this.newBooking = true;\r\n break;\r\n case 'New Status':\r\n this.newStatus = true;\r\n break;\r\n case 'Edit':\r\n if (this.data.calendar.bookingRef === null) {\r\n this.editStatus = true;\r\n } else {\r\n this.editBooking = true;\r\n }\r\n break;\r\n case 'Delete':\r\n if (this.data.calendar.bookingRef === null) {\r\n this.deleteStatusBatch = true;\r\n } else {\r\n this.deleteStatus = true;\r\n }\r\n break;\r\n }\r\n }\r\n\r\n setDateFromDateTo(date: Date) {\r\n const currentDate: Date = new Date(date);\r\n\r\n const offset = this.getOffset();\r\n this.dateFrom = new Date(currentDate);\r\n this.dateTo = new Date(currentDate.setDate(currentDate.getDate() + offset));\r\n\r\n this.calendarRequestModel.dateFrom = this.dateFrom.toDateString();\r\n this.calendarRequestModel.dateTo = this.dateTo.toDateString();\r\n }\r\n\r\n deleteEventConfirmed() {\r\n this.calendarService.deleteEvent(this.currentEventId).subscribe(\r\n (response) => {\r\n this.refreshData();\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n deleteCalendarConfirmed() {\r\n this.calendarService.deleteCalendarStatus(this.currentCalendarId).subscribe(\r\n (response) => {\r\n this.refreshData();\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n ngOnInit() {\r\n const size = document.querySelectorAll('html')[0];\r\n if (size.getBoundingClientRect().width < 1025) {\r\n this.showTooltip = false;\r\n }\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n }\r\n\r\n checkIfRoomIsTaken() {\r\n const roomId = this.updateCalendarModel.roomId;\r\n const dateFrom = this.updateCalendarModel.from;\r\n const calendarId = this.acceptRejectTarget.split('-').pop();\r\n const booking = this.calendarSchedulerData.find((element) => element.calendarId === +calendarId);\r\n\r\n this.bookingDetailsService\r\n .checkForBookingRoomCheckIn(booking.calendar.bookingRoomId, roomId, dateFrom)\r\n .subscribe(\r\n (response) => {\r\n if (response) {\r\n this.confirmMoveToTakenRoomMessage = response;\r\n this.confirmMoveToTakenRoomMessage += '. Are you sure you want to continue?';\r\n this.confirmMoveToTakenRoom = true;\r\n } else {\r\n this.updateRoomCalendar(false);\r\n }\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n updateRoomCalendar(force:boolean) {\r\n this.loader = true;\r\n this.updateCalendarModel.forceChangeRoomType = force;\r\n this.updateCalendarModel.isCalendar = true;\r\n this.changeRoomType = false;\r\n if (this.updateCalendarModel.calendarId) {\r\n this.activeBookingId = this.getBookingIdFromCalendarItem(+this.updateCalendarModel.calendarId);\r\n } else {\r\n this.activeBookingId = null;\r\n }\r\n\r\n this.calendarService.updateCalendar(this.updateCalendarModel).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Success', 'Operation successful.', null, ToastEventType.Success, true, 2000);\r\n this.refreshData();\r\n }\r\n else if (result.actionResult === \"CompleteWithConfirmation\") {\r\n this.loader = false;\r\n if (result.confirmationType === \"ReportBcomStayChange\")\r\n {\r\n this.confirmNotifyBcom = true;\r\n this.notifyBcomMessage = result.warnings[0];\r\n }\r\n }\r\n else {\r\n this.loader = false;\r\n this.changeRoomType = true;\r\n }\r\n },\r\n (error) => {\r\n if (error && error.message.includes('There are no prices defined')) {\r\n this.loader = false;\r\n this.noPriceDefinedModal = true;\r\n return;\r\n }\r\n this.toasterService.showToast('Error', error.message, null, ToastEventType.Error, true, 5000);\r\n this.refreshData();\r\n }\r\n );\r\n }\r\n\r\n notifyBcomConfirmed() {\r\n this.loader = true;\r\n this.calendarService.reportBcomCalendarStayChange(this.updateCalendarModel).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Report stay change', 'The stay change details were successfully reported to Booking.com', null, ToastEventType.Success, true, 5000);\r\n }\r\n else {\r\n this.toasterService.showToast('Report stay change', result.errors[0], null, ToastEventType.Error, true, 5000);\r\n }\r\n this.confirmNotifyBcom = false;\r\n this.refreshData();\r\n this.loader = false;\r\n },\r\n (error) => {\r\n this.confirmNotifyBcom = false;\r\n this.loader = false;\r\n this.refreshData();\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n updateCalendarWithForce() {\r\n this.updateRoomCalendar(true);\r\n }\r\n\r\n updateCalendar(e) {\r\n this.loader = true;\r\n\r\n if (e.oldData !== null) {\r\n if (e.oldData.calendar !== null) {\r\n const newData: CalendarSchedulerModel = e.newData;\r\n\r\n if (newData.unitId === -2) {\r\n this.calendarService.shuffleCalendar(e.oldData.calendar.id).subscribe(\r\n (response) => {\r\n this.refreshData();\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.refreshData();\r\n }\r\n );\r\n } else {\r\n const calendarModel: UpdateCalendarModel = new UpdateCalendarModel();\r\n calendarModel.calendarId = e.oldData.calendar.id;\r\n calendarModel.roomId = newData.unitId;\r\n calendarModel.from = newData.startDate.toDateString();\r\n calendarModel.to = newData.endDate.toDateString();\r\n calendarModel.forceChangeRoomType = false;\r\n this.updateCalendarModel = calendarModel;\r\n this.updateRoomCalendar(false);\r\n }\r\n } else if (e.oldData.event !== null) {\r\n const newData: CalendarSchedulerModel = e.newData;\r\n const updateEventCalendarModel: UpdateEventCalendarModel = new UpdateEventCalendarModel();\r\n\r\n if (newData.unitId !== -1) {\r\n updateEventCalendarModel.eventId = -1;\r\n } else {\r\n updateEventCalendarModel.eventId = newData.calendarId;\r\n updateEventCalendarModel.dateFrom = new Date(newData.startDate).toDateString();\r\n updateEventCalendarModel.dateTo = new Date(newData.endDate).toDateString();\r\n }\r\n\r\n this.calendarService.updateEventOnCalendar(updateEventCalendarModel).subscribe(\r\n (response) => {\r\n this.refreshData();\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.refreshData();\r\n }\r\n );\r\n }\r\n }\r\n }\r\n\r\n getBookingIdFromCalendarItem(calendarId: number): number {\r\n const calendarListRoom = this.calendarResponseModel.rooms.reduce(\r\n (acc, rooms) => [...acc, ...rooms.calendarList],\r\n []\r\n );\r\n\r\n const allCalendarItems: CalendarModel[] = [...calendarListRoom, ...this.calendarResponseModel.shuffle];\r\n const calendar = allCalendarItems.find((x) => x.id === calendarId);\r\n if (calendar) return calendar.bookingRef;\r\n\r\n return null;\r\n }\r\n\r\n showPopup(event) {\r\n\r\n let viewportOffset = null;\r\n if (this.tooltipType === 'function') {\r\n viewportOffset = event.target.getBoundingClientRect();\r\n this.fleft = viewportOffset.left - 150;\r\n }\r\n else if (this.tooltipType == 'totalRow') {\r\n viewportOffset = event.currentTarget.getBoundingClientRect();\r\n this.left = event.currentTarget.offsetLeft +\r\n (event.currentTarget.clientWidth < 1000 ? event.currentTarget.clientWidth / 2 : 500) + 7;\r\n }\r\n else {\r\n viewportOffset = event.currentTarget.getBoundingClientRect();\r\n this.left =\r\n event.currentTarget.offsetLeft +\r\n (event.currentTarget.clientWidth < 1000 ? event.currentTarget.clientWidth / 2 : 500) -\r\n 83;\r\n }\r\n \r\n const viewportOffsetTop = viewportOffset.top;\r\n let minimumOffset: number;\r\n if (this.tooltipType === 'event') {\r\n minimumOffset = 191;\r\n } else if (this.tooltipType === 'status' || this.tooltipType === 'function' ) {\r\n minimumOffset = 113;\r\n } else {\r\n minimumOffset = 315;\r\n }\r\n\r\n if (viewportOffsetTop < minimumOffset) {\r\n this.tooltipBottom = true;\r\n } else {\r\n this.tooltipBottom = false;\r\n }\r\n\r\n this.windowSize = document.querySelectorAll('html')[0];\r\n\r\n if (this.tooltipType === 'event') {\r\n this.top = this.tooltipBottom ? viewportOffsetTop + 36 : viewportOffsetTop - 147;\r\n } else if (this.tooltipType === 'status') {\r\n this.top = this.tooltipBottom ? viewportOffsetTop + 38 : viewportOffsetTop - 54;\r\n\r\n }\r\n else if (this.tooltipType === 'function') { \r\n this.ftop = this.tooltipBottom ? viewportOffsetTop + 38 : viewportOffsetTop - 125; \r\n }\r\n else if (this.tooltipType === 'totalRow') {\r\n this.top = this.tooltipBottom ? viewportOffset + 38 : viewportOffsetTop- 55;\r\n }\r\n else {\r\n if (this.tooltipModelRoom.completed) {\r\n this.top = this.tooltipBottom ? viewportOffsetTop + 38 : viewportOffsetTop - 253;\r\n } else {\r\n this.top = this.tooltipBottom ? viewportOffsetTop + 38 : viewportOffsetTop - 346;\r\n }\r\n }\r\n \r\n }\r\n\r\n refreshDataFromSelectBox(e) {\r\n this.calendarRequestModel.activeRoomTypes = [];\r\n if (e.value !== null) {\r\n this.calendarRequestModel.activeRoomTypes = e.value;\r\n }\r\n\r\n this.refreshData();\r\n }\r\n\r\n refreshData() {\r\n this.loader = true;\r\n this.showCalendar = false;\r\n if (this.changeDateRange) {\r\n this.calendarRequestModel.dateFrom = this.startDate.toDateString();\r\n this.calendarRequestModel.dateTo = this.endDate.toDateString();\r\n }\r\n\r\n this.subscriptionCalendar = this.calendarService.getCalendarByRange(this.calendarRequestModel).subscribe(\r\n (response) => {\r\n this.calendarResponseModel = response;\r\n this.prepareDataForScheduler(this.calendarResponseModel);\r\n this.createCalendar(this.calendarResponseModel);\r\n this.loader = false;\r\n this.showQuickBookingPaymentError = false;\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n prepareDataForScheduler(responseModel: CalendarResponseModel) {\r\n this.calendarSchedulerData = [];\r\n this.unitsData = [];\r\n\r\n // setting events\r\n this.unitsData.unshift(new Unit(-1, 'Diary', '#1e90ff'));\r\n if (responseModel.events.length > 0) {\r\n for (const event of responseModel.events) {\r\n const color = '#1e90ff';\r\n this.calendarSchedulerData.push(\r\n new CalendarSchedulerModel(\r\n event.id,\r\n event.name,\r\n [1],\r\n -1,\r\n new Date(event.dateFrom),\r\n new Date(event.dateTo),\r\n true,\r\n color,\r\n null,\r\n event,\r\n null\r\n )\r\n );\r\n }\r\n }\r\n\r\n // setting rooms\r\n if (responseModel.rooms.length > 0) {\r\n responseModel.rooms.forEach((x) => {\r\n this.unitsData.push(new Unit(x.id, x.shortName, '#4eb453'));\r\n });\r\n\r\n for (const room of responseModel.rooms) {\r\n for (const calendar of room.calendarList) {\r\n const title = calendar.title;\r\n let color = '#e4e4e4';\r\n\r\n if (calendar.bookingRef !== null) {\r\n switch (calendar.bookingRoomStatus) {\r\n case 'ToArrive': {\r\n color = this.calendarLegendColor.colors.toArrive;\r\n break;\r\n }\r\n case 'Enquired': {\r\n color = this.calendarLegendColor.colors.enquired;\r\n break;\r\n }\r\n case 'CheckedIn': {\r\n color = this.calendarLegendColor.colors.checkIn;\r\n break;\r\n }\r\n case 'CheckedOut': {\r\n color = this.calendarLegendColor.colors.checkOut;\r\n break;\r\n }\r\n default: {\r\n color = this.calendarLegendColor.colors.events;\r\n break;\r\n }\r\n }\r\n } else {\r\n switch (calendar.calendarStatus) {\r\n case 'Maintenance': {\r\n color = this.calendarLegendColor.colors.maintenance;\r\n break;\r\n }\r\n case 'Unavailable': {\r\n color = this.calendarLegendColor.colors.unavailable;\r\n break;\r\n }\r\n default: {\r\n color = this.calendarLegendColor.colors.events;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n this.calendarSchedulerData.push(\r\n new CalendarSchedulerModel(\r\n calendar.id,\r\n title,\r\n [1],\r\n room.id,\r\n new Date(calendar.dateFrom),\r\n new Date(this.fixBookingDateTo(calendar.dateTo)),\r\n true,\r\n color,\r\n calendar,\r\n null,\r\n null,\r\n null\r\n )\r\n );\r\n }\r\n }\r\n }\r\n\r\n // setting shuffle\r\n this.unitsData.push(new Unit(-2, 'Shuffle', '#4eb453'));\r\n if (responseModel.shuffle.length > 0) {\r\n for (const shuffle of responseModel.shuffle) {\r\n let color = '#e4e4e4';\r\n\r\n if (shuffle.bookingRef !== null) {\r\n switch (shuffle.bookingRoomStatus) {\r\n case 'ToArrive': {\r\n color = this.calendarLegendColor.colors.toArrive;\r\n break;\r\n }\r\n case 'Enquired': {\r\n color = this.calendarLegendColor.colors.enquired;\r\n break;\r\n }\r\n case 'CheckedIn': {\r\n color = this.calendarLegendColor.colors.checkIn;\r\n break;\r\n }\r\n case 'CheckedOut': {\r\n color = this.calendarLegendColor.colors.checkOut;\r\n break;\r\n }\r\n default: {\r\n color = this.calendarLegendColor.colors.events;\r\n break;\r\n }\r\n }\r\n } else {\r\n switch (shuffle.calendarStatus) {\r\n case 'Maintenance': {\r\n color = this.calendarLegendColor.colors.maintenance;\r\n break;\r\n }\r\n case 'Unavailable': {\r\n color = this.calendarLegendColor.colors.unavailable;\r\n break;\r\n }\r\n default: {\r\n color = this.calendarLegendColor.colors.events;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n const title = shuffle.title;\r\n\r\n this.calendarSchedulerData.push(\r\n new CalendarSchedulerModel(\r\n shuffle.id,\r\n title,\r\n [1],\r\n -2,\r\n new Date(shuffle.dateFrom),\r\n new Date(this.fixBookingDateTo(shuffle.dateTo)),\r\n true,\r\n color,\r\n shuffle,\r\n null,\r\n null,\r\n null\r\n )\r\n );\r\n }\r\n }\r\n\r\n this.showCalendar = true;\r\n }\r\n\r\n fixBookingDateTo(dateString: string): string {\r\n const date: Date = new Date(dateString);\r\n const newDateString = date.toDateString();\r\n return newDateString;\r\n }\r\n\r\n updateShuffle() {\r\n this.calendarService.shuffleCalendar(this.shuffleCalId).subscribe(\r\n (response) => {\r\n this.refreshData();\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.refreshData();\r\n }\r\n );\r\n }\r\n\r\n updateDiary() {\r\n this.calendarService.updateEventOnCalendar(this.diaryModel).subscribe(\r\n (response) => {\r\n this.refreshData();\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.refreshData();\r\n }\r\n );\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.subscriptionCalendar) {\r\n this.subscriptionCalendar.unsubscribe();\r\n }\r\n //delete the new booking cookie which highlights the booking\r\n CookieHelper.setCookie('calendarHighlightBookingId', 0, 0, false);\r\n }\r\n\r\n deselectCells() {\r\n $('.calendar-row').not('.function-room').selectable('destroy');\r\n this.selectableInit();\r\n }\r\n\r\n selectableInit() {\r\n const component = this;\r\n\r\n const shuffleRow = '.calendar-row[data-row-id=-1]';\r\n\r\n $('.calendar-row').not('.function-room').selectable({\r\n stop: function (event, ui) {\r\n // Start here\r\n const allSelectedCells = $('.ui-selected');\r\n const allSelectedFilteredArr = [];\r\n\r\n for (let index = 0; index < allSelectedCells.length; index++) {\r\n const element = allSelectedCells[index];\r\n if (element.className.includes('ui-droppable')) {\r\n allSelectedFilteredArr.push(element);\r\n }\r\n if (element.children.length > 0) {\r\n for (let childIndex = 0; childIndex < element.children.length; childIndex++) {\r\n if ($(element.children[childIndex]).data('locked')) {\r\n //if we have any locked rooms within the selected range then stop\r\n component.deselectCells();\r\n return;\r\n }\r\n }\r\n }\r\n }\r\n const selectedCellsRange = allSelectedFilteredArr.length;\r\n\r\n const dateFrom = new Date($(allSelectedFilteredArr[0]).attr('data-date'));\r\n //const dateTo = new Date(dateFrom.getTime() + selectedCellsRange * (24 * 60 * 60 * 1000));\r\n\r\n const dateTo = moment(dateFrom).add(selectedCellsRange, 'days').toDate(); //new Date(dateFrom.getTime() + selectedCellsRange * (24 * 60 * 60 * 1000));\r\n\r\n const date1 = new Date(dateTo);\r\n const date2 = new Date();\r\n const timeDiff = Math.abs(date2.getTime() - date1.getTime());\r\n const diffDays = Math.ceil(timeDiff / (1000 * 3600 * 24));\r\n\r\n if (diffDays < 1200) {\r\n if ($(this).attr('data-row-id') == 0) {\r\n component.newEvent = true;\r\n component.data = {};\r\n component.data.groups = {};\r\n component.data.groups.unitId = -1;\r\n component.data.startDate = dateFrom;\r\n component.data.endDate = dateTo;\r\n } else if ($(this).attr('data-row-id') == -1 || $(this).attr('id') === 'total-row') {\r\n $(this).removeClass('ui-selectable');\r\n $.each($(this).children(), function (index, child) {\r\n $(child).removeClass('ui-selectee');\r\n $(child).removeClass('ui-selected');\r\n });\r\n } else {\r\n component.newBooking = true;\r\n component.data = {};\r\n component.data.groups = {};\r\n component.data.groups.unitId = Number($(this).attr('data-row-id'));\r\n component.data.startDate = dateFrom;\r\n component.data.endDate = dateTo;\r\n }\r\n } else {\r\n component.deselectCells();\r\n }\r\n },\r\n });\r\n }\r\n\r\n navigateToBookingDetails(id) {\r\n if (!id) return;\r\n \r\n this.router.navigate(['/booking', 'details', id]);\r\n }\r\n\r\n navigateToFunctionDetails(id) {\r\n if (!id) return;\r\n\r\n this.router.navigate(['/function', 'details', id]);\r\n }\r\n\r\n setNextTwoWeeks(fromConstructor?: boolean) {\r\n this.changeDateRange = true;\r\n this.datesArray = [];\r\n let currentDate: Date = new Date();\r\n let lastDate: Date = new Date();\r\n\r\n const offset = this.getOffset();\r\n\r\n addDaysCurrent(this.startDate, this.activeCalendarView === CalendarView.SevenGrid ? 7 : 15);\r\n addDaysLast(currentDate, offset);\r\n\r\n function addDaysCurrent(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n currentDate = result;\r\n }\r\n\r\n function addDaysLast(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n lastDate = result;\r\n }\r\n\r\n while (currentDate < lastDate) {\r\n this.datesArray.push(currentDate.toDateString());\r\n currentDate.setDate(currentDate.getDate() + 1);\r\n }\r\n\r\n const startDay: Date = new Date(this.datesArray[0]);\r\n const endDay: Date = new Date(this.datesArray[this.datesArray.length - 1]);\r\n this.startDate = new Date(startDay);\r\n this.endDate = new Date(endDay);\r\n this.startDate.setDate(startDay.getDate());\r\n this.endDate.setDate(endDay.getDate() + 1);\r\n\r\n const expiresDate: Date = new Date();\r\n expiresDate.setMinutes(expiresDate.getMinutes() + 10);\r\n this.setCookie(new Date(this.datesArray[0]).toDateString(), expiresDate);\r\n\r\n if (fromConstructor) {\r\n this.refreshData();\r\n }\r\n }\r\n\r\n setPreviousTwoWeeks(fromConstructor?: boolean) {\r\n this.changeDateRange = true;\r\n this.datesArray = [];\r\n let currentDate: Date = new Date();\r\n let lastDate: Date = new Date();\r\n\r\n const offset = this.getOffset();\r\n\r\n removeDaysCurrent(this.startDate, this.activeCalendarView === CalendarView.SevenGrid ? 7 : 15);\r\n removeDaysLast(currentDate, offset);\r\n\r\n function removeDaysCurrent(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() - days);\r\n currentDate = result;\r\n }\r\n\r\n function removeDaysLast(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n lastDate = result;\r\n }\r\n\r\n while (currentDate.getTime() < lastDate.getTime()) {\r\n this.datesArray.push(currentDate.toDateString());\r\n currentDate.setDate(currentDate.getDate() + 1);\r\n }\r\n\r\n const startDay: Date = new Date(this.datesArray[0]);\r\n const endDay: Date = new Date(this.datesArray[this.datesArray.length - 1]);\r\n this.startDate = new Date(startDay);\r\n this.endDate = new Date(endDay);\r\n this.startDate.setDate(startDay.getDate());\r\n this.endDate.setDate(endDay.getDate() + 1);\r\n\r\n const expiresDate: Date = new Date();\r\n expiresDate.setMinutes(expiresDate.getMinutes() + 10);\r\n this.setCookie(new Date(this.datesArray[0]).toDateString(), expiresDate);\r\n\r\n if (fromConstructor) {\r\n this.refreshData();\r\n }\r\n }\r\n\r\n setDateToToday() {\r\n const today = new Date();\r\n\r\n today.setDate(today.getDate() - 2);\r\n\r\n this.setToSpecifiedDate(today);\r\n }\r\n\r\n setToSpecifiedDate(dateInput) {\r\n let resultDate: Date = new Date();\r\n this.changeDateRange = true;\r\n if (dateInput !== null) {\r\n this.datesArray = [];\r\n const chosenDate: Date = dateInput;\r\n\r\n const currentDate: Date = new Date(chosenDate);\r\n let endDate: Date = new Date();\r\n\r\n const offset = this.getOffset();\r\n\r\n setLastDate(currentDate, offset);\r\n\r\n endDate = resultDate;\r\n while (currentDate < endDate) {\r\n const newDate: Date = new Date(currentDate);\r\n this.datesArray.push(newDate.toDateString());\r\n currentDate.setDate(currentDate.getDate() + 1);\r\n }\r\n\r\n const startDay = new Date(this.datesArray[0]);\r\n const endDay = new Date(this.datesArray[this.datesArray.length - 1]);\r\n this.startDate = new Date(startDay);\r\n this.endDate = new Date(endDay);\r\n this.startDate.setDate(startDay.getDate());\r\n this.endDate.setDate(endDay.getDate() + 1);\r\n\r\n const expiresDate: Date = new Date();\r\n expiresDate.setMinutes(expiresDate.getMinutes() + 10);\r\n this.setCookie(new Date(this.datesArray[0]).toDateString(), expiresDate);\r\n\r\n this.refreshData();\r\n }\r\n\r\n function setLastDate(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n resultDate = result;\r\n }\r\n }\r\n\r\n datePickerFunction(e) {\r\n if (e.value !== null) {\r\n this.setToSpecifiedDate(e.value);\r\n }\r\n }\r\n\r\n // to get elWidth and resizeGridWidth just divide cell width / offsetWidth\r\n resizeElements() {\r\n if ($(window).innerWidth() > 1750) {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n this.elWidth = 44 * this.offsetWidth;\r\n this.resizeGridWidth = 44 * this.offsetWidth;\r\n } else {\r\n this.elWidth = 50 * this.offsetWidth;\r\n this.resizeGridWidth = 51 * this.offsetWidth;\r\n }\r\n }\r\n\r\n if ($(window).innerWidth() <= 1750 && $(window).innerWidth() > 1551) {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n this.elWidth = 38 * this.offsetWidth;\r\n this.resizeGridWidth = 38 * this.offsetWidth;\r\n } else {\r\n this.elWidth = 45 * this.offsetWidth;\r\n this.resizeGridWidth = 46 * this.offsetWidth;\r\n }\r\n }\r\n\r\n if ($(window).innerWidth() <= 1550 && $(window).innerWidth() > 1401) {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n this.elWidth = 33 * this.offsetWidth;\r\n this.resizeGridWidth = 33 * this.offsetWidth;\r\n } else {\r\n this.elWidth = 40 * this.offsetWidth;\r\n this.resizeGridWidth = 41 * this.offsetWidth;\r\n }\r\n }\r\n\r\n if ($(window).innerWidth() <= 1400 && $(window).innerWidth() > 1251) {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n this.elWidth = 29 * this.offsetWidth;\r\n this.resizeGridWidth = 29 * this.offsetWidth;\r\n } else {\r\n this.elWidth = 35 * this.offsetWidth;\r\n this.resizeGridWidth = 36 * this.offsetWidth;\r\n }\r\n }\r\n\r\n if ($(window).innerWidth() <= 1250 && $(window).innerWidth() > 1151) {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n this.elWidth = 26 * this.offsetWidth;\r\n this.resizeGridWidth = 26 * this.offsetWidth;\r\n } else {\r\n this.elWidth = 32 * this.offsetWidth;\r\n this.resizeGridWidth = 33 * this.offsetWidth;\r\n }\r\n }\r\n\r\n if ($(window).innerWidth() <= 1150) {\r\n if (this.activeCalendarView === CalendarView.SevenGrid) {\r\n this.elWidth = 23 * this.offsetWidth;\r\n this.resizeGridWidth = 23 * this.offsetWidth;\r\n } else {\r\n this.elWidth = 28 * this.offsetWidth;\r\n this.resizeGridWidth = 29 * this.offsetWidth;\r\n }\r\n }\r\n }\r\n\r\n checkBookingChange() {\r\n if (this.eventResized) {\r\n // only if its room event call getForUpdateCalendar\r\n this.loader = true;\r\n this.calendarService.getForUpdateCalendar(this.updateCalendarModel).subscribe(\r\n (response) => {\r\n if (response.hasException) {\r\n this.loader = false;\r\n this.dateExceptionMessage = response.message;\r\n this.dateExceptionMessage += '. Do you wish to continue?';\r\n this.confirmDateChange = true;\r\n this.showAcceptReject = false;\r\n } else {\r\n this.loader = false;\r\n this.acceptResizeFunction();\r\n }\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.error(error.message);\r\n }\r\n );\r\n } else {\r\n this.acceptResizeFunction();\r\n }\r\n }\r\n\r\n acceptResizeFunction() {\r\n this.acceptClicked = true;\r\n if (this.eventResized) {\r\n this.checkIfRoomIsTaken();\r\n } else if (this.diaryResized) {\r\n this.updateDiary();\r\n } else if (this.shuffleChanged) {\r\n this.updateShuffle();\r\n }\r\n this.showAcceptReject = false;\r\n $('.draggable').css('opacity', '1');\r\n }\r\n\r\n rejectResize() {\r\n if (this.rejectDropped) {\r\n if (this.partlyShowingDropped) {\r\n // if one of the cutof events or bookings are rejected then refresh the calendar and put it back in place\r\n this.refreshData();\r\n } else {\r\n if (this.draggingElementRow == '0') {\r\n this.uiElement.draggable.css('top', '' + this.diaryTopValue);\r\n } else {\r\n this.uiElement.draggable.css('top', '0px');\r\n }\r\n this.uiElement.draggable.css('left', '0px');\r\n\r\n if (this.acceptRejectTarget === '#undefined') {\r\n if (this.draggingElementRow === '0') {\r\n this.uiElement.draggable.css('top', '' + this.diaryTopValue);\r\n } else {\r\n this.uiElement.draggable.css('top', '0px');\r\n }\r\n this.uiElement.draggable.css('left', '0px');\r\n }\r\n }\r\n } else {\r\n if (typeof this.uiElement.element !== 'undefined') {\r\n this.uiElement.element.css(this.uiElement.originalPosition);\r\n // Modify the element's width& height to the original value.\r\n this.uiElement.element.css(this.uiElement.originalSize);\r\n }\r\n }\r\n this.showAcceptReject = false;\r\n $('.draggable').css('opacity', '1');\r\n }\r\n getRoomsData(element, numOfDays, roomsData) {\r\n \r\n if (roomsData.isFunction) {\r\n\r\n return `
\r\n
\r\n ${roomsData.morningSession ? `
 
` : roomsData.calendarStatus != \"Unavailable\" ? '
 
' : '
 
' }\r\n ${roomsData.afternoonSession ? `
 
` : roomsData.calendarStatus != \"Unavailable\" ? '
 
' : '
 
' }\r\n ${roomsData.eveningSession ? `
 
` : roomsData.calendarStatus != \"Unavailable\" ? '
 
' : '
 
' }\r\n\r\n
\r\n
`;\r\n }\r\n\r\n else {\r\n return `
\r\n
\r\n ${roomsData.title}\r\n
\r\n ${roomsData.locked ? `` : ''}\r\n
`;\r\n }\r\n }\r\n\r\n getNumbersOfDay(roomId, to, from) {\r\n let mTo = moment(to.toDateString());\r\n let mFrom = moment(from.toDateString());\r\n\r\n if (roomId === 0) {\r\n return mTo.diff(mFrom, 'days') + 1;\r\n }\r\n else {\r\n return mTo.diff(mFrom, 'days')\r\n }\r\n }\r\n\r\n checkAndGetCookieHighlightBookingId(){\r\n return CookieHelper.getCookie('calendarHighlightBookingId', false);\r\n }\r\n\r\n createCalendar(calendarResponseModel) {\r\n var isOpera =\r\n (!!window['opr'] && !!window['opr'].addons) ||\r\n !!window['opera'] ||\r\n navigator.userAgent.indexOf(' OPR/') >= 0;\r\n\r\n // Firefox 1.0+\r\n var isFirefox = typeof InstallTrigger !== 'undefined';\r\n\r\n // Safari 3.0+ \"[object HTMLElementConstructor]\"\r\n var isSafari =\r\n /constructor/i.test((window as any)['HTMLElement']) ||\r\n (function (p) {\r\n return p.toString() === '[object SafariRemoteNotification]';\r\n })(!window['safari'] || window['safari'].pushNotification);\r\n\r\n // Internet Explorer 6-11\r\n var isIE = /*@cc_on!@*/ false || !!window.document['documentMode'];\r\n\r\n // Edge 20+\r\n var isEdge = !isIE && !!(window).StyleMedia;\r\n\r\n // Chrome 1+\r\n var isChrome = !!window['chrome'] && !!window['chrome'].webstore;\r\n\r\n $('.left-side').empty();\r\n $('.days-row').empty();\r\n $('.calendar-cells').empty();\r\n\r\n const component = this;\r\n component.acceptClicked = false;\r\n var lastEvent;\r\n let startDate = component.startDate;\r\n\r\n const endDate = component.endDate;\r\n let datesArray = component.datesArray;\r\n const addedCalendars = [];\r\n\r\n let acceptClicked = false;\r\n let rejectClicked = false;\r\n\r\n component.resizeElements();\r\n\r\n let startDateCopy: Date = new Date();\r\n\r\n function removeDaysCurrent(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() - days);\r\n startDateCopy = result;\r\n }\r\n\r\n // adjust json for diary\r\n const roomItem: any = {};\r\n roomItem.id = 0;\r\n roomItem.shortName = 'Diary';\r\n roomItem.name = 'Diary';\r\n roomItem.calendarList = [];\r\n\r\n for (const event of calendarResponseModel.events) {\r\n const calendarItem: any = {};\r\n calendarItem.id = event.id;\r\n calendarItem.roomId = 0;\r\n calendarItem.propertyId = event.propertyId;\r\n calendarItem.description = event.description;\r\n calendarItem.name = event.name;\r\n calendarItem.dateFrom = event.dateFrom;\r\n calendarItem.dateTo = event.dateTo;\r\n calendarItem.dateCreated = event.dateCreated;\r\n calendarItem.active = event.active;\r\n calendarItem.groupColor = event.groupColor;\r\n calendarItem.daysInRange = event.daysInRange;\r\n\r\n roomItem.calendarList.push(calendarItem);\r\n }\r\n\r\n const roomsArray = calendarResponseModel.rooms;\r\n //const functionRoomsArray = calendarResponseModel.functionRooms;\r\n\r\n roomsArray.unshift(roomItem);\r\n\r\n if (this.calendarRequestModel.beddingArrangements == null || this.calendarRequestModel.beddingArrangements.length == 0) {\r\n //add in the function rooms unless the user is filtering on specific bedding arrangements\r\n for (let i=0; i${dayName} ${day}
${monthName}
`;\r\n }\r\n\r\n let timeoutId: any;\r\n\r\n $(document).off('mouseover', '.draggable'); //clear previous events\r\n $(document).off('mouseout', '.draggable'); //clear previous events\r\n\r\n $(document).on('mouseover', '.draggable', (event) => {\r\n\r\n timeoutId = setTimeout(() => {\r\n this.targetElement = '#' + $(event.currentTarget).attr('id');\r\n if ($(event.currentTarget).attr('data-row-id') == 0) {\r\n const appointment: any = {};\r\n appointment.calendar = null;\r\n appointment.event = {};\r\n appointment.event.id = Number($(event.currentTarget).attr('data-calendar-id'));\r\n this.prepareTooltipData(appointment, event);\r\n } else {\r\n const element = Number($(event.currentTarget).attr('data-calendar-id'));\r\n const calendar = findRoomCalendar(element);\r\n const appointment: any = {};\r\n appointment.show = appointment.calendar = calendar;\r\n this.prepareTooltipData(appointment, event);\r\n }\r\n }, 400);\r\n });\r\n\r\n $(document).on('mouseout', '.draggable', (event) => {\r\n //this.showPopup(event);\r\n \r\n clearTimeout(timeoutId);\r\n this.showTooltip = false;\r\n });\r\n\r\n $(document).on('mouseover', '.function:not([data-status=\"Unavailable\"])', (event) => {\r\n timeoutId = setTimeout(() => {\r\n\r\n let target = $(event.target).closest('.function');\r\n\r\n this.targetElement = '#' + $(target).attr('id');\r\n let sDate = new Date($(target).attr('data-date-from'));\r\n sDate.setHours(0,0,0,0);\r\n\r\n const fRow = $(target).closest('.function-room').attr('data-row-id');\r\n \r\n const frId = Number(fRow.replace('fr', ''));\r\n\r\n const calendar = findFunctionCalendar(frId, sDate);\r\n \r\n this.prepareFunctionTooltipData(frId, calendar, event);\r\n\r\n this.ref.detectChanges();\r\n\r\n }, 400);\r\n });\r\n\r\n $(document).on('mouseover', '.function-popover', (event) => {\r\n clearTimeout(timeoutId);\r\n });\r\n\r\n $(document).on('mouseover', '.day-total', (event) => {\r\n timeoutId = setTimeout(() => {\r\n this.targetElement = '#' + $(event.currentTarget).attr('id');\r\n\r\n const rooms = Number($(event.currentTarget).attr('data-rooms'));\r\n const guests = Number($(event.currentTarget).attr('data-guests'));\r\n const totalRow:any = {};\r\n totalRow.totalBookedRooms = rooms;\r\n totalRow.totalResidentGuests = guests;\r\n this.prepareTotalRowTooltipData(totalRow, event);\r\n }, 400)\r\n });\r\n\r\n $(document).on('mouseout', '.day-total', (event) => {\r\n clearTimeout(timeoutId);\r\n this.showTooltip = false;\r\n });\r\n\r\n $(document).on('mouseout', '.function, .function-popover', (event) => {\r\n clearTimeout(timeoutId);\r\n timeoutId = setTimeout(() => {\r\n this.showPopup(event);\r\n\r\n //clearTimeout(timeoutId);\r\n this.showFunctionTooltip = false;\r\n this.showTooltip = false;\r\n\r\n this.ref.detectChanges();\r\n }, 400);\r\n }); \r\n\r\n $(document).on('click', '.close-function-popover', (event) => {\r\n clearTimeout(timeoutId);\r\n this.showFunctionTooltip = false;\r\n this.showTooltip = false; \r\n });\r\n\r\n $(document).on('click', '.function-name', (event) => {\r\n clearTimeout(timeoutId);\r\n\r\n timeoutId = setTimeout(() => {\r\n\r\n this.showFunctionTooltip = false;\r\n this.showTooltip = false;\r\n\r\n const functionId = Number(event.target.dataset.functionid);\r\n this.navigateToFunctionDetails(functionId);\r\n\r\n this.ref.detectChanges();\r\n }, 400);\r\n\r\n });\r\n\r\n // Adding Rooms to the left side\r\n\r\n const leftSide = document.getElementById('left-side');\r\n const leftSideFragment = document.createDocumentFragment();\r\n const calendarCells = document.getElementById('calendar-cells');\r\n const calendarCellsFragment = document.createDocumentFragment();\r\n\r\n let frId = 1;\r\n let brId = 0;\r\n\r\n for (let i = 0; i < roomsArray.length; i++) {\r\n // add rooms\r\n const rowName = document.createElement('div');\r\n const isFifth = (i + 1) % 5 === 0;\r\n\r\n if (roomsArray[i].isFunction) {\r\n rowName.setAttribute('id', 'fr' + frId);\r\n rowName.setAttribute('title', roomsArray[i].name);\r\n frId++;\r\n }\r\n else {\r\n rowName.setAttribute('id', '' + brId);\r\n brId++;\r\n }\r\n \r\n rowName.setAttribute(\r\n 'class',\r\n component.activeCalendarView === CalendarView.Regular ||\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? 'row-name-week-view'\r\n : 'row-name'\r\n );\r\n rowName.setAttribute('data-row-id', roomsArray[i].shortName); \r\n rowName.innerText = '' + roomsArray[i].shortName;\r\n\r\n leftSideFragment.appendChild(rowName);\r\n\r\n // add rows\r\n const calendarRow = document.createElement('div');\r\n \r\n if (i === 0) {\r\n calendarRow.setAttribute('class', 'calendar-row');\r\n calendarRow.setAttribute('id', '' + i + '-' + roomsArray[i].id);\r\n calendarRow.setAttribute('data-row-id', roomsArray[i].id);\r\n }\r\n if (roomsArray[i].isFunction) {\r\n calendarRow.setAttribute('class', 'calendar-row function-room');\r\n calendarRow.setAttribute('id', 'fr' + frId + '-' + roomsArray[i].id);\r\n calendarRow.setAttribute('data-row-id', 'fr' + roomsArray[i].id);\r\n }\r\n else {\r\n calendarRow.setAttribute('class', 'calendar-row room');\r\n calendarRow.setAttribute('id', '' + brId + '-' + roomsArray[i].id);\r\n calendarRow.setAttribute('data-row-id', roomsArray[i].id);\r\n }\r\n \r\n calendarCellsFragment.appendChild(calendarRow);\r\n }\r\n\r\n leftSide.appendChild(leftSideFragment);\r\n calendarCells.appendChild(calendarCellsFragment);\r\n\r\n // Adding rows and cells\r\n\r\n const daysRow = document.getElementById('days-row');\r\n const fixedDaysHeader = document.getElementById('fixed-days-header');\r\n const daysRowFragment = document.createDocumentFragment();\r\n\r\n for (let i = 0; i < datesArray.length; i++) {\r\n const someDate = new Date(datesArray[i]);\r\n const date = document.createElement('div');\r\n date.setAttribute('id', '' + new Date(datesArray[i]).getTime());\r\n date.setAttribute(\r\n 'class',\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? 'date-seven-view'\r\n : component.activeCalendarView === CalendarView.Regular\r\n ? 'date-week-view'\r\n : 'date'\r\n );\r\n date.setAttribute('data-date', new Date(datesArray[i]).toDateString());\r\n date.innerHTML = '' + formatDate(someDate);\r\n\r\n daysRowFragment.appendChild(date);\r\n\r\n // cells inside calendar\r\n const formattedDate = date.innerText;\r\n const classView =\r\n this.activeCalendarView === CalendarView.SevenGrid\r\n ? 'seven-grid'\r\n : component.activeCalendarView === CalendarView.Regular\r\n ? 'day-week-view'\r\n : 'day';\r\n const className =\r\n formattedDate.substring(0, formattedDate.indexOf(' ')).toLowerCase() === 'sat' ||\r\n formattedDate.substring(0, formattedDate.indexOf(' ')).toLowerCase() === 'sun'\r\n ? classView + ' weekend'\r\n : classView;\r\n\r\n $('.calendar-row').append(\r\n `\r\n
\r\n
\r\n `\r\n );\r\n }\r\n\r\n const datesClone = daysRowFragment.cloneNode(true);\r\n daysRow.appendChild(daysRowFragment);\r\n fixedDaysHeader.appendChild(datesClone);\r\n\r\n const dateClass =\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? '.date-seven-view'\r\n : component.activeCalendarView === CalendarView.Regular\r\n ? '.date-week-view'\r\n : '.date';\r\n\r\n $(dateClass).each(function (index, dateCell) {\r\n if ($(dateCell).attr('data-date') === new Date().toDateString()) {\r\n $(dateCell).css('background-color', '#aedeff');\r\n }\r\n });\r\n\r\n const rowNameClass =\r\n component.activeCalendarView === CalendarView.Regular || this.activeCalendarView === CalendarView.SevenGrid\r\n ? 'row-name-week-view'\r\n : 'row-name';\r\n\r\n $('.left-side').prepend(\r\n `\r\n
\r\n `\r\n );\r\n\r\n $('.left-side').append(\r\n `\r\n
Total
\r\n `\r\n );\r\n\r\n $('.calendar-cells').append(`\r\n
\r\n `);\r\n\r\n const totalRow = document.getElementById('total-row');\r\n const totalRowFragment = document.createDocumentFragment();\r\n\r\n $.each(datesArray, function (index, date) {\r\n $.each(calendarResponseModel.total, function (totalIndex, total) {\r\n if (new Date(date).toDateString() === new Date(total.date).toDateString()) {\r\n const dayTotal = document.createElement('div');\r\n dayTotal.setAttribute('id', '' + new Date(date).getDate() + '-' + index + '-total');\r\n dayTotal.setAttribute(\r\n 'class',\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? 'seven-grid day-total'\r\n : component.activeCalendarView === CalendarView.Regular\r\n ? 'day-week-view day-total'\r\n : 'day day-total'\r\n );\r\n \r\n dayTotal.setAttribute('data-rooms', total.total);\r\n dayTotal.setAttribute('data-guests', total.guests);\r\n dayTotal.setAttribute('data-date', new Date(date).toDateString());\r\n dayTotal.innerText = '' + total.total + ' | ' + total.guests;\r\n\r\n totalRowFragment.appendChild(dayTotal);\r\n }\r\n });\r\n });\r\n\r\n totalRow.appendChild(totalRowFragment);\r\n\r\n if (component.activeCalendarView === CalendarView.SevenGrid) {\r\n $('.seven-grid').each(function (index, dateCell) {\r\n if ($(dateCell).attr('data-date') === new Date().toDateString()) {\r\n $(dateCell).css('background-color', '#aedeff');\r\n }\r\n });\r\n }\r\n\r\n if (component.activeCalendarView === CalendarView.Regular) {\r\n $('.day-week-view').each(function (index, dateCell) {\r\n if ($(dateCell).attr('data-date') === new Date().toDateString()) {\r\n $(dateCell).css('background-color', '#aedeff');\r\n }\r\n });\r\n }\r\n\r\n if (component.activeCalendarView === CalendarView.Extended) {\r\n $('.day').each(function (index, dateCell) {\r\n if ($(dateCell).attr('data-date') === new Date().toDateString()) {\r\n $(dateCell).css('background-color', '#aedeff');\r\n }\r\n });\r\n }\r\n\r\n for (let i = 0; i < roomsArray.length; i++) {\r\n for (let j = 0; j < datesArray.length; j++) {\r\n for (let z = 0; z < roomsArray[i].calendarList.length; z++) {\r\n if (roomsArray[i].calendarList[z].bookingRef === null) {\r\n roomsArray[i].calendarList[z].roomType = 'null';\r\n }\r\n\r\n let color = this.calendarLegendColor.colors.events;\r\n let rowClass = '';\r\n const roomsData = {\r\n dataCalendarId: roomsArray[i].calendarList[z].id,\r\n dataRowId: roomsArray[i].id,\r\n dataDateFrom: roomsArray[i].calendarList[z].dateFrom,\r\n dataDateTo: roomsArray[i].calendarList[z].dateTo,\r\n locked: roomsArray[i].calendarList[z].locked,\r\n isFunction: roomsArray[i].isFunction,\r\n morningSession: roomsArray[i].calendarList[z].morningSession,\r\n afternoonSession: roomsArray[i].calendarList[z].afternoonSession,\r\n eveningSession: roomsArray[i].calendarList[z].eveningSession,\r\n calendarStatus: roomsArray[i].calendarList[z].calendarStatus\r\n };\r\n\r\n if (roomsArray[i].calendarList[z].bookingRef !== null) {\r\n switch (roomsArray[i].calendarList[z].warningInfo) {\r\n case 'There are more than one lead guest. ': {\r\n color = this.calendarLegendColor.colors.warningInfo;\r\n rowClass = 'warningInfoError';\r\n break;\r\n }\r\n }\r\n switch (roomsArray[i].calendarList[z].bookingRoomStatus) {\r\n case 'ToArrive': {\r\n color = this.calendarLegendColor.colors.toArrive;\r\n rowClass = 'to-arrive';\r\n break;\r\n }\r\n case 'Enquired': {\r\n color = this.calendarLegendColor.colors.enquired;\r\n rowClass = 'enquired';\r\n break;\r\n }\r\n case 'CheckedIn': {\r\n color = this.calendarLegendColor.colors.checkIn;\r\n rowClass = 'checked-in';\r\n break;\r\n }\r\n case 'CheckedOut': {\r\n color = this.calendarLegendColor.colors.checkOut;\r\n rowClass = 'checked-out';\r\n break;\r\n }\r\n default: {\r\n color = this.calendarLegendColor.colors.events;\r\n rowClass = '';\r\n break;\r\n }\r\n }\r\n } else {\r\n switch (roomsArray[i].calendarList[z].calendarStatus) {\r\n case 'Maintenance': {\r\n color = this.calendarLegendColor.colors.maintenance;\r\n rowClass = 'maintenance';\r\n break;\r\n }\r\n case 'Unavailable': {\r\n color = this.calendarLegendColor.colors.unavailable;\r\n rowClass = 'unavailable';\r\n break;\r\n }\r\n default: {\r\n color = this.calendarLegendColor.colors.events;\r\n rowClass = '';\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (component.changeDateRange) {\r\n // IF CHANGING THE RANGE OF DATES (NEXT PREV OR DATE)\r\n\r\n removeDaysCurrent(startDate, 0);\r\n\r\n if (new Date(roomsArray[i].calendarList[z].dateFrom) < new Date(startDateCopy.toDateString())) {\r\n if (roomsArray[i].calendarList[z].roomId == roomsArray[i].id) {\r\n let cellElements = null;\r\n if (component.activeCalendarView === CalendarView.Regular) {\r\n cellElements = $(\r\n `.day-week-view[data-date='${new Date(startDateCopy).toDateString()}']`\r\n );\r\n } else if (component.activeCalendarView === CalendarView.SevenGrid) {\r\n cellElements = $(\r\n `.seven-grid[data-date='${new Date(startDateCopy).toDateString()}']`\r\n );\r\n } else {\r\n cellElements = $(`.day[data-date='${new Date(startDateCopy).toDateString()}']`);\r\n }\r\n\r\n $.each(cellElements, function (indexElement, element) {\r\n if (\r\n $(element).parent().attr('data-row-id') == roomsArray[i].calendarList[z].roomId || $(element).parent().attr('data-row-id') == 'fr' + roomsArray[i].calendarList[z].roomId\r\n ) {\r\n if (!checkIfCalendarExist(roomsArray[i].calendarList[z])) {\r\n const to = new Date(roomsArray[i].calendarList[z].dateTo);\r\n const numOfDays = roomsArray[i].calendarList[z].daysInRange;\r\n const calendarDateFrom = new Date(roomsArray[i].calendarList[z].dateFrom);\r\n let calendarNumOfDays = component.getNumbersOfDay(\r\n +roomsArray[i].id,\r\n to,\r\n calendarDateFrom\r\n );\r\n\r\n if (+roomsArray[i].id === 0) {\r\n const data = {\r\n ...roomsData,\r\n dataDiaryName: roomsArray[i].calendarList[z].name,\r\n dataDiaryDesc: roomsArray[i].calendarList[z].description,\r\n dataPartlyShowing: '1',\r\n classes: 'draggable clickable event-draggable',\r\n title: roomsArray[i].calendarList[z].name,\r\n };\r\n\r\n $(element).append(\r\n component.getRoomsData(element, calendarNumOfDays, data)\r\n );\r\n } else {\r\n calendarNumOfDays = Math.ceil(\r\n (to.getTime() - calendarDateFrom.getTime()) / (1000 * 3600 * 24)\r\n );\r\n if (roomsArray[i].calendarList[z].bookingRef == null) {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: roomsArray[i].calendarList[z].roomType,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n classes: `draggable clickable ${rowClass} ${\r\n roomsArray[i].calendarList[z].fullyPaid ? 'fully-paid' : ''\r\n }`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n\r\n $(element).append(\r\n component.getRoomsData(element, calendarNumOfDays, data)\r\n );\r\n } else {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: roomsArray[i].calendarList[z].roomType,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n dataPartlyShowing: '1',\r\n classes: `draggable clickable ${rowClass} ${\r\n roomsArray[i].calendarList[z].fullyPaid ? 'fully-paid' : ''\r\n }`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n\r\n $(element).append(\r\n component.getRoomsData(element, calendarNumOfDays, data)\r\n );\r\n }\r\n }\r\n\r\n // set width of each range div\r\n const el = document.getElementById(\r\n `${$(element).attr('id')}-${roomsArray[i].calendarList[z].id}`\r\n );\r\n\r\n el.style.width = component.getDraggableElementWidth(\r\n component.elWidth,\r\n numOfDays,\r\n roomsData.isFunction\r\n );\r\n\r\n addedCalendars.push(roomsArray[i].calendarList[z]);\r\n }\r\n }\r\n });\r\n }\r\n } else {\r\n if (\r\n roomsArray[i].calendarList[z].roomId == roomsArray[i].id &&\r\n new Date(roomsArray[i].calendarList[z].dateFrom).toDateString() ==\r\n new Date(datesArray[j]).toDateString()\r\n ) {\r\n let cellElements = null;\r\n if (component.activeCalendarView === CalendarView.Regular) {\r\n cellElements = $(\r\n `.day-week-view[data-date='${new Date(datesArray[j]).toDateString()}']`\r\n );\r\n } else if (component.activeCalendarView === CalendarView.SevenGrid) {\r\n cellElements = $(\r\n `.seven-grid[data-date='${new Date(datesArray[j]).toDateString()}']`\r\n );\r\n } else {\r\n cellElements = $(`.day[data-date='${new Date(datesArray[j]).toDateString()}']`);\r\n }\r\n\r\n $.each(cellElements, function (indexElement, element) {\r\n if (\r\n $(element).parent().attr('data-row-id') == roomsArray[i].calendarList[z].roomId || $(element).parent().attr('data-row-id') == 'fr' + roomsArray[i].calendarList[z].roomId\r\n ) {\r\n if (!checkIfCalendarExist(roomsArray[i].calendarList[z])) {\r\n const to = new Date(roomsArray[i].calendarList[z].dateTo);\r\n const from = new Date(roomsArray[i].calendarList[z].dateFrom);\r\n const numOfDays = component.getNumbersOfDay(+roomsArray[i].id, to, from);\r\n\r\n if (+roomsArray[i].id === 0) {\r\n const data = {\r\n ...roomsData,\r\n dataDiaryName: roomsArray[i].calendarList[z].name,\r\n dataDiaryDesc: roomsArray[i].calendarList[z].description,\r\n classes: 'draggable clickable event-draggable',\r\n title: roomsArray[i].calendarList[z].name,\r\n };\r\n\r\n $(element).append(component.getRoomsData(element, numOfDays, data));\r\n } else {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: roomsArray[i].calendarList[z].roomType,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n classes: `draggable clickable ${rowClass} ${\r\n roomsArray[i].calendarList[z].fullyPaid ? 'fully-paid' : ''\r\n }`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n $(element).append(component.getRoomsData(element, numOfDays, data));\r\n }\r\n // set width of each range div\r\n const el = document.getElementById(\r\n `${$(element).attr('id')}-${roomsArray[i].calendarList[z].id}`\r\n );\r\n\r\n el.style.width = component.getDraggableElementWidth(\r\n component.elWidth,\r\n numOfDays,\r\n roomsData.isFunction\r\n );\r\n\r\n // change here for color\r\n // Quick booking change\r\n let quickCss = 'calendar-quick-booking';\r\n if (component.theme == 2) {\r\n quickCss = 'calendar-quick-booking-dark';\r\n }\r\n if (component.checkAndGetCookieHighlightBookingId()\r\n && roomsArray[i].calendarList[z].bookingRef == component.checkAndGetCookieHighlightBookingId()){ \r\n el.classList.add(quickCss) ; \r\n }\r\n if (roomsArray[i].calendarList[z].groupColor) {\r\n el.style[\r\n 'border-top'\r\n ] = `3px solid ${roomsArray[i].calendarList[z].groupColor}`;\r\n }\r\n\r\n addedCalendars.push(roomsArray[i].calendarList[z]);\r\n }\r\n }\r\n });\r\n }\r\n }\r\n } else {\r\n // DATE RANGE ON LOAD\r\n if (new Date(roomsArray[i].calendarList[z].dateFrom) < new Date(endDate.toDateString())) {\r\n if (roomsArray[i].calendarList[z].roomId == roomsArray[i].id) {\r\n let cellElements = null;\r\n if (component.activeCalendarView === CalendarView.Regular) {\r\n cellElements = $(`.day-week-view[data-date='${new Date(endDate).toDateString()}']`);\r\n } else if (component.activeCalendarView === CalendarView.SevenGrid) {\r\n cellElements = $(`.seven-grid[data-date='${new Date(endDate).toDateString()}']`);\r\n } else {\r\n cellElements = $(`.day[data-date='${new Date(endDate).toDateString()}']`);\r\n }\r\n\r\n $.each(cellElements, function (indexElement, element) {\r\n if (\r\n $(element).parent().attr('data-row-id') == roomsArray[i].calendarList[z].roomId || $(element).parent().attr('data-row-id') == 'fr' + roomsArray[i].calendarList[z].roomId\r\n ) {\r\n if (!checkIfCalendarExist(roomsArray[i].calendarList[z])) {\r\n const to = new Date(roomsArray[i].calendarList[z].dateTo);\r\n const from = new Date(endDate);\r\n const numOfDays = Math.ceil(\r\n (to.getTime() - from.getTime()) / (1000 * 3600 * 24)\r\n );\r\n const calendarDateFrom = new Date(roomsArray[i].calendarList[z].dateFrom);\r\n const calendarNumOfDays = component.getNumbersOfDay(\r\n +roomsArray[i].id,\r\n to,\r\n calendarDateFrom\r\n );\r\n\r\n if (+roomsArray[i].id === 0) {\r\n const data = {\r\n ...roomsData,\r\n dataDiaryName: roomsArray[i].calendarList[z].name,\r\n dataDiaryDesc: roomsArray[i].calendarList[z].description,\r\n classes: 'draggable clickable event-draggable',\r\n title: roomsArray[i].calendarList[z].name,\r\n };\r\n\r\n $(element).append(\r\n component.getRoomsData(element, calendarNumOfDays, data)\r\n );\r\n } else {\r\n if (roomsArray[i].calendarList[z].bookingRef == null) {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: `${roomsArray[i].calendarList[z].roomType} ${\r\n roomsArray[i].calendarList[z].fullyPaid ? 'fully-paid' : ''\r\n }`,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n classes: `draggable clickable ${rowClass}`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n\r\n $(element).append(\r\n component.getRoomsData(element, calendarNumOfDays, data)\r\n );\r\n } else {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: roomsArray[i].calendarList[z].roomType,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n classes: `draggable clickable ${rowClass} ${\r\n roomsArray[i].calendarList[z].fullyPaid ? 'fully-paid' : ''\r\n }`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n\r\n $(element).append(\r\n component.getRoomsData(element, calendarNumOfDays, data)\r\n );\r\n }\r\n }\r\n\r\n // set width of each range div\r\n const el = document.getElementById(\r\n `${$(element).attr('id')}-${roomsArray[i].calendarList[z].id}`\r\n );\r\n\r\n el.style.width = component.getDraggableElementWidth(\r\n component.elWidth,\r\n numOfDays,\r\n roomsData.isFunction\r\n );\r\n\r\n addedCalendars.push(roomsArray[i].calendarList[z]);\r\n }\r\n }\r\n });\r\n }\r\n } else {\r\n if (\r\n roomsArray[i].calendarList[z].roomId == roomsArray[i].id &&\r\n new Date(roomsArray[i].calendarList[z].dateFrom).toDateString() ==\r\n new Date(datesArray[j]).toDateString()\r\n ) {\r\n let cellElements = null;\r\n if (component.activeCalendarView === CalendarView.Regular) {\r\n cellElements = $(\r\n `.day-week-view[data-date='${new Date(datesArray[j]).toDateString()}']`\r\n );\r\n } else if (component.activeCalendarView === CalendarView.SevenGrid) {\r\n cellElements = $(\r\n `.seven-grid[data-date='${new Date(datesArray[j]).toDateString()}']`\r\n );\r\n } else {\r\n cellElements = $(`.day[data-date='${new Date(datesArray[j]).toDateString()}']`);\r\n }\r\n\r\n $.each(cellElements, function (indexElement, element) {\r\n if (\r\n $(element).parent().attr('data-row-id') == roomsArray[i].calendarList[z].roomId || $(element).parent().attr('data-row-id') == 'fr' + roomsArray[i].calendarList[z].roomId\r\n ) {\r\n if (!checkIfCalendarExist(roomsArray[i].calendarList[z])) {\r\n const to = new Date(roomsArray[i].calendarList[z].dateTo);\r\n const from = new Date(roomsArray[i].calendarList[z].dateFrom);\r\n const numOfDays = component.getNumbersOfDay(+roomsArray[i].id, to, from);\r\n\r\n if (+roomsArray[i].id === 0) {\r\n const data = {\r\n ...roomsData,\r\n dataDiaryName: roomsArray[i].calendarList[z].name,\r\n dataDiaryDesc: roomsArray[i].calendarList[z].description,\r\n classes: 'draggable clickable event-draggable',\r\n title: roomsArray[i].calendarList[z].name,\r\n };\r\n\r\n $(element).append(component.getRoomsData(element, numOfDays, data));\r\n } else {\r\n if (roomsArray[i].calendarList[z].bookingRef == null) {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: roomsArray[i].calendarList[z].roomType,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n classes: `draggable clickable ${rowClass}`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n\r\n $(element).append(component.getRoomsData(element, numOfDays, data));\r\n } else {\r\n const data = {\r\n ...roomsData,\r\n dataRoomType: roomsArray[i].calendarList[z].roomType,\r\n dataRoomTypeChild: roomsArray[i].calendarList[z].roomType,\r\n classes: `draggable clickable ${rowClass}`,\r\n title: roomsArray[i].calendarList[z].title,\r\n };\r\n\r\n $(element).append(component.getRoomsData(element, numOfDays, data));\r\n }\r\n }\r\n // set width of each range div\r\n\r\n const el = document.getElementById(\r\n $(element).attr('id') + '-' + roomsArray[i].calendarList[z].id\r\n );\r\n\r\n el.style.width = component.getDraggableElementWidth(\r\n component.elWidth,\r\n numOfDays,\r\n roomsData.isFunction\r\n );\r\n\r\n addedCalendars.push(roomsArray[i].calendarList[z]);\r\n }\r\n }\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n $('.draggable').mouseleave(function () {\r\n component.openPopover = false;\r\n\r\n if (typeof component.subscriptionEventTooltip !== 'undefined') {\r\n component.subscriptionEventTooltip.unsubscribe();\r\n }\r\n\r\n if (typeof component.subscriptionRoomTooltip !== 'undefined') {\r\n component.subscriptionRoomTooltip.unsubscribe();\r\n }\r\n });\r\n\r\n function findRoomCalendar(id) {\r\n const allCalendars: any[] = [];\r\n\r\n for (const el of calendarResponseModel.rooms) {\r\n for (const calendar of el.calendarList) {\r\n allCalendars.push(calendar);\r\n }\r\n }\r\n\r\n for (const el of calendarResponseModel.shuffle) {\r\n allCalendars.push(el);\r\n }\r\n\r\n for (const calendar of allCalendars) {\r\n if (id == calendar.id) {\r\n return calendar;\r\n }\r\n }\r\n\r\n return {};\r\n }\r\n\r\n function findFunctionCalendar(frId, sDate) {\r\n let eDate = new Date(sDate);\r\n eDate.setHours(23,59,59,59);\r\n const el = calendarResponseModel.functionRooms.find(x => x.id == frId);\r\n \r\n for (const calendar of el.calendarList) {\r\n if (new Date(calendar.dateFrom) >= sDate && new Date(calendar.dateTo) <= eDate) {\r\n return calendar;\r\n }\r\n }\r\n\r\n return null;\r\n }\r\n\r\n // Context menu on right click\r\n const dayClass =\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? '.seven-grid'\r\n : component.activeCalendarView === CalendarView.Regular\r\n ? '.day-week-view'\r\n : '.day';\r\n $(dayClass).contextmenu(function (event) {\r\n const dataRowId = $(this).parent().attr('data-row-id');\r\n component.data = {};\r\n\r\n if (dataRowId == 0) {\r\n if ($(this).children().length > 0) {\r\n if (\r\n event.target.classList.contains('day') ||\r\n event.target.classList.contains('day-week-view') ||\r\n event.target.classList.contains('seven-grid')\r\n ) {\r\n component.diaryCell = true;\r\n component.diaryEvent = false;\r\n\r\n component.data.startDate = $(this).attr('data-date');\r\n component.data.endDate = $(this).attr('data-date');\r\n } else if (\r\n event.target.offsetParent.classList.contains('draggable') ||\r\n event.target.classList.contains('draggable')\r\n ) {\r\n component.diaryCell = false;\r\n component.diaryEvent = true;\r\n component.data.startDate = $(event.target).attr('data-date-from');\r\n component.data.endDate = $(event.target).attr('data-date-to');\r\n component.data.event = {};\r\n component.data.event.id = $(event.target).attr('data-calendar-id');\r\n component.data.event.name = $(event.target).attr('data-diary-name');\r\n component.data.event.description = $(event.target).attr('data-diary-desc');\r\n }\r\n component.dayEvent = false;\r\n component.dayCell = false;\r\n } else {\r\n component.data.startDate = $(this).attr('data-date');\r\n component.data.endDate = $(this).attr('data-date');\r\n\r\n component.diaryEvent = false;\r\n component.diaryCell = true;\r\n component.dayEvent = false;\r\n component.dayCell = false;\r\n }\r\n component.currentEventId = Number($(event.target).attr('data-calendar-id'));\r\n } else if (dataRowId == -1) {\r\n component.dayEvent = false;\r\n component.dayCell = false;\r\n component.diaryEvent = false;\r\n component.diaryCell = false;\r\n } else if ($(this).parent().attr('id') === 'total-row') {\r\n component.dayEvent = false;\r\n component.dayCell = false;\r\n component.diaryEvent = false;\r\n component.diaryCell = false;\r\n } else {\r\n if ($(this).children().length > 0) {\r\n component.data.calendar = {};\r\n component.data.calendarId = $(event.target).attr('data-calendar-id');\r\n component.data.calendar.roomId = $(this).parent().attr('data-row-id');\r\n component.data.calendar.bookingRef = $(event.target).attr('data-room-type') == 'null' ? null : '-1';\r\n\r\n if (component.data.calendar.bookingRef === null) {\r\n component.appointmentBookingSource = [{ text: 'Edit' }, { text: 'Delete' }];\r\n component.currentCalendarId = component.data.calendarId;\r\n } else {\r\n component.appointmentBookingSource = [{ text: 'Edit' }];\r\n }\r\n\r\n component.diaryEvent = false;\r\n component.diaryCell = false;\r\n component.dayEvent = true;\r\n component.dayCell = false;\r\n } else {\r\n component.data.groups = {};\r\n component.data.startDate = $(event.target).attr('data-date');\r\n component.data.endDate = new Date(\r\n new Date().setDate(new Date($(event.target).attr('data-date')).getDate() + 1)\r\n );\r\n component.data.groups.unitId = $(this).parent().attr('data-row-id');\r\n\r\n component.diaryEvent = false;\r\n component.diaryCell = false;\r\n component.dayEvent = false;\r\n component.dayCell = true;\r\n }\r\n }\r\n });\r\n\r\n // get days for calendar\r\n\r\n function getNextTwoWeeks() {\r\n if (!component.changeDateRange) {\r\n datesArray = [];\r\n\r\n const currentDate: Date = new Date(endDate);\r\n let lastDate: Date = new Date(endDate);\r\n\r\n if (!component.changeDateRange) {\r\n const offset = this.getOffset();\r\n\r\n lastDate.setDate(lastDate.getDate() + offset);\r\n } else {\r\n lastDate.setDate(lastDate.getDate());\r\n }\r\n\r\n while (currentDate < lastDate) {\r\n const newDate = new Date(currentDate);\r\n datesArray.push(newDate.toDateString());\r\n currentDate.setDate(currentDate.getDate() + 1);\r\n }\r\n\r\n const startDay: Date = new Date(datesArray[0]);\r\n const endDay: Date = new Date(datesArray[datesArray.length - 1]);\r\n startDate = new Date(startDay);\r\n lastDate = new Date(endDay);\r\n startDate.setDate(startDay.getDate() - 1);\r\n lastDate.setDate(endDay.getDate() + 1);\r\n }\r\n }\r\n\r\n // end region\r\n console.log('component.resizeGridWidth');\r\n console.log(component.resizeGridWidth);\r\n\r\n let uiEventStarted = false;\r\n // drag / drop / resize / select\r\n console.log($('.calendar-row').first());\r\n console.log($('.calendar-row').first().height());\r\n const gridOffset = this.activeCalendarView==CalendarView.Extended ? 0 : 1;\r\n\r\n $('.draggable[data-locked=false]').draggable({\r\n grid: [component.resizeGridWidth + gridOffset, 29.3],\r\n // snap: \".seven-grid\",\r\n // snapMode: \"innner\",\r\n // snapTolerance: 160,\r\n revert: 'invalid',\r\n\r\n start: function (event, ui) {\r\n component.rejectDropped = false;\r\n component.openPopover = false;\r\n uiEventStarted = true;\r\n\r\n component.diaryTopValue = $(event.currentTarget).css('top');\r\n component.draggingElementRow = $(event.currentTarget).attr('data-row-id');\r\n\r\n $('.draggable').removeClass('clickable');\r\n },\r\n\r\n drag: function (event, ui) {\r\n component.openPopover = false;\r\n component.ifEvent = true;\r\n\r\n if (event.target.dataset.partlyShowing || event.target.dataset.partlyShowingEvent) {\r\n // used to expand cutof bookings and events.\r\n const element = event.target;\r\n const numOfDays = event.target.dataset.dayNumber;\r\n console.log(numOfDays);\r\n console.log(element);\r\n element.style.width = component.getDraggableElementWidth(component.elWidth, numOfDays, false);\r\n\r\n component.partlyShowingDropped = true;\r\n } else {\r\n component.partlyShowingDropped = false;\r\n }\r\n },\r\n\r\n stop: function (event, ui) {\r\n setTimeout(function () {\r\n uiEventStarted = false;\r\n }, 300);\r\n\r\n if (ui.position.left <= 48 && event.target.dataset.partlyShowing) {\r\n // triger the drag event so that drop event will happen(cuttoff bookings not droping fix).\r\n const draggable = event.target,\r\n droppable = event.target.parentElement,\r\n dx = droppable.offsetLeft - draggable.offsetLeft,\r\n dy = droppable.offsetTop - draggable.offsetTop;\r\n\r\n $(draggable).trigger('drag', {\r\n dx: dx,\r\n dy: dy,\r\n });\r\n }\r\n },\r\n });\r\n\r\n $(dayClass).not(`.function-room ${dayClass}`).droppable({\r\n drop: function (event, ui) {\r\n component.acceptRejectTarget = '#' + $(event.originalEvent.target.offsetParent).attr('id');\r\n\r\n if (component.acceptRejectTarget !== '#undefined') {\r\n component.showAcceptReject = true;\r\n ui.draggable.css('opacity', '0.6');\r\n } else {\r\n ui.draggable.css('top', '0px');\r\n ui.draggable.css('left', '0px');\r\n }\r\n\r\n setTimeout(function () {\r\n $('.draggable').addClass('clickable');\r\n }, 300);\r\n\r\n if (!document.elementsFromPoint) {\r\n document.elementsFromPoint = component.elementsFromPoint;\r\n }\r\n\r\n const elementsClose = document.elementsFromPoint(event.pageX, event.pageY);\r\n const booking = elementsClose.find((x) => x.classList.contains('draggable'));\r\n\r\n let dateFrom = null;\r\n const draggableElem = $(event.originalEvent.target);\r\n $('#days-row .date-week-view, #days-row .date-seven-view, #days-row .date').each(function(i, e) {\r\n const dElemSPoint = draggableElem.offset().left+10; //add a small amount to 'nudge' the start to the right to avoid picking up the previous date\r\n let currElemSPoint = $(e).offset().left ;\r\n let currElemEPoint = currElemSPoint + $(e).width();\r\n //console.log('points', $(e).attr('data-date'), dElemSPoint, dElemEPoint, currElemSPoint, currElemEPoint)\r\n if(dElemSPoint >= currElemSPoint && dElemSPoint <= currElemEPoint)\r\n {\r\n dateFrom = new Date($(e).attr('data-date'));\r\n }\r\n });\r\n\r\n component.uiElement = ui;\r\n component.rejectDropped = true;\r\n\r\n let setStartDate;\r\n let dateTo;\r\n let roomId;\r\n let calendarId;\r\n const dateOffset = 24 * 60 * 60 * 1000;\r\n\r\n /*\r\n const droppedDate = new Date($(event.target).attr('data-date'));\r\n const numberOfDays = Number($(event.originalEvent.target).attr('data-day-number'));\r\n\r\n // set Date from on drop\r\n if (numberOfDays % 2 !== 0) {\r\n setStartDate = Math.floor(numberOfDays / 2);\r\n dateFrom = new Date(droppedDate.getTime() - setStartDate * dateOffset);\r\n } else {\r\n setStartDate = numberOfDays / 2;\r\n dateFrom = new Date(droppedDate.getTime() - (setStartDate - 1) * dateOffset);\r\n }\r\n */\r\n\r\n const numberOfDays = Number($(event.originalEvent.target).attr('data-day-number'));\r\n dateTo = new Date(new Date(dateFrom.getTime() + numberOfDays * dateOffset));\r\n\r\n roomId = Number($(event.target).parent().attr('data-row-id'));\r\n\r\n /*\r\n if (\r\n (event.toElement && event.toElement.parentElement.dataset.partlyShowingEvent === '1') ||\r\n (event.toElement && event.toElement.parentElement.dataset.partlyShowing === '1')\r\n ) {\r\n const rect = event.toElement.getBoundingClientRect(); // get its rect\r\n const elements = document.elementsFromPoint(rect.left, rect.top);\r\n const el = elements.find(\r\n (x) =>\r\n x.classList.contains('day') ||\r\n x.classList.contains('day-week-view') ||\r\n x.classList.contains('seven-grid')\r\n );\r\n dateFrom = new Date($(el).attr('data-date'));\r\n dateTo = new Date(dateFrom.getTime() + numberOfDays * dateOffset);\r\n }\r\n */\r\n\r\n // If there is a gap in the time zone check to see if the dateTo is lower and if so add the offset\r\n // of the two dates to it to balance out the summer vs standard timezone difference\r\n if (dateTo.getTimezoneOffset() !== dateFrom.getTimezoneOffset()) {\r\n if (dateTo.getTimezoneOffset() > dateFrom.getTimezoneOffset()) {\r\n const offset = dateTo.getTimezoneOffset() - dateFrom.getTimezoneOffset();\r\n dateTo.setTime(dateTo.getTime() + offset * 60 * 1000);\r\n }\r\n }\r\n\r\n calendarId = Number($(event.originalEvent.target).attr('data-calendar-id'));\r\n\r\n const previousRoomId = Number($(event.originalEvent.target).attr('data-row-id'));\r\n\r\n console.log('Drag item: date range', dateFrom, dateTo); \r\n\r\n // diary\r\n if (previousRoomId === 0) {\r\n component.diaryResized = true;\r\n component.eventResized = false;\r\n component.shuffleChanged = false;\r\n\r\n const updateEventCalendarModel: any = {};\r\n\r\n if (roomId !== 0) {\r\n updateEventCalendarModel.eventId = -1;\r\n } else {\r\n updateEventCalendarModel.eventId = calendarId;\r\n updateEventCalendarModel.dateFrom = dateFrom.toDateString();\r\n updateEventCalendarModel.dateTo = new Date(dateTo.toDateString());\r\n updateEventCalendarModel.dateTo.setTime(updateEventCalendarModel.dateTo.getTime() - dateOffset);\r\n updateEventCalendarModel.dateTo = updateEventCalendarModel.dateTo.toDateString();\r\n }\r\n component.diaryModel = updateEventCalendarModel;\r\n } else if (previousRoomId === -1) {\r\n // shuffle\r\n if (roomId === -1) {\r\n component.rejectResize(); // reject change if already on shuffle\r\n } else {\r\n component.diaryResized = false;\r\n component.eventResized = true;\r\n component.shuffleChanged = false;\r\n\r\n component.diaryResized = false;\r\n component.shuffleChanged = false;\r\n component.eventResized = true;\r\n const calendarModel: any = {};\r\n if (roomId === 0) {\r\n // shuffle to diary\r\n calendarModel.roomId = -1;\r\n component.rejectResize(); // move back if shufle to diary\r\n } else {\r\n // shuffle to rooms\r\n calendarModel.from = dateFrom.toDateString();\r\n calendarModel.to = dateTo.toDateString();\r\n calendarModel.roomId = roomId;\r\n calendarModel.calendarId = calendarId;\r\n }\r\n component.updateCalendarModel = calendarModel;\r\n }\r\n } else {\r\n // rooms\r\n const calendarModel: any = {};\r\n if (roomId === 0) {\r\n component.diaryResized = false;\r\n component.eventResized = true;\r\n component.shuffleChanged = false;\r\n\r\n calendarModel.roomId = -1;\r\n component.updateCalendarModel = calendarModel;\r\n component.rejectResize(); // move back if room to event\r\n } else if (roomId === -1) {\r\n component.diaryResized = false;\r\n component.eventResized = false;\r\n component.shuffleChanged = true;\r\n\r\n component.shuffleCalId = calendarId;\r\n } else {\r\n component.diaryResized = false;\r\n component.eventResized = true;\r\n component.shuffleChanged = false;\r\n // If dragged baddly and the dates are invalid call rejectResize()\r\n if (isNaN(dateTo.getTime()) && isNaN(dateFrom.getTime())) {\r\n //component.rejectResize();\r\n return;\r\n }\r\n\r\n calendarModel.from = dateFrom.toDateString();\r\n calendarModel.to = dateTo.toDateString();\r\n calendarModel.roomId = roomId;\r\n calendarModel.calendarId = calendarId;\r\n component.updateCalendarModel = calendarModel;\r\n }\r\n }\r\n },\r\n });\r\n\r\n $('.draggable[data-locked=false]').resizable({\r\n classes: {\r\n 'ui-resizable': 'highlight',\r\n },\r\n handle: 'e',\r\n containment: '.calendar-row',\r\n grid: [component.resizeGridWidth, 10],\r\n\r\n start: function (event, ui) {\r\n component.initialWidthOnResize = $(event.currentTarget).width();\r\n component.rejectDropped = false;\r\n component.openPopover = false;\r\n component.uiEvent = true;\r\n uiEventStarted = true;\r\n\r\n $('.draggable').removeClass('clickable');\r\n },\r\n\r\n resize: function (event, ui) {\r\n lastEvent = event;\r\n component.openPopover = false;\r\n component.ifEvent = true;\r\n },\r\n stop: function (event, ui) {\r\n setTimeout(function () {\r\n uiEventStarted = false;\r\n }, 300);\r\n\r\n $(this).css('opacity', '0.6');\r\n component.uiElement = ui;\r\n\r\n if (typeof ui.element === 'undefined') {\r\n component.showAcceptReject = false;\r\n $(this).css('width', component.initialWidthOnResize + 'px');\r\n } else {\r\n component.showAcceptReject = true;\r\n }\r\n\r\n setTimeout(function () {\r\n $('.draggable').addClass('clickable');\r\n }, 300);\r\n\r\n if (!document.elementsFromPoint) {\r\n // If no elementsFromPoint apply the polyfill function (edge)\r\n document.elementsFromPoint = component.elementsFromPoint;\r\n }\r\n\r\n const targetChildInfo = Array.from(lastEvent.target.children).find((element: HTMLElement) =>\r\n element.classList.contains('ui-resizable-handle')\r\n ); // Find the resizable element class (the handle)\r\n const rect = (targetChildInfo as any).getBoundingClientRect(); // get its rect\r\n const elements = document.elementsFromPoint(rect.left, rect.top); // use rect.x and rect.y to find elements around it\r\n const elemFromPoint = elements.find(\r\n (element) =>\r\n element.classList.contains('day') ||\r\n element.classList.contains('day-week-view') ||\r\n element.classList.contains('seven-grid')\r\n ); // find the dayTo element\r\n component.acceptRejectTarget = '#' + $(event.target).attr('id');\r\n\r\n let dateTo = new Date($(elemFromPoint).attr('data-date'));\r\n const dateFrom = new Date($(event.target).attr('data-date-from'));\r\n const roomId = $(event.target).attr('data-row-id');\r\n\r\n const elementsClose = document.elementsFromPoint(lastEvent.pageX, lastEvent.pageY);\r\n const booking = elementsClose.find((x) => x.classList.contains('draggable'));\r\n\r\n const calendarId = $(event.target).attr('data-calendar-id');\r\n\r\n if (isChrome || isEdge) {\r\n if (ui.size.width > ui.originalSize.width) {\r\n const dateToCopy = new Date($(elemFromPoint).attr('data-date'));\r\n\r\n setDate(dateToCopy, 1);\r\n } else {\r\n const dateToCopy = new Date($(elemFromPoint).attr('data-date'));\r\n\r\n setDate(dateToCopy, 1);\r\n }\r\n }\r\n\r\n if (isFirefox) {\r\n $(lastEvent.target).hide();\r\n\r\n if (ui.size.width > ui.originalSize.width) {\r\n const dateToCopy = new Date($(elemFromPoint).attr('data-date'));\r\n\r\n setDate(dateToCopy, 1);\r\n } else {\r\n const dateToCopy = new Date($(elemFromPoint).attr('data-date'));\r\n\r\n setDate(dateToCopy, 1);\r\n }\r\n\r\n $(lastEvent.target).show();\r\n }\r\n\r\n function setDate(date, days) {\r\n const result = new Date(date);\r\n result.setDate(result.getDate() + days);\r\n dateTo = result;\r\n }\r\n\r\n if ($(event.target).attr('data-row-id') == 0) {\r\n const updateEventCalendarModel: any = {};\r\n\r\n component.diaryResized = true;\r\n component.eventResized = false;\r\n\r\n if (isFirefox || isEdge) {\r\n dateTo = new Date(dateTo.setDate(dateTo.getDate() - 1));\r\n }\r\n\r\n updateEventCalendarModel.eventId = calendarId;\r\n updateEventCalendarModel.dateFrom = dateFrom.toDateString();\r\n updateEventCalendarModel.dateTo = dateTo.toDateString();\r\n component.diaryModel = updateEventCalendarModel;\r\n } else {\r\n const calendarModel: any = {};\r\n component.eventResized = true;\r\n component.diaryResized = false;\r\n\r\n if (!isFirefox && !isEdge) {\r\n dateTo = new Date(dateTo.setDate(dateTo.getDate() + 1));\r\n }\r\n\r\n calendarModel.from = dateFrom.toDateString();\r\n calendarModel.to = dateTo.toDateString();\r\n calendarModel.roomId = roomId;\r\n calendarModel.calendarId = calendarId;\r\n component.updateCalendarModel = calendarModel;\r\n }\r\n },\r\n });\r\n\r\n $('.clickable').click(function (e) {\r\n if ($(this).attr('data-row-id') != 0) {\r\n const element = Number($(this).attr('data-calendar-id'));\r\n const calendar = findRoomCalendar(element);\r\n\r\n if (calendar.bookingRef != null) {\r\n if (!$(e.target).is('.ui-resizable-handle')) {\r\n if (!uiEventStarted) {\r\n component.navigateToBookingDetails(calendar.bookingRef);\r\n }\r\n }\r\n }\r\n }\r\n });\r\n\r\n // select\r\n component.selectableInit();\r\n\r\n // create levels for diary, drop cells one below the other\r\n const diaryRangeCondition = '.draggable[data-row-id=0]';\r\n const shuffleRangeCondition = '.draggable[data-row-id=-1]';\r\n\r\n var diaryRanges = $(diaryRangeCondition);\r\n var shuffleRanges = $(shuffleRangeCondition);\r\n var rowNameHeight = 0;\r\n var cellRangeHeight = 0;\r\n var cellRangeHeightShuffle = 0;\r\n var diaryLevel = 0;\r\n var shuffleLevel = 0;\r\n var rangeHeight = 0;\r\n\r\n // diary level\r\n $.each(diaryRanges, function (index, range) {\r\n var counter = 0;\r\n\r\n for (var i = 0; i <= diaryLevel; i++) {\r\n var levelElements = $('.draggable[data-level=' + i + ']');\r\n if (levelElements.length > 0) {\r\n if (\r\n new Date($(range).attr('data-date-from')) >\r\n new Date($(levelElements[levelElements.length - 1]).attr('data-date-to'))\r\n ) {\r\n counter++;\r\n }\r\n }\r\n\r\n if (counter > 0) {\r\n $(range).attr('data-level', i);\r\n break;\r\n }\r\n }\r\n\r\n if (counter == 0) {\r\n diaryLevel++;\r\n $(range).attr('data-level', diaryLevel);\r\n }\r\n });\r\n\r\n // shuffle level\r\n $.each(shuffleRanges, function (index, range) {\r\n var counter = 0;\r\n\r\n for (var i = 0; i <= shuffleLevel; i++) {\r\n var levelElements = $('.draggable[data-level=' + i + ']');\r\n if (levelElements.length > 0) {\r\n if (\r\n new Date($(range).attr('data-date-from')) >=\r\n new Date($(levelElements[levelElements.length - 1]).attr('data-date-to'))\r\n ) {\r\n counter++;\r\n }\r\n }\r\n\r\n if (counter > 0) {\r\n $(range).attr('data-level', i);\r\n break;\r\n }\r\n }\r\n\r\n if (counter == 0) {\r\n shuffleLevel++;\r\n $(range).attr('data-level', shuffleLevel);\r\n }\r\n });\r\n\r\n // set top for diary elements\r\n const diaryTopCondition = '.calendar-row[data-row-id=0]';\r\n const shuffleTopCondition = '.calendar-row[data-row-id=-1]';\r\n var dairyRow = $(diaryTopCondition);\r\n var shuffleRow = $(shuffleTopCondition);\r\n\r\n // set top diary\r\n $.each(dairyRow.children(), function (index, cell) {\r\n var top = 0;\r\n $.each(cell.children, function (cellIndex, range) {\r\n if (cellIndex > 0) {\r\n top = parseInt($(cell.children[cellIndex - 1]).css('top')) + 2;\r\n $(range).css('top', top + 'px');\r\n } else {\r\n $(range).css('top', ($(range).attr('data-level') - 1) * 27 + 'px');\r\n }\r\n });\r\n });\r\n\r\n // set top shuffle\r\n $.each(shuffleRow.children(), function (index, cell) {\r\n var top = 0;\r\n $.each(cell.children, function (cellIndex, range) {\r\n if (cellIndex > 0) {\r\n top = parseInt($(cell.children[cellIndex - 1]).css('top')) + 2;\r\n $(range).css('top', top + 'px');\r\n } else {\r\n $(range).css('top', ($(range).attr('data-level') - 1) * 27 + 'px');\r\n }\r\n });\r\n });\r\n\r\n // find max level of diaries\r\n var levels = [];\r\n $.each(diaryRanges, function (index, range) {\r\n levels.push($(range).attr('data-level'));\r\n });\r\n\r\n var maxLevel = 0;\r\n\r\n for (var i = 0; i < levels.length; i++) {\r\n if (levels[i] > maxLevel) {\r\n maxLevel = levels[i];\r\n }\r\n }\r\n\r\n // max level shuffle\r\n var levelsShuffle = [];\r\n $.each(shuffleRanges, function (index, range) {\r\n levelsShuffle.push($(range).attr('data-level'));\r\n });\r\n\r\n var maxLevelShuffle = 0;\r\n\r\n for (let i = 0; i < levelsShuffle.length; i++) {\r\n if (levelsShuffle[i] > maxLevelShuffle) {\r\n maxLevelShuffle = levelsShuffle[i];\r\n }\r\n }\r\n\r\n changeHeightOfCells(maxLevel);\r\n changeHeightOfCellsShuffle(Number(maxLevelShuffle) + 1);\r\n\r\n // change height of diary cells based on number of levels\r\n function changeHeightOfCells(level) {\r\n var diaryCells = $('.calendar-row[data-row-id=0]').children();\r\n cellRangeHeight += 26.5;\r\n for (var i = 0; i < diaryCells.length; i++) {\r\n $(diaryCells[i]).css('height', level * cellRangeHeight + 'px');\r\n }\r\n rowNameHeight += 24.5;\r\n const rowNameClass =\r\n component.activeCalendarView === CalendarView.Regular ||\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? '.row-name-week-view[id=0]'\r\n : '.row-name[id=0]';\r\n $(rowNameClass).css('height', level * cellRangeHeight + 'px');\r\n }\r\n\r\n function changeHeightOfCellsShuffle(level) {\r\n var shuffleCells = $(shuffleTopCondition).children();\r\n cellRangeHeightShuffle += 26.5;\r\n for (let i = 0; i < shuffleCells.length; i++) {\r\n $(shuffleCells[i]).css('height', level * cellRangeHeightShuffle + 'px');\r\n }\r\n rowNameHeight += 24.5;\r\n var rowNameCondition =\r\n component.activeCalendarView === CalendarView.Regular ||\r\n component.activeCalendarView === CalendarView.SevenGrid\r\n ? '.row-name-week-view[data-row-id=Shuffle]'\r\n : '.row-name[data-row-id=Shuffle]';\r\n $(rowNameCondition).css('height', level * cellRangeHeightShuffle + 'px');\r\n }\r\n\r\n // check if calendar list exists\r\n function checkIfCalendarExist(calendar) {\r\n for (var i = 0; i < addedCalendars.length; i++) {\r\n if (addedCalendars[i].id == calendar.id) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n }\r\n\r\n showBookingPaymentError()\r\n {\r\n this.showQuickBookingPaymentError = true;\r\n this.quickBookingPaymentMessage = 'Payment was declined or failed to complete successfully, but the booking has been created with booking reference #'+ this.checkAndGetCookieHighlightBookingId();\r\n }\r\n\r\n calendarBookingComplete() \r\n {\r\n this.newBooking = false;\r\n this.editBooking = false;\r\n this.refreshData();\r\n }\r\n\r\n /**\r\n * Polyfil function for elements from point (edge)\r\n * @param x x cords\r\n * @param y y cords\r\n */\r\n elementsFromPoint(x, y) {\r\n const parents = [];\r\n let parent = void 0;\r\n do {\r\n if (parent !== document.elementFromPoint(x, y)) {\r\n parent = document.elementFromPoint(x, y);\r\n parents.push(parent);\r\n parent.style.pointerEvents = 'none';\r\n } else {\r\n parent = false;\r\n }\r\n } while (parent);\r\n parents.forEach((element) => {\r\n return (element.style.pointerEvents = 'all');\r\n });\r\n return parents;\r\n }\r\n}\r\n","
\r\n

Calendar

\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
Events
\r\n
\r\n
\r\n
To Arrive
\r\n
Paid
\r\n
\r\n
\r\n
Checked In
\r\n
Paid
\r\n
\r\n
\r\n
Checked Out
\r\n
Paid
\r\n
\r\n
\r\n
Enquired
\r\n
\r\n
\r\n
Unavailable
\r\n
\r\n
\r\n
Maintenance
\r\n
\r\n
\r\n
Unavailable - functions
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n 7 days\r\n \r\n \r\n 15 days\r\n \r\n \r\n 30 days\r\n \r\n
\r\n
\r\n \r\n Today\r\n \r\n
\r\n \r\n
\r\n
{{ currentDateRange }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
x
\r\n

Function Room: {{ tooltipModelFunction.roomName }}

\r\n
\r\n
\r\n
AM:
{{ getTooltipFunctionDesc(tooltipModelFunction, 1) }}
\r\n
\r\n
\r\n
PM:
{{ getTooltipFunctionDesc(tooltipModelFunction, 2) }}
\r\n
\r\n
\r\n
EVE:
{{ getTooltipFunctionDesc(tooltipModelFunction, 3) }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Booking ref: {{ tooltipModelRoom.bookingNo }}

\r\n
\r\n
\r\n

\r\n Guest:\r\n {{ tooltipModelRoom.guest != null ? tooltipModelRoom.guest : 'No guest' }}\r\n

\r\n

Rate plan: {{ tooltipModelRoom.ratePlanShortName }}

\r\n

From: {{ tooltipModelRoom.from | date: 'dd/MM/yyyy' }}

\r\n

Status: {{ tooltipModelRoom.status }}

\r\n

\r\n Balance: {{ currencyContext?.Symbol\r\n }}{{ tooltipModelRoom.balance | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n

Booker: {{ tooltipModelRoom.booker }}

\r\n

Room type: {{ tooltipModelRoom.roomTypeShortName }}

\r\n

To: {{ tooltipModelRoom.to | date: 'dd/MM/yyyy' }}

\r\n

\r\n Occupancy: {{ tooltipModelRoom.adults }}\r\n + {{ tooltipModelRoom.children }}\r\n

\r\n

\r\n Total: {{ currencyContext?.Symbol\r\n }}{{ tooltipModelRoom.total | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n

Notes: {{ tooltipModelRoom.notes }}

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Name: {{ tooltipModelEvent.name }}

\r\n

From: {{ tooltipModelEvent.dateFrom | date: 'dd/MM/yyyy' }}

\r\n

To: {{ tooltipModelEvent.dateTo | date: 'dd/MM/yyyy' }}

\r\n

Details: {{ tooltipModelEvent.details }}

\r\n
\r\n
\r\n
\r\n
\r\n

{{ tooltipModelRoom.status }}

\r\n
\r\n
\r\n
\r\n
\r\n

{{tooltipModelTotalRow.totalBookedRooms}} {{tooltipModelTotalRow.totalBookedRooms == 1 ? 'room' : 'rooms' }} | {{ tooltipModelTotalRow.totalResidentGuests}} {{tooltipModelTotalRow.totalResidentGuests == 1? 'guest' : 'guests'}}

\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Accept
\r\n
Reject
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpRequestService } from '../../../shared/services/http-request.service';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { CalendarRequestModel } from '../../../models/booking/calendar-request.model';\r\nimport { UpdateCalendarModel } from '../../../models/booking/update-calendar.model';\r\nimport { EventModel } from '../../../models/booking/event.model';\r\nimport { UpdateEventCalendarModel } from '../../../models/booking/update-event-calendar.model';\r\nimport { CalendarNewBookingRequestModel } from '../../../models/booking/calendar-new-booking-request.model';\r\nimport { CalendarBookingModel, CalendarNewBookingPDModel } from '../../../models/booking/calendar-new-booking-pd.model';\r\nimport { CalendarModel } from '../../../models/booking/calendar.model';\r\nimport { CalendarView } from '../../../enums/calendar-view.enum';\r\nimport { CalendarStatusBatchModel } from 'src/app/models/booking/calendar-status-batch.model';\r\nimport { UpdateCalendarBookingModel } from 'src/app//models/booking/update-calendar-booking.model';\r\nimport CookieHelper from 'src/app/shared/helpers/cookie-helper';\r\n\r\n@Injectable()\r\nexport class CalendarService {\r\n private getCalendarByRangeUrl = environment.apiUrl + '/Booking/GetCalendarByRange';\r\n private updateCalendarUrl = environment.apiUrl + '/Booking/UpdateCalendar';\r\n private createEventUrl = environment.apiUrl + '/Booking/CreateEvent';\r\n private updateEventUrl = environment.apiUrl + '/Booking/UpdateEvent';\r\n private deleteEventUrl = environment.apiUrl + '/Booking/DeleteEvent';\r\n private updateEventOnCalendarUrl = environment.apiUrl + '/Booking/UpdateEventOnCalendar';\r\n private newCalendarBookingUrl = environment.apiUrl + '/Booking/NewCalendarBooking';\r\n private editCalendarBookingUrl = environment.apiUrl + '/Booking/EditCalendarBooking';\r\n private updateCalendarBookingUrl = environment.apiUrl + '/Booking/UpdateCalendarBooking';\r\n private insertCalendarBookingUrl = environment.apiUrl + '/Booking/InsertCalendarBooking';\r\n private newCalendarStatusUrl = environment.apiUrl + '/Booking/NewCalendarStatus';\r\n private insertCalendarStatusUrl = environment.apiUrl + '/Booking/InsertCalendarStatus';\r\n private insertCalendarStatusBatchUrl = environment.apiUrl + '/Booking/InsertCalendarStatusBatch';\r\n private editCalendarStatusUrl = environment.apiUrl + '/Booking/EditCalendarStatus';\r\n private updateCalendarStatusUrl = environment.apiUrl + '/Booking/UpdateCalendarStatus';\r\n private shuffleCalendarUrl = environment.apiUrl + '/Booking/ShuffleCalendar';\r\n private cancelCalendarBookingUrl = environment.apiUrl + '/Booking/CancelCalendarBooking';\r\n private deleteCalendarStatusUrl = environment.apiUrl + '/Booking/DeleteCalendarStatus';\r\n private deleteCalendarStatusBatchUrl = environment.apiUrl + '/Booking/DeleteCalendarStatusBatch';\r\n private getRatePlanByRoomTypeUrl = environment.apiUrl + '/Booking/GetRatePlanByRoomType';\r\n private getRoomTypeByRatePlanUrl = environment.apiUrl + '/Booking/GetRoomTypeByRatePlan';\r\n private checkBookingStatusUrl = environment.apiUrl + '/Booking/CheckBookingStatus';\r\n private getTooltipDataForEventUrl = environment.apiUrl + '/Booking/GetTooltipDataForEvent';\r\n private getTooltipDataForBookingUrl = environment.apiUrl + '/Booking/GetTooltipDataForBooking';\r\n private getForUpdateCalendarUrl = environment.apiUrl + '/Booking/GetForUpdateCalendar';\r\n private getCaterpayHtmlFormForNewCalendarBookingUrl = environment.apiUrl + '/Payment/GetCaterpayHtmlFormForNewCalendarBooking';\r\n private CaterPayPaymentSuccessfullUrl = environment.apiUrl + '/Payment/CaterPayPaymentSuccessfull';\r\n private reportBcomCalendarStayChangeUrl = environment.apiUrl + '/Booking/ReportBcomCalendarStayChange';\r\n private reportBcomCalendarBookingStayChangeUrl = environment.apiUrl + '/Booking/ReportBcomCalendarBookingStayChange';\r\n\r\n constructor(private http: HttpRequestService) {}\r\n\r\n getCalendarByRange(model: CalendarRequestModel) {\r\n return this.http.post(this.getCalendarByRangeUrl, model);\r\n }\r\n\r\n getTooltipDataForEvent(eventId: number) {\r\n return this.http.get(this.getTooltipDataForEventUrl + '?eventId=' + eventId);\r\n }\r\n\r\n getTooltipDataForBooking(calendarId: number) {\r\n return this.http.get(this.getTooltipDataForBookingUrl + '?calendarId=' + calendarId);\r\n }\r\n\r\n updateCalendar(model: UpdateCalendarModel) {\r\n return this.http.post(this.updateCalendarUrl, model, false, null, null, false);\r\n }\r\n\r\n createEvent(model: EventModel) {\r\n return this.http.post(this.createEventUrl, model, true);\r\n }\r\n\r\n updateEvent(model: EventModel) {\r\n return this.http.put(this.updateEventUrl, model, true);\r\n }\r\n\r\n deleteEvent(eventId: number) {\r\n return this.http.delete(this.deleteEventUrl + '?eventId=' + eventId, true);\r\n }\r\n\r\n deleteCalendarStatus(calendarId: number) {\r\n return this.http.delete(this.deleteCalendarStatusUrl + '?calendarId=' + calendarId, true);\r\n }\r\n\r\n deleteCalendarStatusBatch(batch: CalendarStatusBatchModel) {\r\n return this.http.delete(this.deleteCalendarStatusBatchUrl, true, null, batch);\r\n }\r\n\r\n updateEventOnCalendar(model: UpdateEventCalendarModel) {\r\n return this.http.post(this.updateEventOnCalendarUrl, model, true);\r\n }\r\n\r\n newCalendarBooking(model: CalendarNewBookingRequestModel) {\r\n return this.http.post(this.newCalendarBookingUrl, model);\r\n }\r\n\r\n editCalendarBooking(calendarId: number, roomId: number) {\r\n return this.http.get(this.editCalendarBookingUrl + '?calendarId=' + calendarId + '&roomId=' + roomId);\r\n }\r\n\r\n updateCalendarBooking(model: CalendarBookingModel) {\r\n return this.http.post(this.updateCalendarBookingUrl, model, true);\r\n }\r\n\r\n insertCalendarBooking(model: CalendarBookingModel) {\r\n return this.http.put(this.insertCalendarBookingUrl, model, true);\r\n }\r\n\r\n newCalendarStatus(model: UpdateCalendarModel) {\r\n return this.http.post(this.newCalendarStatusUrl, model);\r\n }\r\n\r\n insertCalendarStatus(model: CalendarModel) {\r\n return this.http.post(this.insertCalendarStatusUrl, model, true);\r\n }\r\n\r\n insertCalendarStatusBatch(model: CalendarStatusBatchModel) {\r\n return this.http.post(this.insertCalendarStatusBatchUrl, model, true);\r\n }\r\n\r\n editCalendarStatus(calendarId: number) {\r\n return this.http.get(this.editCalendarStatusUrl + '?calendarId=' + calendarId);\r\n }\r\n\r\n updateCalendarStatus(model: CalendarModel) {\r\n return this.http.post(this.updateCalendarStatusUrl, model, true);\r\n }\r\n\r\n shuffleCalendar(calendarId: number) {\r\n return this.http.get(this.shuffleCalendarUrl + '?calendarId=' + calendarId, true);\r\n }\r\n\r\n cancelCalendarBooking(bookingId: string, applyPenalty: number) {\r\n return this.http.get(this.cancelCalendarBookingUrl + '?bookingId=' + bookingId + '&applyPenalty=' + applyPenalty, true);\r\n }\r\n\r\n getRatePlanByRoomType(roomTypeId: number, dateFrom: string, dateTo: string, partnerId: number = null) {\r\n return this.http.get(\r\n this.getRatePlanByRoomTypeUrl +\r\n '?roomTypeId=' +\r\n roomTypeId +\r\n '&dateFrom=' +\r\n dateFrom +\r\n '&dateTo=' +\r\n dateTo +\r\n '&partnerId=' +\r\n partnerId\r\n );\r\n }\r\n\r\n getRoomTypeByRatePlan(\r\n calendarId: number,\r\n ratePlanId: number,\r\n roomId: number,\r\n from: string,\r\n to: string,\r\n partnerId: number\r\n ) {\r\n return this.http.get(\r\n this.getRoomTypeByRatePlanUrl +\r\n '?calendarId=' +\r\n calendarId +\r\n '&ratePlanId=' +\r\n ratePlanId +\r\n '&roomId=' +\r\n roomId +\r\n '&from=' +\r\n from +\r\n '&to=' +\r\n to +\r\n '&partnerId=' +\r\n partnerId\r\n );\r\n }\r\n\r\n checkBookingStatus(roomTypeId: number, from: string, to: string) {\r\n return this.http.get(this.checkBookingStatusUrl + '?roomTypeId=' + roomTypeId + '&from=' + from + '&to=' + to);\r\n }\r\n\r\n getForUpdateCalendar(model: UpdateCalendarModel) {\r\n return this.http.post(this.getForUpdateCalendarUrl, model);\r\n }\r\n\r\n getCalendarView(): CalendarView {\r\n const calendarView = localStorage.getItem('calendar-view');\r\n\r\n if (calendarView) {\r\n try {\r\n const parsedView: number = +calendarView;\r\n\r\n switch (parsedView) {\r\n case 0:\r\n return CalendarView.Regular;\r\n case 1:\r\n return CalendarView.Extended;\r\n case 2:\r\n return CalendarView.SevenGrid;\r\n default:\r\n return CalendarView.Regular;\r\n }\r\n } catch (ex) {\r\n return CalendarView.Regular;\r\n }\r\n }\r\n\r\n return CalendarView.Regular;\r\n }\r\n\r\n setCalendarView(view: number) {\r\n localStorage.setItem('calendar-view', view.toString());\r\n }\r\n\r\n GetCaterpayHtmlFormForNewCalendarBooking(model: CalendarNewBookingPDModel){\r\n return this.http.post(this.getCaterpayHtmlFormForNewCalendarBookingUrl, model, false);\r\n }\r\n\r\n IsCaterPayPaymentSuccessfull(paymentRef: string){\r\n return this.http.post(this.getCaterpayHtmlFormForNewCalendarBookingUrl, paymentRef,false);\r\n }\r\n\r\n reportBcomCalendarStayChange(model: UpdateCalendarModel) {\r\n return this.http.post(this.reportBcomCalendarStayChangeUrl, model, false, null, null, true);\r\n }\r\n\r\n reportBcomCalendarBookingStayChange(model:CalendarBookingModel) {\r\n return this.http.post(this.reportBcomCalendarBookingStayChangeUrl, model, false, null, null, true);\r\n }\r\n}\r\n","import { Component, EventEmitter, OnInit, Input, Output, ViewChild, AfterViewInit } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { SettingsBookingBrokenPaymentsService } from '../settings-booking-broken-payments.service';\r\nimport {\r\n BookingsForBrokenPaymentsModel,\r\n FilteredBookingDataModel,\r\n BookingBrokenPayments,\r\n} from '../../../../models/booking/booking-search-broken-payments.model';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\n\r\n@Component({\r\n selector: 'app-broken-payments-booking-search',\r\n templateUrl: './broken-payments-booking-search.component.html',\r\n styleUrls: ['./broken-payments-booking-search.component.less'],\r\n})\r\nexport class BrokenPaymentsBookingSearchComponent implements OnInit, AfterViewInit {\r\n @ViewChild(DxDataGridComponent, { static: true }) dataGrid: DxDataGridComponent;\r\n @Input() showBookingChooseDialog: boolean;\r\n @Output() showBookingChooseDialogChange = new EventEmitter();\r\n @Input() requestModel: BookingsForBrokenPaymentsModel;\r\n @Input() currentPayment: BookingBrokenPayments;\r\n @Output() closeDialog = new EventEmitter();\r\n @Output() bookingSelected = new EventEmitter();\r\n\r\n theme: number;\r\n currencySymbol: string;\r\n filteredBookingData: FilteredBookingDataModel[];\r\n selectedBooking: FilteredBookingDataModel;\r\n showSaveConfirmationDialog: boolean;\r\n\r\n pageTitle: string = \"Bookings for broken payment\";\r\n\r\n constructor(private settingsBookingBrokenPaymentsService: SettingsBookingBrokenPaymentsService) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.currencySymbol = AuthTokenService.decodeJwtToken().Currency.Symbol;\r\n }\r\n\r\n ngOnInit(): void {\r\n if (this.requestModel.functionSearch) {\r\n this.pageTitle = \"Functions for broken payment\";\r\n }\r\n\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.dataGrid.instance.beginCustomLoading('Loading...');\r\n this.settingsBookingBrokenPaymentsService.getBookingsForBrokenPayments(this.requestModel).subscribe(\r\n (res: FilteredBookingDataModel[]) => {\r\n this.dataGrid.instance.endCustomLoading();\r\n\r\n if (!res.length && !this.requestModel.functionSearch) {\r\n this.dataGrid.noDataText = `No bookings were found for the ${this.requestModel.email} email.`;\r\n return;\r\n }\r\n if (!res.length && this.requestModel.functionSearch) {\r\n this.dataGrid.noDataText = `No functions were found for the ${this.requestModel.email} email.`;\r\n return;\r\n }\r\n\r\n this.filteredBookingData = res;\r\n this.dataGrid.instance.refresh();\r\n },\r\n (err) => {\r\n this.dataGrid.instance.endCustomLoading();\r\n console.error(err);\r\n }\r\n );\r\n }\r\n\r\n close(): void {\r\n this.closeDialog.emit(false);\r\n }\r\n\r\n cellClick(e): void {\r\n if (e.rowType && e.rowType != \"header\") {\r\n this.selectedBooking = e.data;\r\n this.showSaveConfirmationDialog = true;\r\n }\r\n }\r\n\r\n confirmSelection(): void {\r\n this.showSaveConfirmationDialog = false;\r\n\r\n this.bookingSelected.emit(this.selectedBooking);\r\n this.closeDialog.emit(false);\r\n }\r\n\r\n showTooltip(e): void {\r\n setTimeout(() => {\r\n e.showMessage = true;\r\n }, 100);\r\n }\r\n\r\n hideTooltip(e): void {\r\n setTimeout(() => {\r\n e.showMessage = false;\r\n }, 100);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

{{pageTitle}}

\r\n \r\n
\r\n {{ d.data.nights }}\r\n
\r\n
\r\n {{ d.value | date: 'dd/MM/yyyy' }}\r\n
\r\n
{{ currencySymbol }}{{ d.data.total | number: '1.2-2' }}
\r\n
{{ currencySymbol }}{{ d.data.balance | number: '1.2-2' }}
\r\n
\r\n {{ s.data.status | camelCaseSeparate }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ s.data.status | camelCaseSeparate }} with penalty - {{ s.data.penaltyType }}.\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ d.value | date: 'dd/MM/yyyy' }}\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

Notice

\r\n

\r\n Are you sure you want to link payment:\r\n

\r\n Date: {{ currentPayment.date | date: 'dd/MM/yyyy' }}
\r\n Guest name: {{ currentPayment.customerName }}
\r\n Guest email: {{ currentPayment.customerEmail }}
\r\n Amount: {{ this.currencySymbol }}{{ currentPayment.amount }}
\r\n

\r\n

\r\n to booking: #{{ selectedBooking.bookingNo }}\r\n

\r\n Dates: {{ selectedBooking.bookingDates }}
\r\n Booked on date: {{ selectedBooking.bookedOnDate | date: 'dd/MM/yyyy' }}
\r\n Guest name: {{ selectedBooking.guest }}
\r\n Nights: {{ selectedBooking.nights }}
\r\n Balance: {{ this.currencySymbol }}{{ selectedBooking.balance }}
\r\n Total: {{ this.currencySymbol }}{{ selectedBooking.total }}
\r\n

\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, AfterContentInit } from '@angular/core';\r\nimport { GridConfiguration, DxGridHelper, GridRequest } from '../../../shared/helpers/dx-grid-helper';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { SettingsBookingBrokenPaymentsService } from './settings-booking-broken-payments.service';\r\nimport {\r\n BookingBrokenPayments,\r\n BookingSearchBrokenPaymensModel,\r\n BookingsForBrokenPaymentsModel,\r\n FilteredBookingDataModel,\r\n} from '../../../models/booking/booking-search-broken-payments.model';\r\nimport { CurrencyContext } from '../../../models/auth-jwt/token-context';\r\nimport { Router } from '@angular/router';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\n\r\n@Component({\r\n selector: 'app-settings-booking-broken-payments',\r\n templateUrl: './settings-booking-broken-payments.component.html',\r\n styleUrls: ['./settings-booking-broken-payments.component.less'],\r\n})\r\nexport class SettingsBookingBrokenPaymentsComponent implements OnInit, AfterContentInit {\r\n @ViewChild('grid', { static: true }) grid: DxDataGridComponent;\r\n @ViewChild('gridHidden') gridHidden: DxDataGridComponent;\r\n\r\n loader = false;\r\n theme: number;\r\n\r\n brookenPaymentsListRequest = new GridRequest();\r\n gridConfiguration: GridConfiguration;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n token: TokenContext = new TokenContext();\r\n currentPayment = new BookingBrokenPayments();\r\n currentIndex: number;\r\n requestModel = new BookingsForBrokenPaymentsModel();\r\n searchValue: string;\r\n showBookingChooseDialog = false;\r\n showRemovePaymentDialog = false;\r\n accomodationSearch = true;\r\n functionSearch = false;\r\n\r\n selectedRows: BookingBrokenPayments[] = [];\r\n\r\n constructor(\r\n private settingsBookingBrokenPaymentsService: SettingsBookingBrokenPaymentsService,\r\n private router: Router\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.gridConfiguration = new BookingSearchBrokenPaymensModel();\r\n this.gridConfiguration.service = this.settingsBookingBrokenPaymentsService;\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.initGrid();\r\n }\r\n\r\n initGrid(): void {\r\n DxGridHelper.ConfigureGrid(this.grid, this.brookenPaymentsListRequest, this.gridConfiguration);\r\n }\r\n\r\n searchGuests(): void {\r\n this.brookenPaymentsListRequest.options.customSearch[0].value = this.searchValue;\r\n this.gridConfiguration.reloadGrid();\r\n }\r\n\r\n reloadGrid(): void {\r\n this.gridConfiguration.reloadGrid();\r\n }\r\n\r\n cellClick(e): void {\r\n this.currentIndex = e.rowIndex;\r\n }\r\n\r\n fixBrokenPayment(brokenPayment: BookingBrokenPayments): void {\r\n this.currentPayment = brokenPayment;\r\n this.requestModel.email = brokenPayment.customerEmail;\r\n this.requestModel.parameters = brokenPayment.customerName.split(' ');\r\n this.requestModel.functionSearch = this.functionSearch;\r\n\r\n this.showBookingChooseDialog = true;\r\n }\r\n\r\n showRemoveBrokenPayment(brokenPayment: BookingBrokenPayments): void {\r\n this.currentPayment = brokenPayment;\r\n this.showRemovePaymentDialog = true;\r\n }\r\n\r\n setFilterType(isFunction:boolean) {\r\n this.functionSearch = isFunction;\r\n this.accomodationSearch = !isFunction; \r\n }\r\n\r\n removeBrokenPayment() {\r\n this.settingsBookingBrokenPaymentsService.removeBookingBrokenPayments(this.currentPayment).subscribe(\r\n (response) => {\r\n const rows: BookingBrokenPayments[] = this.grid.instance.getDataSource().items();\r\n rows[this.currentIndex].removedPayment = true;\r\n this.showRemovePaymentDialog = false;\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n linkBookings(bookingSelected: FilteredBookingDataModel): void {\r\n const bookingId = bookingSelected.id;\r\n const bookingNo = bookingSelected.bookingNo;\r\n const isFunction = bookingSelected.isFunction;\r\n \r\n const description = `${bookingSelected.guest}, ${bookingSelected.bookingDates}, ${bookingSelected.nights}, ${bookingSelected.bookedOnDate}, ${bookingSelected.total}, ${bookingSelected.balance}, ${bookingSelected.madeBy}`;\r\n const descriptionWithLabels = `Guest: ${bookingSelected.guest}. Period: ${\r\n bookingSelected.bookingDates\r\n }. Nights: ${bookingSelected.nights}. Booked on: ${this.formatDate(bookingSelected.bookedOnDate)}. Total: ${\r\n bookingSelected.total\r\n }. Balance: ${bookingSelected.balance}. Made by: ${bookingSelected.madeBy}`;\r\n const rows: BookingBrokenPayments[] = this.grid.instance.getDataSource().items();\r\n\r\n rows[this.currentIndex].bookingNo = bookingNo;\r\n rows[this.currentIndex].bookingId = bookingId;\r\n rows[this.currentIndex].description = description;\r\n rows[this.currentIndex].descriptionWithLabels = descriptionWithLabels;\r\n rows[this.currentIndex].isFunction = isFunction;\r\n\r\n this.selectedRows.push(rows[this.currentIndex]);\r\n\r\n this.saveFixedPayments();\r\n }\r\n\r\n removeLinkedBooking(): void {\r\n const rows: BookingBrokenPayments[] = this.grid.instance.getDataSource().items();\r\n\r\n this.selectedRows.forEach((element: BookingBrokenPayments) => {\r\n if (element.bookingId === rows[this.currentIndex].bookingId) {\r\n const i = this.selectedRows.findIndex((x) => x.bookingId === rows[this.currentIndex].bookingId && x.isFunction === rows[this.currentIndex].isFunction);\r\n this.selectedRows.splice(i, 1);\r\n }\r\n });\r\n\r\n rows[this.currentIndex].bookingId = null;\r\n rows[this.currentIndex].bookingNo = null;\r\n rows[this.currentIndex].description = null;\r\n rows[this.currentIndex].fixed = false;\r\n }\r\n\r\n saveFixedPayments() {\r\n if (this.selectedRows.length) {\r\n // this.loader = true;\r\n this.settingsBookingBrokenPaymentsService.setBookingBrokenPayments(this.selectedRows).subscribe(\r\n (response) => {\r\n const rows: BookingBrokenPayments[] = this.grid.instance.getDataSource().items();\r\n rows[this.currentIndex].fixed = true;\r\n\r\n this.selectedRows = [];\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.error(error);\r\n this.removeLinkedBooking();\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n }\r\n\r\n goToBooking(obj: any) {\r\n if (obj.isFunction) {\r\n if (obj.bookingId) {\r\n this.router.navigate(['function/details/', obj.bookingId]);\r\n }\r\n }\r\n else {\r\n if (obj.bookingId) {\r\n this.router.navigate(['booking/details/', obj.bookingId]);\r\n }\r\n }\r\n\r\n return;\r\n }\r\n\r\n showTooltip(e): void {\r\n setTimeout(() => {\r\n e.showMessage = true;\r\n }, 100);\r\n }\r\n\r\n hideTooltip(e): void {\r\n setTimeout(() => {\r\n e.showMessage = false;\r\n }, 100);\r\n }\r\n\r\n formatDate(dateStr) {\r\n const dateObj = new Date(dateStr);\r\n\r\n return `${dateObj.getDate()}/${dateObj.getMonth() + 1}/${dateObj.getFullYear()}`;\r\n }\r\n}\r\n","
\r\n
\r\n

Broken payments

\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n Search\r\n \r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n {{ n.data?.date | date: 'dd/MM/yyyy' }}\r\n
\r\n
\r\n {{ n.data?.transactionId }}\r\n
\r\n
\r\n {{ n.data?.authCode }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ n.data?.amount | number: '1.2-2' }}\r\n
\r\n
\r\n {{ n.data?.cardMask }}\r\n
\r\n
\r\n {{ n.data?.customerName }}\r\n
\r\n
\r\n \r\n {{ n.data?.bookingNo }}\r\n \r\n
\r\n
\r\n
\r\n {{ n.data?.description?.substring(0, 40) + '...' }}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
{{ n.data?.descriptionWithLabels }}.
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n

Notice

\r\n

Are you sure you want to remove this payment?

\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n","import { environment } from '../../../../environments/environment';\r\nimport { HttpRequestService } from '../../../shared/services/http-request.service';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n BookingsForBrokenPaymentsModel,\r\n FilteredBookingDataModel,\r\n} from '../../../models/booking/booking-search-broken-payments.model';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable()\r\nexport class SettingsBookingBrokenPaymentsService {\r\n private getBookingBrokenPaymentsUrl = environment.apiUrl + '/Booking/GetBookingBrokenPayments';\r\n private setBookingBrokenPaymentsUrl = environment.apiUrl + '/Booking/SetBookingBrokenPayments';\r\n private getBookingsForBrokenPaymentsUrl = environment.apiUrl + '/Booking/GetBookingsForBrokenPayments';\r\n private removeBookingBrokenPaymentsUrl = environment.apiUrl + '/Booking/RemoveBookingBrokenPayments';\r\n\r\n constructor(private http: HttpRequestService) {}\r\n\r\n getData(data) {\r\n return this.http.post(this.getBookingBrokenPaymentsUrl, data);\r\n }\r\n\r\n setBookingBrokenPayments(bookingBrokenPayments) {\r\n return this.http.post(this.setBookingBrokenPaymentsUrl, bookingBrokenPayments, true);\r\n }\r\n\r\n getBookingsForBrokenPayments(requestModel: BookingsForBrokenPaymentsModel): Observable {\r\n return this.http.post(this.getBookingsForBrokenPaymentsUrl, requestModel);\r\n }\r\n\r\n removeBookingBrokenPayments(bookingBrokenPayments) {\r\n return this.http.post(this.removeBookingBrokenPaymentsUrl, bookingBrokenPayments, true);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { BookingAllDetails, BookingRoomDetailModel } from 'src/app/models/booking/booking-all-details.model';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport * as moment from 'moment';\r\nimport { BookingSearchResultModel } from 'src/app/models/booking/booking-search.model';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { BookingGridModel } from 'src/app/models/booking/booking-flow.model';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { BookingCommonService } from '../../booking-common.service';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\n\r\n@Component({\r\n selector: 'app-booking-bulk-edit',\r\n templateUrl: './booking-bulk-edit.component.html',\r\n styleUrls: ['./booking-bulk-edit.component.less']\r\n})\r\nexport class BookingBulkEditComponent implements OnInit {\r\n\r\n @Input() bookingAllDetails: BookingAllDetails;\r\n @Output() bulkEditChange = new EventEmitter();\r\n @Output() editComplete = new EventEmitter();\r\n \r\n searchRooms: BookingGridModel[] = [];\r\n searchWarnings: string[] = [];\r\n error: string = null;\r\n\r\n minDate: Date;\r\n maxDate: Date;\r\n\r\n showSearchOptions: boolean = true;\r\n cannotBulkEdit: boolean = false;\r\n showError: boolean = false;\r\n\r\n dateFromBooking: Date; //what is currently booked\r\n dateToBooking: Date; //what is currently booked\r\n currentRoomPrice: number; //current value of rooms\r\n newRoomPrice: number; //what would be new value of rooms\r\n currentRooms: string;\r\n\r\n dateFrom: Date;\r\n dateTo: Date;\r\n duration: number;\r\n\r\n loader = false;\r\n pageSize: number = 10;\r\n\r\n theme: number;\r\n token: TokenContext;\r\n\r\n constructor(\r\n private bookingDetailsService: BookingDetailsService,\r\n private bookingCommonService: BookingCommonService,\r\n private toastService: ToastService\r\n ) {\r\n this.minDate = new Date();\r\n this.minDate.setHours(0,0,0,0);\r\n this.maxDate = new Date(new Date().setFullYear(new Date().getFullYear() + 5));\r\n this.maxDate.setHours(0,0,0,0);\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.theme = this.token.User.CmsTheme;\r\n }\r\n\r\n ngOnInit(): void {\r\n if (this.bookingAllDetails != null && this.bookingAllDetails.rooms != null) {\r\n let bookingFrom = this.bookingAllDetails.rooms[0].bookingFrom;\r\n let bookingTo = this.bookingAllDetails.rooms[0].bookingTo;\r\n this.dateFrom = new Date(bookingFrom);\r\n this.dateTo = new Date(bookingTo);\r\n this.dateFromBooking = new Date(bookingFrom);\r\n this.dateToBooking = new Date(bookingTo);\r\n this.currentRoomPrice = 0;\r\n this.currentRooms = \"\";\r\n this.bookingAllDetails.rooms.forEach(x => {\r\n this.currentRoomPrice += x.price;\r\n this.currentRooms += x.bookingRoomShortName + \", \";\r\n });\r\n this.currentRooms = this.currentRooms.substring(0, this.currentRooms.length - 2);\r\n\r\n //default to 1 day ahead\r\n this.dateFrom.setDate(this.dateFrom.getDate() + 1);\r\n this.dateTo.setDate(this.dateTo.getDate() + 1);\r\n this.setDuration();\r\n\r\n this.loader = true;\r\n this.bookingDetailsService.canBulkEdit(this.bookingAllDetails.info.bookingId).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult != \"Success\") {\r\n this.cannotBulkEdit = true;\r\n this.error = result.errors[0];\r\n }\r\n },\r\n (error) => {\r\n console.error('Can bulk edit-error', error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n else {\r\n console.error('Error on init - booking details/rooms are null.')\r\n }\r\n }\r\n\r\n setDuration() {\r\n if (this.dateTo == null || this.dateFrom == null) {\r\n this.duration = null;\r\n }\r\n else {\r\n this.duration = moment(this.dateTo).diff(moment(this.dateFrom), 'days');\r\n }\r\n \r\n }\r\n\r\n changeFromToDate(type: number) { \r\n //clear any search results\r\n this.searchRooms.length = 0;\r\n let bookingDuration = moment(this.dateToBooking).diff(moment(this.dateFromBooking), 'days');\r\n if (type == 1 && this.dateFrom != null) //bookingFrom changed \r\n {\r\n this.dateTo = moment(this.dateFrom).add(bookingDuration, 'days').toDate(); \r\n }\r\n if (type==2 && this.dateTo != null && moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n let newFrom = moment(this.dateTo).add(-bookingDuration, 'days');\r\n if (newFrom.date < moment(new Date()).date) {\r\n newFrom = moment(this.dateTo).add(-1, 'days');\r\n }\r\n this.dateFrom = newFrom.toDate();\r\n }\r\n\r\n this.setDuration();\r\n }\r\n\r\n search() {\r\n //we only need to provide the api with the bookingId and new proposed dates\r\n this.searchRooms.length = 0;\r\n this.searchWarnings.length = 0;\r\n this.newRoomPrice = 0;\r\n this.pageSize = 10;\r\n this.showError = false;\r\n this.error = \"\";\r\n this.loader = true;\r\n this.bookingDetailsService.bulkEditSearch(this.bookingAllDetails.info.bookingId, this.dateFrom.toDateString(), this.dateTo.toDateString()).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n let responseData: BookingSearchResultModel[] = response;\r\n this.searchRooms = [];\r\n if (responseData.length > 0) {\r\n if (this.bookingAllDetails.extras.length > 0) {\r\n this.searchWarnings.push('This booking has associated extras. These will be kept with their associated rooms but the extra dates will NOT be adjusted.');\r\n }\r\n }\r\n else {\r\n this.showError = true;\r\n this.error = \"No availability could be found for the selected dates\";\r\n }\r\n\r\n responseData.forEach(x => {\r\n const bookingGridModel: BookingGridModel = new BookingGridModel();\r\n bookingGridModel.checked = false;\r\n bookingGridModel.bookingFrom = x.arrive;\r\n bookingGridModel.bookingTo = x.depart;\r\n bookingGridModel.room = x.rooms.find(y => y.id == x.assignedRoomId);\r\n bookingGridModel.roomId = x.assignedRoomId;\r\n bookingGridModel.roomTypeId = x.roomTypeId;\r\n bookingGridModel.roomTypeName = x.roomTypeName;\r\n bookingGridModel.ratePlan = x.ratePlans[0];\r\n bookingGridModel.ratePlanId = x.ratePlans[0].id;\r\n bookingGridModel.price = x.ratePlans[0].price;\r\n bookingGridModel.suggestedPrice = x.ratePlans[0].price;\r\n bookingGridModel.standardPrice = bookingGridModel.price;\r\n bookingGridModel.maxOccupancy = x.ratePlans[0].maxOccupancy;\r\n bookingGridModel.originalRoomId = x.originalRoomId;\r\n bookingGridModel.originalRoom = x.originalRoom;\r\n\r\n bookingGridModel.duration = this.calculateDaysBetweenDates(\r\n new Date(new Date(bookingGridModel.bookingFrom).toDateString()),\r\n new Date(new Date(bookingGridModel.bookingTo).toDateString())\r\n );\r\n\r\n bookingGridModel.rooms = x.rooms;\r\n bookingGridModel.ratePlans = x.ratePlans;\r\n bookingGridModel.discountModel = x.discountModel;\r\n bookingGridModel.roomTypes.push(x.roomTypeName);\r\n this.newRoomPrice += bookingGridModel.price;\r\n this.searchRooms.push(bookingGridModel);\r\n\r\n if (x.availabilityRestriction) {\r\n let availabilityRestrictionMessage = this.bookingCommonService.getAvailabilityRestrictionMessage(x);\r\n this.searchWarnings.push(`Room: ${bookingGridModel.room.shortName}: ${availabilityRestrictionMessage}`)\r\n }\r\n this.showSearchOptions = false;\r\n });\r\n \r\n if (this.searchWarnings.length > 5) {\r\n this.pageSize = 5;\r\n }\r\n },\r\n (error) => {\r\n console.log('bulkEditSearch-error', error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n calculateDaysBetweenDates(dateFrom: Date, dateTo: Date) { \r\n const to: Date = new Date(this.dateTo);\r\n const from: Date = new Date(this.dateFrom);\r\n const offSet: number = moment(to).utcOffset();\r\n const isOffset: boolean = moment(to).isDST();\r\n const isOffsetShifted: boolean = moment(to).isDSTShifted();\r\n console.log('to: ' + to + 'from: ' + from + 'utcOffset: ' + offSet + 'IsDST: ' + isOffset + 'IsDSTShifted: ' + isOffsetShifted);\r\n\r\n return moment(to, 'DD/MM/YYYY').diff(moment(from, 'DD/MM/YYYY'), 'days');\r\n }\r\n\r\n close() {\r\n this.bulkEditChange.emit(false);\r\n }\r\n\r\n validateAssignedRooms():boolean {\r\n let assignedRooms = [];\r\n for (let i=0; i {\r\n this.newRoomPrice += x.price;\r\n })\r\n }\r\n\r\n save() {\r\n //check that the assigned rooms are unique\r\n if (this.validateAssignedRooms()) {\r\n //create a copy of the rooms \r\n let updateRooms: BookingRoomDetailModel[] = JSON.parse(JSON.stringify(this.bookingAllDetails.rooms));\r\n updateRooms.forEach(x => {\r\n let gridRoom = this.searchRooms.find(y => y.originalRoomId == x.roomId);\r\n if (gridRoom != null)\r\n {\r\n x.bookingFrom = moment(gridRoom.bookingFrom).format('YYYY-MM-DD');\r\n x.bookingTo = moment(gridRoom.bookingTo).format('YYYY-MM-DD');\r\n x.ratePlanId = gridRoom.ratePlanId;\r\n x.roomId = gridRoom.roomId;\r\n x.price = gridRoom.price;\r\n }\r\n else \r\n {\r\n this.toastService.showToast('Error updating room', `An error occurred updating room ${x.bookingRoomShortName}, please check and try again.`, null, ToastEventType.Error, true, 5000);\r\n return;\r\n }\r\n });\r\n\r\n this.loader = true;\r\n this.bookingDetailsService.bulkEdit(updateRooms).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toastService.showToast('Bulk Edit', 'Rooms were successfully edited.', null, ToastEventType.Success, false, 3000);\r\n\r\n }\r\n else if (result.actionResult === \"CompleteWithWarnings\") {\r\n this.toastService.showToast('Bulk Edit', result.warnings.join(', '), null, ToastEventType.Warning, true, 5000);\r\n }\r\n else {\r\n this.toastService.showToast('Bulk Edit', result.errors[0], null, ToastEventType.ErrorAlert, true, 5000);\r\n }\r\n this.bulkEditChange.emit(false);\r\n this.editComplete.emit();\r\n\r\n },\r\n (error) => {\r\n console.log('bulkEdit-error', error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n else {\r\n this.toastService.showToast('Bulk Edit', \"Please review the assigned rooms - 1 or more is duplicated.\", null, ToastEventType.ErrorAlert, true, 5000);\r\n }\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Bulk Edit Booking {{bookingAllDetails?.info.bookingNo}}

\r\n\r\n
\r\n Current dates of stay: {{dateFromBooking | date:'dd/MM/yyyy'}} - {{dateToBooking | date:'dd/MM/yyyy'}}\r\n
\r\n
\r\n Current total price of rooms: {{ token.Currency.Symbol }}{{currentRoomPrice | number: '1.2-2'}}\r\n
\r\n
0\" class=\"new-price mt-10\">\r\n New total price of rooms: {{ token.Currency.Symbol }}{{newRoomPrice | number: '1.2-2'}}\r\n
\r\n
\r\n Current booked rooms: {{currentRooms}}. Total rooms: {{bookingAllDetails.rooms.length}}\r\n
\r\n\r\n
\r\n {{error}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

Change to:

\r\n
\r\n
\r\n
Arrive
\r\n \r\n\r\n
\r\n\r\n
\r\n
Depart
\r\n \r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n Duration: {{duration}} night(s)\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n

Proposed change:

\r\n
\r\n 0\">Please note:\r\n
    \r\n
  • \r\n {{ warning }}\r\n
  • \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.data.bookingFrom | date: 'dd/MM/yyyy' }}\r\n \r\n \r\n {{ item.data.duration }}\r\n night \r\n nights \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n {{ token.Currency.Symbol }}\r\n \r\n
\r\n \r\n \r\n {{ token.Currency.Symbol }}{{ item.data.suggestedPrice }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport {\r\n InvoiceHeaderDetailsModel,\r\n InvoiceItemModel,\r\n NewInvoiceDetailsPDModel,\r\n} from '../../../../models/booking/invoice-details-pd.model';\r\nimport { CurrencyContext } from '../../../../models/auth-jwt/token-context';\r\nimport { BookingPaymentModel } from '../../../../models/booking/booking-details.model';\r\nimport { DxSelectBoxComponent, DxDataGridComponent } from 'devextreme-angular';\r\n\r\n@Component({\r\n selector: 'app-booking-details-add-invoice',\r\n templateUrl: './booking-details-add-invoice.component.html',\r\n styleUrls: ['./booking-details-add-invoice.component.less'],\r\n})\r\nexport class BookingDetailsAddInvoiceComponent implements OnInit {\r\n @ViewChild('selectBox', { static: true }) selectBox: DxSelectBoxComponent;\r\n @ViewChild('invoiceItems', { static: true }) invoiceItemsGrid: DxDataGridComponent;\r\n @ViewChild('paymentItems', { static: true }) paymentItemsGrid: DxDataGridComponent;\r\n @Input() addInvoice: boolean;\r\n @Output() addInvoiceChange = new EventEmitter();\r\n\r\n @Output() update = new EventEmitter();\r\n @Output() printInvoice = new EventEmitter();\r\n\r\n @Input() bookingId: number;\r\n\r\n confirmInvoice = false;\r\n loader = false;\r\n invoiceAccount: number;\r\n theme: number;\r\n valForm: UntypedFormGroup;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n\r\n invoiceDetailsPDModel = new NewInvoiceDetailsPDModel();\r\n selectedPaymentItems: BookingPaymentModel[] = [];\r\n selectedItems: InvoiceItemModel[] = [];\r\n\r\n constructor(private bookingDetailsService: BookingDetailsService, private fb: UntypedFormBuilder) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.valForm = fb.group({\r\n customerName: [null, Validators.compose([Validators.required, Validators.maxLength(50)])],\r\n customerAddress: [null, Validators.compose([Validators.maxLength(50)])],\r\n customerAddress2: [null, Validators.compose([Validators.maxLength(50)])],\r\n customerAddress3: [null, Validators.compose([Validators.maxLength(50)])],\r\n customerAddress4: [null, Validators.compose([Validators.maxLength(50)])],\r\n customerCountry: [null, Validators.compose([Validators.maxLength(50)])],\r\n customerData1: [null, Validators.compose([Validators.maxLength(100)])],\r\n customerData2: [null, Validators.compose([Validators.maxLength(100)])],\r\n poRef: [null, Validators.compose([Validators.maxLength(50)])],\r\n });\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n }\r\n\r\n ngOnInit() {\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.bookingDetailsService.newInvoice(this.bookingId).subscribe(\r\n (response) => {\r\n this.invoiceDetailsPDModel = response;\r\n if (this.invoiceDetailsPDModel.invoiceToList.length > 0) {\r\n this.setHeaderDetails(this.invoiceDetailsPDModel.invoiceToList[0]);\r\n this.invoiceAccount = this.invoiceDetailsPDModel.invoiceToList[0].invoiceTo.accountId;\r\n }\r\n this.selectedItems = this.invoiceDetailsPDModel.invoiceItems;\r\n this.invoiceDetailsPDModel.bookingPaymentItems = this.invoiceDetailsPDModel.bookingPaymentItems.filter(\r\n (x) => x.paymentType !== 'Tokenise' && x.paymentType !== 'Verify' && x.paymentType !== 'VerifyToken'\r\n );\r\n this.selectedPaymentItems = this.invoiceDetailsPDModel.bookingPaymentItems;\r\n\r\n this.valForm.controls['customerAddress'].markAsTouched();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n setHeaderDetails(headerDetails: InvoiceHeaderDetailsModel) {\r\n this.invoiceDetailsPDModel.invoice.id = headerDetails.header.id;\r\n this.invoiceDetailsPDModel.invoice.invoiceNo = headerDetails.header.invoiceNo;\r\n this.invoiceDetailsPDModel.invoice.bookingId = this.bookingId;\r\n if (headerDetails.invoiceTo.accountType === 'Guest') {\r\n this.invoiceDetailsPDModel.invoice.guestId = headerDetails.invoiceTo.accountId;\r\n this.invoiceDetailsPDModel.invoice.partnerId = null;\r\n } else if (headerDetails.invoiceTo.accountType === 'Partner') {\r\n this.invoiceDetailsPDModel.invoice.guestId = null;\r\n this.invoiceDetailsPDModel.invoice.partnerId = headerDetails.invoiceTo.accountId;\r\n }\r\n this.invoiceDetailsPDModel.invoice.dateCreated = headerDetails.header.dateCreated;\r\n this.invoiceDetailsPDModel.invoice.templateId = headerDetails.header.templateId;\r\n this.invoiceDetailsPDModel.invoice.customerName = headerDetails.header.customerName;\r\n this.invoiceDetailsPDModel.invoice.customerAddress = headerDetails.header.customerAddress;\r\n this.invoiceDetailsPDModel.invoice.customerCountry = headerDetails.header.customerCountry;\r\n this.invoiceDetailsPDModel.invoice.customerAddress2 = headerDetails.header.customerAddress2;\r\n this.invoiceDetailsPDModel.invoice.customerAddress3 = headerDetails.header.customerAddress3;\r\n this.invoiceDetailsPDModel.invoice.customerPostalCode = headerDetails.header.customerPostalCode;\r\n this.invoiceDetailsPDModel.invoice.customerAdditionalData1 = headerDetails.header.customerAdditionalData1;\r\n this.invoiceDetailsPDModel.invoice.customerAdditionalData2 = headerDetails.header.customerAdditionalData2;\r\n }\r\n\r\n setHeaderDetailsDevex(e) {\r\n if (e.itemData !== null) {\r\n const headerDetails: InvoiceHeaderDetailsModel = e.itemData;\r\n this.setHeaderDetails(headerDetails);\r\n }\r\n }\r\n\r\n submitInvoice(e) {\r\n e.stopPropagation();\r\n\r\n for (const c in this.valForm.controls) {\r\n this.valForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.valForm.valid) {\r\n this.invoiceDetailsPDModel.invoice.rooms.items = this.selectedItems;\r\n this.invoiceDetailsPDModel.invoice.payments = this.selectedPaymentItems;\r\n this.confirmInvoice = true;\r\n }\r\n }\r\n\r\n close() {\r\n this.addInvoiceChange.emit(false);\r\n }\r\n\r\n totalItemsPrice(): number {\r\n let total = 0;\r\n this.selectedItems.forEach((x) => (total += x.total));\r\n return total;\r\n }\r\n\r\n totalAmountOfPayments(): number {\r\n let total = 0;\r\n this.selectedPaymentItems.forEach((x) => (total += x.amount));\r\n return total;\r\n }\r\n\r\n balanceInvoice() {\r\n return this.totalItemsPrice() - this.totalAmountOfPayments();\r\n }\r\n\r\n updateInvoice(data: any) {\r\n if (data.print) {\r\n this.printInvoice.emit(data.invoiceId);\r\n } else {\r\n this.update.emit();\r\n }\r\n this.close();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Add Invoice

\r\n\r\n
\r\n
Invoice to
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
    \r\n
    Customer name:
    \r\n \r\n Customer name is required.\r\n Max 50 characters.\r\n
    \r\n
    \r\n
    Customer additional data 1:
    \r\n \r\n Max 100 characters.\r\n
    \r\n
    \r\n
    Customer additional data 2:
    \r\n \r\n Max 100 characters.\r\n
    \r\n
    \r\n
    PO Reference:
    \r\n \r\n Max 50 characters.\r\n
    \r\n
\r\n
\r\n
\r\n
    \r\n
    \r\n
    Address:
    \r\n \r\n \r\n Max 50 characters.\r\n
    \r\n\r\n
    \r\n \r\n Max 50 characters.\r\n
    \r\n\r\n
    \r\n \r\n Max 50 characters.\r\n
    \r\n\r\n
    \r\n \r\n Max 50 characters.\r\n
    \r\n\r\n
    \r\n
    Country:
    \r\n \r\n Max 50 characters.\r\n
    \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n

Items

\r\n \r\n \r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.total | number: '1.2-2' }}\r\n
\r\n
\r\n {{ d.value | date: 'dd/MM/yyyy' }}\r\n
\r\n
\r\n {{ item.data.quantity }}\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalItemsPrice() | number: '1.2-2' }}\r\n

\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n

Payments

\r\n \r\n
\r\n {{ item.data.paymentDate | date: 'dd MMM yyyy' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.amount | number: '1.2-2' }}\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n

\r\n Total Payments:\r\n {{ currencyContext.Symbol }}{{ totalAmountOfPayments() | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalItemsPrice() | number: '1.2-2' }}\r\n

\r\n

\r\n Payments:\r\n {{ currencyContext.Symbol }}{{ totalAmountOfPayments() | number: '1.2-2' }}\r\n

\r\n

\r\n Balance:\r\n {{ currencyContext.Symbol }}{{ balanceInvoice() | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../../shared/services/auth-token.service';\r\nimport { CountryContext,CurrencyContext } from '../../../../../models/auth-jwt/token-context';\r\nimport { InvoiceDetailsModel } from '../../../../../models/booking/invoice-details-pd.model';\r\nimport { BookingDetailsService } from '../../booking-details.service';\r\n\r\n@Component({\r\n selector: 'app-booking-details-create-invoice-preview',\r\n templateUrl: './booking-details-create-invoice-preview.component.html',\r\n styleUrls: ['./booking-details-create-invoice-preview.component.less'],\r\n})\r\nexport class BookingDetailsCreateInvoicePreviewComponent implements OnInit {\r\n @Input() createInvoicePreview: boolean;\r\n @Output() createInvoicePreviewChange = new EventEmitter();\r\n @Input() invoiceDetails: InvoiceDetailsModel;\r\n @Output() update = new EventEmitter();\r\n\r\n loader = false;\r\n loaderPrint = false;\r\n theme: number;\r\n\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n invoiceDetailsModel = new InvoiceDetailsModel();\r\n countryContext: CountryContext;\r\n\r\n constructor(private bookingDetailsService: BookingDetailsService) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n this.countryContext = AuthTokenService.decodeJwtToken().Country;\r\n }\r\n\r\n ngOnInit() {\r\n this.invoiceDetailsModel = JSON.parse(JSON.stringify(this.invoiceDetails));\r\n }\r\n\r\n totalItemsPrice() {\r\n let amount = 0;\r\n this.invoiceDetailsModel.rooms.items.forEach((x) => (amount += x.total));\r\n return amount;\r\n }\r\n\r\n totalAmountOfPayments() {\r\n let amount = 0;\r\n this.invoiceDetailsModel.payments.forEach((x) => (amount += x.amount));\r\n return amount;\r\n }\r\n\r\n balanceInvoice() {\r\n return this.totalItemsPrice() - this.totalAmountOfPayments();\r\n }\r\n\r\n confirmInvoice() {\r\n this.createInvoice(false);\r\n }\r\n\r\n confirmAndPrint() {\r\n this.createInvoice(true);\r\n }\r\n\r\n createInvoice(print: boolean) {\r\n print ? (this.loaderPrint = true) : (this.loader = true);\r\n this.bookingDetailsService.createInvoice(this.invoiceDetailsModel).subscribe(\r\n (invoiceId: number) => {\r\n print ? (this.loaderPrint = false) : (this.loader = false);\r\n this.update.emit({ print: print, invoiceId: invoiceId });\r\n this.close();\r\n },\r\n (error) => {\r\n console.log(error);\r\n print ? (this.loaderPrint = false) : (this.loader = false);\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.createInvoicePreviewChange.emit(false);\r\n }public onCellPrepared(event)\r\n{\r\n if (event.rowType === 'header' && event.column.dataField == \"vatAmount\")\r\n {\r\n let commandCell = event.cellElement;\r\n commandCell[0].innerHTML = commandCell[0].innerHTML.replace('Vat Amount', this.countryContext.VatName + \" Amount\");\r\n }\r\n}\r\n}\r\n","
\r\n
\r\n
\r\n

Invoice Preview

\r\n\r\n
\r\n
\r\n
    \r\n
    \r\n
    Customer name:
    \r\n

    {{ invoiceDetailsModel?.customerName }}

    \r\n
    \r\n
    \r\n
    Customer additional data 1:
    \r\n

    {{ invoiceDetailsModel?.customerAdditionalData1 }}

    \r\n
    \r\n
    \r\n
    Customer additional data 2:
    \r\n

    {{ invoiceDetailsModel?.customerAdditionalData2 }}

    \r\n
    \r\n
    \r\n
    PO reference:
    \r\n

    {{ invoiceDetailsModel?.poRef }}

    \r\n
    \r\n
\r\n
\r\n
\r\n
    \r\n
    \r\n
    Address:
    \r\n

    {{ invoiceDetailsModel?.customerAddress }}

    \r\n
    \r\n
    \r\n

    {{ invoiceDetailsModel?.customerAddress2 }}

    \r\n
    \r\n
    \r\n

    {{ invoiceDetailsModel?.customerAddress3 }}

    \r\n
    \r\n
    \r\n

    {{ invoiceDetailsModel?.customerPostalCode }}

    \r\n
    \r\n\r\n
    \r\n
    Customer country:
    \r\n

    {{ invoiceDetailsModel?.customerCountry }}

    \r\n
    \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n

Items

\r\n \r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.priceIncVat | number: '1.2-2' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.total | number: '1.2-2' }}\r\n
\r\n
\r\n {{ item.data.quantity }}\r\n
\r\n
\r\n {{ item.data.vatAmount }}\r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalItemsPrice() | number: '1.2-2' }}\r\n

\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n

Payments

\r\n \r\n
\r\n {{ item.data.paymentDate | date: 'dd MMM yyyy' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.amount | number: '1.2-2' }}\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n

\r\n Total Payments:\r\n {{ currencyContext.Symbol }}{{ totalAmountOfPayments() | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalItemsPrice() | number: '1.2-2' }}\r\n

\r\n

\r\n Payments:\r\n {{ currencyContext.Symbol }}{{ totalAmountOfPayments() | number: '1.2-2' }}\r\n

\r\n

\r\n Balance:\r\n {{ currencyContext.Symbol }}{{ balanceInvoice() | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport {\r\n BookingSearchModel,\r\n BookingSearchResultModel,\r\n BookingSearchRoomModel,\r\n RatePlanBookingResultModel,\r\n} from '../../../../models/booking/booking-search.model';\r\nimport { NewBookingPDModel } from '../../../../models/booking/new-booking-pd.model';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { CurrencyContext } from '../../../../models/auth-jwt/token-context';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { BookingAddRoomGridModel, BookingGridModel } from '../../../../models/booking/booking-flow.model';\r\nimport { CalculateRoomPriceRequestModel } from '../../../../models/booking/calculate-room-price-request.model';\r\nimport { EnumModel } from '../../../../models/shared/enum-model';\r\nimport * as _ from 'lodash';\r\nimport * as moment from 'moment';\r\nimport { NewBookingService } from '../../settings-new-booking/new-booking.service';\r\nimport { DxSelectBoxComponent } from 'devextreme-angular';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\n\r\n@Component({\r\n selector: 'app-booking-details-add-rooms',\r\n templateUrl: './booking-details-add-rooms.component.html',\r\n styleUrls: ['./booking-details-add-rooms.component.less'],\r\n})\r\nexport class BookingDetailsAddRoomsComponent implements OnInit {\r\n @Input() addBookingRoom: boolean;\r\n @Output() addBookingRoomChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Input() bookingId: number;\r\n @Input() bookingStatus: string;\r\n @Input() dateFrom: Date;\r\n\r\n // disable buttons\r\n disableRemoveRoomsButton = true;\r\n disableAddToCartButton = false;\r\n\r\n selectAllChosenRooms = false;\r\n activeSearch = false;\r\n searchRoomsLoader = false;\r\n confirmLoader = false;\r\n\r\n theme: number;\r\n bookingDuration: number;\r\n adults: number;\r\n children: number;\r\n\r\n searchForm: UntypedFormGroup;\r\n dateTo: Date ;\r\n\r\n bookingSearchModel = new BookingSearchModel();\r\n bookingSearchResultModel: BookingSearchResultModel[] = [];\r\n newBookingPDModel = new NewBookingPDModel();\r\n bookingRoomsList: BookingAddRoomGridModel[] = [];\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n\r\n constructor(\r\n private fbSearchRooms: UntypedFormBuilder,\r\n private newBookingService: NewBookingService,\r\n private toasterService: ToastService,\r\n private bookingDetailsService: BookingDetailsService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.searchForm = fbSearchRooms.group({\r\n from: [new Date(), Validators.required],\r\n to: [new Date().setDate(new Date().getDate() + 1), Validators.required],\r\n bedding: [null],\r\n ratePlan: [null],\r\n promoCode: [null],\r\n });\r\n\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n\r\n\r\n this.newBookingService.newBooking().subscribe(\r\n (response) => {\r\n this.newBookingPDModel = response;\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n showToastError(message: string, title?: string) {\r\n this.toasterService.showToast(title ? title : 'Error', message, null, ToastEventType.Error, true, 5000);\r\n }\r\n\r\n changeFromDate(event) {\r\n if (event.value !== null) {\r\n if (moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n const dateFrom: Date = new Date(this.dateFrom);\r\n this.dateTo = new Date(dateFrom.getTime() + 24 * 60 * 60 * 1000);\r\n }\r\n\r\n this.bookingDuration = this.calculateDaysBetweenDates(this.dateFrom, this.dateTo);\r\n }\r\n }\r\n\r\n changeToDate(event) {\r\n if (event.value !== null) {\r\n if (moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n const dateTo: Date = new Date(this.dateTo);\r\n this.dateFrom = new Date(dateTo.getTime() - 24 * 60 * 60 * 1000);\r\n }\r\n\r\n this.bookingDuration = this.calculateDaysBetweenDates(this.dateFrom, this.dateTo);\r\n }\r\n }\r\n\r\n calculateDaysBetweenDates(dateFrom: Date, dateTo: Date) {\r\n return moment(dateTo).diff(moment(dateFrom), 'days');\r\n }\r\n\r\n subtractAdultNum() {\r\n if (this.bookingSearchModel.adults > 1) {\r\n this.bookingSearchModel.adults -= 1;\r\n }\r\n }\r\n\r\n subtractChildNum() {\r\n if (this.bookingSearchModel.children > 0) {\r\n this.bookingSearchModel.children -= 1;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n //this.dateTo = new Date(new Date().setDate(this.dateFrom.getDate() + 1)); \r\n this.dateFrom = moment(this.dateFrom).isValid()? moment(this.dateFrom).toDate(): \r\n moment(new Date()).toDate();\r\n this.dateTo = moment(this.dateFrom).isValid()? moment(this.dateFrom).add(1, 'days').toDate(): \r\n moment(new Date()).toDate();\r\n this.bookingDuration = this.calculateDaysBetweenDates(\r\n this.dateFrom,\r\n this.dateTo\r\n );\r\n \r\n }\r\n\r\n searchFunction(e) {\r\n e.stopPropagation();\r\n for (const c in this.searchForm.controls) {\r\n if (c != null) {\r\n this.searchForm.controls[c].markAsTouched();\r\n }\r\n }\r\n\r\n if (!this.searchForm.valid) {\r\n return;\r\n }\r\n\r\n this.activeSearch = false;\r\n this.searchRoomsLoader = true;\r\n this.adults = this.bookingSearchModel.adults;\r\n this.children = this.bookingSearchModel.children;\r\n this.bookingSearchModel.from = new Date(this.dateFrom).toDateString();\r\n this.bookingSearchModel.to = new Date(this.dateTo).toDateString();\r\n this.bookingSearchModel.bookingId = this.bookingId;\r\n\r\n this.newBookingService.bookingSearch(this.bookingSearchModel).subscribe(\r\n (response) => {\r\n this.bookingSearchResultModel = response;\r\n this.setInitialValues();\r\n this.reloadAvailability();\r\n },\r\n (error) => {\r\n this.searchRoomsLoader = false;\r\n }\r\n );\r\n }\r\n\r\n setInitialValues() {\r\n this.searchRoomsLoader = false;\r\n this.activeSearch = true;\r\n this.disableAddToCartButton = true;\r\n\r\n this.bookingSearchResultModel.forEach((x) => {\r\n x.chosenRooms = 0;\r\n x.ratePlans.forEach((y) => {\r\n y.checked = false;\r\n y.required = 1;\r\n });\r\n });\r\n }\r\n\r\n toggleRatePlanTooltip(e) {\r\n setTimeout(() => {\r\n e.showRatePlanRestriction = !e.showRatePlanRestriction;\r\n }, 100);\r\n }\r\n\r\n toggleRoomTypeTooltip(e) {\r\n setTimeout(() => {\r\n e.showRoomTypeRestriction = !e.showRoomTypeRestriction;\r\n }, 100);\r\n }\r\n\r\n calculateAvailableRooms(): boolean {\r\n let availabilityCounter = 0;\r\n let checkedCounter = 0;\r\n\r\n for (const roomType of this.bookingSearchResultModel) {\r\n roomType.chosenRooms = 0;\r\n for (const ratePlan of roomType.ratePlans) {\r\n if (ratePlan.checked) {\r\n roomType.chosenRooms += ratePlan.required;\r\n checkedCounter++;\r\n }\r\n }\r\n\r\n if (roomType.chosenRooms > roomType.available) {\r\n availabilityCounter++;\r\n }\r\n }\r\n\r\n this.disableAddToCartButton = checkedCounter === 0 || availabilityCounter > 0;\r\n\r\n return availabilityCounter <= 0;\r\n }\r\n\r\n addToCart() {\r\n if (!this.calculateAvailableRooms()) {\r\n return;\r\n }\r\n\r\n let addedRoomsCounter = 0;\r\n\r\n const copyOfSearchResultModel: BookingSearchResultModel[] = JSON.parse(\r\n JSON.stringify(this.bookingSearchResultModel)\r\n );\r\n\r\n for (const roomType of copyOfSearchResultModel) {\r\n for (const ratePlan of roomType.ratePlans) {\r\n if (ratePlan.checked) {\r\n let counter = 0;\r\n\r\n while (counter < ratePlan.required) {\r\n const availableRoomId: number = this.getFirstAvailableRoomId(roomType);\r\n\r\n if (availableRoomId !== -1) {\r\n const roomBaseModel: BookingSearchRoomModel = roomType.rooms.find(\r\n (x) => x.id === availableRoomId\r\n );\r\n if (roomBaseModel) {\r\n const index = roomType.rooms.indexOf(roomBaseModel);\r\n this.insertBookingGridModel(roomType, ratePlan, index);\r\n this.reloadAvailability();\r\n addedRoomsCounter++;\r\n }\r\n }\r\n\r\n counter++;\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (addedRoomsCounter > 0) {\r\n this.bookingSearchResultModel.forEach((roomType) => {\r\n roomType.ratePlans.forEach((ratePlan) => {\r\n ratePlan.checked = false;\r\n ratePlan.required = 1;\r\n });\r\n });\r\n this.disableAddToCartButton = true;\r\n }\r\n }\r\n\r\n getFirstAvailableRoomId(roomType: BookingSearchResultModel): number {\r\n let availableRoomId = -1;\r\n\r\n const gridPhysicalRoomIds: number[] = this.getPhysicalGridRoomIds();\r\n\r\n for (const roomToAdd of roomType.rooms) {\r\n if (roomToAdd.virtualRooms.length === 0) {\r\n if (!gridPhysicalRoomIds.includes(roomToAdd.id)) {\r\n availableRoomId = roomToAdd.id;\r\n break;\r\n }\r\n } else {\r\n const physicalRoomIds: number[] = roomToAdd.virtualRooms.map((x) => x.id);\r\n const intersectedRoomIds: number[] = _.intersection(physicalRoomIds, gridPhysicalRoomIds);\r\n\r\n if (intersectedRoomIds.length === 0) {\r\n availableRoomId = roomToAdd.id;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (availableRoomId === -1) {\r\n this.showToastError(\r\n `There are no available room units for ${roomType.roomTypeName}. Some added room units are configured to this room type.`,\r\n 'Warning'\r\n );\r\n }\r\n\r\n return availableRoomId;\r\n }\r\n\r\n reloadAvailability() {\r\n const itemsForDelete: BookingSearchResultModel[] = [];\r\n\r\n for (const result of this.bookingSearchResultModel) {\r\n const newAvailability = this.getNewAvailability(result.rooms);\r\n\r\n if (newAvailability === 0) {\r\n itemsForDelete.push(result);\r\n } else {\r\n result.available = newAvailability;\r\n }\r\n }\r\n\r\n for (const item of itemsForDelete) {\r\n const index = this.bookingSearchResultModel.indexOf(item);\r\n this.bookingSearchResultModel.splice(index, 1);\r\n }\r\n }\r\n\r\n getNewAvailability(searchResultRooms: BookingSearchRoomModel[]): number {\r\n let newAvailability: number = searchResultRooms.length;\r\n\r\n const gridRoomIds: number[] = this.getGridRoomIds();\r\n const gridPhysicalRoomIds: number[] = this.getPhysicalGridRoomIds();\r\n\r\n for (const searchResultRoom of searchResultRooms) {\r\n if (searchResultRoom.virtualRooms.length === 0) {\r\n if (gridPhysicalRoomIds.includes(searchResultRoom.id)) {\r\n newAvailability--;\r\n }\r\n } else {\r\n if (gridRoomIds.includes(searchResultRoom.id)) {\r\n newAvailability--;\r\n } else {\r\n const physicalRoomIds: number[] = searchResultRoom.virtualRooms.map((x) => x.id);\r\n const intersectedRoomIds: number[] = _.intersection(physicalRoomIds, gridPhysicalRoomIds);\r\n\r\n if (intersectedRoomIds.length > 0) {\r\n newAvailability--;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return newAvailability;\r\n }\r\n\r\n insertBookingGridModel(roomType: BookingSearchResultModel, ratePlan: RatePlanBookingResultModel, index: number) {\r\n const bookingGridModel: BookingAddRoomGridModel = new BookingAddRoomGridModel();\r\n bookingGridModel.bookingId = this.bookingId;\r\n bookingGridModel.checked = false;\r\n bookingGridModel.bookingFrom = roomType.arrive;\r\n bookingGridModel.bookingTo = roomType.depart;\r\n bookingGridModel.room = roomType.rooms[index];\r\n bookingGridModel.roomId = roomType.rooms[index].id;\r\n bookingGridModel.roomTypeId = roomType.roomTypeId;\r\n bookingGridModel.roomTypeName = roomType.roomTypeName;\r\n bookingGridModel.ratePlan = ratePlan;\r\n bookingGridModel.ratePlanId = ratePlan.id;\r\n bookingGridModel.price = ratePlan.price;\r\n bookingGridModel.suggestedPrice = ratePlan.price;\r\n bookingGridModel.standardPrice = bookingGridModel.price;\r\n bookingGridModel.maxOccupancy = ratePlan.maxOccupancy;\r\n bookingGridModel.adults = this.bookingSearchModel.adults;\r\n bookingGridModel.children = this.bookingSearchModel.children;\r\n\r\n bookingGridModel.status = this.bookingStatus==\"Enquiry\"\r\n ? new EnumModel('Enquired', 'Enquired', 'Enquiry')\r\n : new EnumModel('ToArrive', 'ToArrive', 'To arrive');\r\n\r\n bookingGridModel.duration = this.calculateDaysBetweenDates(\r\n new Date(new Date(bookingGridModel.bookingFrom).toDateString()),\r\n new Date(new Date(bookingGridModel.bookingTo).toDateString())\r\n );\r\n\r\n bookingGridModel.rooms = roomType.rooms;\r\n bookingGridModel.ratePlans = roomType.ratePlans;\r\n bookingGridModel.discountModel = roomType.discountModel;\r\n bookingGridModel.roomTypes.push(roomType.roomTypeName);\r\n\r\n this.bookingRoomsList.push(bookingGridModel);\r\n }\r\n\r\n validateMaxOccupancy(): boolean {\r\n for (const room of this.bookingRoomsList) {\r\n if (room.adults < 1) {\r\n return false;\r\n }\r\n\r\n if (room.children < 0) {\r\n return false;\r\n }\r\n\r\n if (room.price < 0) {\r\n return false;\r\n }\r\n\r\n if (room.adults + room.children > room.maxOccupancy) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n removeCheckedRooms() {\r\n this.activeSearch = false;\r\n this.bookingRoomsList = this.bookingRoomsList.filter((x) => !x.checked);\r\n\r\n this.selectAllChosenRooms = false;\r\n }\r\n\r\n checkDuplicateRooms(e, bookingGridModel: BookingAddRoomGridModel, selectBox: DxSelectBoxComponent): boolean {\r\n if (e.itemData) {\r\n const oldRoom: BookingSearchRoomModel = bookingGridModel.room;\r\n const selectedRoom: BookingSearchRoomModel = e.itemData;\r\n const gridPhysicalRoomIds: number[] = this.getPhysicalGridRoomIds(\r\n bookingGridModel.bookingFrom,\r\n bookingGridModel.bookingTo\r\n );\r\n\r\n if (selectedRoom.virtualRooms.length === 0) {\r\n if (!gridPhysicalRoomIds.includes(selectedRoom.id)) {\r\n bookingGridModel.roomId = selectedRoom.id;\r\n bookingGridModel.room = selectedRoom;\r\n }\r\n } else {\r\n const physicalRoomIds: number[] = selectedRoom.virtualRooms.map((x) => x.id);\r\n const intersectedRoomIds: number[] = _.intersection(physicalRoomIds, gridPhysicalRoomIds);\r\n\r\n if (intersectedRoomIds.length === 0) {\r\n bookingGridModel.roomId = selectedRoom.id;\r\n bookingGridModel.room = selectedRoom;\r\n }\r\n }\r\n\r\n if (bookingGridModel.roomId === oldRoom.id) {\r\n selectBox.value = oldRoom;\r\n this.showToastError(\r\n `Cannot change room unit to ${selectedRoom.shortName}. Some added rooms are configured to this room unit.`,\r\n 'Warning'\r\n );\r\n return;\r\n }\r\n }\r\n }\r\n\r\n getPhysicalGridRoomIds(from: Date = null, to: Date = null): number[] {\r\n const gridPhysicalRoomIds: number[] = [];\r\n const filteredBookingRooms: BookingGridModel[] = this.filterAddedRoomsByDate(from, to);\r\n\r\n for (const bookingRoom of filteredBookingRooms) {\r\n // if room is virtual\r\n if (bookingRoom.room.virtualRooms.length > 0) {\r\n for (const virtualRoom of bookingRoom.room.virtualRooms) {\r\n gridPhysicalRoomIds.push(virtualRoom.id);\r\n }\r\n } else {\r\n gridPhysicalRoomIds.push(bookingRoom.roomId);\r\n }\r\n }\r\n\r\n return gridPhysicalRoomIds;\r\n }\r\n\r\n getGridRoomIds(): number[] {\r\n const filteredBookingRooms: BookingGridModel[] = this.filterAddedRoomsByDate();\r\n\r\n return filteredBookingRooms.map((x) => {\r\n return x.roomId;\r\n });\r\n }\r\n\r\n filterAddedRoomsByDate(dateFrom: Date = null, dateTo: Date = null): BookingGridModel[] {\r\n const bookingFrom: Date = dateFrom\r\n ? new Date(new Date(dateFrom).toDateString())\r\n : new Date(new Date(this.bookingSearchModel.from).toDateString());\r\n const bookingTo: Date = dateTo\r\n ? new Date(new Date(dateTo).toDateString())\r\n : new Date(new Date(this.bookingSearchModel.to).toDateString());\r\n\r\n const result: BookingGridModel[] = this.bookingRoomsList.filter(\r\n (x) =>\r\n (new Date(new Date(x.bookingFrom).toDateString()) >= bookingFrom &&\r\n new Date(new Date(x.bookingFrom).toDateString()) < bookingTo) ||\r\n (new Date(new Date(x.bookingTo).toDateString()) <= bookingTo &&\r\n new Date(new Date(x.bookingTo).toDateString()) > bookingFrom) ||\r\n (new Date(new Date(x.bookingFrom).toDateString()) <= bookingFrom &&\r\n new Date(new Date(x.bookingTo).toDateString()) >= bookingTo)\r\n );\r\n\r\n return result;\r\n }\r\n\r\n disableRemoveRoomButton() {\r\n let counter = 0;\r\n for (const room of this.bookingRoomsList) {\r\n if (room.checked) {\r\n counter++;\r\n }\r\n }\r\n\r\n this.selectAllChosenRooms = this.bookingRoomsList.length === counter;\r\n this.disableRemoveRoomsButton = counter === 0;\r\n }\r\n\r\n selectAllRooms(e) {\r\n if (e.target.checked) {\r\n this.bookingRoomsList.forEach((x) => (x.checked = true));\r\n this.disableRemoveRoomsButton = false;\r\n } else {\r\n this.bookingRoomsList.forEach((x) => (x.checked = false));\r\n this.disableRemoveRoomsButton = true;\r\n }\r\n }\r\n\r\n calculateRoomPrice(gridModel: BookingAddRoomGridModel) {\r\n const model: CalculateRoomPriceRequestModel = new CalculateRoomPriceRequestModel();\r\n model.ratePlanId = gridModel.ratePlan.id;\r\n model.roomTypeId = gridModel.roomTypeId;\r\n\r\n const arrive = new Date(gridModel.bookingFrom);\r\n const depart = new Date(gridModel.bookingTo);\r\n\r\n model.arrive = arrive.toDateString();\r\n model.depart = depart.toDateString();\r\n model.adults = gridModel.adults;\r\n model.children = gridModel.children;\r\n\r\n gridModel.ratePlanId = gridModel.ratePlan.id;\r\n gridModel.maxOccupancy = gridModel.ratePlan.maxOccupancy;\r\n model.discount = gridModel.discountModel;\r\n\r\n this.newBookingService.calculateRoomPrice(model).subscribe(\r\n (response) => {\r\n gridModel.suggestedPrice = response;\r\n if (response > 0) {\r\n gridModel.price = response;\r\n }\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n submitNewBookingRoom() {\r\n if (this.validateMaxOccupancy()) {\r\n this.confirmLoader = true;\r\n this.insertNewBookingRooms();\r\n }\r\n }\r\n\r\n insertNewBookingRooms() {\r\n this.confirmLoader = true;\r\n this.bookingDetailsService.insertBookingRoom(this.bookingRoomsList).subscribe(\r\n (response) => {\r\n this.confirmLoader = false;\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n this.confirmLoader = false;\r\n }\r\n );\r\n }\r\n\r\n totalRoomsPriceSearch() {\r\n let total = 0;\r\n this.bookingSearchResultModel.forEach((x) => {\r\n x.ratePlans.forEach((w) => {\r\n if (w.checked) {\r\n total += w.price * w.required;\r\n }\r\n });\r\n });\r\n return total;\r\n }\r\n\r\n totalRoomsPrice(): number {\r\n let total = 0;\r\n this.bookingRoomsList.forEach((x) => (x.price === null ? (total += x.standardPrice) : (total += x.price)));\r\n return total;\r\n }\r\n\r\n close() {\r\n this.addBookingRoomChange.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Add Booking Room

\r\n
\r\n
Corporate booker
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
From
\r\n \r\n \r\n Date from is required.\r\n
\r\n
\r\n
To
\r\n \r\n \r\n Date to is required.\r\n
\r\n
\r\n
Duration
\r\n
\r\n {{ bookingDuration }}\r\n night \r\n nights \r\n
\r\n
\r\n
\r\n
People
\r\n\r\n
\r\n
\r\n
Adults
\r\n \r\n \r\n
\r\n
{{ bookingSearchModel.adults }}
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n Children\r\n Ages 0-12\r\n
\r\n \r\n \r\n
\r\n
{{ bookingSearchModel.children }}
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Bedding type
\r\n \r\n \r\n
\r\n
\r\n
Rate plan
\r\n \r\n \r\n
\r\n
\r\n
Promo code
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.data.roomTypeName }} \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
Rateplan has no pricing defined for this date range
\r\n
\r\n \r\n \r\n {{ item.data.available }}\r\n \r\n 0\">\r\n {{ item.data.ratePlans[0].name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ item.data.ratePlans[0].restrictions }}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n 0\"\r\n >{{ currencyContext.Symbol\r\n }}{{ item.data.ratePlans[0].price | number: '1.2-2' }}\r\n \r\n \r\n \r\n
\r\n 0\">\r\n \r\n \r\n
\r\n \r\n \r\n 1\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ ratePlan.name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ ratePlan.restrictions }}\r\n
\r\n
\r\n \r\n \r\n \r\n {{ currencyContext.Symbol }}{{ ratePlan.price | number: '1.2-2' }}\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n

\r\n Total: {{ currencyContext.Symbol }}{{ totalRoomsPriceSearch() | number: '1.2-2' }}\r\n

\r\n
\r\n\r\n 0\"\r\n [disabled]=\"disableAddToCartButton\"\r\n class=\"addto custom-button blue\"\r\n (click)=\"addToCart()\"\r\n >\r\n Add to booking\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.data.bookingFrom | date: 'dd/MM/yyyy' }}\r\n \r\n \r\n {{ item.data.bookingTo | date: 'dd/MM/yyyy' }}\r\n \r\n \r\n {{ item.data.duration }}\r\n night \r\n nights \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n {{ item.data.maxOccupancy }}\r\n \r\n
\r\n item.data.maxOccupancy\r\n ? 'invalid-occupancy'\r\n : ''\r\n ]\"\r\n [(ngModel)]=\"item.data.adults\"\r\n max=\"{{ item.data.maxOccupancy - item.data.children }}\"\r\n (change)=\"calculateRoomPrice(item.data)\"\r\n min=\"1\"\r\n />\r\n
\r\n \r\n \r\n
\r\n item.data.maxOccupancy\r\n ? 'invalid-occupancy'\r\n : ''\r\n ]\"\r\n [(ngModel)]=\"item.data.children\"\r\n max=\"{{ item.data.maxOccupancy - item.data.adults }}\"\r\n (change)=\"calculateRoomPrice(item.data)\"\r\n min=\"0\"\r\n />\r\n
\r\n \r\n \r\n
\r\n {{ currencyContext.Symbol }}\r\n \r\n
\r\n \r\n \r\n {{ currencyContext.Symbol }}{{ item.data.suggestedPrice | number: '1.2-2' }}\r\n \r\n \r\n \r\n \r\n
\r\n 0\"\r\n class=\"custom-button blue reduce-size\"\r\n type=\"button\"\r\n [disabled]=\"disableRemoveRoomsButton\"\r\n (click)=\"removeCheckedRooms()\"\r\n >\r\n Remove checked rooms\r\n \r\n
\r\n
\r\n

\r\n Total: {{ currencyContext.Symbol }}{{ totalRoomsPrice() | number: '1.2-2' }}\r\n

\r\n
\r\n \r\n
\r\n \r\n Save\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n\r\n","import { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { BookingExtraDetailModel, BookingRoomDetailModel } from '../../../../models/booking/booking-all-details.model';\r\nimport { NewBookingService } from '../../settings-new-booking/new-booking.service';\r\nimport DataSource from 'devextreme/data/data_source';\r\nimport ArrayStore from 'devextreme/data/array_store';\r\nimport { SaleItemWithCategoryNameModel } from '../../../../models/cost-center/sale-item.model';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { EnumModel } from '../../../../models/shared/enum-model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport * as moment from 'moment';\r\n\r\n@Component({\r\n selector: 'app-booking-details-extras',\r\n templateUrl: './booking-details-extras.component.html',\r\n styleUrls: ['./booking-details-extras.component.less'],\r\n})\r\nexport class BookingDetailsExtrasComponent implements OnInit {\r\n @Input() addBookingExtra: boolean;\r\n @Output() addBookingExtraChange = new EventEmitter();\r\n @Input() editBookingExtra: boolean;\r\n @Output() editBookingExtraChange = new EventEmitter();\r\n @Input() bookingId: number;\r\n @Input() extraModel: BookingExtraDetailModel;\r\n @Input() allowanceExtras: BookingExtraDetailModel[];\r\n @Input() bookingAllDetailsRooms: BookingRoomDetailModel[];\r\n @Output() update = new EventEmitter();\r\n @Input() readOnly: boolean;\r\n\r\n loader = false;\r\n\r\n dateFrom = new Date();\r\n dateTo = new Date();\r\n minDate = new Date();\r\n maxDate = new Date();\r\n valForm: UntypedFormGroup;\r\n theme: number;\r\n disableControls = false;\r\n message = '';\r\n\r\n saleItemsSource: DataSource;\r\n selectedRoom: BookingRoomDetailModel = new BookingRoomDetailModel();\r\n bookingExtraModel = new BookingExtraDetailModel();\r\n roomExtrasSource: BookingRoomDetailModel[] = [];\r\n previousSaleItem: SaleItemWithCategoryNameModel;\r\n allowanceExtra: BookingExtraDetailModel;\r\n confirmUnlinkAllowanceItem = false;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private newBookingService: NewBookingService,\r\n private bookingDetailsService: BookingDetailsService,\r\n private changeDetRef: ChangeDetectorRef\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.valForm = fb.group({\r\n room: [null, Validators.required],\r\n item: [null, Validators.required],\r\n uom: [null],\r\n itemType: [null],\r\n quantity: [null, Validators.compose([Validators.min(0), Validators.required])],\r\n price: [null, Validators.compose([Validators.required])],\r\n total: [null],\r\n notes: [null],\r\n bookingFrom: [new Date()],\r\n bookingTo: [new Date().setDate(new Date().getDate() + 1)],\r\n description: [null],\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n for (const room of this.bookingAllDetailsRooms) {\r\n this.roomExtrasSource.push(JSON.parse(JSON.stringify(room)));\r\n }\r\n this.roomExtrasSource.unshift(new BookingRoomDetailModel(-1, 'Whole booking', 'Whole booking'));\r\n\r\n if (this.editBookingExtra) {\r\n this.bookingExtraModel = JSON.parse(JSON.stringify(this.extraModel));\r\n if (this.bookingExtraModel.bookingRoomId === null) {\r\n this.bookingExtraModel.bookingRoomId = -1;\r\n }\r\n\r\n if (this.bookingExtraModel.allowanceId != null) {\r\n this.allowanceExtra = this.allowanceExtras.find(x => x.bookingExtraId == this.bookingExtraModel.allowanceId);\r\n }\r\n\r\n const room: BookingRoomDetailModel = this.getRoomFromExtrasSource(this.bookingExtraModel.bookingRoomId);\r\n this.setMaxMinDate(room);\r\n\r\n this.dateFrom = new Date(this.bookingExtraModel.dateFrom);\r\n this.dateTo = new Date(this.bookingExtraModel.dateTo);\r\n\r\n this.getSaleItemsOnEdit(room);\r\n\r\n this.valForm.controls['room'].setValue(this.bookingExtraModel.bookingRoomId);\r\n this.valForm.controls['item'].setValue(this.bookingExtraModel.saleItemId);\r\n this.valForm.controls['bookingFrom'].setValue(this.bookingExtraModel.dateFrom);\r\n this.valForm.controls['bookingTo'].setValue(this.bookingExtraModel.dateTo);\r\n } else if (this.addBookingExtra) {\r\n this.bookingExtraModel.bookingId = this.bookingId;\r\n this.bookingExtraModel.disabledItem = true;\r\n this.valForm.controls['item'].disable();\r\n this.valForm.controls['uom'].disable();\r\n this.valForm.controls['itemType'].disable();\r\n this.valForm.controls['quantity'].disable();\r\n this.valForm.controls['price'].disable();\r\n this.valForm.controls['total'].disable();\r\n this.valForm.controls['bookingFrom'].disable();\r\n this.valForm.controls['bookingTo'].disable();\r\n }\r\n }\r\n\r\n calculateDateRange(dateFrom, dateTo): number {\r\n const from: Date = new Date(dateFrom);\r\n const to: Date = new Date(dateTo);\r\n\r\n return Math.ceil((to.getTime() - from.getTime()) / (1000 * 3600 * 24));\r\n }\r\n\r\n validateMinMaxDate() {\r\n\r\n if (\r\n new Date(new Date(this.dateFrom).toDateString()).getTime() <\r\n new Date(new Date(this.minDate).toDateString()).getTime()\r\n ) {\r\n return false;\r\n }\r\n\r\n if (\r\n new Date(new Date(this.dateTo).toDateString()).getTime() >\r\n new Date(new Date(this.maxDate).toDateString()).getTime()\r\n ) {\r\n return false;\r\n }\r\n\r\n if (\r\n new Date(new Date(this.dateTo).toDateString()).getTime() <\r\n new Date(new Date(this.dateFrom).toDateString()).getTime()\r\n ) {\r\n return false;\r\n }\r\n \r\n return true;\r\n }\r\n\r\n setMaxMinDate(room: BookingRoomDetailModel) {\r\n if (room.bookingRoomId === -1) {\r\n this.minDate = this.getMinBookingDate();\r\n this.maxDate = this.getMaxBookingDate();\r\n } else {\r\n this.minDate = new Date(room.bookingFrom);\r\n this.maxDate = new Date(room.bookingTo);\r\n }\r\n }\r\n\r\n changeFromDate(event) {\r\n if (event.value !== null) {\r\n if (this.bookingExtraModel.chargeType.value === 'Each') {\r\n this.dateTo = this.dateFrom;\r\n }\r\n }\r\n }\r\n\r\n changeToDate(event) {\r\n\r\n }\r\n\r\n getMaxBookingDate(): Date {\r\n let currentDate = new Date();\r\n\r\n if (this.bookingAllDetailsRooms.length > 0) {\r\n currentDate = new Date(this.bookingAllDetailsRooms[0].bookingTo);\r\n }\r\n\r\n for (const room of this.bookingAllDetailsRooms) {\r\n if (new Date(room.bookingTo) > currentDate) {\r\n currentDate = new Date(room.bookingTo);\r\n }\r\n }\r\n\r\n return currentDate;\r\n }\r\n\r\n getMinBookingDate(): Date {\r\n let currentDate = new Date();\r\n if (this.bookingAllDetailsRooms.length > 0) {\r\n currentDate = new Date(this.bookingAllDetailsRooms[0].bookingFrom);\r\n }\r\n\r\n for (const room of this.bookingAllDetailsRooms) {\r\n if (new Date(room.bookingFrom) < currentDate) {\r\n currentDate = new Date(room.bookingFrom);\r\n }\r\n }\r\n\r\n return currentDate;\r\n }\r\n\r\n setDateFromToIfNotSet(dt: Date, type: number, overrideDates: boolean)\r\n {\r\n if (type == 1 && overrideDates) {\r\n this.dateFrom = dt;\r\n }\r\n if (type == 2 && overrideDates) {\r\n this.dateTo = dt;\r\n }\r\n }\r\n\r\n handleSaleItemChange(saleItem: SaleItemWithCategoryNameModel, overrideDates: boolean) {\r\n\r\n if (this.previousSaleItem == null || this.previousSaleItem.itemType != saleItem.itemType || this.previousSaleItem.chargeType != saleItem.chargeType)\r\n {\r\n this.valForm.controls['bookingFrom'].setValidators(Validators.required);\r\n this.valForm.controls['bookingTo'].setValidators(Validators.required);\r\n this.valForm.controls['bookingFrom'].enable();\r\n this.valForm.controls['bookingTo'].enable();\r\n this.valForm.controls['quantity'].enable();\r\n\r\n if (this.selectedRoom.bookingRoomId === -1) {\r\n this.setDateFromToIfNotSet(this.getMinBookingDate(), 1, overrideDates);\r\n this.setDateFromToIfNotSet(this.getMaxBookingDate(), 2, overrideDates);\r\n this.minDate = this.getMinBookingDate();\r\n this.maxDate = this.getMaxBookingDate();\r\n } else {\r\n this.setDateFromToIfNotSet(new Date(this.selectedRoom.bookingFrom), 1, overrideDates);\r\n this.setDateFromToIfNotSet(new Date(this.selectedRoom.bookingTo), 2, overrideDates);\r\n this.minDate = new Date(this.selectedRoom.bookingFrom);\r\n this.maxDate = new Date(this.selectedRoom.bookingTo);\r\n }\r\n\r\n switch (saleItem.chargeType)\r\n {\r\n case 'PerPersonPerDayMorning':\r\n case 'PerPersonPerDayEvening':\r\n case 'PerDayMorning':\r\n case 'PerDayEvening':\r\n case 'PerPersonPerStay':\r\n {\r\n this.valForm.controls['bookingFrom'].disable();\r\n this.valForm.controls['bookingTo'].disable();\r\n if (saleItem.chargeType == 'PerPersonPerDayMorning' || saleItem.chargeType == 'PerDayMorning')\r\n {\r\n //applies from day after check-in\r\n let newDateFrom = new Date(this.dateFrom.getTime());\r\n newDateFrom.setDate(newDateFrom.getDate() + 1);\r\n this.setDateFromToIfNotSet(newDateFrom, 1, overrideDates);\r\n this.valForm.controls['quantity'].disable();\r\n }\r\n if (saleItem.chargeType == 'PerPersonPerDayEvening' || saleItem.chargeType == 'PerDayEvening')\r\n {\r\n //applies to 1 day day before check-out\r\n let newDateTo = new Date(this.dateTo.getTime());\r\n newDateTo.setDate(newDateTo.getDate() - 1);\r\n this.setDateFromToIfNotSet(newDateTo, 2, overrideDates);\r\n this.valForm.controls['quantity'].disable();\r\n }\r\n if (saleItem.chargeType == 'PerPersonPerStay')\r\n {\r\n this.setDateFromToIfNotSet(this.dateFrom, 2, overrideDates); //set dateTo to be same as dateFrom\r\n }\r\n }\r\n break;\r\n case 'Each':\r\n {\r\n this.valForm.controls['bookingTo'].disable();\r\n let currentDate = new Date();\r\n currentDate.setHours(0);\r\n currentDate.setMinutes(0);\r\n currentDate.setSeconds(0);\r\n\r\n if (currentDate > this.dateFrom && currentDate <= this.dateTo) {\r\n //they're adding a new extra during the stay - default to the current date\r\n this.setDateFromToIfNotSet(currentDate, 1, overrideDates);\r\n }\r\n if (saleItem.itemType === 'CancellationItem')\r\n {\r\n this.setDateFromToIfNotSet(currentDate, 1, overrideDates);\r\n this.minDate = new Date(2000,0,1,0,0,0,0);\r\n this.maxDate = new Date(2100,0,1,0,0,0,0);; \r\n }\r\n if (saleItem.itemType === 'EarlyCheckIn' || saleItem.itemType === 'LateCheckOut')\r\n {\r\n if (saleItem.itemType === 'EarlyCheckIn') {\r\n this.dateFrom = new Date(this.selectedRoom.bookingFrom);\r\n this.minDate = this.dateFrom;\r\n this.maxDate = this.dateFrom;\r\n }\r\n if (saleItem.itemType === 'LateCheckOut') {\r\n this.dateFrom = new Date(this.selectedRoom.bookingTo);\r\n this.minDate = this.dateFrom;\r\n this.maxDate = this.dateFrom;\r\n }\r\n }\r\n this.setDateFromToIfNotSet(this.dateFrom, 2, overrideDates); //set dateTo to be same as dateFrom\r\n }\r\n break;\r\n }\r\n\r\n } \r\n this.previousSaleItem = saleItem; \r\n }\r\n\r\n disableFormControls() {\r\n this.valForm.controls['room'].disable();\r\n this.valForm.controls['item'].disable();\r\n this.valForm.controls['uom'].disable();\r\n this.valForm.controls['itemType'].disable();\r\n this.valForm.controls['quantity'].disable();\r\n this.valForm.controls['price'].disable();\r\n this.valForm.controls['total'].disable();\r\n this.valForm.controls['notes'].disable();\r\n }\r\n\r\n enableFormControls() {\r\n this.valForm.controls['item'].enable();\r\n this.valForm.controls['uom'].enable();\r\n this.valForm.controls['itemType'].enable();\r\n this.valForm.controls['quantity'].enable();\r\n this.valForm.controls['price'].enable();\r\n this.valForm.controls['total'].enable();\r\n this.valForm.controls['bookingFrom'].enable();\r\n this.valForm.controls['bookingTo'].enable();\r\n this.valForm.controls['notes'].enable();\r\n }\r\n\r\n getRoomFromExtrasSource(bookingRoomId): BookingRoomDetailModel {\r\n for (const room of this.roomExtrasSource) {\r\n if (room.bookingRoomId === bookingRoomId) {\r\n return room;\r\n }\r\n }\r\n }\r\n\r\n getSaleItemsOnEdit(room: BookingRoomDetailModel) {\r\n let ratePlanId: number;\r\n if (room.bookingRoomId !== -1) {\r\n ratePlanId = room.ratePlanId;\r\n } else {\r\n ratePlanId = null;\r\n }\r\n\r\n this.selectedRoom = room;\r\n\r\n this.newBookingService.getRatePlanSaleItemsForBooking(ratePlanId).subscribe(\r\n (response) => {\r\n this.saleItemsSource = new DataSource({\r\n store: new ArrayStore({\r\n data: response,\r\n key: 'id',\r\n }),\r\n group: 'categoryName',\r\n });\r\n let saleItemList: SaleItemWithCategoryNameModel[] = response;\r\n let saleItem = saleItemList.find(x => x.id == this.extraModel.saleItemId);\r\n this.handleSaleItemChange(saleItem, false);\r\n\r\n if (!this.readOnly) {\r\n this.bookingDetailsService.bookingExtraIsOnInvoice(this.bookingExtraModel.bookingExtraId).subscribe(\r\n (disabled) => {\r\n if (disabled || this.extraModel.description) {\r\n this.disableFormControls();\r\n } \r\n this.disableControls = disabled;\r\n this.message = this.disableControls\r\n ? \"You cannot change some item's data while it's on an invoice.\"\r\n : '';\r\n\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.close();\r\n }\r\n );\r\n } else {\r\n this.message = 'Cannot modify booking extra because booking has status Departed.';\r\n this.disableFormControls();\r\n this.valForm.controls['bookingFrom'].disable();\r\n this.valForm.controls['bookingTo'].disable();\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n getSaleItems(room: BookingRoomDetailModel) {\r\n let ratePlanId: number;\r\n if (room.bookingRoomId !== -1) {\r\n ratePlanId = room.ratePlanId;\r\n } else {\r\n ratePlanId = null;\r\n }\r\n\r\n this.selectedRoom = room;\r\n\r\n this.newBookingService.getRatePlanSaleItemsForBooking(ratePlanId).subscribe(\r\n (response) => {\r\n this.saleItemsSource = new DataSource({\r\n store: new ArrayStore({\r\n data: response,\r\n key: 'id',\r\n }),\r\n group: 'categoryName',\r\n });\r\n\r\n this.enableFormControls();\r\n this.setMaxMinDate(room);\r\n this.changeDetRef.detectChanges();\r\n\r\n if (room.bookingRoomId === -1) {\r\n this.dateFrom = this.minDate;\r\n this.dateTo = this.maxDate;\r\n } else {\r\n this.dateFrom = new Date(room.bookingFrom);\r\n this.dateTo = new Date(room.bookingTo);\r\n }\r\n\r\n if (this.editBookingExtra) {\r\n this.bookingDetailsService.bookingExtraIsOnInvoice(this.bookingExtraModel.bookingExtraId).subscribe(\r\n (disabled) => {\r\n if (disabled) {\r\n this.disableFormControls();\r\n }\r\n this.disableControls = disabled;\r\n this.changeDetRef.detectChanges();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.close();\r\n }\r\n );\r\n }\r\n\r\n this.changeDetRef.detectChanges();\r\n this.bookingExtraModel.total = null;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.close();\r\n }\r\n );\r\n }\r\n\r\n getSaleItemsDevex(event) {\r\n if (event.itemData) {\r\n const room: BookingRoomDetailModel = event.itemData;\r\n this.bookingExtraModel.saleItemId = null;\r\n this.previousSaleItem = null;\r\n this.getSaleItems(room);\r\n this.bookingExtraModel.total = null;\r\n }\r\n }\r\n\r\n calculateQuantityForSaleItems(): number {\r\n let persons: number = this.selectedRoom.adults + (this.selectedRoom.children==null ? 0 : this.selectedRoom.children);\r\n let to = moment(this.dateTo);\r\n let from = moment(this.dateFrom);\r\n if (this.selectedRoom.bookingRoomId === -1) {\r\n persons = 0;\r\n for (const roomDetail of this.bookingAllDetailsRooms) {\r\n persons += roomDetail.adults + (roomDetail.children==null ? 0 : roomDetail.children);\r\n }\r\n }\r\n\r\n const numberOfDays = to.diff(from, 'days')+1;\r\n\r\n switch (this.bookingExtraModel.chargeType.value) {\r\n case 'PerPersonPerDayMorning':\r\n case 'PerPersonPerDayEvening':\r\n return persons * numberOfDays;\r\n case 'PerDayMorning':\r\n case 'PerDayEvening':\r\n return numberOfDays;\r\n case 'PerPersonPerStay':\r\n return persons;\r\n case 'Each':\r\n return 1;\r\n }\r\n \r\n }\r\n\r\n setSaleItem(event) {\r\n if (event.itemData !== null) {\r\n const saleItem: SaleItemWithCategoryNameModel = event.itemData;\r\n this.bookingExtraModel.saleItemId = saleItem.id;\r\n this.bookingExtraModel.chargeType = new EnumModel(\r\n saleItem.chargeType,\r\n saleItem.chargeType,\r\n saleItem.chargeType\r\n );\r\n this.bookingExtraModel.itemType = new EnumModel(saleItem.itemType, saleItem.itemType, saleItem.itemType);\r\n\r\n this.handleSaleItemChange(saleItem, true);\r\n\r\n this.bookingExtraModel.quantity = this.calculateQuantityForSaleItems();\r\n this.bookingExtraModel.price = saleItem.price;\r\n this.calculateTotalExtraPrice();\r\n }\r\n }\r\n\r\n calculateTotalExtraPrice() {\r\n this.bookingExtraModel.total = this.bookingExtraModel.quantity * this.bookingExtraModel.price;\r\n this.bookingExtraModel.total = Math.round(this.bookingExtraModel.total * 100) / 100;\r\n }\r\n\r\n submitBookingExtra(e) {\r\n e.stopPropagation();\r\n for (const c in this.valForm.controls) {\r\n this.valForm.controls[c].markAsTouched();\r\n }\r\n \r\n if (this.valForm.valid && this.validateMinMaxDate() && !this.readOnly) {\r\n if (this.dateFrom !== null) {\r\n this.bookingExtraModel.dateFrom = new Date(this.dateFrom).toDateString();\r\n } else {\r\n this.bookingExtraModel.dateFrom = null;\r\n }\r\n if (this.dateTo !== null) {\r\n this.bookingExtraModel.dateTo = new Date(this.dateTo).toDateString();\r\n } else {\r\n this.bookingExtraModel.dateTo = null;\r\n }\r\n\r\n if (this.addBookingExtra) {\r\n this.insertBookingExtra();\r\n } else if (this.editBookingExtra) {\r\n this.updateBookingExtra();\r\n }\r\n }\r\n }\r\n\r\n insertBookingExtra() {\r\n this.loader = true;\r\n this.bookingDetailsService.insertBookingExtra(this.bookingExtraModel).subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n updateBookingExtra() {\r\n if (!this.extraModel.description) {\r\n this.loader = true;\r\n this.bookingDetailsService.updateBookingExtra(this.bookingExtraModel).subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n }\r\n\r\n getAllowanceName() {\r\n if (this.allowanceExtra==null) {\r\n return \"Unknown\";\r\n }\r\n else {\r\n return this.allowanceExtra.saleItemName;\r\n }\r\n }\r\n\r\n unlinkAllowanceItem() {\r\n this.confirmUnlinkAllowanceItem = true;\r\n }\r\n\r\n unlinkAllowanceItemConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.unlinkAllowanceItem(this.bookingExtraModel).subscribe(\r\n (response) => {\r\n this.update.emit();\r\n this.close();\r\n this.bookingExtraModel.allowanceId = null;\r\n this.extraModel.allowanceId = null;\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.addBookingExtraChange.emit(false);\r\n this.editBookingExtraChange.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Add Booking Extra

\r\n

Edit Booking Extra

\r\n
\r\n {{ message }}\r\n
\r\n
\r\n
\r\n
Room
\r\n \r\n \r\n Room is required.\r\n
\r\n
\r\n
Item
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Item is required.\r\n
\r\n
\r\n
Charge type
\r\n \r\n
\r\n
\r\n
Item type
\r\n \r\n
\r\n
\r\n
Quantity
\r\n \r\n Quantity is required.\r\n Minimum number is 0.\r\n
\r\n
\r\n
Price
\r\n \r\n Price is required.\r\n
\r\n
\r\n
Total price
\r\n \r\n
\r\n
\r\n
Notes
\r\n \r\n
\r\n
\r\n
Date from
\r\n \r\n Date from is required.\r\n
\r\n
\r\n
Date to
\r\n \r\n Date to is required.\r\n
\r\n\r\n
\r\n
This item is covered by the {{getAllowanceName()}}
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport {\r\n BookingGuestDetailModel,\r\n BookingRoomDetailModel,\r\n BookingAllDetails,\r\n} from '../../../../models/booking/booking-all-details.model';\r\nimport { CountryModel } from '../../../../models/account/country.model';\r\nimport { EnumModel } from '../../../../models/shared/enum-model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { CommunicationService } from '../../../../shared/services/communication.service';\r\nimport { InternationalDiallingCodesService } from '../../../../shared/services/international-dialling-codes.service';\r\nimport { CardListModel } from 'src/app/models/booking/booking-details.model';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { CustomValidationService } from 'src/app/shared/services/custom-validation.service';\r\n\r\n@Component({\r\n selector: 'app-booking-details-guests',\r\n templateUrl: './booking-details-guests.component.html',\r\n styleUrls: ['./booking-details-guests.component.less'],\r\n})\r\nexport class BookingDetailsGuestsComponent implements OnInit {\r\n @Input() addBookingGuest: boolean;\r\n @Output() addBookingGuestChange = new EventEmitter();\r\n @Input() editBookingGuest: boolean;\r\n @Output() editBookingGuestChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Input() bookingId: number;\r\n @Input() currentGuestModel: BookingGuestDetailModel;\r\n @Input() bookingRooms: BookingRoomDetailModel[];\r\n @Input() countries: CountryModel[];\r\n @Input() titles: EnumModel[];\r\n @Input() fromCalendar: boolean;\r\n @Input() bookingRoomId: number;\r\n @Input() showModalInsteadOfGrid: boolean;\r\n @Output() turnOffModalOnGrid = new EventEmitter();\r\n @Output() changeTabFromGuests = new EventEmitter();\r\n @Input() initialGuest: BookingGuestDetailModel;\r\n @Input() allGuests: BookingGuestDetailModel[];\r\n @Input() readOnly: boolean;\r\n\r\n ageCheck = false;\r\n loader = false;\r\n openConfirmPopup = false;\r\n openConfirmCardPopup = false;\r\n\r\n showExistingGuests = false;\r\n cardsList = null;\r\n clearGuest = false;\r\n setExistGuest = false;\r\n leadGuestChange = false;\r\n leadGuestMessage: string;\r\n message = '';\r\n\r\n searchValue: string;\r\n theme: number;\r\n indexOfTab: number;\r\n initialValue: string;\r\n\r\n guestForm: UntypedFormGroup;\r\n bookingGuestModel = new BookingGuestDetailModel();\r\n bookingRoomsList: BookingRoomDetailModel[] = [];\r\n existingGuestsList: BookingGuestDetailModel[] = [];\r\n\r\n creditCard: string;\r\n creditCardValidation: boolean;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private bookingDetailsService: BookingDetailsService,\r\n private toasterService: ToastService,\r\n private communicationService: CommunicationService,\r\n private diallingCodeService: InternationalDiallingCodesService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n\r\n this.guestForm = fb.group({\r\n title: [null],\r\n firstName: [null, Validators.compose([Validators.maxLength(50)])],\r\n lastName: [null, Validators.compose([Validators.maxLength(50), Validators.required])],\r\n leadGuest: [null],\r\n email: [null, Validators.compose([Validators.maxLength(50), Validators.pattern(CustomValidationService.emailExpression)])],\r\n initials: [null, Validators.maxLength(3)],\r\n gender: [null],\r\n telephone: [null, Validators.compose([Validators.maxLength(50)])],\r\n mobilePhone: [null, Validators.compose([Validators.maxLength(50), Validators.pattern(CustomValidationService.telephoneExpression)])],\r\n address1: [null, Validators.maxLength(50)],\r\n address2: [null, Validators.maxLength(50)],\r\n address3: [null, Validators.maxLength(50)],\r\n postCode: [null, Validators.maxLength(50)],\r\n country: [null],\r\n notes: [null],\r\n newsletter: [null],\r\n room: [null, this.fromCalendar ? Validators.required : ''],\r\n dialCode1: [null],\r\n dialCode2: [null],\r\n isChild: [null],\r\n });\r\n\r\n this.communicationService.checkIfGuestIsEntered.subscribe((indexOfTab) => {\r\n this.indexOfTab = indexOfTab;\r\n this.showSavePopup();\r\n });\r\n }\r\n\r\n getAvailableBookingRoomForAddBookingGuest():number {\r\n try {\r\n this.bookingRoomsList.forEach((room, index) => {\r\n room.maxGuestAllowed = room.adults + room.children;\r\n const guestsInRoomArr = this.allGuests.filter((guest) => guest.bookingRoomId === room.bookingRoomId);\r\n \r\n if (guestsInRoomArr.length >= room.maxGuestAllowed) {\r\n room.isFull = true;\r\n }\r\n \r\n if (!room.isFull) {\r\n return this.bookingRoomsList[index].bookingRoomId;\r\n }\r\n });\r\n }\r\n catch(e) {\r\n console.log('Error allocating room', e);\r\n }\r\n\r\n return this.bookingRoomsList[0].bookingRoomId; //return first room\r\n }\r\n\r\n ngOnInit() {\r\n this.bookingRoomsList = JSON.parse(JSON.stringify(this.bookingRooms));\r\n if (this.addBookingGuest) {\r\n this.bookingGuestModel.bookingId = this.bookingId;\r\n this.bookingGuestModel.guest.title = null;\r\n if (this.showModalInsteadOfGrid) {\r\n this.bookingGuestModel.leadGuest = true;\r\n\r\n if (this.bookingId === -1 && !this.fromCalendar) {\r\n this.initialValue = JSON.stringify(this.bookingGuestModel);\r\n }\r\n }\r\n\r\n if (this.bookingId === -1 && !this.fromCalendar && this.bookingRoomsList.length > 0) {\r\n this.bookingGuestModel.bookingRoomId = this.bookingRoomsList[0].bookingRoomId;\r\n this.guestForm.controls['room'].setValue(this.bookingGuestModel.bookingRoomId);\r\n }\r\n\r\n } else if (this.editBookingGuest) {\r\n this.bookingGuestModel = JSON.parse(JSON.stringify(this.currentGuestModel));\r\n\r\n this.bookingDetailsService\r\n .getCardList({\r\n id: 0,\r\n paymentType: 'Rebill',\r\n guestId: this.bookingGuestModel.guestId,\r\n bookingId: this.bookingGuestModel.bookingId,\r\n partnerId: null,\r\n cards: null,\r\n propertyId: null,\r\n userId: null,\r\n superUserId: null,\r\n paymentDate: null,\r\n paymentNo: null,\r\n amount: 0,\r\n paymentPurpose: null,\r\n invoiceId: null,\r\n paymentRef: null,\r\n htmlPaymentForm: null,\r\n dateCreated: null,\r\n note: null,\r\n merchantData: null,\r\n bookingPaymentId: null,\r\n paidBy: null,\r\n })\r\n .subscribe(\r\n (response: CardListModel) => {\r\n this.loader = false;\r\n this.cardsList = response.cards.filter((c) => c.guestId === this.bookingGuestModel.guestId);\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n\r\n this.setExistGuest = true;\r\n this.setInitValues();\r\n }\r\n\r\n if (this.bookingGuestModel.guest.under16) {\r\n this.disableControls();\r\n }\r\n\r\n if (this.readOnly) {\r\n this.message = 'Cannot modify booking guest info except notes because booking has status Departed!';\r\n this.disableControls();\r\n this.guestForm.controls['firstName'].disable();\r\n this.guestForm.controls['lastName'].disable();\r\n // this.guestForm.controls['notes'].disable();\r\n this.guestForm.controls['room'].disable();\r\n }\r\n\r\n\r\n if (this.allGuests) {\r\n this.checkRooms(this.bookingRoomsList, this.currentGuestModel, this.allGuests);\r\n if (this.addBookingGuest) {\r\n if (this.bookingId === -1 && !this.fromCalendar && this.bookingRoomsList.length > 0) {\r\n this.bookingGuestModel.bookingRoomId = this.getAvailableBookingRoomForAddBookingGuest();\r\n this.guestForm.controls['room'].setValue(this.bookingGuestModel.bookingRoomId);\r\n }\r\n }\r\n }\r\n\r\n if (!this.fromCalendar && this.addBookingGuest && this.bookingRoomsList.length === 1) {\r\n this.bookingGuestModel.bookingRoomId = this.bookingRoomsList[0].bookingRoomId;\r\n }\r\n }\r\n\r\n checkGuestAge(event) {\r\n this.bookingGuestModel.isUnder16 = event.target.checked;\r\n if (event.target.checked) {\r\n this.bookingGuestModel.leadGuest = false;\r\n this.bookingGuestModel.guest.title = null;\r\n this.bookingGuestModel.guest.email = null;\r\n this.bookingGuestModel.guest.phone = null;\r\n this.bookingGuestModel.guest.phone2 = null;\r\n this.bookingGuestModel.guest.address1 = null;\r\n this.bookingGuestModel.guest.address2 = null;\r\n this.bookingGuestModel.guest.address3 = null;\r\n this.bookingGuestModel.guest.postalCode = null;\r\n this.bookingGuestModel.guest.countryCode = null;\r\n this.bookingGuestModel.guest.newsletter = false;\r\n this.bookingGuestModel.notes = null;\r\n this.disableControls();\r\n } else {\r\n if (!this.readOnly) {\r\n this.enableControls();\r\n }\r\n }\r\n }\r\n\r\n disableControls() {\r\n this.guestForm.controls['title'].disable();\r\n this.guestForm.controls['leadGuest'].disable();\r\n this.guestForm.controls['email'].disable();\r\n this.guestForm.controls['telephone'].disable();\r\n this.guestForm.controls['mobilePhone'].disable();\r\n this.guestForm.controls['address1'].disable();\r\n this.guestForm.controls['address2'].disable();\r\n this.guestForm.controls['address3'].disable();\r\n this.guestForm.controls['postCode'].disable();\r\n this.guestForm.controls['country'].disable();\r\n this.guestForm.controls['newsletter'].disable();\r\n this.guestForm.controls['dialCode1'].disable();\r\n this.guestForm.controls['dialCode2'].disable();\r\n }\r\n\r\n enableControls() {\r\n this.guestForm.controls['title'].enable();\r\n this.guestForm.controls['leadGuest'].enable();\r\n this.guestForm.controls['email'].enable();\r\n this.guestForm.controls['telephone'].enable();\r\n this.guestForm.controls['address1'].enable();\r\n this.guestForm.controls['mobilePhone'].enable();\r\n this.guestForm.controls['address2'].enable();\r\n this.guestForm.controls['address3'].enable();\r\n this.guestForm.controls['postCode'].enable();\r\n this.guestForm.controls['country'].enable();\r\n this.guestForm.controls['newsletter'].enable();\r\n }\r\n\r\n onClickOutside(event: Object) {\r\n if (event && event['value'] === true) {\r\n this.showExistingGuests = false;\r\n }\r\n }\r\n\r\n closeGuestSearch() {\r\n this.showExistingGuests = false;\r\n }\r\n\r\n setInitValues() {\r\n this.guestForm.controls['title'].setValue(this.bookingGuestModel.guest.title);\r\n this.guestForm.controls['country'].setValue(this.bookingGuestModel.guest.countryId);\r\n this.guestForm.controls['room'].setValue(this.bookingGuestModel.bookingRoomId);\r\n\r\n if (this.bookingGuestModel.guest.gender === 'Under16') {\r\n this.ageCheck = true;\r\n this.disableControls();\r\n } else {\r\n this.ageCheck = false;\r\n this.enableControls();\r\n }\r\n }\r\n\r\n searchExistingGuests() {\r\n if (this.searchValue.length > 2) {\r\n this.bookingDetailsService.searchExistingGuests(this.bookingId, this.searchValue).subscribe(\r\n (response) => {\r\n this.existingGuestsList = response;\r\n if (this.existingGuestsList.length > 0) {\r\n this.showExistingGuests = true;\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n }\r\n\r\n setExistingGuest(bookingGuest: BookingGuestDetailModel) {\r\n if (this.bookingId === -1) {\r\n bookingGuest.bookingId = -1;\r\n }\r\n if (this.editBookingGuest && this.bookingId !== -1) {\r\n bookingGuest.bookingGuestId = this.bookingGuestModel.bookingGuestId;\r\n }\r\n this.showExistingGuests = false;\r\n this.bookingGuestModel = bookingGuest;\r\n\r\n if (this.showModalInsteadOfGrid) {\r\n this.bookingGuestModel.leadGuest = true;\r\n }\r\n if (this.bookingId === -1 && !this.fromCalendar && this.bookingRoomsList.length > 0) {\r\n this.bookingGuestModel.bookingRoomId = this.bookingRoomsList[0].bookingRoomId;\r\n this.guestForm.controls['room'].setValue(this.bookingGuestModel.bookingRoomId);\r\n }\r\n this.setInitValues();\r\n this.setExistGuest = true;\r\n }\r\n\r\n showSavePopup() {\r\n if (this.showModalInsteadOfGrid && this.bookingId === -1) {\r\n const currentValue: string = JSON.stringify(this.bookingGuestModel);\r\n //if (currentValue !== this.initialValue) {\r\n // this.openConfirmPopup = true;\r\n //} else {\r\n // this.changeTabFromGuests.emit(this.indexOfTab);\r\n //}\r\n this.submitGuest(true);\r\n\r\n }\r\n }\r\n\r\n confirmGuestChange() {\r\n this.openConfirmPopup = false;\r\n this.submitGuest(true);\r\n }\r\n\r\n declinedGuestChange() {\r\n this.openConfirmPopup = false;\r\n this.changeTabFromGuests.emit(this.indexOfTab);\r\n }\r\n\r\n confirmGuestAndCardChange() {\r\n this.openConfirmCardPopup = false;\r\n this.submitGuest(false);\r\n }\r\n\r\n declineGuestAndCardChange() {\r\n this.openConfirmCardPopup = false;\r\n }\r\n\r\n clearForm() {\r\n this.searchValue = '';\r\n this.setExistGuest = false;\r\n let bookingGuestId = 0;\r\n if (this.editBookingGuest && this.bookingId !== -1) {\r\n bookingGuestId = this.bookingGuestModel.bookingGuestId;\r\n }\r\n this.bookingGuestModel = new BookingGuestDetailModel();\r\n this.bookingGuestModel.bookingId = this.bookingId;\r\n this.bookingGuestModel.bookingGuestId = bookingGuestId;\r\n }\r\n\r\n clearFormConfirm() {\r\n if (!this.readOnly) {\r\n this.clearGuest = true;\r\n }\r\n }\r\n\r\n getRoomShortName(id: number): string {\r\n for (const room of this.bookingRoomsList) {\r\n if (room.bookingRoomId === id) {\r\n return room.bookingRoomShortName;\r\n }\r\n }\r\n\r\n return '';\r\n }\r\n\r\n subscribeNewsletterChange(event) {\r\n const date: Date = new Date();\r\n const dateFormatted = `${date.getDate()}/${date.getMonth() + 1}/${date.getFullYear()}`;\r\n if (event.target.checked) {\r\n this.bookingGuestModel.notes\r\n ? (this.bookingGuestModel.notes += ` Consented to email newsletter on ${dateFormatted} via printed Check In Form.`)\r\n : (this.bookingGuestModel.notes = `Consented to email newsletter on ${dateFormatted} via printed Check In Form.`);\r\n } else {\r\n this.bookingGuestModel.notes = this.bookingGuestModel.notes.replace(\r\n `Consented to email newsletter on ${dateFormatted} via printed Check In Form.`,\r\n ''\r\n );\r\n }\r\n }\r\n\r\n leadGuestDeclined() {\r\n this.bookingGuestModel.leadGuest = false;\r\n this.bookingGuestModel.forceLeadGuest = false;\r\n this.loader = true;\r\n if (this.addBookingGuest) {\r\n this.insertNewBookingGuest();\r\n } else if (this.editBookingGuest) {\r\n this.updateExistBookingGuest();\r\n }\r\n }\r\n\r\n leadGuestConfirm() {\r\n this.bookingGuestModel.forceLeadGuest = true;\r\n this.loader = true;\r\n if (this.addBookingGuest) {\r\n this.insertNewBookingGuest();\r\n } else if (this.editBookingGuest) {\r\n this.updateExistBookingGuest();\r\n }\r\n }\r\n\r\n submitBookingGuest(e) {\r\n e.stopPropagation();\r\n\r\n if (this.shouldShowCardWarning) {\r\n this.openConfirmCardPopup = true;\r\n } else {\r\n this.submitGuest(false);\r\n }\r\n }\r\n\r\n get shouldShowCardWarning() {\r\n if (this.cardsList && this.cardsList.length > 0) {\r\n const firstName = this.bookingGuestModel.guest.firstName;\r\n const lastName = this.bookingGuestModel.guest.lastName;\r\n const fullName = `${firstName} ${lastName}`;\r\n const fullNameOnCard = this.cardsList[0].paidBy;\r\n //console.log(fullName);\r\n //console.log(fullNameOnCard);\r\n return fullName !== fullNameOnCard;\r\n }\r\n return false;\r\n }\r\n\r\n submitGuest(emitChangeTab: boolean) {\r\n for (const c in this.guestForm.controls) {\r\n this.guestForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.guestForm.valid) {\r\n this.insertUpdateGuest(emitChangeTab);\r\n }\r\n }\r\n\r\n insertUpdateGuest(emitChangeTab: boolean) {\r\n this.loader = true;\r\n\r\n if (this.ageCheck) {\r\n this.bookingGuestModel.guest.gender = 'Under16';\r\n } else {\r\n this.bookingGuestModel.guest.gender = null;\r\n }\r\n\r\n if (this.fromCalendar) {\r\n this.bookingGuestModel.bookingRoomId = this.bookingRoomId;\r\n }\r\n\r\n if (this.addBookingGuest) {\r\n if (this.bookingId === -1) {\r\n if (!this.fromCalendar) {\r\n this.bookingGuestModel.bookingRoomShortName = this.getRoomShortName(\r\n this.bookingGuestModel.bookingRoomId\r\n );\r\n }\r\n\r\n this.showModalInsteadOfGrid = false;\r\n this.turnOffModalOnGrid.emit(false);\r\n if (emitChangeTab) {\r\n this.changeTabFromGuests.emit(this.indexOfTab);\r\n }\r\n\r\n this.update.emit(this.bookingGuestModel);\r\n this.close();\r\n } else {\r\n this.insertNewBookingGuest();\r\n }\r\n } else if (this.editBookingGuest) {\r\n if (this.bookingId === -1) {\r\n if (!this.fromCalendar) {\r\n this.bookingGuestModel.bookingRoomShortName = this.getRoomShortName(\r\n this.bookingGuestModel.bookingRoomId\r\n );\r\n }\r\n\r\n this.showModalInsteadOfGrid = false;\r\n this.turnOffModalOnGrid.emit(false);\r\n\r\n this.update.emit({ oldValue: this.currentGuestModel, newValue: this.bookingGuestModel });\r\n this.close();\r\n } else {\r\n this.updateExistBookingGuest();\r\n }\r\n }\r\n }\r\n\r\n updateExistBookingGuest() {\r\n if (this.bookingGuestModel.notes) {\r\n this.creditCard = this.bookingGuestModel.notes.replace(/[0-9]/g, 'X');\r\n\r\n if (this.creditCard.includes('XXXXXXXXXXXXXXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX-XXXX-XXXX-XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX.XXXX.XXXX.XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX/XXXX/XXXX/XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX XXXX XXXX XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX,XXXX,XXXX,XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n } else {\r\n this.creditCardValidation = false;\r\n }\r\n }\r\n\r\n this.bookingDetailsService.updateExistBookingGuest(this.bookingGuestModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n if (response === null) {\r\n this.toasterService.showToast('Success', 'Operation successful.', null, ToastEventType.Success, true, 2000);\r\n this.update.emit();\r\n this.close();\r\n } else {\r\n if (response.openModal) {\r\n this.leadGuestChange = true;\r\n this.leadGuestMessage = response.message;\r\n }\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n getGuestSearchPii(guest: BookingGuestDetailModel): string {\r\n if (guest.guest.email != null && guest.guest.email.length > 0) {\r\n return guest.guest.email;\r\n }\r\n else if (guest.guest.phone2 != null && guest.guest.phone2.length > 0) {\r\n return guest.guest.phone2;\r\n }\r\n else if (guest.guest.address1 != null && guest.guest.address1.length > 0) {\r\n return guest.guest.address1;\r\n }\r\n else if (guest.guest.postalCode != null && guest.guest.postalCode.length > 0) {\r\n return guest.guest.postalCode;\r\n }\r\n return '';\r\n }\r\n\r\n insertNewBookingGuest() {\r\n this.bookingDetailsService.insertNewBookingGuest(this.bookingGuestModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n if (response === null) {\r\n this.toasterService.showToast('Success', 'Operation successful.', null, ToastEventType.Success, true, 2000);\r\n\r\n this.update.emit();\r\n this.close();\r\n } else {\r\n if (response.openModal) {\r\n this.leadGuestChange = true;\r\n this.leadGuestMessage = response.message;\r\n }\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.addBookingGuestChange.emit(false);\r\n this.editBookingGuestChange.emit(false);\r\n }\r\n\r\n /**\r\n * The function takes in the bellow given params and sorts the bookingRoomsList array,\r\n * removing full rooms if the guest is not apart of them from the select list of values.\r\n * @param bookingRoomsList Array of all the rooms in current booking\r\n * @param currentGuestModel Model of current guest selected for edit\r\n * @param allGuests Array of all the guest\r\n */\r\n checkRooms(bookingRoomsList, currentGuestModel, allGuests) {\r\n for (let x=bookingRoomsList.length-1; x >=0; x--) {\r\n const room = bookingRoomsList[x];\r\n room.maxGuestAllowed = room.adults + room.children;\r\n const guestsInRoomArr = allGuests.filter((guest) => guest.bookingRoomId === room.bookingRoomId);\r\n if (guestsInRoomArr.length >= room.maxGuestAllowed) {\r\n room.isFull = true;\r\n }\r\n\r\n if (room.isFull && !guestsInRoomArr.includes(currentGuestModel)) {\r\n console.log('Room is full, removing room', x);\r\n bookingRoomsList.splice(x, 1);\r\n }\r\n }\r\n\r\n }\r\n}\r\n","\r\n
\r\n \r\n

Guest

\r\n
\r\n {{ message }}\r\n
\r\n\r\n
\r\n
\r\n
Search guests
\r\n \r\n
\r\n
\r\n
    \r\n \r\n {{ bookingGuest.guest.firstName }} {{ bookingGuest.guest.lastName }}\r\n \r\n ({{ getGuestSearchPii(bookingGuest) }})\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n {{ bookingGuestModel?.guest?.firstName }} {{ bookingGuestModel?.guest?.lastName }}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Title
\r\n \r\n \r\n
\r\n
\r\n
First name
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Last name
\r\n \r\n Max 50 characters\r\n Last name is required\r\n
\r\n
\r\n
E-mail
\r\n \r\n Max 50 characters\r\n Must be a valid email address\r\n
\r\n
\r\n
Telephone
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Mobile phone
\r\n
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
\r\n
Address 1
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Address 2
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Address 3
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Post. code
\r\n \r\n Max 50 characters\r\n
\r\n
\r\n
Country
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
Room
\r\n \r\n \r\n \r\n Room is required\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
Notes
\r\n \r\n
\r\n Storing credit card data in Caterbook data violates your master service agreement and will lead\r\n to your account being suspended. You should use Caterpay to verify Card data\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n Cancel\r\n \r\n \r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { CurrencyContext } from '../../../../models/auth-jwt/token-context';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { BookingAllDetails, BookingExtraMoveModel, BookingRoomDetailModel } from 'src/app/models/booking/booking-all-details.model';\r\nimport { EnumModelSelected } from 'src/app/models/templates/message-template-pd.model';\r\nimport DateHelper from 'src/app/shared/helpers/date-helper';\r\nimport { BookingRoomGuestModel } from 'src/app/models/booking/booking-room-guest.model';\r\nimport { MoveEposModel } from 'src/app/models/epos/move-epos.model';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\n\r\n\r\n@Component({\r\n selector: 'app-booking-details-move-extras',\r\n templateUrl: './booking-details-move-extras.component.html',\r\n styleUrls: ['./booking-details-move-extras.component.less']\r\n})\r\nexport class BookingDetailsMoveExtrasComponent implements OnInit {\r\n @ViewChild('itemsGrid') itemsGrid: DxDataGridComponent;\r\n\r\n @Input() bookingAllDetails: BookingAllDetails;\r\n @Input() extraId: number;\r\n @Input() moveEPOS: boolean;\r\n @Output() moveEPOSChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Output() updateBookingDetails = new EventEmitter();\r\n\r\n showErrors=false;\r\n showWarnings=false;\r\n moveErrors: string;\r\n moveWarnings: string;\r\n\r\n moveType: string;\r\n moveDetails: string;\r\n extraDescription: string;\r\n fromMoveDescription: string;\r\n theme: number;\r\n moveToRoomId: number;\r\n moveToRoom: BookingRoomGuestModel;\r\n dateFrom: Date;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n roomExtrasSource: BookingRoomDetailModel[] = [];\r\n eposItems: BookingExtraMoveModel[] = [];\r\n selectedItems: BookingExtraMoveModel[] = [];\r\n bookingRoomsOnDate: BookingRoomGuestModel[];\r\n\r\n confirmMove=false;\r\n confirmMoveMessage: string;\r\n\r\n loader = false;\r\n\r\n minDate = new Date(new Date().setFullYear(new Date().getFullYear() - 1));\r\n maxDate = new Date(new Date().setFullYear(new Date().getFullYear() + 1));\r\n\r\n selectAllCheckBox: any;\r\n checkBoxUpdating = false;\r\n\r\n unlinkInvoicedExtraItem=false;\r\n unlinkInvoiceExtraId:number;\r\n\r\n moveTypes: EnumModelSelected[] = [{id: \"1\", value: \"ThisOneItem\", name: \"This one item\", selected: true },{id: \"2\", value: \"AllInThisPosting\", name: \"All in this posting\", selected: false },{id: \"3\", value: \"MultipleItems\", name: \"Multiple items\", selected: false }];\r\n\r\n constructor(\r\n private fbSearchRooms: FormBuilder,\r\n private bookingDetailsService: BookingDetailsService,\r\n private toasterService: ToastService,\r\n ) { \r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setEposItems();\r\n\r\n this.setValueMoveType(this.moveTypes.find(x => x.selected==true, 0), true);\r\n\r\n let extra = this.eposItems.find(x => x.bookingExtraId == this.extraId);\r\n if (extra != null && extra.dateFrom != null) {\r\n this.dateFrom = new Date(extra.dateFrom);\r\n this.changeFromDateHandler(DateHelper.formatDate(this.dateFrom, \"YYYY-MM-DD\"));\r\n }\r\n \r\n }\r\n\r\n setEposItems() {\r\n this.eposItems = this.bookingAllDetails.extras.filter(x => x.itemType.value==\"EPOSItem\").map(x => Object.assign(new BookingExtraMoveModel(), x));; \r\n this.eposItems.forEach(x => x.newQuantity = x.quantity);\r\n }\r\n\r\n ngOnChanges() {\r\n //this.ngOnInit(); \r\n }\r\n\r\n getGuestName(bookingRoomId: number): string {\r\n let guest = this.bookingAllDetails.guests.find(x => x.bookingRoomId == bookingRoomId);\r\n if (guest != null && guest.guest != null) {\r\n return guest.guest.lastName;\r\n }\r\n return \"\";\r\n }\r\n\r\n setNewQuantity(event: any, item: BookingExtraMoveModel) {\r\n item.newQuantity = event.target.value;\r\n }\r\n\r\n setExtraAndMoveDescription() {\r\n //default the room move description\r\n this.fromMoveDescription = \"\";\r\n let bookingRoomDesc = null;\r\n let guestName = null;\r\n let addedRooms = [];\r\n this.selectedItems.forEach(element => {\r\n let roomName = \"Whole booking\";\r\n if (element.bookingRoomId != null) {\r\n roomName = element.bookingRoomShortName;\r\n guestName = this.getGuestName(element.bookingRoomId);\r\n }\r\n \r\n if (addedRooms.indexOf(roomName) == -1) {\r\n if (bookingRoomDesc != null) {\r\n bookingRoomDesc = bookingRoomDesc + \", \" + roomName;\r\n }\r\n else {\r\n bookingRoomDesc = roomName\r\n }\r\n if (guestName != null && guestName.length > 0) {\r\n bookingRoomDesc = bookingRoomDesc + \", Guest: \" + guestName;\r\n }\r\n addedRooms.push(roomName);\r\n }\r\n });\r\n\r\n if (this.selectedItems==null || this.selectedItems.length == 0) {\r\n this.extraDescription = \"No items selected\";\r\n }\r\n else if (this.selectedItems.length == 1) {\r\n let extra = this.eposItems.find(x => x.bookingExtraId == this.selectedItems[0].bookingExtraId);\r\n this.extraDescription = extra.saleItemName;\r\n if (extra.dateFrom != null) {\r\n this.extraDescription = this.extraDescription + \", \" + DateHelper.formatDate(new Date(extra.dateFrom));\r\n }\r\n }\r\n else if (this.selectedItems.length > 1) {\r\n this.extraDescription = \"Multiple items\";\r\n }\r\n\r\n if (bookingRoomDesc != null && bookingRoomDesc.length > 1) {\r\n this.fromMoveDescription = this.fromMoveDescription + bookingRoomDesc + \", \"\r\n }\r\n this.fromMoveDescription = this.fromMoveDescription + \"Booking #\" + this.bookingAllDetails.info.bookingRef;\r\n \r\n }\r\n\r\n setValueMoveType(item: EnumModelSelected, fromOnInit: boolean) {\r\n this.moveType = item.id;\r\n for (let i=0; i< this.moveTypes.length; i++) {\r\n if (this.moveTypes[i].id == this.moveType) {\r\n this.moveTypes[i].selected = true;\r\n }\r\n else {\r\n this.moveTypes[i].selected = false;\r\n }\r\n\r\n }\r\n\r\n if (!fromOnInit) {\r\n this.selectedItems.length=0;\r\n }\r\n\r\n this.setSelectedItems();\r\n\r\n if (this.itemsGrid && this.itemsGrid.instance) {\r\n this.itemsGrid.instance.repaint();\r\n }\r\n }\r\n\r\n setSelectedItems() {\r\n this.setEposItems();\r\n \r\n let extra = this.eposItems.find(x => x.bookingExtraId == this.extraId);\r\n\r\n if (this.moveType === \"1\") { \r\n this.eposItems = this.eposItems.filter(x => x.bookingExtraId == extra.bookingExtraId);\r\n }\r\n if (this.moveType == \"2\") {\r\n this.eposItems = this.eposItems.filter(x => x.token == extra.token);\r\n }\r\n\r\n if (this.moveType == \"1\" || this.moveType==\"2\") {\r\n this.selectedItems.length = 0;\r\n this.eposItems.forEach(element => {\r\n this.selectedItems.push(element);\r\n });\r\n }\r\n\r\n this.checkSelectedItems();\r\n this.setExtraAndMoveDescription();\r\n }\r\n\r\n checkSelectedItems() {\r\n this.showErrors=false;\r\n this.showWarnings=false;\r\n\r\n this.moveErrors = \"\";\r\n this.moveWarnings = \"\";\r\n\r\n let invoices = [];\r\n\r\n for (let i=0; i 0)\r\n {\r\n let invoice = this.bookingAllDetails.invoices.find(x => x.id == this.selectedItems[i].invoiceIds[0]);\r\n if (invoice != null) {\r\n if (invoices.filter(x => x.invoiceNo == invoice.invoiceNo).length == 0) {\r\n invoices.push({invoiceNo: invoice.invoiceNo, status: invoice.status.value});\r\n } \r\n } \r\n }\r\n }\r\n\r\n if (invoices.length > 0) {\r\n let closedInvoices = invoices.filter(x => x.status==\"Closed\" || x.status==\"Reversed\" || x.status==\"CreditNote\");\r\n\r\n if (closedInvoices.length > 0) {\r\n this.showErrors=true;\r\n this.moveErrors = \"Items linked to closed invoices cannot be moved\";\r\n }\r\n if (closedInvoices.length < invoices.length) {\r\n this.showWarnings=true;\r\n this.moveWarnings = \"Items cannot be moved whilst linked to an invoice. You can unlink them by clicking the link icon(s) below\";\r\n }\r\n }\r\n }\r\n\r\n submitMove() {\r\n if (this.selectedItems.length > 0) {\r\n if (this.moveToRoom != null && this.moveToRoom.bookingId > 0) {\r\n\r\n this.confirmMoveMessage = \"

Are you sure you want to move \" + this.selectedItems.length + \" item(s)



From \" + this.fromMoveDescription + \"

\" + this.moveDetails;\r\n this.confirmMove = true;\r\n }\r\n else {\r\n this.showToastError(\"Please select a booking to move these item(s) to.\", \"Move error\");\r\n }\r\n }\r\n else {\r\n this.showToastError(\"Please select at least 1 item to move.\", \"Move error\");\r\n }\r\n }\r\n\r\n submitMoveConfirmed() {\r\n let moveModel = new MoveEposModel();\r\n moveModel.fromBookingId = this.bookingAllDetails.info.bookingId;\r\n moveModel.toBookingId = this.moveToRoom.bookingId;\r\n moveModel.toBookingRoomId = this.moveToRoom.id;\r\n moveModel.selectedItems = this.selectedItems;\r\n\r\n this.loader = true;\r\n this.bookingDetailsService.moveExtraItems(moveModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n console.log('submitMoveConfirmed-error', error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n showToastError(message: string, title?: string) {\r\n this.toasterService.showToast(title ? title : 'Error', message, null, ToastEventType.Error, true, 5000);\r\n }\r\n\r\n changeFromDate(event) { \r\n if (event.value) {\r\n let inputDate = DateHelper.formatDate(event.value, \"YYYY-MM-DD\");\r\n this.changeFromDateHandler(inputDate);\r\n }\r\n\r\n }\r\n\r\n changeFromDateHandler(inputDate: string) {\r\n this.loader = true;\r\n \r\n //we need to load all rooms occupied on that date\r\n this.bookingDetailsService.getBookingRoomsForDate(inputDate).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.bookingRoomsOnDate = response;\r\n console.log('bookingRoomsOnDate', this.bookingRoomsOnDate);\r\n this.bookingRoomsOnDate.forEach(element => {\r\n element.roomDesc = element.roomName + ' (#' + element.bookingNo + ')';\r\n });\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.moveEPOSChange.emit(false);\r\n }\r\n\r\n isSelectAll(dataGrid) {\r\n var items = [];\r\n\r\n dataGrid.getDataSource().store().load().done(function (data) {\r\n items = data;\r\n });\r\n\r\n var selectableItems = items;\r\n if (this.moveType === \"1\" || this.moveType === \"2\") {\r\n selectableItems.length = 0;\r\n }\r\n \r\n var selectedRowKeys = dataGrid.option(\"selectedRowKeys\");\r\n\r\n if (!selectedRowKeys.length) {\r\n return false;\r\n }\r\n return selectedRowKeys.length >= selectableItems.length ? true : undefined;\r\n}\r\n\r\n onEditorPreparing(e) {\r\n var dataGrid = e.component;\r\n if (e.command === \"select\") {\r\n if (this.moveType === \"1\" || this.moveType === \"2\") {\r\n e.editorOptions.disabled = true;\r\n } \r\n else {\r\n e.editorOptions.disabled = false;\r\n }\r\n }\r\n }\r\n\r\n onSelectionChanged(e) {\r\n\r\n if (this.moveType === \"1\" || this.moveType === \"2\") {\r\n this.setSelectedItems();\r\n e.component.selectRows(this.selectedItems);\r\n }\r\n else {\r\n console.log('onSelectionChanged',e);\r\n this.selectedItems = e.selectedRowKeys;\r\n this.setExtraAndMoveDescription();\r\n this.checkSelectedItems();\r\n }\r\n\r\n\r\n }\r\n\r\n moveToRoomSelected(event) {\r\n if (event.itemData) {\r\n this.moveToRoom = event.itemData;\r\n this.moveDetails = \"To room \" + this.moveToRoom.roomName;\r\n if (this.moveToRoom != null && this.moveToRoom.guestName != null) {\r\n this.moveDetails = this.moveDetails + \", Guest: \" + this.moveToRoom.guestName;\r\n }\r\n this.moveDetails = this.moveDetails + \", Booking #\" + this.moveToRoom.bookingNo;\r\n\r\n }\r\n }\r\n\r\n unlinkInvoiceItemAttributes(data: BookingExtraMoveModel, attribute: string) {\r\n let message = \"Unlink from invoice\";\r\n let cssClass = \"fa-solid fa-link-slash fa-icon gray fa-icon-small\";\r\n\r\n let invoice = this.bookingAllDetails.invoices.find(x => x.id == data.invoiceIds[0]);\r\n if (invoice != null) {\r\n if (invoice.status.value==\"Closed\" || invoice.status.value==\"Reversed\" || invoice.status.value==\"CreditNote\") {\r\n cssClass = cssClass + \" filter-red\";\r\n message = \"This item cannot be unlinked as the invoice is closed\";\r\n }\r\n else {\r\n cssClass = cssClass + \" filter-orange\";\r\n message = message + \" \" + invoice.invoiceNo;\r\n }\r\n }\r\n\r\n if (attribute==\"title\") {\r\n return message;\r\n }\r\n if (attribute==\"css\") {\r\n return cssClass;\r\n }\r\n }\r\n\r\n\r\n unlinkInvoiceItem(data: BookingExtraMoveModel, e) {\r\n\r\n let invoice = this.bookingAllDetails.invoices.find(x => x.id == data.invoiceIds[0]);\r\n if (invoice != null) {\r\n if (invoice.status.value==\"Closed\" || invoice.status.value==\"Reversed\" || invoice.status.value==\"CreditNote\") {\r\n //do nothing\r\n return;\r\n }\r\n }\r\n this.unlinkInvoicedExtraItem = true;\r\n this.unlinkInvoiceExtraId = data.bookingExtraId;\r\n }\r\n\r\n unlinkInvoiceItemConfirmed() {\r\n let extra = this.eposItems.find(x => x.bookingExtraId == this.unlinkInvoiceExtraId);\r\n if (extra.invoiceIds != null && extra.invoiceIds.length > 0) {\r\n let invoiceId = extra.invoiceIds[0];\r\n this.bookingDetailsService.deleteInvoiceItemExtra(invoiceId, this.unlinkInvoiceExtraId).subscribe(\r\n (response) => {\r\n this.refreshParentData();\r\n extra.invoiceIds.shift();\r\n this.checkSelectedItems();\r\n this.setExtraAndMoveDescription();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n else {\r\n this.showToastError(\"This extra does not have an associated invoice.\", \"Unlink extra\");\r\n }\r\n\r\n\r\n }\r\n\r\n refreshParentData() {\r\n this.updateBookingDetails.emit();\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Move EPOS Items

\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n {{moveErrors}}\r\n
\r\n
\r\n {{moveWarnings}}\r\n
\r\n \r\n
\r\n

Items

\r\n \r\n
\r\n Whole booking \r\n \r\n {{ item.data.bookingRoomShortName }}\r\n \r\n
\r\n\r\n
\r\n {{ n.data.saleItemName }}\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.total | number: '1.2-2' }}\r\n
\r\n\r\n
\r\n 0\"\r\n title=\"{{unlinkInvoiceItemAttributes(item.data, 'title')}}\"\r\n [ngClass]=\"unlinkInvoiceItemAttributes(item.data, 'css')\"\r\n (click)=\"unlinkInvoiceItem(item.data, $event)\"\r\n >
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n

Move to

\r\n
\r\n
\r\n
Date
\r\n \r\n\r\n
\r\n\r\n
\r\n
Room
\r\n \r\n \r\n
\r\n
\r\n\r\n
0\">\r\n {{moveDetails}}\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n Confirm\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport {\r\n BookingPaymentPDModel,\r\n FinanceAccountModel,\r\n BookingPaymentHybridSourceModel,\r\n} from '../../../../models/booking/booking-payment-pd.model';\r\nimport { InvoiceModel } from '../../../../models/booking/invoice.model';\r\nimport { CardListModel } from '../../../../models/booking/booking-details.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { TokenContext } from '../../../../models/auth-jwt/token-context';\r\nimport { Router } from '@angular/router';\r\nimport { PciBookingDetailModel } from '../../../../models/booking/pci-booking-detail.model';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { ChangeDetectorRef } from '@angular/core';\r\nimport { EnumModel } from '../../../../models/shared/enum-model';\r\nimport { CommunicationService } from '../../../../shared/services/communication.service';\r\nimport { DxSelectBoxComponent } from 'devextreme-angular';\r\nimport { NewBookingService } from '../../settings-new-booking/new-booking.service';\r\nimport { PaymentActionType } from 'src/app/enums/payment-action-type.enum';\r\nimport { BookingPaymentDetailModel } from 'src/app/models/booking/booking-all-details.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-booking-details-payment',\r\n templateUrl: './booking-details-payment.component.html',\r\n styleUrls: ['./booking-details-payment.component.less'],\r\n})\r\nexport class BookingDetailsPaymentComponent implements OnInit, OnDestroy {\r\n @Input() bookingPayment: boolean;\r\n @Output() bookingPaymentChange = new EventEmitter();\r\n\r\n @Input() editBookingPayment: boolean;\r\n @Output() editBookingPaymentChange = new EventEmitter();\r\n\r\n @Input() bookingId: number;\r\n @Input() bookingPaymentId: number;\r\n @Input() minBookingFrom: Date;\r\n @Output() update = new EventEmitter();\r\n @Output() reloadBookingDetails = new EventEmitter();\r\n\r\n @Input() newPaymentActionType: PaymentActionType;\r\n @Input() newPaymentSourceData: BookingPaymentDetailModel;\r\n\r\n @ViewChild('paymentType', { static: true }) paymentType: DxSelectBoxComponent;\r\n\r\n showPaymentFormModal = false;\r\n showCardsListModal = false;\r\n loader = false;\r\n balance = false;\r\n disabledPaymentControl = false;\r\n paymentWarningMessage = '';\r\n toShowMiscRefundWithWarning = false;\r\n showMiscRefundWithWarning = false;\r\n\r\n pciBookingForm: string;\r\n caterpayForm: string;\r\n paidBy: number;\r\n theme: number;\r\n invoiceBalance = 0;\r\n refundAmount: number = 20000;\r\n\r\n valForm: UntypedFormGroup;\r\n token: TokenContext;\r\n filteredPaymentPurposes: EnumModel[] = [];\r\n filteredPaymentHybridTypes: BookingPaymentHybridSourceModel[] = [];\r\n bookingPaymentPDModel = new BookingPaymentPDModel();\r\n cardListModel: CardListModel = new CardListModel();\r\n showTypeListSelect = true;\r\n submitting = false;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private bookingDetailsService: BookingDetailsService,\r\n private router: Router,\r\n private newBookingService: NewBookingService,\r\n private sanitizer: DomSanitizer,\r\n private changeDetector: ChangeDetectorRef,\r\n private communicationService: CommunicationService\r\n ) {\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.theme = this.token.User.CmsTheme;\r\n\r\n this.valForm = fb.group({\r\n paidBy: [null, Validators.required],\r\n type: [null, Validators.required],\r\n amount: [null, Validators.compose([Validators.min(0), Validators.required])],\r\n invoice: [null],\r\n note: [null],\r\n paymentDate: [new Date(), Validators.required],\r\n purpose: [null, Validators.required],\r\n });\r\n\r\n window.addEventListener('message', this.postMessageHandlerBookingPayment.bind(this), false);\r\n }\r\n\r\n ngOnInit() {\r\n if (this.bookingPayment) {\r\n this.bookingDetailsService.newPayment(this.bookingId, this.newPaymentActionType, this.newPaymentSourceData).subscribe(\r\n (response) => {\r\n this.bookingPaymentPDModel = response;\r\n this.setNewPaymentFilterDefaults();\r\n },\r\n (error) => {}\r\n );\r\n } else if (this.editBookingPayment) {\r\n this.bookingDetailsService.editPayment(this.bookingId, this.bookingPaymentId).subscribe(\r\n (response) => {\r\n this.bookingPaymentPDModel = response;\r\n this.valForm.controls['type'].setValue(this.bookingPaymentPDModel.payment.paymentType);\r\n //this.paymentType.value = this.bookingPaymentPDModel.payment.paymentType;\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value !== 'Tokenise' && x.value !== 'Verify'\r\n );\r\n this.bookingPaymentPDModel.payment.amount =\r\n this.bookingPaymentPDModel.payment.paymentPurpose === 'Refund'\r\n ? Math.abs(this.bookingPaymentPDModel.payment.amount)\r\n : this.bookingPaymentPDModel.payment.amount;\r\n this.paidBy =\r\n this.bookingPaymentPDModel.payment.guestId === null\r\n ? this.bookingPaymentPDModel.payment.partnerId\r\n : this.bookingPaymentPDModel.payment.guestId;\r\n this.filteredPaymentHybridTypes = this.bookingPaymentPDModel.paymentHybridTypes.filter((x) =>\r\n this.bookingPaymentPDModel.payment.paymentPurpose === 'Refund'\r\n ? x.source === 'Payment'\r\n : x.source === 'Enum'\r\n );\r\n this.valForm.controls['purpose'].setValue(this.bookingPaymentPDModel.payment.paymentPurpose);\r\n },\r\n (error) => {\r\n this.closePopup();\r\n }\r\n );\r\n }\r\n }\r\n\r\n setNewPaymentFilterDefaults() {\r\n this.bookingPaymentPDModel.payment.paymentDate = new Date();\r\n this.bookingPaymentPDModel.payment.paymentType = null;\r\n this.bookingPaymentPDModel.payment.paymentPurpose = null;\r\n\r\n if (this.bookingPaymentPDModel.paidByList.length > 0) {\r\n this.setPaidByValue(this.bookingPaymentPDModel.paidByList[0]);\r\n this.paidBy = this.bookingPaymentPDModel.paidByList[0].accountId;\r\n }\r\n\r\n this.setPaymentPurpose()\r\n if (this.filteredPaymentPurposes.length == 1) {\r\n this.bookingPaymentPDModel.payment.paymentPurpose = this.filteredPaymentPurposes[0].value;\r\n }\r\n else if (this.newPaymentActionType == PaymentActionType.Rebill || this.newPaymentActionType == PaymentActionType.ChargeToken) {\r\n //if before arrival then deposit else balance\r\n let dtNow = new Date();\r\n if (dtNow < this.minBookingFrom) {\r\n this.bookingPaymentPDModel.payment.paymentPurpose = \"Deposit\";\r\n }\r\n else {\r\n this.bookingPaymentPDModel.payment.paymentPurpose = \"Balance\";\r\n }\r\n }\r\n\r\n this.filteredPaymentHybridTypes = this.bookingPaymentPDModel.paymentHybridTypes.filter(\r\n (x) =>\r\n (x.source === 'Payment' && ((x.guestId === this.bookingPaymentPDModel.payment.guestId) || (x.partnerId === this.bookingPaymentPDModel.payment.partnerId))) ||\r\n x.source !== 'Payment'\r\n );\r\n if (this.filteredPaymentHybridTypes.length == 1) {\r\n this.valForm.controls['type'].setValue(this.filteredPaymentHybridTypes[0]);\r\n this.checkPaymentType({itemData: this.filteredPaymentHybridTypes[0]});\r\n if (this.newPaymentActionType == PaymentActionType.Refund) {\r\n this.showTypeListSelect = false;\r\n }\r\n }\r\n }\r\n\r\n setPaymentPurpose() {\r\n if (this.bookingPaymentPDModel.paymentHybridTypes.filter((x) => x.source === 'Payment').length > 0) {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value !== 'Tokenise' && x.value !== 'Verify'\r\n );\r\n } else {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value !== 'Tokenise' && x.value !== 'Verify' && x.value !== 'Refund'\r\n );\r\n }\r\n }\r\n\r\n setPaidByValueDevex(e) {\r\n if (e.itemData !== null) {\r\n const financeAccount: FinanceAccountModel = e.itemData;\r\n this.setPaidByValue(financeAccount);\r\n this.resetPaymentPurposeType();\r\n this.setPaymentPurpose();\r\n this.resetPurposeState();\r\n }\r\n }\r\n\r\n setPaidByValue(financeAccount: FinanceAccountModel) {\r\n if (financeAccount.accountType === 'Guest') {\r\n this.bookingPaymentPDModel.payment.guestId = financeAccount.accountId;\r\n this.bookingPaymentPDModel.payment.partnerId = null;\r\n } else if (financeAccount.accountType === 'Partner') {\r\n this.bookingPaymentPDModel.payment.partnerId = financeAccount.accountId;\r\n this.bookingPaymentPDModel.payment.guestId = null;\r\n }\r\n }\r\n\r\n showMiscRefundWraning() {\r\n this.showMiscRefundWithWarning = true;\r\n }\r\n\r\n getInvoiceBalance(e) {\r\n this.balance = true;\r\n if (e.itemData !== null) {\r\n const invoice: InvoiceModel = e.itemData;\r\n this.bookingDetailsService.getInvoiceBalance(invoice.id).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.invoiceBalance = response;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n }\r\n\r\n checkPaymentType(e: any) {\r\n const selectedPaymentType: BookingPaymentHybridSourceModel = e.itemData;\r\n\r\n if (!selectedPaymentType) {\r\n this.bookingPaymentPDModel.payment.paymentType = null;\r\n // this.bookingPaymentPDModel.payment.paymentPurpose = null;\r\n this.filterPurposeSourceOnNewPayment();\r\n this.valForm.controls['purpose'].enable();\r\n this.valForm.controls['amount'].enable();\r\n this.valForm.controls['type'].markAsUntouched();\r\n return;\r\n }\r\n\r\n this.bookingPaymentPDModel.payment.paymentType = selectedPaymentType.type;\r\n this.bookingPaymentPDModel.payment.bookingPaymentId = null;\r\n this.toShowMiscRefundWithWarning = false;\r\n\r\n if (selectedPaymentType.type === 'Verify' || selectedPaymentType.type === 'VerifyToken') {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value === 'Verify'\r\n );\r\n this.valForm.controls['purpose'].disable();\r\n this.valForm.controls['amount'].disable();\r\n this.bookingPaymentPDModel.payment.paymentPurpose = 'Verify';\r\n this.bookingPaymentPDModel.payment.amount = 0;\r\n } else if (selectedPaymentType.type === 'Tokenise') {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value === 'Tokenise'\r\n );\r\n this.valForm.controls['purpose'].disable();\r\n this.valForm.controls['amount'].disable();\r\n this.bookingPaymentPDModel.payment.paymentPurpose = 'Tokenise';\r\n this.bookingPaymentPDModel.payment.amount = 0;\r\n } else {\r\n if (selectedPaymentType.source === 'Payment') {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value === 'Refund'\r\n );\r\n this.bookingPaymentPDModel.payment.bookingPaymentId = selectedPaymentType.id;\r\n this.bookingPaymentPDModel.payment.paymentPurpose = 'Refund';\r\n this.bookingPaymentPDModel.payment.amount = selectedPaymentType.amount;\r\n //this.refundAmount = selectedPaymentType.amount;\r\n\r\n if (selectedPaymentType.invoiceId) {\r\n this.disabledPaymentControl = true;\r\n this.paymentWarningMessage =\r\n 'You are trying to refund a payment that is already part of an invoice. You should first unlink payment from an invoice.';\r\n this.valForm.controls['purpose'].disable();\r\n this.valForm.controls['amount'].disable();\r\n this.valForm.controls['paidBy'].disable();\r\n this.valForm.controls['invoice'].disable();\r\n this.valForm.controls['paymentDate'].disable();\r\n this.valForm.controls['note'].disable();\r\n this.valForm.controls['amount'].disable();\r\n } else {\r\n this.valForm.controls['purpose'].enable();\r\n this.valForm.controls['amount'].enable();\r\n this.valForm.controls['paidBy'].enable();\r\n this.valForm.controls['invoice'].enable();\r\n this.valForm.controls['paymentDate'].enable();\r\n this.valForm.controls['note'].enable();\r\n this.valForm.controls['amount'].enable();\r\n this.disabledPaymentControl = false;\r\n this.paymentWarningMessage = '';\r\n }\r\n\r\n if (\r\n selectedPaymentType.description === 'Miscellaneous Refund' &&\r\n this.filteredPaymentHybridTypes.some((x) => !!x.invoiceId)\r\n ) {\r\n this.toShowMiscRefundWithWarning = true;\r\n }\r\n } else {\r\n this.valForm.controls['purpose'].enable();\r\n this.valForm.controls['amount'].enable();\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value !== 'Tokenise' && x.value !== 'Verify' && x.value !== 'Refund'\r\n );\r\n const purpose = this.filteredPaymentPurposes.find(\r\n (x) => x.value === this.bookingPaymentPDModel.payment.paymentPurpose\r\n );\r\n if (!purpose) {\r\n this.bookingPaymentPDModel.payment.paymentPurpose = null;\r\n }\r\n // this.valForm.controls['purpose'].markAsUntouched();\r\n }\r\n }\r\n }\r\n\r\n filterPurposeSourceOnNewPayment() {\r\n if (this.bookingPaymentPDModel.paymentHybridTypes.filter((x) => x.source === 'Payment').length > 0) {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value !== 'Tokenise' && x.value !== 'Verify'\r\n );\r\n } else {\r\n this.filteredPaymentPurposes = this.bookingPaymentPDModel.paymentPurposes.filter(\r\n (x) => x.value !== 'Tokenise' && x.value !== 'Verify' && x.value !== 'Refund'\r\n );\r\n }\r\n }\r\n\r\n checkPurposeType(e: any) {\r\n const guestId = this.bookingPaymentPDModel.payment.guestId;\r\n const partnerId = this.bookingPaymentPDModel.payment.partnerId;\r\n this.filteredPaymentHybridTypes =\r\n e.itemData.name === 'Refund'\r\n ? this.bookingPaymentPDModel.paymentHybridTypes.filter(\r\n (x) => x.source === 'Payment' && (x.guestId === guestId || x.partnerId === partnerId)\r\n )\r\n : this.bookingPaymentPDModel.paymentHybridTypes.filter((x) => x.source !== 'Payment');\r\n this.toShowMiscRefundWithWarning = false;\r\n if (this.filteredPaymentHybridTypes.length == 1) {\r\n this.valForm.controls['type'].setValue(this.filteredPaymentHybridTypes[0]);\r\n this.checkPaymentType({itemData: this.filteredPaymentHybridTypes[0]});\r\n }\r\n }\r\n\r\n resetPaymentPurposeType() {\r\n const guestId = this.bookingPaymentPDModel.payment.guestId;\r\n const partnerId = this.bookingPaymentPDModel.payment.partnerId;\r\n this.bookingPaymentPDModel.payment.paymentPurpose = null;\r\n this.bookingPaymentPDModel.payment.amount = null;\r\n this.setPaymentPurpose();\r\n this.filteredPaymentHybridTypes =\r\n this.bookingPaymentPDModel.payment.paymentPurpose === 'Refund'\r\n ? this.bookingPaymentPDModel.paymentHybridTypes.filter(\r\n (x) => x.source === 'Payment' && (x.guestId === guestId || x.partnerId === partnerId)\r\n )\r\n : this.bookingPaymentPDModel.paymentHybridTypes.filter((x) => x.source !== 'Payment');\r\n }\r\n\r\n resetPurposeState() {\r\n this.valForm.controls['purpose'].enable();\r\n this.valForm.controls['purpose'].markAsPristine();\r\n this.valForm.controls['purpose'].markAsUntouched();\r\n\r\n this.valForm.controls['amount'].enable();\r\n this.valForm.controls['amount'].markAsPristine();\r\n }\r\n\r\n submitBookingPayment(e) {\r\n e && e.stopPropagation();\r\n\r\n for (const c in this.valForm.controls) {\r\n this.valForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (!this.valForm.valid) {\r\n return;\r\n }\r\n\r\n this.loader = true;\r\n this.bookingPaymentPDModel.payment.bookingId = this.bookingId;\r\n this.bookingPaymentPDModel.payment.propertyId = this.token.Property.Id;\r\n this.bookingPaymentPDModel.payment.userId = this.token.IsSuperUser ? null : this.token.User.Id;\r\n this.bookingPaymentPDModel.payment.superUserId = this.token.IsSuperUser ? this.token.User.Id : null;\r\n\r\n if (this.bookingPaymentPDModel.payment.paymentPurpose === 'Refund') {\r\n if (this.bookingPaymentPDModel.payment.amount > this.refundAmount) {\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.bookingPayment) {\r\n this.insertPayment();\r\n } else if (this.editBookingPayment) {\r\n this.updatePayment();\r\n }\r\n\r\n return;\r\n }\r\n\r\n switch (this.bookingPaymentPDModel.payment.paymentType) {\r\n case 'CaterPay':\r\n case 'Verify':\r\n this.bookingDetailsService\r\n .getCaterpayHtmlFormForNewPayment(this.bookingPaymentPDModel.payment)\r\n .subscribe(\r\n (htmlForm: string) => {\r\n this.loader = false;\r\n this.caterpayForm = htmlForm;\r\n this.showPaymentFormModal = true;\r\n const body = document.getElementsByTagName('body')[0];\r\n body.classList.add('noscroll');\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n break;\r\n case 'ChargeToken':\r\n case 'VerifyToken':\r\n case 'Rebill':\r\n this.bookingDetailsService.getCardList(this.bookingPaymentPDModel.payment).subscribe(\r\n (response: CardListModel) => {\r\n const guestId = this.bookingPaymentPDModel.payment.guestId;\r\n this.loader = false;\r\n this.cardListModel = {\r\n ...response,\r\n cards: response.cards.filter((c) => c.guestId === guestId || c.cardSource === 'PciBooking'),\r\n };\r\n this.showCardsListModal = true;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n ); \r\n break;\r\n case 'Tokenise':\r\n this.newBookingService.getPciCardEntryForm().subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.pciBookingForm = response;\r\n this.showPaymentFormModal = true;\r\n const body = document.getElementsByTagName('body')[0];\r\n body.classList.add('noscroll');\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n break;\r\n default:\r\n if (this.bookingPayment) {\r\n this.insertPayment();\r\n } else if (this.editBookingPayment) {\r\n this.updatePayment();\r\n }\r\n break;\r\n }\r\n }\r\n\r\n insertPayment() {\r\n this.bookingDetailsService.insertPayment(this.bookingPaymentPDModel.payment).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.update.emit();\r\n this.closePopup();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.reloadBookingDetailsFromPayment();\r\n }\r\n );\r\n }\r\n\r\n updatePayment() {\r\n this.bookingDetailsService.updatePayment(this.bookingPaymentPDModel.payment).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.update.emit();\r\n this.closePopup();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.reloadBookingDetailsFromPayment();\r\n }\r\n );\r\n }\r\n\r\n postMessageHandlerBookingPayment = (event: any) => {\r\n console.log('postMessageHandlerBookingPayment', event);\r\n if (!event.data.bookingId && !event.data.paymentNo && !event.data.token && !event.data.cardMask) {\r\n this.communicationService.closePaymentFormModal.next(true);\r\n return;\r\n }\r\n if (this.submitting) //check it's not already trying to submit\r\n return;\r\n\r\n const bookingId: string = event.data.bookingId;\r\n const paymentNo: string = event.data.paymentNo;\r\n const token: string = event.data.token;\r\n const cardMask: string = event.data.cardMask;\r\n\r\n const body = document.getElementsByTagName('body')[0];\r\n body.classList.remove('noscroll');\r\n\r\n if (token && cardMask) {\r\n this.submitting = true;\r\n const pciBookingDetailModel: PciBookingDetailModel = new PciBookingDetailModel();\r\n pciBookingDetailModel.bookingPayment = this.bookingPaymentPDModel.payment;\r\n pciBookingDetailModel.pciBookingToken = token;\r\n pciBookingDetailModel.cardMask = cardMask;\r\n\r\n this.bookingDetailsService.pciNewPayment(pciBookingDetailModel).subscribe(\r\n (paymentNoFromResponse) => {\r\n this.communicationService.closePaymentFormModal.next(true);\r\n if (paymentNoFromResponse) {\r\n this.update.emit();\r\n this.closePopup();\r\n }\r\n },\r\n (err) => {\r\n this.communicationService.closePaymentFormModal.next(true);\r\n }\r\n );\r\n } else {\r\n this.communicationService.closePaymentFormModal.next(true);\r\n if (paymentNo) {\r\n this.update.emit();\r\n this.closePopup();\r\n }\r\n }\r\n };\r\n\r\n closePopup() {\r\n this.bookingPaymentChange.emit(false);\r\n this.editBookingPaymentChange.emit(false);\r\n }\r\n\r\n reloadBookingDetailsFromPayment() {\r\n this.reloadBookingDetails.emit();\r\n }\r\n\r\n ngOnDestroy() {\r\n window.removeEventListener('message', this.postMessageHandlerBookingPayment, false);\r\n }\r\n\r\n displayInvoiceLabel(item) {\r\n if (item && item.invoiceNo) {\r\n return `${item.invoiceNo} / ${item.customerName}`;\r\n }\r\n return '';\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Add Booking Payment

\r\n

Edit Booking Payment

\r\n
\r\n {{ paymentWarningMessage }}\r\n
\r\n
\r\n
\r\n
\r\n Booking balance: {{ token.Currency.Symbol }}{{ bookingPaymentPDModel?.balance | number: '1.2-2' }}\r\n
\r\n
\r\n Card initial balance: {{ token.Currency.Symbol }}{{ bookingPaymentPDModel?.cardBalance | number: '1.2-2' }}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
Paid by
\r\n \r\n \r\n Paid by is required.\r\n
\r\n
\r\n
Purpose
\r\n \r\n \r\n Purpose is required.\r\n
\r\n
\r\n
Type
\r\n \r\n \r\n {{filteredPaymentHybridTypes[0].description}}\r\n Type is required.\r\n
\r\n\r\n
\r\n
Amount
\r\n \r\n Amount is required.\r\n Minimum amount is 0.\r\n Maximum amount is {{ bookingPaymentPDModel.balance }}.\r\n refundAmount\"\r\n >Maximum refund amount is {{ refundAmount }}.\r\n
\r\n
\r\n
Invoice
\r\n \r\n \r\n
\r\n
\r\n

Balance: {{ token.Currency.Symbol }}{{ invoiceBalance | number: '1.2-2' }}

\r\n
\r\n
\r\n
Note
\r\n \r\n
\r\n
\r\n
Payment date and time
\r\n \r\n Payment date is required.\r\n
\r\n \r\n Save\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, OnInit, Input, EventEmitter, ChangeDetectorRef } from '@angular/core';\r\nimport { CardModel, CardListModel, BookingPaymentModel } from '../../../../../models/booking/booking-details.model';\r\nimport { Output } from '@angular/core';\r\nimport { BookingDetailsService } from '../../booking-details.service';\r\nimport { FinishCmsBookingPaymentModel } from '../../../../../models/booking/finish-cms-booking-payment.model';\r\nimport { CurrencyContext } from '../../../../../models/auth-jwt/token-context';\r\nimport { AuthTokenService } from '../../../../../shared/services/auth-token.service';\r\nimport { FinishBookingPaymentResponseModel } from '../../../../../models/booking/finish-booking-payment-response.model';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { PaymentActionType } from 'src/app/enums/payment-action-type.enum';\r\nimport { BookingPaymentDetailModel } from 'src/app/models/booking/booking-all-details.model';\r\n\r\n@Component({\r\n selector: 'app-cards-list-modal',\r\n templateUrl: './cards-list-modal.component.html',\r\n styleUrls: ['./cards-list-modal.component.less'],\r\n})\r\nexport class CardsListModalComponent implements OnInit {\r\n @Input() showCardModal: boolean;\r\n @Output() showCardModalChange = new EventEmitter();\r\n\r\n @Input() cardListModel: CardListModel;\r\n @Input() bookingPayment: BookingPaymentModel;\r\n @Output() reloadBookingDetails = new EventEmitter();\r\n @Output() closeAllModalsEmitter = new EventEmitter();\r\n\r\n @Input() newPaymentActionType: PaymentActionType;\r\n @Input() newPaymentSourceData: BookingPaymentDetailModel;\r\n\r\n loader = false;\r\n summary: boolean;\r\n paymentSuccess = false;\r\n paymentFailed = false;\r\n showMarkInvalidCardOption = false;\r\n showReportCancellationInvalidCardOption = false;\r\n\r\n theme: number;\r\n\r\n selectedCard: CardModel;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n finishPaymentResponse = new FinishBookingPaymentResponseModel();\r\n unableToFindCardWarning = false;\r\n specificActionInProgress = false;\r\n specificActionComplete = false;\r\n\r\n constructor(private changeDetector: ChangeDetectorRef, private bookingDetailsService: BookingDetailsService, private toasterService: ToastService,) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n if (this.newPaymentActionType != PaymentActionType.None) {\r\n this.specificActionInProgress = true;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n if (this.cardListModel.cards.length > 0) {\r\n this.selectedCard = this.cardListModel.cards[0];\r\n if (this.newPaymentActionType != PaymentActionType.None) {\r\n //LH1503 - we are performing particular action on card, find the card and complete payment\r\n this.selectedCard = this.cardListModel.cards.find(x => x.lastFourDigits == this.newPaymentSourceData.card && x.cardExpiry == this.newPaymentSourceData.cardExpiry);\r\n if (this.selectedCard != null) {\r\n console.log('Payment card found - charging');\r\n this.finishPayment();\r\n }\r\n else {\r\n this.cardListModel.cards.length == 0;\r\n this.unableToFindCardWarning = true;\r\n this.specificActionInProgress = false;\r\n }\r\n }\r\n }\r\n }\r\n\r\n proceedToSummary() {\r\n if (this.cardListModel.cards.length === 0) {\r\n return;\r\n }\r\n\r\n this.summary = true;\r\n }\r\n\r\n finishPayment() {\r\n this.loader = true;\r\n this.paymentFailed = false;\r\n this.paymentSuccess = false;\r\n\r\n const model: FinishCmsBookingPaymentModel = {\r\n payment: this.bookingPayment,\r\n card: this.selectedCard,\r\n };\r\n\r\n this.bookingDetailsService.processPaymentDirect(model).subscribe(\r\n (response) => {\r\n this.finishPaymentResponse = response;\r\n this.loader = false;\r\n this.paymentSuccess = this.finishPaymentResponse.responseCode === '0';\r\n this.paymentFailed = this.finishPaymentResponse.responseCode !== '0';\r\n if (this.specificActionInProgress) {\r\n this.specificActionInProgress = false;\r\n this.specificActionComplete = true;\r\n }\r\n console.log('Process payment', this.finishPaymentResponse);\r\n if (this.paymentFailed && this.finishPaymentResponse.otaDetails != null)\r\n {\r\n if (this.finishPaymentResponse.otaDetails.canReportInvalidCard) {\r\n this.showMarkInvalidCardOption = true;\r\n }\r\n //if (this.finishPaymentResponse.otaDetails.canReportCancellationInvalidCard) {\r\n // this.showReportCancellationInvalidCardOption = true;\r\n //}\r\n }\r\n this.reloadBookingDetails.emit();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.close();\r\n }\r\n );\r\n }\r\n\r\n reportCardInvalid(withCancellation:boolean) {\r\n const model = {\r\n bookingId: this.bookingPayment.bookingId,\r\n cancellation: withCancellation,\r\n cardRef: this.selectedCard.ref,\r\n bookingPaymentId: this.finishPaymentResponse.bookingPaymentId\r\n };\r\n\r\n this.loader = true;\r\n this.bookingDetailsService.reportCardInvalid(model).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n if (withCancellation) {\r\n this.toasterService.showToast(\"Report cancellation - invalid card\", \"Card has been reported to BCOM as invalid.\", null, ToastEventType.Success, true, 6000);\r\n }\r\n else {\r\n this.toasterService.showToast(\"Report invalid card\", \"Card has been reported to BCOM as invalid.\", null, ToastEventType.Success, true, 6000);\r\n }\r\n }\r\n else {\r\n this.toasterService.showToast(`${withCancellation? 'Report cancellation - invalid card': 'Report invalid card'}`, result.errors[0], null, ToastEventType.ErrorAlert, true, 6000);\r\n \r\n }\r\n this.loader = false;\r\n this.closeAllModals();\r\n this.reloadBookingDetails.emit();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.closeAllModals();\r\n }\r\n );\r\n }\r\n \r\n close() {\r\n this.showCardModalChange.emit(false);\r\n }\r\n\r\n closeAllModals() {\r\n this.showCardModalChange.emit(false);\r\n this.closeAllModalsEmitter.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n

0\">Select card:

\r\n

No available cards

\r\n

The specific card to be actioned could not be found.

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n **** **** **** {{ card.lastFourDigits }}\r\n Card has been reported as invalid\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n Next\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

Payment summary

\r\n
\r\n\r\n
\r\n

Payment details

\r\n

Amount: {{ currencyContext.Symbol }}{{ bookingPayment.amount | number: '1.2-2' }}

\r\n

Payment purpose: {{ bookingPayment.paymentPurpose }}

\r\n

\r\n Card: **** **** **** {{ selectedCard.lastFourDigits }}\r\n

\r\n
\r\n\r\n
\r\n

Customer details

\r\n

{{ cardListModel?.customer?.name }}

\r\n

{{ cardListModel?.customer?.address }}

\r\n

{{ cardListModel?.customer?.email }}

\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n

Payment successful

\r\n

AuthCode: {{ finishPaymentResponse.authCode }}

\r\n

Reference: {{ finishPaymentResponse.reference }}

\r\n\r\n \r\n
\r\n\r\n
\r\n

Payment failed

\r\n

Message: {{ finishPaymentResponse.responseMessage }}

\r\n
Payment has failed two or more times. You have the option to report this as a cancellation to Booking.com
\r\n \r\n
\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { BookingAllDetails } from '../../../models/booking/booking-all-details.model';\r\nimport { BookingDetailsService } from './booking-details.service';\r\nimport { Observable } from 'rxjs';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class BookingDetailsResolver {\r\n constructor(private bookingDetailsService: BookingDetailsService) {}\r\n\r\n resolve(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ): BookingAllDetails | Observable | Promise {\r\n let bookingId = route.params.bookingId;\r\n return this.bookingDetailsService.getBookingDetails(bookingId);\r\n }\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { BookingRoomDetailModel } from '../../../../models/booking/booking-all-details.model';\r\nimport { RatePlanBaseModel } from '../../../../models/rate-plan/rate-plan-base.model';\r\nimport { EligibleRoomTypesRequestModel } from '../../../../models/booking/eligible-room-types-request.model';\r\nimport { RoomTypeBaseModel } from '../../../../models/room-type/room-type-base.model';\r\nimport { RoomModel } from '../../../../models/room/rooms-mapping.model';\r\nimport { EnumModel } from '../../../../models/shared/enum-model';\r\nimport { CalculateRoomPriceRequestModel } from '../../../../models/booking/calculate-room-price-request.model';\r\nimport { DiscountPolicyModel } from '../../../../models/booking/booking-search.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport * as moment from 'moment';\r\nimport { CalendarService } from 'src/app/routes/booking/calendar/calendar.service';\r\nimport { NewBookingService } from '../../settings-new-booking/new-booking.service';\r\nimport { SettingsPropertiesService } from 'src/app/routes/settings/settings-properties/settings-properties.service';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { CustomValidationService } from 'src/app/shared/services/custom-validation.service';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\n\r\n@Component({\r\n selector: 'app-booking-details-rooms',\r\n templateUrl: './booking-details-rooms.component.html',\r\n styleUrls: ['./booking-details-rooms.component.less'],\r\n})\r\nexport class BookingDetailsRoomsComponent implements OnInit {\r\n @Input() editBookingRoom: boolean;\r\n @Output() editBookingRoomChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n @Input() bookingRoomDetail: BookingRoomDetailModel;\r\n @Input() discount: DiscountPolicyModel;\r\n @Input() bookingId: number;\r\n @Input() readOnly: boolean;\r\n\r\n loader = false;\r\n firstTimeInit = false;\r\n disabledPeopleControl = false;\r\n\r\n statusSelected: string;\r\n showPopup = false;\r\n confirmChangeRoomType=false;\r\n\r\n message = '';\r\n\r\n errorMessageDates = '';\r\n dateFrom = new Date();\r\n dateTo = new Date();\r\n etaTime = new Date();\r\n etdTime = new Date();\r\n\r\n theme: number;\r\n valForm: UntypedFormGroup;\r\n bookingRoomDetailModel = new BookingRoomDetailModel();\r\n ratePlansBaseList: RatePlanBaseModel[] = [];\r\n roomTypesBaseList: RoomTypeBaseModel[] = [];\r\n roomsList: RoomModel[] = [];\r\n statuses: EnumModel[] = [];\r\n eligibleRoomTypesRequestModel = new EligibleRoomTypesRequestModel();\r\n \r\n calculateRoomPriceRequestModel = new CalculateRoomPriceRequestModel();\r\n currentRoomModel = new RoomModel();\r\n currentRoomTypeModel = new RoomTypeBaseModel();\r\n\r\n allowEdit: boolean = true;\r\n\r\n creditCard: string;\r\n creditCardValidation: boolean;\r\n defaultEposAccountLimit: number;\r\n hasCloudHookEPOS: boolean;\r\n token: TokenContext = new TokenContext();\r\n\r\n confirmNotifyBcom: boolean;\r\n notifyBcomMessage: string;\r\n\r\n constructor(\r\n private bookingDetailsService: BookingDetailsService,\r\n private fb: UntypedFormBuilder,\r\n private newBookingService: NewBookingService,\r\n private calendarService: CalendarService,\r\n private toasterService: ToastService,\r\n private propertySettingsService: SettingsPropertiesService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.hasCloudHookEPOS = AuthTokenService.decodeJwtToken().Property.CloudHookEPOS;\r\n this.token = AuthTokenService.decodeJwtToken();\r\n\r\n this.valForm = fb.group({\r\n ratePlan: [null, Validators.required],\r\n roomType: [null, Validators.required],\r\n room: [null, Validators.required],\r\n status: [null, Validators.required],\r\n bookingFrom: [new Date(), Validators.required],\r\n bookingTo: [new Date(), Validators.required],\r\n suggested_price: [null],\r\n price: [null, Validators.compose([Validators.min(0)])],\r\n notes: [null],\r\n carReg: [null, Validators.maxLength(20)],\r\n eta: [null],\r\n etd: [null],\r\n eposAccountLimit: [\r\n null,\r\n Validators.compose([\r\n Validators.required,\r\n Validators.max(99999),\r\n Validators.pattern(CustomValidationService.currencyExpression)\r\n ]),\r\n ],\r\n });\r\n }\r\n\r\n substractAdultNum() {\r\n if (this.bookingRoomDetailModel.adults > 1 && !this.disabledPeopleControl) {\r\n this.bookingRoomDetailModel.adults -= 1;\r\n this.calculateRoomPrice();\r\n }\r\n }\r\n\r\n substractChildNum() {\r\n if (this.bookingRoomDetailModel.children > 0 && !this.disabledPeopleControl) {\r\n this.bookingRoomDetailModel.children -= 1;\r\n this.calculateRoomPrice();\r\n }\r\n }\r\n\r\n addAdultNum() {\r\n if (!this.disabledPeopleControl && this.validateMaxOccupancy()) {\r\n this.bookingRoomDetailModel.adults += 1;\r\n this.calculateRoomPrice();\r\n }\r\n }\r\n\r\n addChildNum() {\r\n if (!this.disabledPeopleControl && this.validateMaxOccupancy()) {\r\n this.bookingRoomDetailModel.children += 1;\r\n this.calculateRoomPrice();\r\n }\r\n }\r\n\r\n validateMaxOccupancy() {\r\n // this.currentRoomTypeModel = this.getRoomTypeById(this.bookingRoomDetailModel.roomTypeId);\r\n //\r\n // return this.bookingRoomDetailModel.children + this.bookingRoomDetailModel.adults < this.currentRoomTypeModel.maximumOccupancy;\r\n return true;\r\n }\r\n\r\n resetAdultChildrenByRoomType() {\r\n // this.currentRoomTypeModel = this.getRoomTypeById(this.bookingRoomDetailModel.roomTypeId);\r\n //\r\n // if (this.bookingRoomDetailModel.adults > this.currentRoomTypeModel.maximumOccupancy) {\r\n // this.bookingRoomDetailModel.adults = this.currentRoomTypeModel.maximumOccupancy;\r\n // }\r\n // if (this.bookingRoomDetailModel.children > this.currentRoomTypeModel.maximumChildren) {\r\n // this.bookingRoomDetailModel.children = this.currentRoomTypeModel.maximumChildren;\r\n // }\r\n }\r\n\r\n changeDateFrom() {\r\n if (moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n const dateFrom: Date = new Date(this.dateFrom);\r\n this.dateTo = new Date(dateFrom.getTime() + 24 * 60 * 60 * 1000);\r\n }\r\n\r\n this.refreshFromDates();\r\n }\r\n\r\n changeDateTo() {\r\n if (moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n const dateTo: Date = new Date(this.dateTo);\r\n this.dateFrom = new Date(dateTo.getTime() - 24 * 60 * 60 * 1000);\r\n }\r\n\r\n this.refreshFromDates();\r\n }\r\n\r\n getRoomTypeById(id: number): RoomTypeBaseModel {\r\n for (const roomType of this.roomTypesBaseList) {\r\n if (id === roomType.id) {\r\n return roomType;\r\n }\r\n }\r\n }\r\n\r\n calculateDurationOfBooking(): number {\r\n const to: Date = new Date(new Date(this.dateTo).toDateString());\r\n const from: Date = new Date(new Date(this.dateFrom).toDateString());\r\n\r\n return moment(to).diff(moment(from), 'days');\r\n }\r\n\r\n ngOnInit() {\r\n this.eligibleRoomTypesRequestModel.bookingId = this.bookingId;\r\n this.currentRoomTypeModel = this.getRoomTypeById(this.bookingRoomDetailModel.roomTypeId);\r\n this.getData();\r\n }\r\n\r\n getData() {\r\n this.eligibleRoomTypesRequestModel.from = this.dateFrom.toDateString();\r\n this.eligibleRoomTypesRequestModel.to = this.dateTo.toDateString();\r\n this.eligibleRoomTypesRequestModel.bookingRoomId = this.bookingRoomDetail.bookingRoomId;\r\n this.eligibleRoomTypesRequestModel.ratePlanId = this.bookingRoomDetailModel.ratePlanId;\r\n this.eligibleRoomTypesRequestModel.adults = this.bookingRoomDetailModel.adults;\r\n this.eligibleRoomTypesRequestModel.children = this.bookingRoomDetailModel.children;\r\n\r\n if (this.hasCloudHookEPOS && this.bookingRoomDetail.eposAccountLimit == null) {\r\n this.propertySettingsService.getEPOSAccountLimitPropertySettings(this.token.Property.Id).subscribe(\r\n (response) => {\r\n let eposPropSetting = response.filter((o) => {\r\n return o.key === 'Other.DefaultEPOSAccountLimit';\r\n });\r\n if (eposPropSetting && eposPropSetting.length === 1) {\r\n this.defaultEposAccountLimit = Number(eposPropSetting[0].value);\r\n this.bookingRoomDetailModel.eposAccountLimit = this.defaultEposAccountLimit;\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n // this.saveCurrentRoomTypeAndRoom();\r\n this.bookingDetailsService.getEligibleRoomTypesRatePlans(this.eligibleRoomTypesRequestModel).subscribe(\r\n (response) => {\r\n this.roomTypesBaseList = response.roomTypes;\r\n this.ratePlansBaseList = response.ratePlans;\r\n this.statuses = response.bookingRoomStatuses;\r\n this.initValues();\r\n // this.getStatuses();\r\n // this.currentRoomTypeModel = this.getRoomTypeById(this.bookingRoomDetailModel.roomTypeId);\r\n // if (!this.findRoomTypeInNewList()) {\r\n // this.roomTypesBaseList.push(this.currentRoomTypeModel);\r\n // this.bookingRoomDetailModel.roomTypeId = this.currentRoomTypeModel.id;\r\n // this.bookingRoomDetailModel.hasRoomType = false;\r\n // } else {\r\n // this.bookingRoomDetailModel.hasRoomType = true;\r\n // }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n refreshRooms() {\r\n // this.saveCurrentRoomTypeAndRoom();\r\n this.bookingDetailsService\r\n .getAllFreeRooms(\r\n this.bookingRoomDetailModel.bookingRoomId,\r\n this.dateFrom.toDateString(),\r\n this.dateTo.toDateString()\r\n )\r\n .subscribe(\r\n (response) => {\r\n this.roomsList = response;\r\n if (!this.checkIfRoomExistInSource()) {\r\n this.bookingRoomDetailModel.roomId = null;\r\n }\r\n // if (!this.findRoomInNewList()) {\r\n // this.roomsList.push(this.currentRoomModel);\r\n // this.bookingRoomDetailModel.roomId = this.currentRoomModel.id;\r\n // this.bookingRoomDetailModel.hasRoom = false;\r\n // } else {\r\n // this.bookingRoomDetailModel.hasRoom = true;\r\n // }\r\n // this.roomsList.push(new RoomModel(this.bookingRoomDetailModel.roomId, this.bookingRoomDetailModel.bookingRoomShortName,\r\n // this.bookingRoomDetailModel.bookingRoomFullName));\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n checkIfRoomExistInSource() {\r\n for (const room of this.roomsList) {\r\n if (room.id === this.bookingRoomDetailModel.roomId) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n refreshFromDates() {\r\n if (this.firstTimeInit) {\r\n this.getRoomTypeByRatePlan();\r\n this.refreshRooms();\r\n this.calculateRoomPrice();\r\n }\r\n this.firstTimeInit = true;\r\n }\r\n\r\n getRatePlanByRoomType() {\r\n this.calendarService\r\n .getRatePlanByRoomType(\r\n this.bookingRoomDetailModel.roomTypeId,\r\n this.dateFrom.toDateString(),\r\n this.dateTo.toDateString()\r\n )\r\n .subscribe(\r\n (response) => {\r\n this.ratePlansBaseList = response;\r\n this.resetAdultChildrenByRoomType();\r\n this.refreshRooms();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n getRoomTypeByRatePlan() {\r\n this.bookingDetailsService\r\n .getRoomTypesByRatePlanBookingDetails(\r\n this.bookingRoomDetailModel.bookingRoomId,\r\n this.bookingRoomDetailModel.ratePlanId,\r\n this.bookingRoomDetailModel.roomId,\r\n new Date(this.dateFrom).toDateString(),\r\n new Date(this.dateTo).toDateString()\r\n )\r\n .subscribe(\r\n (response) => {\r\n this.roomTypesBaseList = response;\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n initValues() {\r\n this.bookingRoomDetailModel = JSON.parse(JSON.stringify(this.bookingRoomDetail));\r\n this.statusSelected = this.bookingRoomDetailModel.status.value;\r\n this.bookingRoomDetailModel.standardPrice = this.bookingRoomDetailModel.price;\r\n this.bookingRoomDetailModel.hasRoom = true;\r\n this.bookingRoomDetailModel.hasRoomType = true;\r\n this.dateFrom = new Date(this.bookingRoomDetailModel.bookingFrom);\r\n this.dateTo = new Date(this.bookingRoomDetailModel.bookingTo);\r\n\r\n if (this.bookingRoomDetailModel.status.id === 'Canceled') {\r\n this.allowEdit = false;\r\n }\r\n\r\n if (this.bookingRoomDetailModel.eposAccountLimit == null) {\r\n this.bookingRoomDetailModel.eposAccountLimit = this.defaultEposAccountLimit;\r\n }\r\n\r\n this.valForm.controls['status'].disable();\r\n\r\n if (!this.hasCloudHookEPOS) {\r\n this.valForm.controls['eposAccountLimit'].disable();\r\n }\r\n\r\n if (this.bookingRoomDetailModel.eta !== null) {\r\n const hours = this.bookingRoomDetailModel.eta.split(':')[0];\r\n const minutes = this.bookingRoomDetailModel.eta.split(':')[1];\r\n this.etaTime = new Date();\r\n this.etaTime.setHours(Number(hours));\r\n this.etaTime.setMinutes(Number(minutes));\r\n this.etaTime.setSeconds(0);\r\n } else {\r\n this.etaTime = null;\r\n }\r\n if (this.bookingRoomDetailModel.etd !== null) {\r\n const hours = this.bookingRoomDetailModel.etd.split(':')[0];\r\n const minutes = this.bookingRoomDetailModel.etd.split(':')[1];\r\n this.etdTime = new Date();\r\n this.etdTime.setHours(Number(hours));\r\n this.etdTime.setMinutes(Number(minutes));\r\n this.etdTime.setSeconds(0);\r\n } else {\r\n this.etdTime = null;\r\n }\r\n this.valForm.controls['bookingFrom'].setValue(this.dateFrom);\r\n this.valForm.controls['bookingTo'].setValue(this.dateTo);\r\n this.valForm.controls['eta'].setValue(this.etaTime);\r\n this.valForm.controls['etd'].setValue(this.etdTime);\r\n this.valForm.controls['ratePlan'].setValue(this.bookingRoomDetailModel.ratePlanId);\r\n\r\n if (!this.readOnly) {\r\n if (!this.allowEdit) {\r\n this.valForm.controls['ratePlan'].disable();\r\n this.valForm.controls['roomType'].disable();\r\n this.valForm.controls['room'].disable();\r\n this.valForm.controls['status'].disable();\r\n this.valForm.controls['bookingFrom'].disable();\r\n this.valForm.controls['bookingTo'].disable();\r\n this.valForm.controls['suggested_price'].disable();\r\n this.valForm.controls['price'].disable();\r\n this.valForm.controls['carReg'].disable();\r\n this.valForm.controls['eposAccountLimit'].disable();\r\n this.disabledPeopleControl = true;\r\n } else {\r\n this.bookingDetailsService\r\n .checkIfBookingRoomIsInvoiced(this.bookingRoomDetailModel.bookingRoomId)\r\n .subscribe(\r\n (response: any) => {\r\n if (!response.success) {\r\n this.valForm.controls['ratePlan'].disable();\r\n this.valForm.controls['roomType'].disable();\r\n this.valForm.controls['room'].disable();\r\n this.valForm.controls['status'].disable();\r\n this.valForm.controls['bookingFrom'].disable();\r\n this.valForm.controls['bookingTo'].disable();\r\n this.valForm.controls['suggested_price'].disable();\r\n this.valForm.controls['price'].disable();\r\n this.valForm.controls['eposAccountLimit'].disable();\r\n this.disabledPeopleControl = true;\r\n this.message = response.message;\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n } else {\r\n this.message = 'Cannot modify booking room because booking has status Departed!';\r\n this.valForm.controls['ratePlan'].disable();\r\n this.valForm.controls['roomType'].disable();\r\n this.valForm.controls['room'].disable();\r\n this.valForm.controls['status'].disable();\r\n this.valForm.controls['bookingFrom'].disable();\r\n this.valForm.controls['bookingTo'].disable();\r\n this.valForm.controls['suggested_price'].disable();\r\n this.valForm.controls['price'].disable();\r\n this.valForm.controls['eta'].disable();\r\n this.valForm.controls['etd'].disable();\r\n this.valForm.controls['carReg'].disable();\r\n this.valForm.controls['notes'].disable();\r\n this.valForm.controls['eposAccountLimit'].disable();\r\n this.disabledPeopleControl = true;\r\n }\r\n }\r\n\r\n calculateRoomPrice() {\r\n this.calculateRoomPriceRequestModel.ratePlanId = this.bookingRoomDetailModel.ratePlanId;\r\n this.calculateRoomPriceRequestModel.roomTypeId = this.bookingRoomDetailModel.roomTypeId;\r\n this.calculateRoomPriceRequestModel.arrive = new Date(this.dateFrom).toDateString();\r\n this.calculateRoomPriceRequestModel.depart = new Date(this.dateTo).toDateString();\r\n this.calculateRoomPriceRequestModel.adults = this.bookingRoomDetailModel.adults;\r\n this.calculateRoomPriceRequestModel.children = this.bookingRoomDetailModel.children;\r\n this.calculateRoomPriceRequestModel.discount.discountType = this.discount.discountType;\r\n this.calculateRoomPriceRequestModel.discount.discountValue = this.discount.discountValue;\r\n\r\n this.newBookingService.calculateRoomPrice(this.calculateRoomPriceRequestModel).subscribe(\r\n (response) => {\r\n this.bookingRoomDetailModel.suggestedPrice = response;\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n submitBookingRoom(e) {\r\n e.stopPropagation();\r\n for (const c in this.valForm.controls) {\r\n this.valForm.controls[c].markAsTouched();\r\n }\r\n\r\n if (this.valForm.valid && !this.readOnly) {\r\n this.loader = true;\r\n this.checkStatus();\r\n }\r\n }\r\n\r\n checkStatus() {\r\n if (this.statusSelected !== this.bookingRoomDetailModel.status.value) {\r\n this.showPopup = true;\r\n } else {\r\n this.updateBookingRoom(false);\r\n }\r\n }\r\n\r\n updateBookingRoom(force: boolean) {\r\n if (this.bookingRoomDetailModel.price === null) {\r\n this.bookingRoomDetailModel.price = this.bookingRoomDetailModel.standardPrice;\r\n }\r\n\r\n if (this.bookingRoomDetailModel.notes) {\r\n this.creditCard = this.bookingRoomDetailModel.notes.replace(/[0-9]/g, 'X');\r\n\r\n if (this.creditCard.includes('XXXXXXXXXXXXXXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX-XXXX-XXXX-XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX.XXXX.XXXX.XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX/XXXX/XXXX/XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX XXXX XXXX XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX,XXXX,XXXX,XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n } else {\r\n this.creditCardValidation = false;\r\n }\r\n }\r\n\r\n this.confirmChangeRoomType = false; \r\n this.bookingRoomDetailModel.forceRoomChange = force;\r\n this.bookingRoomDetailModel.bookingFrom = new Date(this.dateFrom).toDateString();\r\n this.bookingRoomDetailModel.bookingTo = new Date(this.dateTo).toDateString();\r\n this.bookingRoomDetailModel.eta =\r\n this.etaTime === null ? null : this.etaTime.getHours() + ':' + this.etaTime.getMinutes();\r\n this.bookingRoomDetailModel.etd =\r\n this.etdTime === null ? null : this.etdTime.getHours() + ':' + this.etdTime.getMinutes();\r\n this.bookingDetailsService.updateBookingRoom(this.bookingRoomDetailModel, false).subscribe(\r\n (response) => {\r\n this.loader= false;\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\")\r\n {\r\n this.toasterService.showToast('', result.successMessage, null, ToastEventType.Success, true, 5000);\r\n this.update.emit();\r\n this.close();\r\n }\r\n else if (result.actionResult === \"CompleteWithConfirmation\") {\r\n if (result.confirmationType === \"ReportBcomStayChange\")\r\n {\r\n this.confirmNotifyBcom = true;\r\n this.notifyBcomMessage = result.warnings[0];\r\n }\r\n else if (result.confirmationType === \"ChangeRoomType\")\r\n {\r\n this.confirmChangeRoomType = true;\r\n }\r\n }\r\n else if (result.actionResult === \"CompleteWithWarnings\" ) {\r\n this.toasterService.showToast('', result.warnings[0], null, ToastEventType.Warning, true, 5000);\r\n this.update.emit();\r\n this.close();\r\n }\r\n else if (result.actionResult === \"Errored\") {\r\n this.toasterService.showToast('', result.errors[0], null, ToastEventType.Error, true, 5000);\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n notifyBcomConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.reportBcomRoomStayChange(this.bookingRoomDetailModel).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Report stay change', 'The stay change details were successfully reported to Booking.com', null, ToastEventType.Success, true, 5000);\r\n }\r\n else {\r\n this.toasterService.showToast('Report stay change', result.errors[0], null, ToastEventType.Error, true, 5000);\r\n }\r\n this.confirmNotifyBcom = false;\r\n this.update.emit();\r\n this.close();\r\n },\r\n (error) => {\r\n this.confirmNotifyBcom = false;\r\n this.loader = false;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.editBookingRoomChange.emit(false);\r\n }\r\n\r\n onElementContentReady(e) {\r\n if (this.bookingRoomDetail.locked) {\r\n e.component.option('readOnly', true);\r\n }\r\n }\r\n\r\n // getStatuses() {\r\n // this.bookingDetailsService.getStatusesBookingRooms()\r\n // .subscribe(\r\n // (response) => {\r\n // this.statuses = response;\r\n // },\r\n // (error) => {\r\n // console.log(error);\r\n // }\r\n // );\r\n // }\r\n\r\n // saveCurrentRoomTypeAndRoom() {\r\n // this.currentRoomTypeModel = this.getRoomTypeById(this.bookingRoomDetailModel.roomTypeId);\r\n // this.currentRoomModel = this.getRoomById(this.bookingRoomDetailModel.roomId);\r\n // }\r\n //\r\n // findRoomInNewList(): boolean {\r\n // if (typeof this.currentRoomModel === 'undefined') {\r\n // return true;\r\n // }\r\n // for (const room of this.roomsList) {\r\n // if (room.id === this.currentRoomModel.id) {\r\n // return true;\r\n // }\r\n // }\r\n //\r\n // return false;\r\n // }\r\n //\r\n // findRoomTypeInNewList(): boolean {\r\n // if (typeof this.currentRoomTypeModel === 'undefined') {\r\n // return true;\r\n // }\r\n // for (const roomType of this.roomTypesBaseList) {\r\n // if (roomType.id === this.currentRoomTypeModel.id) {\r\n // return true;\r\n // }\r\n // }\r\n //\r\n // return false;\r\n // }\r\n\r\n // getRoomById(id: number): RoomModel {\r\n // for (const room of this.roomsList) {\r\n // if (id === room.id) {\r\n // return room;\r\n // }\r\n // }\r\n // }\r\n}\r\n","
\r\n
\r\n
\r\n

Edit Booking Room {{ bookingRoomDetailModel.bookingRoomShortName }}

\r\n
\r\n {{ message }}\r\n
\r\n
\r\n
\r\n
Rate plan
\r\n \r\n \r\n Rate plan is required.\r\n
\r\n
\r\n
Room type
\r\n \r\n \r\n Room type is required.\r\n
\r\n
\r\n
Room
\r\n \r\n \r\n Room is required.\r\n
\r\n
\r\n
Status
\r\n \r\n \r\n Status is required.\r\n
\r\n
\r\n
\r\n
Booking from
\r\n \r\n Booking from is required.\r\n
\r\n
\r\n
Booking to
\r\n \r\n {{ errorMessageDates }}\r\n Booking to is required.\r\n
\r\n
\r\n
Duration
\r\n
\r\n {{ calculateDurationOfBooking() }}\r\n night \r\n nights \r\n
\r\n
\r\n
\r\n
\r\n
People
\r\n\r\n
\r\n
\r\n
Adults
\r\n \r\n \r\n
\r\n
{{ bookingRoomDetailModel.adults }}
\r\n
\r\n
\r\n
\r\n
\r\n Children\r\n Ages 0-12\r\n
\r\n \r\n \r\n
\r\n
{{ bookingRoomDetailModel.children }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Total price
\r\n \r\n Minimum is 0.\r\n
\r\n
\r\n
Suggested price
\r\n \r\n
\r\n \r\n
\r\n
Car registration
\r\n \r\n Maximum 20 characters.\r\n
\r\n
\r\n
EPOS limit
\r\n \r\n Account limit is required.\r\n Please use a value with up to 2 decimal places.\r\n Maximum is 10,000.\r\n
Balance: {{bookingRoomDetailModel.eposBalance}}
\r\n
\r\n
\r\n
Notes
\r\n \r\n \r\n
\r\n Storing credit card data in Caterbook data violates your master service agreement and will lead\r\n to your account being suspended. You should use Caterpay to verify Card data\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n

\r\n Are you sure that you want to change room status to {{ bookingRoomDetailModel.status.value }} ?\r\n

\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import { AfterViewInit, ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Params, Router } from '@angular/router';\r\nimport { BookingDetailsService } from './booking-details.service';\r\nimport {\r\n BookingAllDetails,\r\n BookingExtraDetailModel,\r\n BookingGuestDetailModel,\r\n BookingPaymentDetailModel,\r\n BookingPrintModel,\r\n BookingRoomDetailModel,\r\n InvoiceDetailModel,\r\n} from '../../../models/booking/booking-all-details.model';\r\nimport { CurrencyContext } from '../../../models/auth-jwt/token-context';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { InvoiceProcessModel } from '../../../models/booking/invoice-process.model';\r\nimport { MessageTemplateModel } from '../../../models/templates/message-template.model';\r\nimport { BookingDetailPermissionsModel } from '../../../models/permissions/permissions.model';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { SettingsBillingService } from '../../settings/settings-billing/settings-billing-service';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { SettingsTemplatesService } from '../../settings/settings-templates/settings-templates.service';\r\nimport { first, tap, catchError } from 'rxjs/operators';\r\nimport { of } from 'rxjs';\r\nimport { SettingsPartnersService } from '../../settings/settings-partners/settings-partners.service';\r\nimport {InvoiceType} from '../../../enums/invoice-type.enum';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\nimport { FunctionModel } from 'src/app/models/function-room/function.model';\r\nimport CookieHelper from 'src/app/shared/helpers/cookie-helper';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\nimport { BookingCancellationPolicy } from 'src/app/models/booking/booking-cancellation-policy.model';\r\nimport { EnumModel } from 'src/app/models/shared/enum-model';\r\nimport { PaymentActionType } from 'src/app/enums/payment-action-type.enum';\r\nimport { InvoiceTemplatePDModel } from 'src/app/models/templates/invoice-template-pd.mode';\r\n\r\n@Component({\r\n selector: 'app-booking-details',\r\n templateUrl: './booking-details.component.html',\r\n styleUrls: ['./booking-details.component.less'],\r\n})\r\nexport class BookingDetailsComponent implements OnInit, AfterViewInit {\r\n @ViewChild('paymentGrid') paymentGrid: DxDataGridComponent;\r\n xmlView = false;\r\n addRoom = false;\r\n editRoom = false;\r\n deleteRoom = false;\r\n addExtra = false;\r\n editExtra = false;\r\n deleteExtra = false;\r\n moveExtra = false;\r\n addGuest = false;\r\n editGuest = false;\r\n openMessageTemplates = false;\r\n openPartnerMessageTemplates = false;\r\n deleteGuest = false;\r\n addPayment = false;\r\n editPayment = false;\r\n addInvoice = false;\r\n editInvoice = false;\r\n openInvoiceMessageTemplates = false;\r\n updatePartnerPopup = false;\r\n disableEditMode = false;\r\n paid = false;\r\n loader = false;\r\n emailInvoice = false;\r\n infoArrival: any = '';\r\n infoDeparture: any = '';\r\n cancelBookingPopup = false;\r\n unCancelBookingPopup = false;\r\n unCancelBookingMessage = '';\r\n confirmBookingPopup = false;\r\n createInvoicePopup = false;\r\n createInvoicePartnerPopup = false;\r\n checkInConfirm = false;\r\n checkOutConfirm = false;\r\n closeInvoice = false;\r\n deleteInvoice = false;\r\n creditNoteInvoice = false;\r\n notePopup = false;\r\n isFilled = false;\r\n deletePartner = false;\r\n receiptInfo: BookingPrintModel;\r\n\r\n theme: number;\r\n token: TokenContext;\r\n\r\n today: Date;\r\n bookingTo: Date;\r\n\r\n activeTab = 1;\r\n currentBookingRoomId: number;\r\n currentBookingGuestId: number;\r\n currentExtraId: number;\r\n currentGuestId: number;\r\n currentGuestEmail: string;\r\n currentGuestMobilePhone: string;\r\n currentPaymentId: number;\r\n currentInvoiceId: number;\r\n bookingId: number;\r\n partnerId: number;\r\n paymentNo: string;\r\n\r\n isRoomStatusToArrive = false;\r\n\r\n // payment tooltip variables\r\n activePaymentId: number;\r\n showPaymentTooltip = false;\r\n paymentTooltipMessage: string;\r\n\r\n currentRoomModel = new BookingRoomDetailModel();\r\n currentExtraModel = new BookingExtraDetailModel();\r\n allowanceExtras: BookingExtraDetailModel[] = [];\r\n currentGuestModel = new BookingGuestDetailModel();\r\n bookingAllDetails = new BookingAllDetails();\r\n printModel = new BookingPrintModel();\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n confirmCheckInMessage: string;\r\n confirmCheckIn: boolean;\r\n confirmLock: boolean;\r\n confirmUnlock: boolean;\r\n\r\n bookingSummary = false;\r\n sendInvoiceConfirmPopup = false;\r\n\r\n canAddRoom = true;\r\n canDeleteRoom = true;\r\n canEditRoom = true;\r\n canAddExtras = true;\r\n canDeleteExtras = true;\r\n canEditExtras = true;\r\n canAddGuest = true;\r\n canDeleteGuest = true;\r\n canEditGuest = true;\r\n notesIndicatorRoom = false;\r\n notesIndicatorGuest = false;\r\n permissionsModel: BookingDetailPermissionsModel;\r\n canReturnEnquiry = false;\r\n\r\n partnerDetails = null;\r\n\r\n showColorPicker = false;\r\n minBookingFrom: Date = new Date();\r\n maxBookingTo: Date = new Date();\r\n allowNoShow: boolean = false;\r\n confirmNoShowWaiveFees: boolean = false;\r\n confirmCancelWaiveFees: boolean = false;\r\n confirmCancelWaiveFeesMessage: string = 'Booking will be cancelled, do you wish to apply the cancellation penalty?';\r\n confirmNoShowWaiveFeesMessage: string = 'Booking will be set as no-show, do you wish to apply the cancellation penalty?';\r\n canReportMisconduct = false;\r\n canBulkEdit = false;\r\n bulkEditOpen = false;\r\n showMisconductDialog = false;\r\n confirmReturnEnquiryPopup: boolean = false;\r\n confirmUndoCheckInBookingRoom = false;\r\n\r\n paymentActionTypes = PaymentActionType;\r\n newPaymentActionType: PaymentActionType = PaymentActionType.None;\r\n newPaymentSourceData: BookingPaymentDetailModel;\r\n confirmResendPaymentLink: boolean = false;\r\n selectedPaymentLinkId: number;\r\n resendPaymentLinkMessage: string = '';\r\n showFinanceCardIcon: boolean = false;\r\n selectedVoidPaymentId: number;\r\n confirmVoidPayment: boolean = false;\r\n\r\n invoiceTemplateId: number = 0;\r\n invoiceEmailTo: string='';\r\n invoiceGuestId: number = 0;\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private bookingService: BookingDetailsService,\r\n private bookingDetailsService: BookingDetailsService,\r\n private settingsPartnersService: SettingsPartnersService,\r\n private router: Router,\r\n private changeDetRef: ChangeDetectorRef,\r\n private settingsBillingService: SettingsBillingService,\r\n private toasterService: ToastService,\r\n private permissionsService: PermissionsService,\r\n private settingsTemplatesService: SettingsTemplatesService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.token = AuthTokenService.decodeJwtToken();\r\n\r\n this.permissionsModel = this.permissionsService.createPermissionsModel(PermissionsEnum.BookingDetail);\r\n\r\n route.params.subscribe((params: Params) => {\r\n this.bookingId = +params['bookingId'];\r\n const bookingPaymentNo = params['paymentNo'];\r\n if (typeof bookingPaymentNo !== 'undefined') {\r\n this.paymentNo = bookingPaymentNo;\r\n this.paid = true;\r\n }\r\n this.init();\r\n });\r\n\r\n if (router.url.indexOf('finance') > -1) {\r\n this.activeTab = 3;\r\n }\r\n }\r\n\r\n setPaidBooking() {\r\n for (const payment of this.bookingAllDetails.payments) {\r\n if (this.paymentNo === payment.paymentNo) {\r\n payment.paid = true;\r\n }\r\n }\r\n }\r\n\r\n checkBookingRoomsStatus() {\r\n for (const room of this.bookingAllDetails.rooms) {\r\n if (room.status.value === 'ToArrive') {\r\n this.isRoomStatusToArrive = true;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n openXmlPreview() {\r\n this.xmlView = true;\r\n }\r\n\r\n showTooltip(e): void {\r\n setTimeout(() => {\r\n e.showMessage = true;\r\n }, 100);\r\n }\r\n\r\n hideTooltip(e): void {\r\n setTimeout(() => {\r\n e.showMessage = false;\r\n }, 100);\r\n }\r\n\r\n togglePricingInfoTooltip(e): void {\r\n setTimeout(() => {\r\n e.showPricingInfo = e.showPricingInfo ? !e.showPricingInfo : true;\r\n }, 100);\r\n }\r\n\r\n\r\n init() {\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n this.bookingAllDetails = this.route.snapshot.data.bookingAllDetails;\r\n console.log('Booking details', this.bookingAllDetails);\r\n this.today = new Date(new Date().toDateString());\r\n this.checkBookingRoomsStatus();\r\n\r\n this.bookingAllDetails.payments.forEach((x) => (x.paid = false));\r\n this.showFinanceCardIcon = this.bookingAllDetails.payments.filter(x => ['Tokenise','Verify','VerifyToken','CaterPay','Rebill','ChargeToken','PaymentLink'].indexOf(x.type.value) >= 0 && (x.canChargeToken || x.canRebill || x.canRefund || x.canVerifyToken || x.canVoid)).length > 0;\r\n this.setArrivalAndDepartureDates();\r\n\r\n if (this.bookingAllDetails.info.status === 'Cancelled') {\r\n this.canAddRoom = false;\r\n }\r\n\r\n if (this.bookingAllDetails.info.partnerId != null) {\r\n if (['Owner','Manager','Supervisor','Receptionist'].indexOf(AuthTokenService.decodeJwtToken().User.Role.Name) >=0)\r\n {\r\n this.settingsPartnersService\r\n .getPartnerDetailsPd(this.bookingAllDetails.info.partnerId)\r\n .pipe(\r\n first(),\r\n tap((result) => {\r\n this.partnerDetails = result.partnerModel;\r\n }),\r\n catchError((e) => (this.partnerDetails = null))\r\n )\r\n .subscribe();\r\n }\r\n }\r\n\r\n this.bookingAllDetails.logs.forEach(x => {\r\n if (x.description.indexOf('Booking Enquired!') > -1) {\r\n this.canReturnEnquiry = true;\r\n }\r\n })\r\n\r\n this.settingsTemplatesService.getInvoiceTemplateForProperty().subscribe((response) => {\r\n let invoiceTemplatePDModel: InvoiceTemplatePDModel = response;\r\n this.invoiceTemplateId = invoiceTemplatePDModel.messageGuestTemplate.id;\r\n });\r\n\r\n this.setMinMaxBookingFromTo();\r\n this.setCanReportMisconduct();\r\n this.setCanBulkEdit();\r\n \r\n }\r\n\r\n setMinMaxBookingFromTo() {\r\n this.minBookingFrom = new Date(Math.min.apply(Math, this.bookingAllDetails.rooms.map(function(o) { return new Date(o.bookingFrom); })));\r\n this.maxBookingTo = new Date(Math.max.apply(Math, this.bookingAllDetails.rooms.map(function(o) { return new Date(o.bookingTo); })));\r\n }\r\n\r\n setCanReportMisconduct() {\r\n this.canReportMisconduct = false;\r\n if (this.bookingAllDetails.info.otaChannel == 'BCOM' && (this.bookingAllDetails.info.status == 'Arrived' || this.bookingAllDetails.info.status == 'Departed'))\r\n {\r\n if (['Owner','Manager','Supervisor'].indexOf(AuthTokenService.decodeJwtToken().User.Role.Name) >=0)\r\n {\r\n //misconduct can be reported from day after check-in to 7 days after\r\n var currentDate = new Date();\r\n var currentDatePlusSeven = new Date(new Date().setDate(new Date().getDate() + 7));\r\n if (currentDate > new Date(this.minBookingFrom.getTime() + 86400000) && this.maxBookingTo < currentDatePlusSeven)\r\n {\r\n this.canReportMisconduct = true;\r\n }\r\n \r\n }\r\n }\r\n\r\n }\r\n\r\n setCanBulkEdit() {\r\n this.canBulkEdit = false;\r\n\r\n if ((this.bookingAllDetails.info.status == 'Confirmed' || this.bookingAllDetails.info.status == 'Enquiry') \r\n && (this.bookingAllDetails.info.otaChannel == null || this.bookingAllDetails.info.otaChannel==\"0\"))\r\n {\r\n if (this.bookingAllDetails.rooms != null && this.bookingAllDetails.rooms.length > 1)\r\n {\r\n if (this.bookingAllDetails.rooms.filter(x => x.locked == true).length == 0) {\r\n const firstDateFrom = this.bookingAllDetails.rooms[0].bookingFrom;\r\n const firstDateTo = this.bookingAllDetails.rooms[0].bookingTo;\r\n const allEqual = this.bookingAllDetails.rooms.every( r => r.bookingFrom === firstDateFrom && r.bookingTo === firstDateTo);\r\n this.canBulkEdit = allEqual;\r\n\r\n }\r\n else {\r\n console.log('Cannot bulk edit booking - some rooms are locked');\r\n }\r\n }\r\n else {\r\n console.log('Cannot bulk edit booking - no rooms or only 1');\r\n }\r\n }\r\n }\r\n\r\n updateBookingAllDetails() {\r\n this.loader = true;\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n const bookingId = this.route.snapshot.params.bookingId;\r\n this.bookingDetailsService.getBookingDetails(bookingId).subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.bookingAllDetails = response;\r\n this.bookingAllDetails.payments.forEach((x) => (x.paid = false));\r\n this.checkForNotes();\r\n this.checkBookingRoomsStatus();\r\n this.setArrivalAndDepartureDates();\r\n this.setCanReportMisconduct();\r\n this.setCanBulkEdit();\r\n this.setMinMaxBookingFromTo();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n\r\n this.bookingAllDetails.payments.forEach((x) => (x.paid = false));\r\n }\r\n\r\n updateBookingDetails() {\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n const bookingId = this.route.snapshot.params.bookingId;\r\n this.bookingDetailsService.getBookingDetails(bookingId).subscribe(\r\n (response) => {\r\n this.bookingAllDetails = response;\r\n this.bookingAllDetails.payments.forEach((x) => (x.paid = false));\r\n this.checkBookingRoomsStatus();\r\n },\r\n (error) => {}\r\n );\r\n\r\n this.bookingAllDetails.payments.forEach((x) => (x.paid = false));\r\n }\r\n\r\n changeTab(index) {\r\n this.activeTab = index;\r\n }\r\n\r\n ngOnInit() {\r\n this.checkForNotes();\r\n }\r\n\r\n checkForNotes() {\r\n const notesRoom = this.bookingAllDetails.rooms.find((n) => n.notes !== null && n.notes !== '');\r\n const notesGuest = this.bookingAllDetails.guests.find((n) => n.notes !== null && n.notes !== '');\r\n if (notesRoom === undefined) {\r\n this.notesIndicatorRoom = false;\r\n } else {\r\n this.notesIndicatorRoom = true;\r\n }\r\n if (notesGuest === undefined) {\r\n this.notesIndicatorGuest = false;\r\n } else {\r\n this.notesIndicatorGuest = true;\r\n }\r\n }\r\n ngAfterViewInit(): void {\r\n if (this.router.url.indexOf('finance') > -1) {\r\n this.changeDetRef.detectChanges();\r\n const pageSize = this.paymentGrid.instance.pageSize();\r\n const totalRecords = this.bookingAllDetails.payments.length;\r\n const totalPages: number = Math.ceil(totalRecords / pageSize);\r\n\r\n this.paymentGrid.instance.pageIndex(totalPages - 1);\r\n\r\n if (this.paid) {\r\n this.setPaidBooking();\r\n }\r\n }\r\n }\r\n\r\n // \r\n\r\n openNoteEditPopup() {\r\n this.notePopup = true;\r\n }\r\n\r\n cancelBooking() {\r\n this.cancelBookingPopup = true;\r\n }\r\n unCancelBooking(type: number) {\r\n if (type == 1) {\r\n this.unCancelBookingMessage = \"Are you sure you want to un-cancel this booking?\"; \r\n }\r\n if (type == 2) {\r\n this.unCancelBookingMessage = \"Are you sure you want to undo the 'no show' status?\";\r\n }\r\n this.unCancelBookingPopup = true;\r\n }\r\n\r\n CreateInvoice() {\r\n if (this.bookingAllDetails.info.partnerId === null) {\r\n this.createInvoicePopup = true;\r\n this.createInvoicePartnerPopup = false;\r\n } else {\r\n this.createInvoicePartnerPopup = true;\r\n this.createInvoicePopup = false;\r\n }\r\n }\r\n\r\n confirmBooking() {\r\n this.confirmBookingPopup = true;\r\n }\r\n\r\n confirmBookingComplete() {\r\n this.loader = true;\r\n this.bookingDetailsService.confirmBooking(this.bookingId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n unCancelBookingConfirm() {\r\n this.loader = true;\r\n this.bookingDetailsService.unCancelBooking(this.bookingId).subscribe(\r\n (response) => {\r\n if (response.length > 0) {\r\n this.toasterService.showToast('', response, null, ToastEventType.Error, true, 10000);\r\n }\r\n this.updateBookingAllDetails();\r\n this.canAddRoom = true;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n cancelBookingConfirm() {\r\n this.loader = true;\r\n this.bookingDetailsService.getCancellationPolicy(this.bookingId).subscribe(\r\n (response) => {\r\n let result: BookingCancellationPolicy;\r\n result = response;\r\n if (result.applies && result.penaltyAmount > 0)\r\n {\r\n this.confirmCancelWaiveFees = true;\r\n this.confirmCancelWaiveFeesMessage = `Booking will be cancelled.

Do you wish to apply the ${result.policyType.toLowerCase()} cancellation penalty (${this.token.Currency.Symbol}${result.penaltyAmount.toFixed(2)})?`;\r\n this.loader = false;\r\n }\r\n else \r\n {\r\n this.ConfirmCancelBooking(0);\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n \r\n }\r\n\r\n ConfirmCancelBooking(applyPenalty: number) {\r\n this.loader = true;\r\n this.bookingDetailsService.cancelBooking(this.bookingId, applyPenalty).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n this.canAddRoom = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n returnEnquiry() {\r\n this.confirmReturnEnquiryPopup = true;\r\n }\r\n\r\n returnEnquiryConfirm() {\r\n this.loader = true;\r\n this.bookingDetailsService.returnEnquiry(this.bookingId).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Enquiry Booking', 'Booking successfully returned to enquiry status.', null, ToastEventType.Success, true, 5000);\r\n this.updateBookingAllDetails();\r\n }\r\n else {\r\n this.toasterService.showToast('Error', result.errors[0], null, ToastEventType.ErrorAlert, true, 5000);\r\n this.loader = false;\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n undoCheckInBookingRoom(bookingRoomId: number) {\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.confirmUndoCheckInBookingRoom = true;\r\n }\r\n\r\n confirmUndoCheckInBookingRoomComplete() {\r\n this.loader = true;\r\n this.bookingDetailsService.bookingRoomUndoCheckIn(this.currentBookingRoomId).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('', 'Check-in was successfully reversed.', null, ToastEventType.Success, true, 5000);\r\n }\r\n else if (result.actionResult === \"Errored\"){\r\n this.toasterService.showToast('Error', result.errors[0], null, ToastEventType.ErrorAlert, true, 5000);\r\n this.loader = false;\r\n }\r\n else if (result.actionResult === \"CompleteWithWarnings\"){\r\n this.toasterService.showToast('Error', result.warnings[0], null, ToastEventType.Warning, true, 5000);\r\n this.loader = false;\r\n }\r\n\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n ); \r\n }\r\n\r\n noShowConfirm() {\r\n this.loader = true;\r\n this.bookingDetailsService.getCancellationPolicy(this.bookingId).subscribe(\r\n (response) => {\r\n let result: BookingCancellationPolicy;\r\n result = response;\r\n if (result.applies && result.penaltyAmount > 0)\r\n {\r\n this.confirmNoShowWaiveFees = true;\r\n if (result.otaChannel == 'BCOM') {\r\n this.confirmNoShowWaiveFeesMessage = `Booking will be set as no-show and reported to Booking.com.

Do you wish to apply the ${result.policyType.toLowerCase()} cancellation penalty (${this.token.Currency.Symbol}${result.penaltyAmount.toFixed(2)})?`;\r\n }\r\n else {\r\n this.confirmNoShowWaiveFeesMessage = `Booking will be set as no-show.

Do you wish to apply the ${result.policyType.toLowerCase()} cancellation penalty (${this.token.Currency.Symbol}${result.penaltyAmount.toFixed(2)})?`;\r\n }\r\n this.loader = false;\r\n }\r\n else \r\n {\r\n this.confirmNoShow(0);\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n\r\n }\r\n\r\n confirmNoShow(applyPenalty:number) {\r\n this.loader = true;\r\n this.bookingDetailsService.noShowBooking(this.bookingId, applyPenalty).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Report no show', result.successMessage, null, ToastEventType.Success, true, 5000);\r\n this.updateBookingAllDetails();\r\n }\r\n else {\r\n this.toasterService.showToast('Report no show', result.errors[0], null, ToastEventType.ErrorAlert, true, 5000);\r\n this.loader = false;\r\n }\r\n \r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n createInvoiceConfirm(value) {\r\n if (value === null) {\r\n this.partnerId = null;\r\n } else {\r\n this.partnerId = value === 'guest' ? null : this.bookingAllDetails.info.partnerId;\r\n }\r\n this.loader = true;\r\n this.bookingDetailsService.createInvoiceFromBooking(this.bookingId, this.partnerId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n //
\r\n\r\n // \r\n\r\n cellClickRooms(e) {\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n this.openEditRoom(e.data);\r\n }\r\n }\r\n\r\n addNewRoom() {\r\n this.addRoom = true;\r\n }\r\n\r\n openEditRoom(data) {\r\n this.currentRoomModel = data;\r\n this.editRoom = true;\r\n }\r\n\r\n openPartnerPopup() {\r\n this.updatePartnerPopup = true;\r\n }\r\n\r\n checkInBookingRoom(bookingRoomId: number) {\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.checkInConfirmFunction();\r\n }\r\n\r\n checkOutBookingRoom(bookingRoomId: number) {\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.checkOutConfirmFunction();\r\n }\r\n\r\n lockBookingRoomModal(bookingRoomId: number) {\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.confirmLock = true;\r\n }\r\n\r\n unlockBookingRoomModal(bookingRoomId: number) {\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.confirmUnlock = true;\r\n }\r\n\r\n lockConfirmFunction(lockIt: boolean) {\r\n this.loader = true;\r\n let room = this.bookingAllDetails.rooms.find((x) => x.bookingRoomId == this.currentBookingRoomId);\r\n room.locked = lockIt;\r\n\r\n this.bookingDetailsService.updateBookingRoom(room, true).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n checkInConfirmFunction(checkGuestBefore = true) {\r\n this.loader = true;\r\n this.bookingDetailsService.bookingRoomCheckIn(this.currentBookingRoomId, false, checkGuestBefore).subscribe(\r\n (response) => {\r\n if (response.includes('Guest')) {\r\n this.confirmCheckInMessage = response;\r\n this.confirmCheckInMessage += ' Are you sure you want to proceed?';\r\n this.confirmCheckIn = true;\r\n this.loader = false;\r\n return;\r\n } else if (response) {\r\n this.toasterService.showToast('', response, null, ToastEventType.Success, true, 5000);\r\n }\r\n\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n checkOutConfirmFunction() {\r\n this.loader = true;\r\n this.bookingDetailsService.bookingRoomCheckOut(this.currentBookingRoomId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n deleteRoomModal(bookingRoomId) {\r\n this.deleteRoom = true;\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.checkForNotes();\r\n }\r\n\r\n deletePartnerModal() {\r\n this.deletePartner = true;\r\n }\r\n\r\n confirmRoomDelete() {\r\n this.loader = true;\r\n this.bookingDetailsService.deleteBookingRoom(this.currentBookingRoomId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n confirmPartnerDelete() {\r\n this.loader = true;\r\n this.bookingDetailsService.deleteBookingPartner(this.bookingAllDetails.info.bookingId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n updateBookingPartner() {\r\n this.loader = true;\r\n this.bookingDetailsService\r\n .updateBookingPartner(this.bookingAllDetails.info.bookingId, this.bookingAllDetails.info.partnerId)\r\n .subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n this.updatePartnerPopup = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n // \r\n\r\n // \r\n\r\n cellClickExtras(e) {\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n this.editSaleItem(e.data);\r\n }\r\n }\r\n\r\n addSaleItem() {\r\n this.addExtra = true;\r\n }\r\n\r\n editSaleItem(extraModel: BookingExtraDetailModel) {\r\n this.editExtra = true;\r\n this.currentExtraModel = extraModel;\r\n this.allowanceExtras = this.bookingAllDetails.extras.filter(x => x.itemType.id == 'AllowanceItem')\r\n }\r\n\r\n deleteExtrasModal(id) {\r\n this.currentExtraId = id;\r\n this.deleteExtra = true;\r\n }\r\n\r\n deleteSaleItem() {\r\n this.loader = true;\r\n this.bookingDetailsService.deleteBookingExtra(this.currentExtraId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n totalRoomsPrice(): number {\r\n let total = 0;\r\n this.bookingAllDetails.rooms.forEach((x) => (total += x.price));\r\n return total;\r\n }\r\n\r\n totalInvoices(): number {\r\n let total = 0;\r\n this.bookingAllDetails.invoices.forEach((x) => (total += x.amount));\r\n return total;\r\n }\r\n\r\n totalExtrasPrice(): number {\r\n let total = 0;\r\n this.bookingAllDetails.extras.forEach((x) => (total += x.total));\r\n return total;\r\n }\r\n\r\n // \r\n\r\n // \r\n\r\n cellClickGuests(e) {\r\n if (e.columnIndex === 3 && e.rowType === 'data') {\r\n this.openEditGuests(e.data);\r\n }\r\n }\r\n\r\n addNewGuests() {\r\n if (this.bookingAllDetails.info.people <= this.bookingAllDetails.guests.length) {\r\n this.toasterService.showToast('', 'You can not add more guests', null, ToastEventType.Error, true, 5000);\r\n return;\r\n }\r\n this.addGuest = true;\r\n }\r\n\r\n openEditGuests(data) {\r\n this.currentGuestModel = data;\r\n this.editGuest = true;\r\n }\r\n\r\n deleteGuestModal(bookingGuestId) {\r\n this.deleteGuest = true;\r\n this.currentGuestId = bookingGuestId;\r\n }\r\n\r\n confirmGuestDelete() {\r\n this.loader = true;\r\n this.bookingDetailsService.deleteBookingGuest(this.currentGuestId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n sendEmailManually(bookingRoomId: number, bookingGuestId: number, email: string, mobilePhone: string) {\r\n this.currentBookingRoomId = bookingRoomId;\r\n this.currentBookingGuestId = bookingGuestId;\r\n this.currentGuestEmail = email;\r\n this.openMessageTemplates = true;\r\n this.currentGuestMobilePhone = mobilePhone;\r\n }\r\n\r\n sendEmailToPartner() {\r\n this.currentBookingRoomId = this.bookingAllDetails.guests.find((g) => g.leadGuest).bookingRoomId;\r\n this.openPartnerMessageTemplates = true;\r\n }\r\n\r\n // \r\n\r\n // \r\n\r\n addNewPayment() {\r\n this.newPaymentActionType = PaymentActionType.None;\r\n this.newPaymentSourceData = null;\r\n this.addPayment = true;\r\n }\r\n\r\n cellClickPayments(e) {\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n if (e.data.type.name.indexOf('Caterpay') === -1) {\r\n this.editPayments(e.data.id);\r\n }\r\n }\r\n }\r\n\r\n editPayments(id) {\r\n this.currentPaymentId = id;\r\n this.editPayment = true;\r\n }\r\n\r\n togglePaymentTooltip(data: BookingPaymentDetailModel) {\r\n this.activePaymentId = data.id;\r\n this.paymentTooltipMessage = data.note;\r\n this.showPaymentTooltip = !this.showPaymentTooltip;\r\n }\r\n\r\n voidPayment(data: BookingPaymentDetailModel) {\r\n this.selectedVoidPaymentId = data.id;\r\n this.confirmVoidPayment = true;\r\n }\r\n\r\n voidPaymentConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.voidPayment(this.selectedVoidPaymentId).subscribe(\r\n (response) => {\r\n let result: ActionResultModel = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('', 'Payment was successfully cancelled.', null, ToastEventType.Success, true, 5000);\r\n this.updateBookingAllDetails();\r\n }\r\n else if (result.actionResult === \"Errored\"){\r\n this.toasterService.showToast('Error', result.errors[0], null, ToastEventType.ErrorAlert, true, 6000);\r\n this.loader = false;\r\n } \r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n printRecepies(payment: BookingPaymentDetailModel) {\r\n const printData: BookingPrintModel = {\r\n amount: payment.amount,\r\n bookingNo: this.bookingAllDetails.info.bookingRef,\r\n isRefund: payment.purposeName === 'Refund' ? true : false,\r\n };\r\n this.bookingDetailsService.clearReceiptData();\r\n this.bookingDetailsService.setReceiptData(printData);\r\n this.isFilled = true;\r\n }\r\n\r\n viewPrintReceipts(element) {\r\n this.isFilled = false;\r\n\r\n const receipt = window.open(\r\n '',\r\n '_blank',\r\n 'toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=500,height=500'\r\n );\r\n // const text = document.getElementById('receipt-wrapper') as HTMLElement;\r\n\r\n console.log(element);\r\n\r\n receipt.document.write(element.innerHTML);\r\n }\r\n\r\n viewBookingSummary(element) {\r\n this.bookingSummary = false;\r\n\r\n const receipt = window.open('', '_blank', 'toolbar=yes,scrollbars=yes,resizable=yes');\r\n\r\n receipt.document.write(element.innerHTML);\r\n }\r\n\r\n addNewInvoice() {\r\n this.addInvoice = true;\r\n }\r\n\r\n editExistInvoice(data: InvoiceDetailModel) {\r\n this.currentInvoiceId = data.id;\r\n if (data.status.value === 'Closed' || data.status.value === 'Reversed' || data.status.value === 'CreditNote') {\r\n this.disableEditMode = true;\r\n } else {\r\n this.disableEditMode = false;\r\n }\r\n this.editInvoice = true;\r\n }\r\n\r\n cellClickInvoice(e) {\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n this.editExistInvoice(e.data);\r\n }\r\n }\r\n\r\n calculatePaymentsTotal(): number {\r\n let total = 0;\r\n this.bookingAllDetails.payments.forEach((x) => {\r\n if (x.status === 'Success') {\r\n total += x.amount;\r\n }\r\n });\r\n\r\n return total;\r\n }\r\n\r\n closeInvoiceFunction(id) {\r\n this.currentInvoiceId = id;\r\n this.closeInvoice = true;\r\n }\r\n\r\n closeInvoiceConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.closeInvoice(this.currentInvoiceId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n deleteInvoiceFunction(id) {\r\n this.currentInvoiceId = id;\r\n this.deleteInvoice = true;\r\n }\r\n\r\n deleteInvoiceConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.deleteInvoice(this.currentInvoiceId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n createCreditNoteFunction(id) {\r\n this.currentInvoiceId = id;\r\n this.creditNoteInvoice = true;\r\n }\r\n\r\n createCreditNoteConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.createCreditNote(this.currentInvoiceId).subscribe(\r\n (response) => {\r\n this.updateBookingAllDetails();\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n printInvoice(invoiceId: number) {\r\n this.loader = true;\r\n const invoices: InvoiceProcessModel[] = [];\r\n\r\n const invoiceProcessModel = new InvoiceProcessModel();\r\n invoiceProcessModel.bookingId = this.bookingId;\r\n invoiceProcessModel.invoiceId = invoiceId;\r\n\r\n invoices.push(invoiceProcessModel);\r\n\r\n this.settingsBillingService.exportInvoicesToPdf(invoices, InvoiceType.Booking).subscribe(\r\n (response) => {\r\n const blob = new Blob([response], { type: 'application/pdf' });\r\n const blobUrl = URL.createObjectURL(blob);\r\n const iframe = document.createElement('iframe');\r\n const nav = (window.navigator as any);\r\n iframe.style.display = 'none';\r\n\r\n document.body.appendChild(iframe);\r\n\r\n iframe.onload = function () {\r\n const date = new Date();\r\n const dateString =\r\n date.getDate() +\r\n '/' +\r\n date.getMonth() +\r\n '/' +\r\n date.getFullYear() +\r\n ' ' +\r\n date.getHours() +\r\n ':' +\r\n date.getMinutes() +\r\n ':' +\r\n date.getSeconds();\r\n\r\n if (nav.msSaveOrOpenBlob) {\r\n // iframe.contentWindow.document.execCommand('print', false, null);\r\n nav.msSaveOrOpenBlob(blob, 'Invoice-' + dateString + '.pdf');\r\n } else if (window.navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {\r\n const a = document.createElement('a');\r\n document.body.appendChild(a);\r\n a.href = blobUrl;\r\n a.download = 'Invoice-' + dateString + '.pdf';\r\n a.target = '_blank';\r\n a.click();\r\n } else {\r\n iframe.contentWindow.print();\r\n }\r\n };\r\n\r\n iframe.src = blobUrl;\r\n\r\n this.loader = false;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n goToGuestRegistration() {\r\n this.bookingDetailsService.getGuestRegistrationToken(this.route.snapshot.params.bookingId).subscribe(\r\n (response) => {\r\n const guestRegistrationToken = response;\r\n const fromCms = 1;\r\n this.router.navigate(['/guest-registration'], {\r\n queryParams: { token: guestRegistrationToken, cameFromCms: fromCms },\r\n });\r\n },\r\n (error) => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n navigateToCalendar()\r\n {\r\n const fromDate: Date = new Date(this.minBookingFrom.setDate(this.minBookingFrom.getDate() - 2));\r\n CookieHelper.setCookie('dateFrom', fromDate, 600, false);\r\n if (this.bookingId != null && this.bookingId > 0) {\r\n CookieHelper.setCookie('calendarHighlightBookingId', this.bookingId, 120, false);\r\n }\r\n \r\n\r\n this.router.navigate(['/booking/calendar']); \r\n }\r\n\r\n openConfirmSendingInvoice(invoice) {\r\n this.currentInvoiceId = invoice.id;\r\n\r\n const currentInvoice = this.bookingAllDetails.invoices.find((i) => i.id == this.currentInvoiceId);\r\n if (currentInvoice.guestId != null) {\r\n this.invoiceEmailTo = this.bookingAllDetails.guests.find(x => x.guestId == currentInvoice.guestId).guest.email;\r\n this.invoiceGuestId = currentInvoice.guestId;\r\n }\r\n else if (currentInvoice.partnerId != null) {\r\n this.invoiceEmailTo = this.partnerDetails.email;\r\n }\r\n\r\n this.sendInvoiceConfirmPopup = true;\r\n }\r\n\r\n closeSendInvoice() {\r\n this.sendInvoiceConfirmPopup = false;\r\n }\r\n\r\n getTemplateAndSendInvoice(template: MessageTemplateModel) {\r\n const invoices: InvoiceProcessModel[] = [];\r\n\r\n const model = new InvoiceProcessModel();\r\n model.invoiceId = this.currentInvoiceId;\r\n model.bookingId = this.bookingId;\r\n\r\n invoices.push(model);\r\n\r\n this.settingsBillingService.emailInvoices(template.id, invoices, InvoiceType.Booking).subscribe((response) => {});\r\n }\r\n\r\n setArrivalAndDepartureDates() {\r\n if (new Date(this.bookingAllDetails.info.arrival) < new Date(1, 1, 1)) {\r\n this.infoArrival = '-';\r\n } else {\r\n this.infoArrival = this.bookingAllDetails.info.arrival;\r\n }\r\n\r\n if (new Date(this.bookingAllDetails.info.departure) < new Date(1, 1, 1)) {\r\n this.infoDeparture = '-';\r\n } else {\r\n this.infoDeparture = this.bookingAllDetails.info.departure;\r\n }\r\n }\r\n // \r\n\r\n bookingSummaryPrint() {\r\n this.bookingSummary = true;\r\n }\r\n\r\n toggleColorPicker() {\r\n this.showColorPicker = !this.showColorPicker;\r\n }\r\n\r\n onColorPicked(color: string) {\r\n this.loader = true;\r\n this.bookingDetailsService\r\n .saveBookingColor({ bookingRef: this.bookingAllDetails.info.bookingRef, color: color })\r\n .subscribe(\r\n (res) => {\r\n this.loader = false;\r\n this.bookingAllDetails.groupColor = color;\r\n this.showColorPicker = false;\r\n },\r\n (err) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n navigateFunction() {\r\n if (this.bookingAllDetails.functions.length >= 1) {\r\n let functionId = this.bookingAllDetails.functions[0].id;\r\n this.router.navigate(['function/details', functionId]);\r\n }\r\n }\r\n\r\n reportMisconduct() {\r\n this.showMisconductDialog = true;\r\n }\r\n\r\n moveEPOSModal(id) {\r\n this.currentExtraId = id;\r\n this.moveExtra = true;\r\n }\r\n\r\n openBulkEdit() {\r\n this.bulkEditOpen = true;\r\n }\r\n\r\n paymentAction(actionType: PaymentActionType, data: BookingPaymentDetailModel) {\r\n \r\n this.newPaymentActionType = actionType;\r\n this.newPaymentSourceData = data;\r\n switch (actionType)\r\n {\r\n case 1: //verify token\r\n break;\r\n case 2: //rebill\r\n break;\r\n case 3: //charge token\r\n break;\r\n case 4: //refund\r\n break;\r\n }\r\n this.addPayment = true;\r\n }\r\n\r\n cardSummary(payment: BookingPaymentDetailModel) {\r\n\r\n if (payment.card != null && payment.card.length > 0) {\r\n return`**${payment.card.substring(Math.max(0, payment.card.length - 4))} ${payment.cardExpiry}`;\r\n }\r\n return '';\r\n }\r\n\r\n paymentClass(payment: BookingPaymentDetailModel) {\r\n switch (payment.status) {\r\n case \"Failed\":\r\n return \"payment-failed\";\r\n case \"Pending\":\r\n return \"payment-pending\";\r\n case \"Cancelled\":\r\n return \"payment-cancelled\";\r\n default: \r\n return \"\";\r\n }\r\n }\r\n\r\n resendPaymentLink(payment: BookingPaymentDetailModel) {\r\n if (payment.status == \"Pending\")\r\n {\r\n this.confirmResendPaymentLink = true;\r\n this.resendPaymentLinkMessage = `Do you want to resend the payment request for ${this.token.Currency.Symbol}${payment.amount} to ${payment.paidBy}?`;\r\n this.selectedPaymentLinkId = payment.id;\r\n }\r\n }\r\n\r\n resendPaymentLinkConfirmed() {\r\n this.loader = true;\r\n this.bookingDetailsService.resendPaymentLink(this.selectedPaymentLinkId)\r\n .subscribe(\r\n (res) => {\r\n this.toasterService.showToast('Resend payment link', 'Payment link has been resent', null, ToastEventType.Success, true, 5000);\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.log(error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n}\r\n","
\r\n
\r\n

\r\n Booking 0 ? 'red-letters' : 'blue-letters'\">#{{ bookingAllDetails?.info.bookingRef }}\r\n !\r\n \r\n \r\n

\r\n
\r\n
\r\n
    \r\n
  • \r\n Booker: {{ bookingAllDetails?.info.booker }}\r\n
  • \r\n
  • \r\n Status:\r\n {{ bookingAllDetails?.info.status }}\r\n
  • \r\n
  • \r\n Promo code: {{ bookingAllDetails?.info?.promoCode }}\r\n
  • \r\n
  • \r\n Partner:\r\n {{ bookingAllDetails?.info?.partnerShortName }}\r\n \r\n \r\n \r\n\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n People: {{ bookingAllDetails?.info?.people }}\r\n
  • \r\n
  • \r\n Made by: {{ bookingAllDetails.source }}\r\n
  • \r\n
  • 0\">\r\n
    Function:
    \r\n
    \r\n
      \r\n
    • {{f.functionDesc}}
    • \r\n
    \r\n
    \r\n\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n Check-In:\r\n {{\r\n infoArrival | date: 'MMM dd, yyyy'\r\n }}\r\n {{ infoArrival }}\r\n
  • \r\n
  • \r\n Check-Out:\r\n {{\r\n infoDeparture | date: 'MMM dd, yyyy'\r\n }}\r\n {{ infoDeparture }}\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n Total:\r\n {{ currencyContext?.Symbol }}{{ bookingAllDetails?.info?.total | number: '1.2-2' }}\r\n
  • \r\n
  • \r\n Balance:\r\n {{ currencyContext?.Symbol }}{{ bookingAllDetails?.info?.balance | number: '1.2-2' }}\r\n
  • \r\n
  • \r\n Cancellation penalty:\r\n {{ currencyContext?.Symbol\r\n }}{{ bookingAllDetails?.info?.cancellationValue | number: '1.2-2' }}\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n OTA Reference:\r\n {{\r\n bookingAllDetails?.info.otaRef\r\n }}\r\n {{\r\n bookingAllDetails?.info.otaRef\r\n }}\r\n
  • \r\n
  • \r\n
    Virtual card:
    \r\n
    {{ bookingAllDetails?.info.virtualCardNotes }}
    \r\n
  • \r\n
  • \r\n
    Note:
    \r\n \r\n
    {{ bookingAllDetails?.info.notes }}
    \r\n
  • \r\n
  • \r\n
    Add note
    \r\n \r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
1\">\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
0\">\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n Rooms\r\n \r\n \r\n \r\n
\r\n
\r\n Guests\r\n \r\n \r\n \r\n
\r\n
Finance
\r\n
Logs
\r\n\r\n
\r\n

Rooms

\r\n \r\n
\r\n \r\n {{ n.data.bookingRoomShortName }}\r\n
\r\n\r\n
\r\n {{ n.data.adults + n.data.children }}\r\n
\r\n\r\n
\r\n {{ b.data.bookingFrom | date: 'MMM dd, yyyy' }}\r\n
\r\n\r\n
\r\n {{ b.data.bookingTo | date: 'MMM dd, yyyy' }}\r\n
\r\n\r\n
\r\n
{{ currencyContext.Symbol }}{{ b.data.price | number: '1.2-2' }}
\r\n 1\">\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n {{ info.column.caption }}\r\n
\r\n
\r\n {{ info.column.caption }}\r\n
\r\n
\r\n {{ item.data.pricingDate | date: 'MMM dd, yyyy' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.price | number: '1.2-2' }}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
{{ item.data.notes }}
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
Add new
\r\n
\r\n \r\n
\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalRoomsPrice() | number: '1.2-2' }}\r\n

\r\n
\r\n\r\n

Extras

\r\n \r\n
\r\n \r\n {{ n.data.saleItemName }}\r\n
\r\n\r\n
\r\n Whole booking \r\n \r\n {{ item.data.bookingRoomShortName }}\r\n \r\n
\r\n\r\n
\r\n {{ item.data.dateLabel }}\r\n
\r\n\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.price | number: '1.2-2' }}\r\n
\r\n\r\n
\r\n {{ q.data.quantity }}\r\n
\r\n\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.total | number: '1.2-2' }}\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n
Add new
\r\n
\r\n \r\n
\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalExtrasPrice() | number: '1.2-2' }}\r\n

\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n {{ n.data.guest.lastName }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
{{ item.data.guest.title }}
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
{{ item.data.notes }}
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
Add new
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

Payments

\r\n \r\n
\r\n \r\n \r\n {{ n.data.paymentNo }}\r\n
\r\n -1 || n.data.status == 'Failed'\"\r\n >\r\n {{ n.data.paymentNo }}\r\n
\r\n \r\n\r\n \r\n {{ cardSummary(item.data) }}\r\n \r\n\r\n \r\n {{ item.data.invoiceNo }}\r\n \r\n\r\n \r\n {{ item.data.purpose.name }}\r\n \r\n\r\n \r\n
\r\n {{ item.data.paidBy }}\r\n
\r\n \r\n\r\n \r\n {{ item.data.type.name }} {{item.data.paymentOrigin != null && item.data.status == 'Success' && (['EmailPaymentLinkToBooking','EmailPaymentLinkToBookingGuest','EmailPaymentLinkAmountToGuestOrPartner'].indexOf(item.data.paymentOrigin.value) >= 0) ? ' [Link]' : ''}}\r\n \r\n\r\n \r\n {{ item.data.date | datex: 'DD/MM/YYYY H:mm' }}\r\n \r\n\r\n \r\n {{ currencyContext.Symbol }}{{ item.data.amount | number: '1.2-2' }}\r\n \r\n\r\n
\r\n\r\n
\r\n \r\n \r\n V\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n V\r\n \r\n \r\n \r\n V\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
Add new
\r\n
\r\n \r\n
\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ calculatePaymentsTotal() | number: '1.2-2' }}\r\n

\r\n
\r\n\r\n

Invoices

\r\n \r\n
\r\n {{ item.data.dateCreated | datex: 'DD/MM/YYYY H:mm' }}\r\n
\r\n
\r\n \r\n {{ n.data.invoiceNo }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.amount | number: '1.2-2' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.paid | number: '1.2-2' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ item.data.balance | number: '1.2-2' }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
Add invoice
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n Invoice All\r\n \r\n
\r\n
\r\n

\r\n Total:\r\n {{ currencyContext.Symbol }}{{ totalInvoices() | number: '1.2-2' }}\r\n

\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n {{ item.data.date | datex: 'DD/MM/YYYY H:mm' }}\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Update partner

\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n Save\r\n \r\n \r\n Cancel\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n
{{ paymentTooltipMessage }}
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild, Input } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { CommunicationService } from '../../../../shared/services/communication.service';\r\nimport { AuthLoginService } from '../../../../shared/services/auth-login.service';\r\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\r\nimport { BookingPrintModel, BookingSummaryModel } from '../../../../models/booking/booking-all-details.model';\r\nimport { CurrencyContext, TokenContext } from '../../../../models/auth-jwt/token-context';\r\nimport { PropertyDetailsModel } from '../../../../models/property/property-details.model';\r\n\r\n@Component({\r\n selector: 'app-booking-print-summary',\r\n templateUrl: './booking-print-summary.component.html',\r\n styleUrls: ['./booking-print-summary.component.less'],\r\n})\r\nexport class BookingPrintSummaryComponent implements OnInit {\r\n @Output() generated = new EventEmitter();\r\n @ViewChild('content', { static: true }) content: ElementRef;\r\n @Input() bookingId: number;\r\n propertyName: string;\r\n imageSafeUrl: SafeUrl;\r\n propertyThumbnail: string;\r\n showImage = false;\r\n receiptInfo: BookingPrintModel;\r\n propertyInfo: PropertyDetailsModel;\r\n bookingSummary: BookingSummaryModel;\r\n token: TokenContext = new TokenContext();\r\n isSuperUser = false;\r\n\r\n constructor(\r\n private bookingService: BookingDetailsService,\r\n private communicationService: CommunicationService,\r\n private sanitizer: DomSanitizer,\r\n private authLoginService: AuthLoginService\r\n ) {}\r\n\r\n ngOnInit() {\r\n this.bookingService.getDataForBookingSummary(this.bookingId).subscribe(\r\n (response: BookingSummaryModel) => {\r\n this.bookingSummary = response;\r\n this.bookingService.getPropertyContact().subscribe(\r\n (propertyResponse: PropertyDetailsModel) => {\r\n this.propertyInfo = propertyResponse;\r\n this.setPicture();\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n setPicture() {\r\n this.authLoginService.getPropertyInvoiceLogoBase64().subscribe(\r\n (response) => {\r\n if (response) {\r\n this.propertyThumbnail = response ? response : '';\r\n this.imageSafeUrl = this.sanitizer.bypassSecurityTrustUrl(\r\n 'data:image/jpeg;base64,' + this.propertyThumbnail\r\n );\r\n this.showImage = true;\r\n setTimeout(() => {\r\n this.generated.emit(this.content.nativeElement);\r\n }, 200);\r\n } else {\r\n this.propertyThumbnail = '';\r\n this.showImage = true;\r\n setTimeout(() => {\r\n this.generated.emit(this.content.nativeElement);\r\n }, 200);\r\n }\r\n },\r\n (error) => {\r\n this.showImage = false;\r\n console.log(error);\r\n }\r\n );\r\n }\r\n}\r\n","\r\n \r\n \r\n {{ propertyInfo?.name }}\r\n \r\n\r\n \r\n \"hotel-image\"\r\n \r\n \r\n


\r\n
\r\n
\r\n {{ propertyInfo?.name }}
\r\n {{ propertyInfo?.address }}
{{ propertyInfo?.address2 }}
{{ propertyInfo?.address3 }}
{{ propertyInfo?.postalCode }}.\r\n
{{ propertyInfo.phone }}
\r\n
{{ propertyInfo.email }}
\r\n
\r\n
\r\n

\r\n \r\n Booking Summary



\r\n Guest Name : {{ bookingSummary?.guestName }}

\r\n Booking reference : {{ bookingSummary?.bookingReference }}

\r\n Booking source : {{ bookingSummary?.source }}

\r\n Notes : {{ bookingSummary?.notes }}

\r\n
\r\n

\r\n Extras Total : {{ bookingSummary?.extrasTotal }}

\r\n Booking Total : {{ bookingSummary?.bookingTotal }}

\r\n Deposit paid : {{ bookingSummary?.depositPaid }}

\r\n Balance : {{ bookingSummary?.balance }}

\r\n \r\n\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { BcomMisconductCategoryModel, BcomMisconductDamageTypeModel, BcomMisconductSubcategoryModel } from 'src/app/models/booking/bcom-misconduct-category.model';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { EnumModelSelected } from 'src/app/models/templates/message-template-pd.model';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { BcomReportMisconductModel } from 'src/app/models/booking/bcom-report-misconduct.model';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\n\r\n@Component({\r\n selector: 'app-booking-report-misconduct',\r\n templateUrl: './booking-report-misconduct.component.html',\r\n styleUrls: ['./booking-report-misconduct.component.less']\r\n})\r\nexport class BookingReportMisconductComponent implements OnInit {\r\n @Input() bookingId: number;\r\n @Input() reportMisconduct: boolean;\r\n @Output() reportMisconductChange = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n\r\n token: TokenContext;\r\n activeTab = 0;\r\n loader = false;\r\n theme: number;\r\n errorMessage: string = null;\r\n selectedSubCategory: BcomMisconductSubcategoryModel = null;\r\n \r\n selectedDamageType: BcomMisconductDamageTypeModel = null;\r\n misconductCategories: BcomMisconductCategoryModel[] = [];\r\n selectedInfo: string = null;\r\n radioOptions = [{value: false, name: 'No'}, {value: true, name: 'Yes'}];\r\n model: BcomReportMisconductModel = null;\r\n\r\n constructor(\r\n private bookingDetailsService: BookingDetailsService,\r\n private toasterService: ToastService,\r\n ) {\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.theme = this.token.User.CmsTheme;\r\n \r\n }\r\n\r\n ngOnInit() {\r\n this.model = new BcomReportMisconductModel(this.bookingId, null, null, null, null, null, false, false);\r\n this.loader = true;\r\n this.bookingDetailsService.getBcomMisconductCategories().subscribe(\r\n (response) => {\r\n if (response) {\r\n this.misconductCategories = response;\r\n console.log('Misconduct categories', this.misconductCategories);\r\n } else {\r\n this.errorMessage = \"An error occurred whilst retrieving the misconduct categories.\";\r\n }\r\n this.loader = false;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.errorMessage = \"An error occurred whilst retrieving the misconduct categories.\";\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n changeTab(index: number) {\r\n if (index > 0 && (this.model.categoryId == null || (this.model.subcategoryId == null && this.model.damageTypeId==null))) {\r\n return;\r\n }\r\n\r\n this.activeTab = index;\r\n }\r\n\r\n setSelectedInfo() {\r\n this.model.subcategoryId = this.selectedSubCategory != null ? this.selectedSubCategory.subcategoryId : null;\r\n this.model.damageTypeId = this.selectedDamageType != null ? this.selectedDamageType.value : null;\r\n if (this.model.categoryId != null && (this.model.subcategoryId != null || this.model.damageTypeId!=null))\r\n {\r\n let category = this.misconductCategories.find(x => x.categoryId == this.model.categoryId);\r\n if (this.model.subcategoryId != null) {\r\n let subCategory = category.subCategories.find(x => x.subcategoryId == this.model.subcategoryId);\r\n this.selectedInfo = `You've chosen to report ${category.title}: ${subCategory.title}`;\r\n }\r\n if (this.model.damageTypeId != null) {\r\n let damageType = category.damageTypes.find(x => x.value == this.model.damageTypeId);\r\n this.selectedInfo = `You've chosen to report ${category.title}: ${damageType.description}`;\r\n }\r\n }\r\n else {\r\n this.selectedInfo = null;\r\n }\r\n \r\n }\r\n\r\n onCategoryOpen(e: any, categoryId: number) {\r\n if (e.target.checked) {\r\n this.model.categoryId = categoryId;\r\n this.model.subcategoryId = null;\r\n this.model.damageTypeId = null;\r\n this.selectedSubCategory = null;\r\n this.selectedDamageType == null;\r\n }\r\n else {\r\n this.model.categoryId = null;\r\n this.model.subcategoryId = null;\r\n this.model.damageTypeId = null;\r\n this.selectedSubCategory = null;\r\n this.selectedDamageType == null;\r\n }\r\n\r\n }\r\n\r\n onChange(e, item) {\r\n if (item === 1) {\r\n this.model.detailsText = e.target.value;\r\n }\r\n if (item === 2) {\r\n this.model.damageCost = e.target.value;\r\n }\r\n }\r\n\r\n submitMisconductReport() {\r\n this.loader = true;\r\n this.errorMessage = null;\r\n console.log('Reporting misconduct details', this.model);\r\n if (this.model.categoryId == null) {\r\n this.errorMessage = \"Please select a category\";\r\n this.loader = false;\r\n return;\r\n }\r\n if ((this.model.subcategoryId == null || this.model.subcategoryId == 0) && (this.model.damageTypeId == null || this.model.damageTypeId == 0)) {\r\n this.errorMessage = \"Please select a subcategory\";\r\n this.loader = false;\r\n return;\r\n }\r\n if (this.model.detailsText == null || this.model.detailsText.length == 0) {\r\n this.errorMessage = \"Please enter some details on the nature of the misconduct\";\r\n this.loader = false;\r\n return;\r\n }\r\n\r\n this.bookingDetailsService.reportBcomMisconduct(this.model).subscribe(\r\n (response) => {\r\n let result: ActionResultModel;\r\n result = response;\r\n if (result.actionResult === \"Success\") {\r\n this.toasterService.showToast('Report misconduct', result.successMessage, null, ToastEventType.Success, true, 5000);\r\n this.loader = false;\r\n this.update.emit();\r\n this.close();\r\n }\r\n else {\r\n this.toasterService.showToast('Report misconduct', result.errors[0], null, ToastEventType.ErrorAlert, true, 5000);\r\n this.loader = false;\r\n }\r\n },\r\n (error) => {\r\n this.loader = false;\r\n this.errorMessage = \"An error occurred whilst reporting misconduct details.\";\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.reportMisconductChange.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n
\r\n

Report Guest Misconduct To Booking.com

\r\n
\r\n {{errorMessage}}\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n {{ subcategory.title }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ damageType.description }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
{{selectedInfo}}
\r\n\r\n
\r\n
Please enter some details on the nature of the misconduct
\r\n \r\n
\r\n\r\n
\r\n
Escalate report?
\r\n \r\n \r\n
\r\n\r\n
\r\n
Allow re-booking in future?
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
Cost of damage ({{ token.Currency.Symbol }})
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\n\r\n@Component({\r\n selector: 'app-confirm-invoice-all-popup',\r\n templateUrl: './confirm-invoice-all-popup.component.html',\r\n styleUrls: ['./confirm-invoice-all-popup.component.less'],\r\n})\r\nexport class ConfirmInvoiceAllPopupComponent implements OnInit {\r\n @Input() confirmModal: boolean;\r\n @Output() confirmModalChange = new EventEmitter();\r\n @Output() confirm = new EventEmitter();\r\n @Output() declined = new EventEmitter();\r\n\r\n value = 'partner';\r\n guest = false;\r\n partner = true;\r\n\r\n theme: number;\r\n\r\n constructor() {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n close() {\r\n this.confirmModalChange.emit(false);\r\n this.declined.emit(true);\r\n }\r\n\r\n setGuestOrPartner(item: string) {\r\n this.value = item;\r\n if (item === 'guest') {\r\n this.guest = true;\r\n this.partner = false;\r\n } else {\r\n this.partner = true;\r\n this.guest = false;\r\n }\r\n }\r\n\r\n confirmFunction() {\r\n this.confirm.emit(this.value);\r\n this.confirmModalChange.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

All uninvoiced accommodation and extras will be invoiced.

\r\n\r\n
\r\n

\r\n Do you want to invoice the
\r\n Partner or the Guest?\r\n

\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\r\nimport { BookingDetailsService } from '../booking-details.service';\r\nimport { BookingNoteModel } from '../../../../models/booking/booking-note.mode';\r\n\r\n@Component({\r\n selector: 'app-note-edit',\r\n templateUrl: './note-edit.component.html',\r\n styleUrls: ['./note-edit.component.less'],\r\n})\r\nexport class NoteEditComponent implements OnInit {\r\n @Input() notePopup: boolean;\r\n @Output() notePopupChange = new EventEmitter();\r\n @Input() bookingRef: string;\r\n @Input() note: string;\r\n @Output() noteChange = new EventEmitter();\r\n\r\n theme: number;\r\n valForm: UntypedFormGroup;\r\n\r\n loader = false;\r\n\r\n creditCard: string;\r\n creditCardValidation: boolean;\r\n\r\n constructor(private fb: UntypedFormBuilder, private bookingDetailService: BookingDetailsService) {\r\n const token = AuthTokenService.decodeJwtToken();\r\n this.theme = token.User.CmsTheme;\r\n\r\n this.valForm = fb.group({\r\n noteText: [this.note],\r\n });\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n saveNote() {\r\n const model = new BookingNoteModel();\r\n model.bookingRef = this.bookingRef;\r\n model.note = this.note;\r\n\r\n this.creditCard = this.note.replace(/[0-9]/g, 'X');\r\n\r\n if (this.creditCard.includes('XXXXXXXXXXXXXXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX-XXXX-XXXX-XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX.XXXX.XXXX.XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX/XXXX/XXXX/XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX XXXX XXXX XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n\r\n if (this.creditCard.includes('XXXX,XXXX,XXXX,XXXX')) {\r\n this.creditCardValidation = true;\r\n this.loader = false;\r\n return;\r\n } else {\r\n this.creditCardValidation = false;\r\n }\r\n this.bookingDetailService.saveBookingNote(model).subscribe(\r\n (res) => {\r\n this.noteChange.emit(this.note);\r\n this.close();\r\n },\r\n (err) => {}\r\n );\r\n }\r\n\r\n close() {\r\n this.notePopupChange.emit(false);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Note

\r\n
\r\n
\r\n \r\n
\r\n Storing credit card data in Caterbook data violates your master service agreement and will lead\r\n to your account being suspended. You should use Caterpay to verify Card data\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { BookingSearchPDModel } from '../../../models/booking/booking-search-pd.model';\r\nimport { Observable } from 'rxjs';\r\nimport { SettingsBookingSearchService } from './settings-booking-search.service';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class BookingsSearchPdResolver {\r\n constructor(private settingsBookingSearchService: SettingsBookingSearchService) {}\r\n\r\n resolve(\r\n route: ActivatedRouteSnapshot,\r\n state: RouterStateSnapshot\r\n ): BookingSearchPDModel | Observable | Promise {\r\n return this.settingsBookingSearchService.getDataForBookingSearch();\r\n }\r\n}\r\n","import { BookingSearchPermissionsModel } from './../../../models/permissions/permissions.model';\r\nimport { Component, OnInit, ViewChild, AfterViewInit, AfterViewChecked } from '@angular/core';\r\nimport {\r\n BookingSearchFilterModel,\r\n BookingSearchConfigurationModel,\r\n BookingSearchRequestModel,\r\n} from '../../../models/booking/booking-search-filter-model';\r\nimport { SettingsBookingSearchService } from './settings-booking-search.service';\r\nimport { BookingSearchPDModel } from '../../../models/booking/booking-search-pd.model';\r\nimport { GridConfiguration, DxGridHelper } from '../../../shared/helpers/dx-grid-helper';\r\nimport CookieHelper from '../../../shared/helpers/cookie-helper';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Router } from '@angular/router';\r\nimport * as FileSaver from 'file-saver';\r\nimport { CurrencyContext } from '../../../models/auth-jwt/token-context';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\n\r\n@Component({\r\n selector: 'app-settings-booking-search',\r\n templateUrl: './settings-booking-search.component.html',\r\n styleUrls: ['./settings-booking-search.component.less'],\r\n})\r\nexport class SettingsBookingSearchComponent implements OnInit, AfterViewInit, AfterViewChecked {\r\n @ViewChild(DxDataGridComponent, { static: true }) grid: DxDataGridComponent;\r\n permissionsModel: BookingSearchPermissionsModel;\r\n\r\n selectedRows: any[] = [];\r\n showFilter = false;\r\n errorMessageDatesArrival = '';\r\n errorMessageDatesDeparture = '';\r\n errorMessageDatesBooked = '';\r\n bookingSearchFilterModel = new BookingSearchFilterModel();\r\n bookingSearchPDModel: BookingSearchPDModel;\r\n bookingSearchGridRequest = new BookingSearchRequestModel();\r\n gridConfiguration: GridConfiguration;\r\n searchValue: string;\r\n pager = {\r\n showPageSizeSelector: false,\r\n showNavigationButtons: true,\r\n allowedPageSizes: [5],\r\n };\r\n\r\n \r\n loaderExportCsv = false;\r\n size: any;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n token: TokenContext = new TokenContext();\r\n\r\n theme: number; \r\n\r\n constructor(\r\n private settingsBookingSearchService: SettingsBookingSearchService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private permissionsService: PermissionsService,\r\n private toasterService: ToastService,\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n this.permissionsModel = this.permissionsService.createPermissionsModel(PermissionsEnum.BookingSearch);\r\n }\r\n\r\n ngOnInit() {\r\n this.bookingSearchPDModel = this.route.snapshot.data.pdData;\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.gridConfiguration = new BookingSearchConfigurationModel();\r\n this.gridConfiguration.service = this.settingsBookingSearchService;\r\n // place to read the cookie and validate\r\n var savedObj = CookieHelper.getCookie('filters', true) || null;\r\n var toggleVal = CookieHelper.getCookie('filterToggle', false) || null;\r\n //console.log(savedObj);\r\n if (savedObj !== null) {\r\n let constructFromCookie = savedObj;\r\n if (constructFromCookie.hasOwnProperty('arrival')) {\r\n this.bookingSearchFilterModel.arrival = constructFromCookie.arrival;\r\n }\r\n if (constructFromCookie.hasOwnProperty('departure')) {\r\n this.bookingSearchFilterModel.departure = constructFromCookie.departure;\r\n }\r\n if (constructFromCookie.hasOwnProperty('bookedOn')) {\r\n this.bookingSearchFilterModel.bookedOn = constructFromCookie.bookedOn;\r\n }\r\n if (constructFromCookie.hasOwnProperty('status')) {\r\n this.bookingSearchFilterModel.status = constructFromCookie.status;\r\n }\r\n if (constructFromCookie.hasOwnProperty('room')) {\r\n this.bookingSearchFilterModel.room = constructFromCookie.room;\r\n }\r\n if (constructFromCookie.hasOwnProperty('roomType')) {\r\n this.bookingSearchFilterModel.roomType = constructFromCookie.roomType;\r\n }\r\n if (constructFromCookie.hasOwnProperty('promoCode')) {\r\n this.bookingSearchFilterModel.promoCode = constructFromCookie.promoCode;\r\n }\r\n if (constructFromCookie.hasOwnProperty('partner')) {\r\n this.bookingSearchFilterModel.partner = constructFromCookie.partner;\r\n }\r\n if (constructFromCookie.hasOwnProperty('source')) {\r\n this.bookingSearchFilterModel.source = constructFromCookie.source;\r\n }\r\n if (constructFromCookie.hasOwnProperty('accomodationSearch')) {\r\n this.bookingSearchFilterModel.accomodationSearch = constructFromCookie.accomodationSearch;\r\n }\r\n if (constructFromCookie.hasOwnProperty('functionSearch')) {\r\n this.bookingSearchFilterModel.functionSearch = constructFromCookie.functionSearch;\r\n }\r\n if (constructFromCookie.hasOwnProperty('functionRoom')) {\r\n this.bookingSearchFilterModel.functionRoom = constructFromCookie.functionRoom;\r\n }\r\n if (constructFromCookie.hasOwnProperty('functionStatus')) {\r\n this.bookingSearchFilterModel.functionStatus = constructFromCookie.functionStatus;\r\n }\r\n if (constructFromCookie.hasOwnProperty('functionBookedOn')) {\r\n this.bookingSearchFilterModel.functionBookedOn = constructFromCookie.functionBookedOn;\r\n }\r\n if (constructFromCookie.hasOwnProperty('functionArrival')) {\r\n this.bookingSearchFilterModel.functionArrival = constructFromCookie.functionArrival;\r\n }\r\n if (constructFromCookie.hasOwnProperty('functionPartner')) {\r\n this.bookingSearchFilterModel.functionPartner = constructFromCookie.functionPartner;\r\n }\r\n if (constructFromCookie.hasOwnProperty('ota')) {\r\n this.bookingSearchFilterModel.ota = constructFromCookie.ota;\r\n }\r\n this.showFilter = (toggleVal !== null) && (toggleVal == 'true' || toggleVal); \r\n }\r\n this.bookingSearchGridRequest.filters = this.bookingSearchFilterModel;\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.initGrid();\r\n }\r\n\r\n initGrid(): void {\r\n DxGridHelper.ConfigureGrid(this.grid, this.bookingSearchGridRequest, this.gridConfiguration);\r\n }\r\n\r\n ngAfterViewChecked(): void {\r\n this.size = document.querySelectorAll('html')[0];\r\n if (this.size.getBoundingClientRect().width < 1400) {\r\n this.grid.instance.pageSize(15);\r\n }\r\n }\r\n\r\n validateDateRangeArrival(): boolean {\r\n if (\r\n new Date(this.bookingSearchFilterModel.arrival.arrivalFrom).getTime() >\r\n new Date(this.bookingSearchFilterModel.arrival.arrivalTo).getTime()\r\n ) {\r\n this.errorMessageDatesArrival = 'Date from must be less than date to.';\r\n return false;\r\n }\r\n \r\n this.errorMessageDatesArrival = '';\r\n return true;\r\n }\r\n\r\n validateFunctionDateRangeArrival(): boolean {\r\n if (\r\n new Date(this.bookingSearchFilterModel.functionArrival.arrivalFrom).getTime() >\r\n new Date(this.bookingSearchFilterModel.functionArrival.arrivalTo).getTime()\r\n ) {\r\n this.errorMessageDatesArrival = 'Date from must be less than date to.';\r\n return false;\r\n }\r\n \r\n this.errorMessageDatesArrival = '';\r\n return true;\r\n }\r\n\r\n validateDateRangeDeparture(): boolean {\r\n if (\r\n new Date(this.bookingSearchFilterModel.departure.departureFrom).getTime() >\r\n new Date(this.bookingSearchFilterModel.departure.departureTo).getTime()\r\n ) {\r\n this.errorMessageDatesDeparture = 'Date from must be less than date to.';\r\n return false;\r\n }\r\n\r\n this.errorMessageDatesDeparture = '';\r\n return true;\r\n }\r\n\r\n validateDateRangeBooked(): boolean {\r\n if (\r\n new Date(this.bookingSearchFilterModel.bookedOn.bookedFrom).getTime() >\r\n new Date(this.bookingSearchFilterModel.bookedOn.bookedTo).getTime()\r\n ) {\r\n this.errorMessageDatesBooked = 'Date from must be less than date to.';\r\n return false;\r\n }\r\n\r\n this.errorMessageDatesBooked = '';\r\n return true;\r\n }\r\n\r\n validateFunctionDateRangeBooked(): boolean {\r\n if (\r\n new Date(this.bookingSearchFilterModel.functionBookedOn.bookedFrom).getTime() >\r\n new Date(this.bookingSearchFilterModel.functionBookedOn.bookedTo).getTime()\r\n ) {\r\n this.errorMessageDatesBooked = 'Date from must be less than date to.';\r\n return false;\r\n }\r\n\r\n this.errorMessageDatesBooked = '';\r\n return true;\r\n }\r\n\r\n validateSearchLength(): boolean {\r\n if (this.searchValue && this.searchValue.length < 3) {\r\n this.showToastError('Please enter a search word of at least 3 characters.','')\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n showToastError(message: string, title?: string) {\r\n this.toasterService.showToast(title ? title : 'Error', message, null, ToastEventType.Error, true, 5000);\r\n }\r\n\r\n toogleFilter() {\r\n this.showFilter = !this.showFilter;\r\n CookieHelper.setCookie('filterToggle', this.showFilter, 300, true);\r\n \r\n }\r\n\r\n searchBookings() {\r\n if (this.validateDateRangeArrival() && this.validateDateRangeDeparture() && this.validateDateRangeBooked() && this.validateSearchLength())\r\n {\r\n this.gridConfiguration.customSearch[0].value = this.searchValue; \r\n this.bookingSearchGridRequest.filters = this.bookingSearchFilterModel;\r\n // place to set cookie for a initial reading\r\n CookieHelper.setCookie('filters', this.bookingSearchFilterModel, 300, true);\r\n this.gridConfiguration.reloadGrid();\r\n this.setGridColumnsForSearchType();\r\n }\r\n }\r\n\r\n exportGrid() {\r\n this.loaderExportCsv = true;\r\n this.settingsBookingSearchService.exportBookingsToCsv(this.bookingSearchGridRequest).subscribe(\r\n (response) => {\r\n const date = new Date();\r\n const dateString =\r\n date.getDate() +\r\n '/' +\r\n (date.getMonth() + 1) +\r\n '/' +\r\n date.getFullYear() +\r\n ' ' +\r\n date.getHours() +\r\n ':' +\r\n date.getMinutes() +\r\n ':' +\r\n date.getSeconds();\r\n if (this.bookingSearchFilterModel.functionSearch) {\r\n FileSaver.saveAs(response, 'Functions' + ' - ' + dateString + '.xlsx');\r\n }\r\n else {\r\n FileSaver.saveAs(response, 'Bookings' + ' - ' + dateString + '.xlsx');\r\n } \r\n this.loaderExportCsv = false;\r\n },\r\n (error) => {\r\n this.loaderExportCsv = false;\r\n }\r\n );\r\n }\r\n\r\n exportAllGrid() {\r\n this.loaderExportCsv = true;\r\n this.settingsBookingSearchService.exportAllBookingsToCsv(this.bookingSearchGridRequest).subscribe(\r\n (response) => {\r\n const date = new Date();\r\n const dateString =\r\n date.getDate() +\r\n '/' +\r\n (date.getMonth() + 1) +\r\n '/' +\r\n date.getFullYear() +\r\n ' ' +\r\n date.getHours() +\r\n ':' +\r\n date.getMinutes() +\r\n ':' +\r\n date.getSeconds();\r\n if (this.bookingSearchFilterModel.functionSearch) {\r\n FileSaver.saveAs(response, 'Functions' + ' - ' + dateString + '.xlsx');\r\n }\r\n else {\r\n FileSaver.saveAs(response, 'Bookings' + ' - ' + dateString + '.xlsx');\r\n } \r\n this.loaderExportCsv = false;\r\n },\r\n (error) => {\r\n this.loaderExportCsv = false;\r\n }\r\n );\r\n }\r\n\r\n renderStatus(s: string) {\r\n const status = this.bookingSearchPDModel.statuses.find((x) => x.value === s);\r\n if (status) {\r\n const name = status.name;\r\n return name;\r\n }\r\n return s;\r\n }\r\n\r\n clearFilters(clearFilterType: boolean ) {\r\n if (clearFilterType) {\r\n for (const prop in this.bookingSearchFilterModel) {\r\n if (prop != 'accomodationSearch' && prop != 'functionSearch')\r\n this.bookingSearchFilterModel[prop].filter = false;\r\n }\r\n }\r\n\r\n const filters = this.bookingSearchFilterModel;\r\n filters.arrival.arrivalFrom = null;\r\n filters.arrival.arrivalTo = null;\r\n filters.departure.departureFrom = null;\r\n filters.departure.departureTo = null;\r\n filters.bookedOn.bookedFrom = null;\r\n filters.bookedOn.bookedTo = null;\r\n filters.status.statuses = null;\r\n filters.room.roomIds = null;\r\n filters.roomType.RoomTypeIds = null;\r\n filters.promoCode.promoCode = null;\r\n filters.partner.partnerIds = null;\r\n filters.source.sources = null;\r\n filters.functionArrival.arrivalFrom = null;\r\n filters.functionArrival.arrivalTo = null;\r\n filters.functionBookedOn.bookedFrom = null;\r\n filters.functionBookedOn.bookedTo = null;\r\n filters.functionStatus.statuses = null;\r\n filters.functionRoom.roomIds = null;\r\n filters.functionPartner.partnerIds = null;\r\n filters.bookedOn.filter = false;\r\n filters.functionBookedOn.filter = false;\r\n filters.ota.otas = null;\r\n filters.ota.filter = false;\r\n\r\n filters.functionStatus.statuses = null;\r\n this.searchValue = '';\r\n CookieHelper.deleteCookie('filters');\r\n\r\n if (clearFilterType) {\r\n filters.accomodationSearch = true;\r\n filters.functionSearch = false;\r\n this.searchBookings();\r\n }\r\n \r\n }\r\n\r\n setFilterType(isFunction:boolean) {\r\n this.bookingSearchFilterModel.functionSearch = isFunction;\r\n this.bookingSearchFilterModel.accomodationSearch = !isFunction; \r\n this.clearFilters(false);\r\n this.searchBookings();\r\n }\r\n\r\n setGridColumnsForSearchType() {\r\n if (this.bookingSearchFilterModel.functionSearch)\r\n {\r\n this.grid.instance.columnOption('functionName', 'visible',true);\r\n this.grid.instance.columnOption('guest', 'caption', 'Contact');\r\n this.grid.instance.columnOption('arrivalDate', 'caption', 'Date');\r\n this.grid.instance.columnOption('departureDate', 'visible',false);\r\n this.grid.instance.columnOption('nights', 'visible', false);\r\n }\r\n else\r\n {\r\n this.grid.instance.columnOption('functionName', 'visible',false);\r\n this.grid.instance.columnOption('guest', 'caption', 'Guest');\r\n this.grid.instance.columnOption('arrivalDate', 'caption', 'Arrival');\r\n this.grid.instance.columnOption('departureDate', 'visible', true);\r\n this.grid.instance.columnOption('nights', 'visible', true);\r\n }\r\n }\r\n\r\n rowClickEvent() {\r\n const id = this.grid.instance.getSelectedRowsData()[0].id;\r\n if (this.grid.instance.getSelectedRowsData()[0].isFunction) {\r\n this.router.navigate(['/function', 'details', id]);\r\n }\r\n else {\r\n this.router.navigate(['/booking', 'details', id]);\r\n }\r\n \r\n }\r\n\r\n showTooltip(e) {\r\n setTimeout(() => {\r\n e.showMessage = true;\r\n }, 100);\r\n }\r\n\r\n hideTooltip(e) {\r\n setTimeout(() => {\r\n e.showMessage = false;\r\n }, 100);\r\n }\r\n\r\n showNotes(e) {\r\n setTimeout(() => {\r\n e.showNotes = true;\r\n }, 100);\r\n }\r\n\r\n hideNotes(e) {\r\n setTimeout(() => {\r\n e.showNotes = false;\r\n }, 100);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n

Booking Search

\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Search\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Filter \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{\r\n errorMessageDatesArrival\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{\r\n errorMessageDatesDeparture\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{\r\n errorMessageDatesBooked\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{\r\n errorMessageDatesArrival\r\n }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {{\r\n errorMessageDatesBooked\r\n }}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n {{ d.data.nights }}\r\n
\r\n
\r\n {{ d.value | date: 'dd/MM/yyyy' }}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
    \r\n
  • {{brNote}}
  • \r\n
  • {{gNote}}
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ currencyContext.Symbol }}{{ d.data.total | number: '1.2-2' }}
\r\n
\r\n {{ currencyContext.Symbol }}{{ d.data.balance | number: '1.2-2' }}\r\n
\r\n
\r\n {{ renderStatus(s.data.status) }}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ renderStatus(s.data.status) }} with penalty - {{ s.data.penaltyType }}.\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ d.value | date: 'dd/MM/yyyy' }}\r\n
\r\n\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n","import { mergeMap } from 'rxjs/operators';\r\nimport { GuestMergeService } from './../guest-merge.service';\r\nimport { Component, OnInit, EventEmitter, Input, Output, ViewChild } from '@angular/core';\r\nimport { GuestMergeViewModel } from '../../../../models/guest-merge/guest-merge-view.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { CurrencyContext } from '../../../../models/auth-jwt/token-context';\r\nimport { Router } from '../../../../../../node_modules/@angular/router';\r\nimport { BookingSearchPDModel } from '../../../../models/booking/booking-search-pd.model';\r\nimport { SettingsBookingSearchService } from '../../settings-booking-search/settings-booking-search.service';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\n\r\n@Component({\r\n selector: 'app-guest-list-bookings',\r\n templateUrl: './guest-list-bookings.component.html',\r\n styleUrls: ['./guest-list-bookings.component.less'],\r\n})\r\nexport class GuestListBookingsComponent implements OnInit {\r\n @ViewChild(DxDataGridComponent) grid: DxDataGridComponent;\r\n @Input() showBookings: boolean;\r\n @Output() showBookingsChange: EventEmitter = new EventEmitter();\r\n @Input() guestForBookings: GuestMergeViewModel;\r\n\r\n loader = false;\r\n theme: number;\r\n bookings;\r\n\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n bookingSearchPDModel: BookingSearchPDModel;\r\n\r\n constructor(\r\n private guestMergeService: GuestMergeService,\r\n private router: Router,\r\n private settingsBookingSearchService: SettingsBookingSearchService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n }\r\n\r\n ngOnInit() {\r\n this.loader = true;\r\n const guestName = `${this.guestForBookings.firstName} ${this.guestForBookings.lastName}`;\r\n this.guestMergeService\r\n .getGuestBookings(this.guestForBookings.id, guestName)\r\n .pipe(\r\n mergeMap((res) => {\r\n this.bookings = res;\r\n return this.settingsBookingSearchService.getDataForBookingSearch();\r\n })\r\n )\r\n .subscribe(\r\n (res) => {\r\n this.loader = false;\r\n this.bookingSearchPDModel = res;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.error(error.message);\r\n }\r\n );\r\n }\r\n\r\n close() {\r\n this.showBookingsChange.emit(false);\r\n }\r\n\r\n renderStatus(s: string) {\r\n const status = this.bookingSearchPDModel.statuses.find((x) => x.value === s);\r\n if (status) {\r\n const name = status.name;\r\n return name;\r\n }\r\n return '';\r\n }\r\n\r\n rowClickEvent(e) {\r\n const id = e.key.id;\r\n this.router.navigate(['/booking', 'details', id]);\r\n }\r\n\r\n showTooltip(e) {\r\n setTimeout(() => {\r\n e.showMessage = true;\r\n }, 100);\r\n }\r\n\r\n hideTooltip(e) {\r\n setTimeout(() => {\r\n e.showMessage = false;\r\n }, 100);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

{{ guestForBookings.fullName }}'s bookings

\r\n \r\n
\r\n {{ d.data.nights }}\r\n
\r\n
\r\n {{ d.value | date: 'dd/MM/yyyy' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ d.data.total | number: '1.2-2' }}\r\n
\r\n
\r\n {{ currencyContext.Symbol }}{{ d.data.balance | number: '1.2-2' }}\r\n
\r\n
\r\n {{ renderStatus(s.data.status) }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ renderStatus(s.data.status) }} with penalty - {{ s.data.penaltyType }}.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n","import { EnumModel } from './../../../../models/shared/enum-model';\r\nimport { GuestMergeService } from '../guest-merge.service';\r\nimport { Component, OnInit, EventEmitter, Input, Output } from '@angular/core';\r\nimport { GuestMergeViewModel } from '../../../../models/guest-merge/guest-merge-view.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { UntypedFormGroup, Validators, UntypedFormBuilder } from '@angular/forms';\r\nimport { GuestEditCountriesModel, GetForGuestUpdateModel } from '../../../../models/guest-merge/guest-for-update.model';\r\nimport { InternationalDiallingCodesService } from '../../../../shared/services/international-dialling-codes.service';\r\nimport { InternationalDiallingNumbersModel } from '../../../../models/shared/international-dialling-numbers.model';\r\nimport { CustomValidationService } from 'src/app/shared/services/custom-validation.service';\r\n\r\n@Component({\r\n selector: 'app-guest-list-edit',\r\n templateUrl: './guest-list-edit.component.html',\r\n styleUrls: ['./guest-list-edit.component.less'],\r\n})\r\nexport class GuestListEditComponent implements OnInit {\r\n @Input() showEdit: boolean;\r\n @Input() guestForEdit: GuestMergeViewModel;\r\n @Output() showEditChange: EventEmitter = new EventEmitter();\r\n @Output() guestForEditChange: EventEmitter = new EventEmitter();\r\n @Output() update = new EventEmitter();\r\n\r\n loader = false;\r\n theme: number;\r\n\r\n guestForm: UntypedFormGroup;\r\n\r\n countries: Array;\r\n titles: Array;\r\n\r\n // dialCodePhone1: string;\r\n // phoneNumber1: string;\r\n // phone1ErrorMessage = '';\r\n // dialCodePhone2: string;\r\n // phoneNumber2: string;\r\n // phone2ErrorMessage = '';\r\n // diallingCodesList: InternationalDiallingNumbersModel[] = [];\r\n\r\n constructor(\r\n public fb: UntypedFormBuilder,\r\n public guestMergeService: GuestMergeService,\r\n private diallingCodeService: InternationalDiallingCodesService\r\n ) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n }\r\n\r\n ngOnInit() {\r\n this.guestForm = this.fb.group({\r\n firstName: [\r\n this.guestForEdit.firstName ? this.guestForEdit.firstName : null,\r\n Validators.compose([Validators.maxLength(50)]),\r\n ],\r\n lastName: [\r\n this.guestForEdit.lastName ? this.guestForEdit.lastName : null,\r\n Validators.compose([Validators.maxLength(50), Validators.required]),\r\n ],\r\n email: [\r\n this.guestForEdit.email ? this.guestForEdit.email : null,\r\n Validators.compose([Validators.maxLength(50), Validators.email]),\r\n ],\r\n countryId: [this.guestForEdit.countryId ? this.guestForEdit.countryId : null],\r\n title: [this.guestForEdit.title ? this.guestForEdit.title : null],\r\n phone: [\r\n this.guestForEdit.phone ? this.guestForEdit.phone : null,\r\n Validators.compose([Validators.maxLength(50)]),\r\n ],\r\n phone2: [\r\n this.guestForEdit.phone2 ? this.guestForEdit.phone2 : null,\r\n Validators.compose([Validators.maxLength(50), Validators.pattern(CustomValidationService.telephoneExpression)])\r\n ],\r\n address1: [this.guestForEdit.address1 ? this.guestForEdit.address1 : null, Validators.maxLength(50)],\r\n address2: [this.guestForEdit.address2 ? this.guestForEdit.address2 : null, Validators.maxLength(50)],\r\n address3: [this.guestForEdit.address3 ? this.guestForEdit.address3 : null, Validators.maxLength(50)],\r\n postalCode: [this.guestForEdit.postalCode ? this.guestForEdit.postalCode : null, Validators.maxLength(50)],\r\n newsletter: [this.guestForEdit.newsletter ? this.guestForEdit.newsletter : null],\r\n // 'dialCode1': [this.dialCodePhone1],\r\n // 'dialCode2': [this.dialCodePhone2]\r\n });\r\n\r\n this.guestMergeService\r\n .getForGuestUpdate(this.guestForEdit.countryId)\r\n .subscribe((res: GetForGuestUpdateModel) => {\r\n this.countries = res.countries;\r\n this.titles = res.titles;\r\n });\r\n\r\n // this.dialCodePhone1 = '+44';\r\n // this.dialCodePhone2 = '+44';\r\n\r\n /*if (this.guestForEdit.phone) {\r\n this.dialCodePhone1 = this.guestForEdit.phone.substring(0, this.guestForEdit.phone.indexOf(' '));\r\n this.phoneNumber1 = this.guestForEdit.phone.substring(this.guestForEdit.phone.indexOf(' ') + 1);\r\n } else {\r\n this.dialCodePhone1 = '+44';\r\n }\r\n\r\n if (this.guestForEdit.phone2) {\r\n this.dialCodePhone2 = this.guestForEdit.phone2.substring(0, this.guestForEdit.phone2.indexOf(' '));\r\n this.phoneNumber2 = this.guestForEdit.phone2.substring(this.guestForEdit.phone2.indexOf(' ') + 1);\r\n } else {\r\n this.dialCodePhone2 = '+44';\r\n }*/\r\n\r\n /*this.diallingCodeService.getDiallingCodes()\r\n .subscribe(\r\n (response) => {\r\n this.diallingCodesList = response;\r\n this.diallingCodesList = InternationalDiallingCodesService.setLabel(this.diallingCodesList);\r\n this.diallingCodesList = InternationalDiallingCodesService.sortByPriority(this.diallingCodesList);\r\n this.guestForm.controls['dialCode1'].setValue(this.dialCodePhone1);\r\n this.guestForm.controls['dialCode2'].setValue(this.dialCodePhone2);\r\n }\r\n );*/\r\n }\r\n\r\n close() {\r\n this.showEditChange.emit(false);\r\n this.guestForEdit = new GuestMergeViewModel();\r\n }\r\n\r\n validateCountries() {\r\n const countryId = this.guestForm.controls.countryId.value;\r\n const currentCountry = this.countries.find((country) => country.id === countryId);\r\n\r\n if (countryId !== null && !currentCountry.active) {\r\n this.guestForm.controls.countryId.setErrors({ incorrect: true });\r\n } else {\r\n this.guestForm.controls.countryId.setErrors(null);\r\n }\r\n }\r\n\r\n updateGuest() {\r\n this.validateCountries();\r\n\r\n for (const c in this.guestForm.controls) {\r\n if (this.guestForm.controls.hasOwnProperty(c)) {\r\n this.guestForm.controls[c].markAsTouched();\r\n }\r\n }\r\n\r\n if (this.guestForm.valid) {\r\n this.guestForEdit = { ...this.guestForEdit, ...this.guestForm.value };\r\n // this.guestForEdit.phone = `${this.guestForm.controls.dialCode1.value} ${this.guestForEdit.phone}`;\r\n // this.guestForEdit.phone2 = `${this.guestForm.controls.dialCode2.value} ${this.guestForEdit.phone2}`;\r\n\r\n this.loader = true;\r\n this.guestMergeService.updateMergeGuest(this.guestForEdit).subscribe(\r\n (res) => {\r\n this.loader = false;\r\n this.guestForEdit = new GuestMergeViewModel();\r\n\r\n this.guestForEditChange.emit(this.guestForEdit);\r\n this.showEditChange.emit(false);\r\n this.update.emit();\r\n },\r\n (error) => {\r\n this.guestForEdit = new GuestMergeViewModel();\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Edit

\r\n\r\n
\r\n
\r\n
Title
\r\n \r\n \r\n
\r\n\r\n
\r\n
First name
\r\n \r\n Max 50 characters\r\n
\r\n\r\n
\r\n
Last name
\r\n \r\n Max 50 characters\r\n Last name is required\r\n
\r\n
\r\n
E-mail
\r\n \r\n Max 50 characters\r\n Must be a valid email address\r\n
\r\n\r\n
\r\n
Telephone
\r\n \r\n Max 50 characters\r\n \r\n
\r\n\r\n
\r\n
Mobile phone
\r\n
\r\n \r\n
\r\n Max 50 characters\r\n \r\n
\r\n\r\n
\r\n
Address 1
\r\n \r\n Max 50 characters\r\n
\r\n\r\n
\r\n
Address 2
\r\n \r\n Max 50 characters\r\n
\r\n\r\n
\r\n
Address 3
\r\n \r\n Max 50 characters\r\n
\r\n\r\n
\r\n
Post. code
\r\n \r\n Max 50 characters\r\n
\r\n\r\n
\r\n
Country
\r\n \r\n \r\n Specified country is inactive.\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n","import { GuestMergeService } from './../guest-merge.service';\r\nimport { Component, OnInit, EventEmitter, Input, Output } from '@angular/core';\r\nimport { GuestMergeViewModel } from '../../../../models/guest-merge/guest-merge-view.model';\r\nimport { AuthTokenService } from '../../../../shared/services/auth-token.service';\r\nimport { GuestsMergeModel } from '../../../../models/guest-merge/guest-merge.model';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\n\r\n@Component({\r\n selector: 'app-guest-list-merge',\r\n templateUrl: './guest-list-merge.component.html',\r\n styleUrls: ['./guest-list-merge.component.less'],\r\n})\r\nexport class GuestListMergeComponent implements OnInit {\r\n @Input() showMerge: boolean;\r\n @Input() guestsMergeArr: Array;\r\n @Output() showMergeChange: EventEmitter = new EventEmitter();\r\n @Output() guestsMergeArrChange: EventEmitter> = new EventEmitter>();\r\n @Output() update = new EventEmitter();\r\n\r\n theme: number;\r\n loader = false;\r\n selectedGuest = [];\r\n\r\n guestsMergeModel = new GuestsMergeModel();\r\n\r\n constructor(private guestMergeService: GuestMergeService, private toasterService: ToastService) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n close() {\r\n this.showMergeChange.emit(false);\r\n }\r\n\r\n guestToggled(e) {\r\n this.selectedGuest = e.selectedRowKeys;\r\n }\r\n\r\n mergeGuests() {\r\n if (this.selectedGuest.length > 0) {\r\n this.loader = true;\r\n const restOfGuests = this.guestsMergeArr.filter((guest) => guest.id !== this.selectedGuest[0].id);\r\n this.guestsMergeModel.guestsToMergeIds = restOfGuests.map((guest) => guest.id);\r\n this.guestsMergeModel.mainGuestId = this.selectedGuest[0].id;\r\n this.guestMergeService.mergeGuests(this.guestsMergeModel).subscribe(\r\n (res) => {\r\n this.loader = false;\r\n // Reset values\r\n this.guestsMergeArr = [];\r\n this.selectedGuest = [];\r\n\r\n this.showMergeChange.emit(false);\r\n this.guestsMergeArrChange.emit(this.guestsMergeArr);\r\n this.update.emit();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.error(error.message);\r\n }\r\n );\r\n } else {\r\n this.toasterService.showToast('', 'Please select a main guest.', null, ToastEventType.Error, true, 5000);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n

Merge guests

\r\n

\r\n In order for the selected guests to be merged, you need to select the main guest you want the rest to be\r\n merged to (note that only the selected guest will persist).\r\n

\r\n \r\n
\r\n {{ n.data?.firstName }} {{ n.data?.lastName }}\r\n
\r\n
\r\n {{ n.data?.email }}\r\n
\r\n
\r\n {{ n.data?.country }}\r\n
\r\n
\r\n {{ n.data?.address }}\r\n
\r\n
\r\n {{ n.data?.numberOfBookings }}\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild, AfterContentInit, ElementRef } from '@angular/core';\r\nimport { GridConfiguration, DxGridHelper, GridRequest } from '../../../shared/helpers/dx-grid-helper';\r\nimport { GuestListGridResponseModel } from '../../../models/guest-merge/guest-merge-grid.model';\r\nimport { GuestMergeService } from './guest-merge.service';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { GuestMergeViewModel } from '../../../models/guest-merge/guest-merge-view.model';\r\nimport { GuestRecordsPermissionsModel } from '../../../models/permissions/permissions.model';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport { DxDataGridComponent } from 'devextreme-angular';\r\nimport { ExportExcelService } from 'src/app/shared/services/export-excel.service';\r\n\r\n@Component({\r\n selector: 'app-settings-guest-list',\r\n templateUrl: './settings-guest-list.component.html',\r\n styleUrls: ['./settings-guest-list.component.less'],\r\n})\r\nexport class SettingsGuestListComponent implements OnInit, AfterContentInit {\r\n @ViewChild('grid', { static: true }) grid: DxDataGridComponent;\r\n @ViewChild('gridHidden', { static: true }) gridHidden: DxDataGridComponent;\r\n permissionsModel: GuestRecordsPermissionsModel;\r\n\r\n loader = false;\r\n theme: number;\r\n propertyName = AuthTokenService.decodeJwtToken().Property.Name;\r\n\r\n guestListRequest = new GridRequest();\r\n gridConfiguration: GridConfiguration;\r\n searchValue: string;\r\n\r\n enableMerge: boolean;\r\n showMerge: boolean;\r\n showEdit: boolean;\r\n showBookings: boolean;\r\n\r\n guestForEdit: GuestMergeViewModel;\r\n guestForBookings: GuestMergeViewModel;\r\n guestsMergeArr: Array;\r\n exportArr: Array;\r\n\r\n exportCurrent: Array;\r\n exportAll: Array;\r\n\r\n exporting: boolean = false;\r\n isExportAll: boolean = false;\r\n exportFileName: string = `${new Date().toDateString()} - Guest list${this.isExportAll ? ' All' : ''}.xlsx`;\r\n\r\n customCell = ({ gridCell, excelCell }) => {\r\n if (gridCell.rowType === 'data') {\r\n if (gridCell.column.dataField === 'newsletter') {\r\n excelCell.value = gridCell.value ? 'Yes' : 'No';\r\n }\r\n }\r\n };\r\n \r\n selectedRows = [];\r\n\r\n constructor(private guestMergeService: GuestMergeService, private permissionsService: PermissionsService, private exportExcelService: ExportExcelService) {\r\n this.theme = AuthTokenService.decodeJwtToken().User.CmsTheme;\r\n this.permissionsModel = this.permissionsService.createPermissionsModel(PermissionsEnum.GuestRecords);\r\n }\r\n\r\n ngOnInit() {\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.gridConfiguration = new GuestListGridResponseModel();\r\n this.gridConfiguration.service = this.guestMergeService;\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.initGrid();\r\n \r\n }\r\n\r\n initGrid(): void {\r\n DxGridHelper.ConfigureGrid(this.grid, this.guestListRequest, this.gridConfiguration, this);\r\n }\r\n\r\n onDataLoaded(response) {\r\n console.log('onDataLoaded', response);\r\n this.exportCurrent = response.rows;\r\n }\r\n\r\n guestToggled(e) {\r\n if (e.selectedRowKeys.length >= 2) {\r\n this.guestsMergeArr = e.selectedRowKeys;\r\n this.enableMerge = true;\r\n } else {\r\n this.guestsMergeArr = e.selectedRowKeys;\r\n this.enableMerge = false;\r\n }\r\n }\r\n\r\n searchGuests() {\r\n this.guestListRequest.options.customSearch[0].value = this.searchValue;\r\n this.gridConfiguration.reloadGrid();\r\n }\r\n\r\n reloadGrid() {\r\n this.gridConfiguration.reloadGrid();\r\n }\r\n\r\n editGuest(e, guest) {\r\n e.stopPropagation();\r\n this.guestForEdit = guest;\r\n this.showEdit = true;\r\n }\r\n\r\n showGuestBookings(e, guest) {\r\n e.stopPropagation();\r\n this.guestForBookings = guest;\r\n this.showBookings = true;\r\n }\r\n\r\n exportGrid() {\r\n this.isExportAll = false;\r\n this.exportArr = this.exportCurrent;\r\n this.exporting = true;\r\n\r\n setTimeout(() => {\r\n \r\n this.exportExcelService.exportToExcel(this.gridHidden, false, 'Guest_list', this.exportFileName, this.customCell);\r\n this.exporting = false;\r\n }, 800);\r\n \r\n }\r\n\r\n\r\n exportAllToCsv() {\r\n this.loader = true;\r\n this.isExportAll = true;\r\n const totalCount = this.grid.instance.totalCount();\r\n const request = {\r\n options: {\r\n group: null,\r\n requireTotalCount: true,\r\n searchOperation: 'contains',\r\n skip: 0,\r\n sort: null,\r\n take: totalCount,\r\n customSearch: [\r\n {\r\n fieldName: 'searchString',\r\n value: '',\r\n },\r\n ],\r\n },\r\n };\r\n\r\n this.guestMergeService.getData(request).subscribe(\r\n (res) => {\r\n this.loader = false;\r\n this.exporting = true;\r\n this.exportAll = res.rows;\r\n this.exportArr = this.exportAll;\r\n setTimeout(() => {\r\n \r\n this.exportExcelService.exportToExcel(this.gridHidden, false, 'Guest_list', this.exportFileName, this.customCell);\r\n this.exporting = false;\r\n }, 800);\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n}\r\n","
\r\n
\r\n

Guest records

\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n Search\r\n \r\n
\r\n\r\n
\r\n \r\n Export\r\n \r\n \r\n Export All\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n {{ n.data?.fullName }}\r\n
\r\n
\r\n {{ n.data?.email }}\r\n
\r\n
\r\n {{ n.data?.country }}\r\n
\r\n
\r\n {{ n.data?.address1 }}\r\n
\r\n
\r\n {{ n.data?.numberOfBookings }}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpRequestService } from '../../../shared/services/http-request.service';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { BookingSearchModel } from '../../../models/booking/booking-search.model';\r\nimport { CalculateRoomPriceRequestModel } from '../../../models/booking/calculate-room-price-request.model';\r\nimport { BookingFlowModel } from '../../../models/booking/booking-flow.model';\r\nimport { PciNewBookingModel, PciNewCalendarBookingModel } from '../../../models/booking/pci-new-booking.model';\r\nimport { FinishCmsBookingPaymentModel } from '../../../models/booking/finish-cms-booking-payment.model';\r\nimport { CalendarBookingModel, CalendarNewBookingPDModel } from 'src/app/models/booking/calendar-new-booking-pd.model';\r\nimport { GuestDetail } from 'src/app/models/booking/booking-all-details.model';\r\n\r\n@Injectable()\r\nexport class NewBookingService {\r\n private newBookingUrl = environment.apiUrl + '/Booking/NewBooking';\r\n private bookingSearchUrl = environment.apiUrl + '/Booking/BookingSearch';\r\n private calculateRoomPriceUrl = environment.apiUrl + '/Booking/CalculateRoomPrice';\r\n private getRatePlanSaleItemsForBookingUrl = environment.apiUrl + '/Booking/GetRatePlanSaleItemsForBooking';\r\n private insertNewBookingUrl = environment.apiUrl + '/Booking/InsertNewBooking';\r\n private getBookingDepositUrl = environment.apiUrl + '/Booking/GetBookingDeposit';\r\n private getCalendarBookingDepositUrl = environment.apiUrl + '/Booking/GetCalendarBookingDeposit';\r\n private getCaterpayHtmlFormForNewBookingUrl = environment.apiUrl + '/Payment/GetCaterpayHtmlFormForNewBooking';\r\n private getPciCardEntryFormUrl = environment.apiUrl + '/Payment/GetCardEntryForm';\r\n private pciNewBookingUrl = environment.apiUrl + '/Payment/PciNewBooking';\r\n private pciNewCalendarBookingUrl = environment.apiUrl + '/Payment/PciNewCalendarBooking';\r\n private getRatePlansByRateScheduleNewBookingUrl =\r\n environment.apiUrl + '/RatePlan/GetRatePlansByRateScheduleNewBooking';\r\n private matchGuestUrl = environment.apiUrl + '/Booking/MatchExistingGuest';\r\n\r\n constructor(private http: HttpRequestService) {}\r\n\r\n newBooking() {\r\n return this.http.get(this.newBookingUrl);\r\n }\r\n\r\n getRatePlansByRateScheduleNewBooking(rateScheduleId?: number) {\r\n return this.http.get(this.getRatePlansByRateScheduleNewBookingUrl + '?rateScheduleId=' + rateScheduleId);\r\n }\r\n\r\n bookingSearch(model: BookingSearchModel) {\r\n return this.http.post(this.bookingSearchUrl, model);\r\n }\r\n\r\n calculateRoomPrice(model: CalculateRoomPriceRequestModel) {\r\n return this.http.post(this.calculateRoomPriceUrl, model);\r\n }\r\n\r\n getRatePlanSaleItemsForBooking(ratePlanId: number) {\r\n return this.http.get(this.getRatePlanSaleItemsForBookingUrl + '?ratePlanId=' + ratePlanId);\r\n }\r\n\r\n insertNewBooking(model: BookingFlowModel) {\r\n return this.http.post(this.insertNewBookingUrl, model, true);\r\n }\r\n\r\n getBookingDeposit(model: BookingFlowModel) {\r\n return this.http.post(this.getBookingDepositUrl, model);\r\n }\r\n\r\n getCalendarBookingDeposit(model: CalendarBookingModel) {\r\n return this.http.post(this.getCalendarBookingDepositUrl, model);\r\n }\r\n\r\n getCaterpayHtmlFormForNewBooking(model: BookingFlowModel) {\r\n return this.http.post(this.getCaterpayHtmlFormForNewBookingUrl, model, false);\r\n }\r\n\r\n getPciCardEntryForm() {\r\n return this.http.get(this.getPciCardEntryFormUrl);\r\n }\r\n\r\n pciNewBooking(model: PciNewBookingModel) {\r\n return this.http.post(this.pciNewBookingUrl, model);\r\n }\r\n\r\n pciNewCalendarBooking(model: PciNewCalendarBookingModel) {\r\n return this.http.post(this.pciNewCalendarBookingUrl, model);\r\n }\r\n\r\n matchGuest(model: GuestDetail) {\r\n return this.http.post(this.matchGuestUrl, model);\r\n }\r\n}\r\n","import { Component, OnDestroy, OnInit, Renderer2 } from '@angular/core';\r\nimport { NewBookingService } from './new-booking.service';\r\nimport {\r\n BookingSearchModel,\r\n BookingSearchResultModel,\r\n BookingSearchRoomModel,\r\n RatePlanBookingResultModel,\r\n} from '../../../models/booking/booking-search.model';\r\nimport { NewBookingPDModel } from '../../../models/booking/new-booking-pd.model';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { RoomBaseModel } from '../../../models/room/room-base.model';\r\nimport { CalculateRoomPriceRequestModel } from '../../../models/booking/calculate-room-price-request.model';\r\nimport { BookingFlowModel, BookingGridModel, SaleItemBookingModel } from '../../../models/booking/booking-flow.model';\r\nimport { SaleItemModel } from '../../../models/cost-center/sale-item.model';\r\nimport {\r\n BookingGuestDetailModel,\r\n BookingRoomDetailModel,\r\n GuestDetail,\r\n} from '../../../models/booking/booking-all-details.model';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\nimport { Data, Router } from '@angular/router';\r\nimport { BookingPaymentModel } from '../../../models/booking/booking-details.model';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { PciNewBookingModel } from '../../../models/booking/pci-new-booking.model';\r\nimport * as _ from 'lodash';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\r\nimport { RatePlanBaseModel } from '../../../models/rate-plan/rate-plan-base.model';\r\nimport { ChangeDetectorRef } from '@angular/core';\r\nimport { NewBookingPermissionsModel } from '../../../models/permissions/permissions.model';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport * as moment from 'moment';\r\nimport { DxSelectBoxComponent } from 'devextreme-angular';\r\nimport { BookingCommonService } from '../booking-common.service';\r\n\r\n\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-settings-new-booking',\r\n templateUrl: './settings-new-booking.component.html',\r\n styleUrls: ['./settings-new-booking.component.less'],\r\n})\r\nexport class SettingsNewBookingComponent implements OnInit, OnDestroy {\r\n permissionsModel: NewBookingPermissionsModel;\r\n creditCard: string;\r\n creditCardValidation: boolean;\r\n wasSearched: boolean;\r\n\r\n // loaders\r\n searchRoomsLoader = false;\r\n confirmLoader = false;\r\n\r\n // disabled buttons\r\n disableRemoveRoomsButton = true;\r\n disableAddToCartButton = false;\r\n\r\n // rooms\r\n selectAllChosenRooms = false;\r\n activeSearch = false;\r\n insertExtraFirstTime = true;\r\n\r\n // guests\r\n addGuest = true;\r\n editGuest = false;\r\n deleteGuest = false;\r\n showGuestModalFirstTime = true;\r\n changeAddLeadGuest = false;\r\n changeAddLeadGuestMessage = '';\r\n changeEditLeadGuest = false;\r\n changeEditLeadGuestMessage = '';\r\n availabilityMessage = '';\r\n oldGuestValue: BookingGuestDetailModel = new BookingGuestDetailModel();\r\n newGuestValue: BookingGuestDetailModel = new BookingGuestDetailModel();\r\n leadGuest: GuestDetail;\r\n\r\n // finance\r\n pciBookingForm: string;\r\n caterpayForm: string;\r\n showPaymentFormModal = false;\r\n\r\n // error messages\r\n errorLeadGuest = '';\r\n errorLeadGuestFull = '';\r\n errorExtrasMessage = '';\r\n\r\n theme: number;\r\n bookingDuration: number;\r\n activeTab = 1;\r\n dateFrom: Date = new Date();\r\n dateTo: Date = new Date(new Date().setDate(new Date().getDate() + 1));\r\n\r\n // forms\r\n searchForm: UntypedFormGroup;\r\n financeForm: UntypedFormGroup;\r\n formSubmitted = false;\r\n\r\n // models\r\n bookingSearchModel = new BookingSearchModel();\r\n bookingSearchResultModel: BookingSearchResultModel[] = [];\r\n newBookingPDModel = new NewBookingPDModel();\r\n bookingFlowModel = new BookingFlowModel();\r\n chosenRoomsPageData: RoomBaseModel[] = [];\r\n currentGuestModel = new BookingGuestDetailModel();\r\n bookingRoomsList: BookingRoomDetailModel[] = [];\r\n bookingPaymentModel = new BookingPaymentModel();\r\n token: TokenContext;\r\n\r\n //existing guest matching\r\n checkedMatchedGuests: GuestDetail[] = [];\r\n showMatchedGuest: boolean = false;\r\n matchedGuest: GuestDetail;\r\n matchedGuestLoader: boolean = false;\r\n showMatchedGuestMessage: string;\r\n postMatchDestinationTab: number;\r\n\r\n constructor(\r\n private newBookingService: NewBookingService,\r\n private bookingCommonService: BookingCommonService,\r\n private fbSearchRooms: UntypedFormBuilder,\r\n private fbFinanceForm: UntypedFormBuilder,\r\n private router: Router,\r\n private toasterService: ToastService,\r\n private communicationService: CommunicationService,\r\n private changeDetector: ChangeDetectorRef,\r\n private permissionsService: PermissionsService\r\n ) {\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.permissionsModel = permissionsService.createPermissionsModel(PermissionsEnum.NewBooking);\r\n this.theme = this.token.User.CmsTheme;\r\n\r\n this.searchForm = fbSearchRooms.group({\r\n from: [new Date(), Validators.required],\r\n to: [new Date().setDate(new Date().getDate() + 1), Validators.required],\r\n bedding: [null],\r\n ratePlan: [null],\r\n promoCode: [null],\r\n });\r\n\r\n this.bookingDuration = this.calculateDaysBetweenDates(this.dateFrom, this.dateTo);\r\n\r\n this.financeForm = fbFinanceForm.group({\r\n total: [null],\r\n deposit: [null, Validators.min(0)],\r\n type: [null],\r\n date: [new Date(), Validators.required],\r\n });\r\n this.financeForm.controls['total'].disable();\r\n\r\n this.newBookingService.newBooking().subscribe(\r\n (response) => {\r\n this.newBookingPDModel = response;\r\n this.bookingFlowModel.bookingStatus = 'Confirmed';\r\n this.bookingFlowModel.sendEmail = this.newBookingPDModel.showEmailCheckBox;\r\n },\r\n (error) => {}\r\n );\r\n\r\n window.addEventListener('message', this.postMessageHandlerNewBooking, false);\r\n }\r\n\r\n ngOnInit() {\r\n setTimeout(function () {\r\n $('.extras td').css('width', 'fit-content');\r\n }, 200);\r\n }\r\n\r\n changeTab(index) {\r\n if (this.activeTab === 2 && index !== 2) {\r\n if (this.showGuestModalFirstTime) {\r\n this.communicationService.checkIfGuestIsEntered.next(2);\r\n }\r\n this.postMatchDestinationTab = index;\r\n this.matchEnteredLeadGuest();\r\n }\r\n else {\r\n this.activeTab = index;\r\n }\r\n }\r\n\r\n classTab1() {\r\n let className = '';\r\n if (this.activeTab === 1) {\r\n className = 'active';\r\n } else if (\r\n (!this.validateMaxOccupancy() && this.formSubmitted) ||\r\n (this.bookingFlowModel.bookingRoom.length === 0 && this.formSubmitted)\r\n ) {\r\n className = 'invalid-tab';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n classTab2() {\r\n let className = '';\r\n if (this.activeTab === 2) {\r\n className = 'active ';\r\n } else if (!this.checkIfThereIsLeadGuest() && this.formSubmitted) {\r\n className = 'invalid-tab';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n classTab3() {\r\n let className = '';\r\n if (this.activeTab === 3) {\r\n className = 'active ';\r\n } else if ((!this.validateSaleItemPrice() || !this.validateDatesInExtras()) && this.formSubmitted) {\r\n className = 'invalid-tab';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n classTab4() {\r\n let className = '';\r\n if (this.activeTab === 4) {\r\n className = 'active ';\r\n } else if (this.bookingFlowModel.bookingStatus===\"Confirmed\" && !this.financeForm.valid && this.formSubmitted) {\r\n className = 'invalid-tab';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n showToastError(message: string, title?: string) {\r\n this.toasterService.showToast(title ? title : 'Error', message, null, ToastEventType.Error, true, 5000);\r\n }\r\n\r\n // \r\n\r\n statusChanged(e) {\r\n\r\n if (this.bookingFlowModel.bookingStatus === \"Enquired\")\r\n {\r\n this.bookingPaymentModel.amount = 0;\r\n this.bookingPaymentModel.paymentPurpose = '';\r\n\r\n this.bookingPaymentModel.paymentType = '';\r\n this.financeForm.controls['deposit'].disable();\r\n this.financeForm.controls['type'].disable();\r\n this.financeForm.controls['date'].disable();\r\n }\r\n else \r\n {\r\n this.financeForm.controls['deposit'].enable();\r\n this.financeForm.controls['type'].enable();\r\n this.financeForm.controls['date'].enable();\r\n\r\n this.getBookingDeposit();\r\n }\r\n\r\n }\r\n\r\n partnerChanged(e) {\r\n const rateScheduleId = e.value === null ? null : e.itemData.rateScheduleId;\r\n this.newBookingService.getRatePlansByRateScheduleNewBooking(rateScheduleId).subscribe(\r\n (response) => {\r\n this.newBookingPDModel.ratePlans = response;\r\n\r\n if (this.bookingSearchModel.ratePlanId) {\r\n const ratePlan: RatePlanBaseModel = this.newBookingPDModel.ratePlans.find(\r\n (x) => x.id === this.bookingSearchModel.ratePlanId\r\n );\r\n if (!ratePlan) {\r\n this.bookingSearchModel.ratePlanId = null;\r\n }\r\n }\r\n\r\n if (this.wasSearched) {\r\n this.searchRooms();\r\n }\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n changeFromDate(event) {\r\n if (event.value !== null) {\r\n if (moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n const dateFrom: Date = new Date(this.dateFrom);\r\n this.dateTo = moment(dateFrom).add(1, 'days').toDate();\r\n }\r\n\r\n this.bookingDuration = this.calculateDaysBetweenDates(this.dateFrom, this.dateTo);\r\n }\r\n }\r\n\r\n changeToDate(event) {\r\n if (event.value !== null) {\r\n if (moment(this.dateTo).diff(moment(this.dateFrom), 'days') <= 0) {\r\n const dateTo: Date = new Date(this.dateTo);\r\n this.dateFrom = moment(dateTo).subtract(1, 'days').toDate();\r\n }\r\n\r\n this.bookingDuration = this.calculateDaysBetweenDates(this.dateFrom, this.dateTo);\r\n }\r\n }\r\n\r\n calculateDaysBetweenDates(dateFrom: Date, dateTo: Date) { \r\n const to: Date = new Date(this.dateTo);\r\n const from: Date = new Date(this.dateFrom);\r\n const offSet: number = moment(to).utcOffset();\r\n const isOffset: boolean = moment(to).isDST();\r\n const isOffsetShifted: boolean = moment(to).isDSTShifted();\r\n console.log('to: ' + to + 'from: ' + from + 'utcOffset: ' + offSet + 'IsDST: ' + isOffset + 'IsDSTShifted: ' + isOffsetShifted);\r\n\r\n return moment(to, 'DD/MM/YYYY').diff(moment(from, 'DD/MM/YYYY'), 'days');\r\n }\r\n\r\n subtractAdultNum() {\r\n if (this.bookingSearchModel.adults > 1) {\r\n this.bookingSearchModel.adults -= 1;\r\n }\r\n }\r\n\r\n subtractChildNum() {\r\n if (this.bookingSearchModel.children > 0) {\r\n this.bookingSearchModel.children -= 1;\r\n }\r\n }\r\n\r\n searchRooms() {\r\n for (const c in this.searchForm.controls) {\r\n if (c != null) {\r\n this.searchForm.controls[c].markAsTouched();\r\n }\r\n }\r\n\r\n if (!this.searchForm.valid) {\r\n return;\r\n }\r\n\r\n this.activeSearch = false;\r\n this.searchRoomsLoader = true;\r\n this.bookingSearchModel.from = new Date(this.dateFrom).toDateString();\r\n this.bookingSearchModel.to = new Date(this.dateTo).toDateString();\r\n this.bookingFlowModel.partnerId = this.bookingSearchModel.partnerId;\r\n\r\n this.newBookingService.bookingSearch(this.bookingSearchModel).subscribe(\r\n (response) => {\r\n this.bookingSearchResultModel = response;\r\n this.setInitialValues();\r\n this.reloadAvailability();\r\n },\r\n (error) => {\r\n this.searchRoomsLoader = false;\r\n }\r\n );\r\n }\r\n\r\n searchFunction(e) {\r\n e.stopPropagation();\r\n\r\n this.wasSearched = true;\r\n this.searchRooms();\r\n }\r\n\r\n setInitialValues() {\r\n this.disableAddToCartButton = true;\r\n this.searchRoomsLoader = false;\r\n this.activeSearch = true;\r\n\r\n this.bookingSearchResultModel.forEach((x) => {\r\n x.chosenRooms = 0;\r\n x.ratePlans.forEach((y, idx) => {\r\n y.checked = false;\r\n y.required = 1;\r\n y.isLast = x.ratePlans.length-1 == idx;\r\n });\r\n });\r\n }\r\n\r\n calculateAvailableRooms(): boolean {\r\n let unavailableCounter = 0;\r\n let checkedCounter = 0;\r\n this.availabilityMessage = '';\r\n\r\n for (const roomType of this.bookingSearchResultModel) {\r\n roomType.chosenRooms = 0;\r\n for (const ratePlan of roomType.ratePlans) {\r\n if (ratePlan.checked) {\r\n roomType.chosenRooms += ratePlan.required;\r\n checkedCounter++;\r\n }\r\n }\r\n\r\n if (roomType.chosenRooms > roomType.available) {\r\n unavailableCounter++;\r\n this.availabilityMessage += `The room type ${roomType.roomTypeName} has ${roomType.available} room(s) available; `\r\n }\r\n }\r\n \r\n this.disableAddToCartButton = checkedCounter === 0;\r\n\r\n return unavailableCounter <= 0;\r\n }\r\n\r\n addToCart() {\r\n let hasAvailability = this.calculateAvailableRooms();\r\n if (!hasAvailability) {\r\n this.disableAddToCartButton = true;\r\n this.showToastError(this.availabilityMessage);\r\n return;\r\n }\r\n\r\n let addedRoomsCounter = 0;\r\n\r\n const copyOfSearchResultModel: BookingSearchResultModel[] = JSON.parse(\r\n JSON.stringify(this.bookingSearchResultModel)\r\n );\r\n\r\n for (const roomType of copyOfSearchResultModel) {\r\n for (const ratePlan of roomType.ratePlans) {\r\n if (ratePlan.checked) {\r\n let counter = 0;\r\n\r\n while (counter < ratePlan.required) {\r\n const availableRoomId: number = this.getFirstAvailableRoomId(roomType);\r\n\r\n if (availableRoomId !== -1) {\r\n const roomBaseModel: BookingSearchRoomModel = roomType.rooms.find(\r\n (x) => x.id === availableRoomId\r\n );\r\n if (roomBaseModel) {\r\n const index = roomType.rooms.indexOf(roomBaseModel);\r\n this.insertBookingGridModel(roomType, ratePlan, index);\r\n this.reloadAvailability();\r\n addedRoomsCounter++;\r\n }\r\n }\r\n\r\n counter++;\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (addedRoomsCounter > 0) {\r\n this.bookingSearchResultModel.forEach((roomType) => {\r\n roomType.ratePlans.forEach((ratePlan) => {\r\n ratePlan.checked = false;\r\n ratePlan.required = 1;\r\n });\r\n });\r\n this.disableAddToCartButton = true;\r\n this.refreshChosenRooms();\r\n }\r\n }\r\n\r\n toggleRatePlanTooltip(e) {\r\n setTimeout(() => {\r\n e.showRatePlanRestriction = !e.showRatePlanRestriction;\r\n }, 100);\r\n }\r\n\r\n toggleRoomTypeTooltip(e) {\r\n setTimeout(() => {\r\n e.showRoomTypeRestriction = !e.showRoomTypeRestriction;\r\n }, 100);\r\n }\r\n\r\n getAvailabilityRestrictionMessage(roomType: BookingSearchResultModel): String {\r\n return this.bookingCommonService.getAvailabilityRestrictionMessage(roomType);\r\n }\r\n\r\n getFirstAvailableRoomId(roomType: BookingSearchResultModel): number {\r\n let availableRoomId = -1;\r\n\r\n const gridPhysicalRoomIds: number[] = this.getPhysicalGridRoomIds();\r\n\r\n for (const roomToAdd of roomType.rooms) {\r\n if (roomToAdd.virtualRooms.length === 0) {\r\n if (!gridPhysicalRoomIds.includes(roomToAdd.id)) {\r\n availableRoomId = roomToAdd.id;\r\n break;\r\n }\r\n } else {\r\n const physicalRoomIds: number[] = roomToAdd.virtualRooms.map((x) => x.id);\r\n const intersectedRoomIds: number[] = _.intersection(physicalRoomIds, gridPhysicalRoomIds);\r\n\r\n if (intersectedRoomIds.length === 0) {\r\n availableRoomId = roomToAdd.id;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (availableRoomId === -1) {\r\n this.showToastError(\r\n `There are no available room units for ${roomType.roomTypeName}. Some added room units are configured to this room type.`,\r\n 'Warning'\r\n );\r\n }\r\n\r\n return availableRoomId;\r\n }\r\n\r\n reloadAvailability() {\r\n const itemsForDelete: BookingSearchResultModel[] = [];\r\n\r\n for (const result of this.bookingSearchResultModel) {\r\n const newAvailability = this.getNewAvailability(result.rooms);\r\n\r\n if (newAvailability === 0) {\r\n itemsForDelete.push(result);\r\n } else {\r\n result.available = newAvailability;\r\n }\r\n }\r\n\r\n for (const item of itemsForDelete) {\r\n const index = this.bookingSearchResultModel.indexOf(item);\r\n this.bookingSearchResultModel.splice(index, 1);\r\n }\r\n }\r\n\r\n getNewAvailability(searchResultRooms: BookingSearchRoomModel[]): number {\r\n let newAvailability: number = searchResultRooms.length;\r\n\r\n const gridRoomIds: number[] = this.getGridRoomIds();\r\n const gridPhysicalRoomIds: number[] = this.getPhysicalGridRoomIds();\r\n\r\n for (const searchResultRoom of searchResultRooms) {\r\n if (searchResultRoom.virtualRooms.length === 0) {\r\n if (gridPhysicalRoomIds.includes(searchResultRoom.id)) {\r\n newAvailability--;\r\n }\r\n } else {\r\n if (gridRoomIds.includes(searchResultRoom.id)) {\r\n newAvailability--;\r\n } else {\r\n const physicalRoomIds: number[] = searchResultRoom.virtualRooms.map((x) => x.id);\r\n const intersectedRoomIds: number[] = _.intersection(physicalRoomIds, gridPhysicalRoomIds);\r\n\r\n if (intersectedRoomIds.length > 0) {\r\n newAvailability--;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return newAvailability;\r\n }\r\n\r\n insertBookingGridModel(roomType: BookingSearchResultModel, ratePlan: RatePlanBookingResultModel, index: number) {\r\n const bookingGridModel: BookingGridModel = new BookingGridModel();\r\n\r\n bookingGridModel.checked = false;\r\n bookingGridModel.bookingFrom = roomType.arrive;\r\n bookingGridModel.bookingTo = roomType.depart;\r\n bookingGridModel.room = roomType.rooms[index];\r\n bookingGridModel.roomId = roomType.rooms[index].id;\r\n bookingGridModel.roomTypeId = roomType.roomTypeId;\r\n bookingGridModel.roomTypeName = roomType.roomTypeName;\r\n bookingGridModel.ratePlan = ratePlan;\r\n bookingGridModel.ratePlanId = ratePlan.id;\r\n bookingGridModel.price = ratePlan.price;\r\n bookingGridModel.suggestedPrice = ratePlan.price;\r\n bookingGridModel.standardPrice = bookingGridModel.price;\r\n bookingGridModel.maxOccupancy = ratePlan.maxOccupancy;\r\n bookingGridModel.adults = this.bookingSearchModel.adults;\r\n bookingGridModel.children = this.bookingSearchModel.children;\r\n\r\n bookingGridModel.duration = this.calculateDaysBetweenDates(\r\n new Date(new Date(bookingGridModel.bookingFrom).toDateString()),\r\n new Date(new Date(bookingGridModel.bookingTo).toDateString())\r\n );\r\n\r\n bookingGridModel.rooms = roomType.rooms;\r\n bookingGridModel.ratePlans = roomType.ratePlans;\r\n bookingGridModel.discountModel = roomType.discountModel;\r\n bookingGridModel.roomTypes.push(roomType.roomTypeName);\r\n\r\n this.bookingFlowModel.bookingRoom.push(bookingGridModel);\r\n\r\n // add sale item\r\n if (this.insertExtraFirstTime && this.bookingFlowModel.bookingExtras.length === 0) {\r\n const saleItemBookingModel: SaleItemBookingModel = new SaleItemBookingModel();\r\n saleItemBookingModel.saleItemId = null;\r\n saleItemBookingModel.bookingRoomId = -1;\r\n saleItemBookingModel.total = 0;\r\n saleItemBookingModel.disabledSaleItem = saleItemBookingModel.disabledDateFrom = saleItemBookingModel.disabledDateTo = saleItemBookingModel.disabledPrice = saleItemBookingModel.disabledQuantity = true;\r\n this.bookingFlowModel.bookingExtras.push(saleItemBookingModel);\r\n this.getRatePlanSaleItemsForBooking(saleItemBookingModel, null);\r\n this.insertExtraFirstTime = false;\r\n } else {\r\n this.insertExtraFirstTime = false;\r\n }\r\n }\r\n\r\n validateMaxOccupancy(): boolean {\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n if (room.adults < 1) {\r\n return false;\r\n }\r\n\r\n if (room.children < 0) {\r\n return false;\r\n }\r\n\r\n if (room.price < 0) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n removeCheckedRooms() {\r\n \r\n let roomsAssignedGuest = false;\r\n let roomsAssignedExtra = false;\r\n\r\n //check they've not removed a room assigned to a guest\r\n this.bookingFlowModel.bookingRoom.filter((x) => x.checked).forEach((room) => {\r\n if (this.bookingFlowModel.guests.filter(x => x.bookingRoomId == room.roomId).length > 0) {\r\n roomsAssignedGuest = true;\r\n }\r\n if (this.bookingFlowModel.bookingExtras.filter(x => x.bookingRoomId == room.roomId).length > 0) {\r\n roomsAssignedExtra = true;\r\n }\r\n });\r\n\r\n if (roomsAssignedGuest) {\r\n this.showToastError('One or more of the rooms to be removed has been assigned to a guest.')\r\n }\r\n else if (roomsAssignedExtra) {\r\n this.showToastError('One or more of the rooms to be removed has been assigned to an extra.')\r\n }\r\n else {\r\n this.activeSearch = false;\r\n\r\n this.bookingFlowModel.bookingRoom = this.bookingFlowModel.bookingRoom.filter((x) => !x.checked);\r\n\r\n this.refreshChosenRooms();\r\n \r\n this.selectAllChosenRooms = false;\r\n }\r\n\r\n }\r\n\r\n refreshChosenRooms() {\r\n const allRooms: RoomBaseModel[] = [];\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n room.room.ratePlanId = room.ratePlan.id;\r\n allRooms.push(room.room);\r\n }\r\n\r\n this.chosenRoomsPageData = _.uniqBy(allRooms, 'id');\r\n this.chosenRoomsPageData.unshift(new RoomBaseModel(-1, 'Whole booking', 'Whole booking'));\r\n this.bookingFlowModel.promoCode = this.bookingSearchModel.promoCode;\r\n\r\n this.getBookingDeposit();\r\n }\r\n\r\n checkDuplicateRooms(e, bookingGridModel: BookingGridModel, selectBox: DxSelectBoxComponent) {\r\n if (e.itemData) {\r\n const oldRoom: BookingSearchRoomModel = bookingGridModel.room;\r\n const selectedRoom: BookingSearchRoomModel = e.itemData;\r\n const gridPhysicalRoomIds: number[] = this.getPhysicalGridRoomIds(\r\n bookingGridModel.bookingFrom,\r\n bookingGridModel.bookingTo\r\n );\r\n\r\n if (selectedRoom.virtualRooms.length === 0) {\r\n if (!gridPhysicalRoomIds.includes(selectedRoom.id)) {\r\n bookingGridModel.roomId = selectedRoom.id;\r\n bookingGridModel.room = selectedRoom;\r\n }\r\n } else {\r\n const physicalRoomIds: number[] = selectedRoom.virtualRooms.map((x) => x.id);\r\n const intersectedRoomIds: number[] = _.intersection(physicalRoomIds, gridPhysicalRoomIds);\r\n\r\n if (intersectedRoomIds.length === 0) {\r\n bookingGridModel.roomId = selectedRoom.id;\r\n bookingGridModel.room = selectedRoom;\r\n }\r\n }\r\n\r\n if (bookingGridModel.roomId === oldRoom.id) {\r\n selectBox.value = oldRoom;\r\n this.showToastError(\r\n `Cannot change room unit to ${selectedRoom.shortName}. Some added rooms are configured to this room unit.`,\r\n 'Warning'\r\n );\r\n return;\r\n }\r\n\r\n this.refreshChosenRooms();\r\n }\r\n }\r\n\r\n getPhysicalGridRoomIds(from: Date = null, to: Date = null): number[] {\r\n const gridPhysicalRoomIds: number[] = [];\r\n const filteredBookingRooms: BookingGridModel[] = this.filterAddedRoomsByDate(from, to);\r\n\r\n for (const bookingRoom of filteredBookingRooms) {\r\n // if room is virtual\r\n if (bookingRoom.room.virtualRooms.length > 0) {\r\n for (const virtualRoom of bookingRoom.room.virtualRooms) {\r\n gridPhysicalRoomIds.push(virtualRoom.id);\r\n }\r\n } else {\r\n gridPhysicalRoomIds.push(bookingRoom.roomId);\r\n }\r\n }\r\n\r\n return gridPhysicalRoomIds;\r\n }\r\n\r\n getGridRoomIds(): number[] {\r\n const filteredBookingRooms: BookingGridModel[] = this.filterAddedRoomsByDate();\r\n\r\n return filteredBookingRooms.map((x) => {\r\n return x.roomId;\r\n });\r\n }\r\n\r\n filterAddedRoomsByDate(dateFrom: Date = null, dateTo: Date = null): BookingGridModel[] {\r\n const bookingFrom: Date = dateFrom\r\n ? new Date(new Date(dateFrom).toDateString())\r\n : new Date(new Date(this.bookingSearchModel.from).toDateString());\r\n const bookingTo: Date = dateTo\r\n ? new Date(new Date(dateTo).toDateString())\r\n : new Date(new Date(this.bookingSearchModel.to).toDateString());\r\n\r\n const result: BookingGridModel[] = this.bookingFlowModel.bookingRoom.filter(\r\n (x) =>\r\n (new Date(new Date(x.bookingFrom).toDateString()) >= bookingFrom &&\r\n new Date(new Date(x.bookingFrom).toDateString()) < bookingTo) ||\r\n (new Date(new Date(x.bookingTo).toDateString()) <= bookingTo &&\r\n new Date(new Date(x.bookingTo).toDateString()) > bookingFrom) ||\r\n (new Date(new Date(x.bookingFrom).toDateString()) <= bookingFrom &&\r\n new Date(new Date(x.bookingTo).toDateString()) >= bookingTo)\r\n );\r\n\r\n return result;\r\n }\r\n\r\n checkRoomDuplicate() {\r\n for (const bookingRoom of this.bookingFlowModel.bookingRoom) {\r\n const sameRoomUnits: BookingGridModel[] = this.bookingFlowModel.bookingRoom.filter(\r\n (x) => x.roomId === bookingRoom.roomId\r\n );\r\n if (sameRoomUnits.length > 1) {\r\n for (let i = 0; i < sameRoomUnits.length; i++) {\r\n for (let j = 0; j < sameRoomUnits.length; j++) {\r\n if (\r\n i !== j &&\r\n ((sameRoomUnits[i].bookingFrom >= sameRoomUnits[j].bookingFrom &&\r\n sameRoomUnits[i].bookingFrom < sameRoomUnits[j].bookingTo) ||\r\n (sameRoomUnits[i].bookingTo <= sameRoomUnits[j].bookingTo &&\r\n sameRoomUnits[i].bookingTo > sameRoomUnits[j].bookingFrom) ||\r\n (sameRoomUnits[i].bookingFrom <= sameRoomUnits[j].bookingFrom &&\r\n sameRoomUnits[i].bookingTo >= sameRoomUnits[j].bookingTo))\r\n ) {\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n disableRemoveRoomButton() {\r\n let counter = 0;\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n if (room.checked) {\r\n counter++;\r\n }\r\n }\r\n\r\n this.selectAllChosenRooms = this.bookingFlowModel.bookingRoom.length === counter;\r\n this.disableRemoveRoomsButton = counter === 0;\r\n }\r\n\r\n selectAllRooms(e) {\r\n if (e.target.checked) {\r\n this.bookingFlowModel.bookingRoom.forEach((x) => (x.checked = true));\r\n this.disableRemoveRoomsButton = false;\r\n } else {\r\n this.bookingFlowModel.bookingRoom.forEach((x) => (x.checked = false));\r\n this.disableRemoveRoomsButton = true;\r\n }\r\n }\r\n\r\n calculateRoomPrice(gridModel: BookingGridModel) {\r\n const model: CalculateRoomPriceRequestModel = new CalculateRoomPriceRequestModel();\r\n model.ratePlanId = gridModel.ratePlan.id;\r\n model.roomTypeId = gridModel.roomTypeId;\r\n\r\n const arrive = new Date(gridModel.bookingFrom);\r\n const depart = new Date(gridModel.bookingTo);\r\n\r\n model.arrive = arrive.toDateString();\r\n model.depart = depart.toDateString();\r\n model.adults = gridModel.adults;\r\n model.children = gridModel.children;\r\n\r\n gridModel.ratePlanId = gridModel.ratePlan.id;\r\n gridModel.maxOccupancy = gridModel.ratePlan.maxOccupancy;\r\n model.discount = gridModel.discountModel;\r\n\r\n this.newBookingService.calculateRoomPrice(model).subscribe(\r\n (response) => {\r\n gridModel.suggestedPrice = response;\r\n if (response > 0) {\r\n gridModel.price = response;\r\n }\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n changeAdultNum(i: any, action: string) {\r\n if (action === 'in') {\r\n i.data.adults = i.data.adults + 1;\r\n this.calculateRoomPrice(i.data);\r\n } else {\r\n // validation for adding people as to not let the number of people be smaller than people already added\r\n const guestsInRoomArr = this.bookingFlowModel.guests.filter(\r\n (guest) => guest.bookingRoomId === i.data.roomId\r\n );\r\n if (i.data.adults === guestsInRoomArr.length) {\r\n return;\r\n }\r\n\r\n if (i.data.adults > 1) {\r\n i.data.adults = i.data.adults - 1;\r\n this.calculateRoomPrice(i.data);\r\n }\r\n }\r\n }\r\n\r\n changeChildNum(i: any, action: string) {\r\n if (action === 'in') {\r\n i.data.children = i.data.children + 1;\r\n this.calculateRoomPrice(i.data);\r\n } else {\r\n if (i.data.children > 0) {\r\n i.data.children = i.data.children - 1;\r\n this.calculateRoomPrice(i.data);\r\n }\r\n }\r\n }\r\n\r\n // \r\n\r\n // \r\n\r\n cellClickGuests(e) {\r\n if (e.columnIndex === 3) {\r\n this.openEditGuests(e.data);\r\n }\r\n }\r\n\r\n turnOffFirstTimeModal(event) {\r\n this.showGuestModalFirstTime = event;\r\n }\r\n\r\n prepareRoomsForGuestModal() {\r\n this.bookingRoomsList = [];\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n const roomDetail: BookingRoomDetailModel = new BookingRoomDetailModel();\r\n roomDetail.bookingRoomId = room.roomId;\r\n roomDetail.adults = room.adults;\r\n roomDetail.children = room.children;\r\n roomDetail.bookingRoomShortName = room.room.shortName;\r\n\r\n this.bookingRoomsList.push(roomDetail);\r\n }\r\n\r\n return this.bookingRoomsList;\r\n }\r\n\r\n addNewGuests() {\r\n let maxGuestInAllRooms = 0;\r\n\r\n // Calculates maxGuestInAllRoom\r\n this.bookingFlowModel.bookingRoom.forEach((element) => {\r\n maxGuestInAllRooms += element.adults + element.children;\r\n });\r\n\r\n if (this.bookingFlowModel.guests.length === maxGuestInAllRooms) {\r\n this.toasterService.showToast('', 'You can not add more guests', null, ToastEventType.Error, true, 5000);\r\n return;\r\n }\r\n this.addGuest = true;\r\n this.prepareRoomsForGuestModal();\r\n }\r\n\r\n openEditGuests(data) {\r\n this.currentGuestModel = data;\r\n this.editGuest = true;\r\n this.prepareRoomsForGuestModal();\r\n }\r\n\r\n deleteGuestModal(data) {\r\n this.deleteGuest = true;\r\n this.currentGuestModel = data;\r\n }\r\n\r\n confirmGuestDelete() {\r\n const index = this.bookingFlowModel.guests.indexOf(this.currentGuestModel);\r\n this.bookingFlowModel.guests.splice(index, 1);\r\n }\r\n\r\n addGuestToArray(data: BookingGuestDetailModel) {\r\n this.newGuestValue = data;\r\n if (this.newGuestValue.leadGuest && this.checkIfThereIsLeadGuest()) {\r\n this.changeAddLeadGuest = true;\r\n const currentLeadGuest: BookingGuestDetailModel = this.findLeadGuest();\r\n\r\n const currentLeadGuestFirstName: string = currentLeadGuest.guest.firstName\r\n ? currentLeadGuest.guest.firstName\r\n : '';\r\n const currentLeadGuestLastName: string = currentLeadGuest.guest.lastName\r\n ? currentLeadGuest.guest.lastName\r\n : '';\r\n\r\n const newGuestFirstName: string = this.newGuestValue.guest.firstName\r\n ? this.newGuestValue.guest.firstName\r\n : '';\r\n const newGuestLastName: string = this.newGuestValue.guest.lastName ? this.newGuestValue.guest.lastName : '';\r\n\r\n this.changeAddLeadGuestMessage =\r\n 'Are you sure you want to change the lead guest from ' +\r\n currentLeadGuestFirstName +\r\n ' ' +\r\n currentLeadGuestLastName +\r\n ' to ' +\r\n newGuestFirstName +\r\n ' ' +\r\n newGuestLastName;\r\n } else {\r\n this.bookingFlowModel.guests.push(this.newGuestValue);\r\n }\r\n }\r\n\r\n matchEnteredLeadGuest() {\r\n let leadGuest = this.bookingFlowModel.guests.find(x => x.leadGuest === true);\r\n console.log('Matching entered guest:', leadGuest);\r\n if (leadGuest == null || leadGuest.guest == null) {\r\n console.log('No entered guest');\r\n return;\r\n }\r\n if (leadGuest != null && leadGuest.guest != null && leadGuest.guestId > 0) {\r\n console.log('Guest already matched');\r\n this.activeTab = this.postMatchDestinationTab;\r\n return;\r\n }\r\n\r\n if (leadGuest != null && leadGuest.guest != null && (leadGuest.guestId == null || leadGuest.guestId == 0))\r\n {\r\n if (this.checkedMatchedGuests.findIndex(x => x.lastName == leadGuest.guest.lastName && x.address1 == leadGuest.guest.address1 && x.phone2 == leadGuest.guest.phone2 && x.email == leadGuest.guest.email && x.postalCode == leadGuest.guest.postalCode) > -1) {\r\n //we've already checked this guest => continue\r\n console.log('Already attempted to match guest');\r\n this.activeTab = this.postMatchDestinationTab;\r\n }\r\n else {\r\n //they've entered a guest rather than searched for an existing one - let's see if we can match this\r\n this.matchedGuestLoader = true;\r\n \r\n this.newBookingService.matchGuest(leadGuest.guest).subscribe(\r\n (response) => {\r\n this.matchedGuest = response;\r\n if (this.matchedGuest != null) {\r\n console.log('Found possible matching guest:', this.matchedGuest);\r\n this.showMatchedGuestMessage = 'Existing guest found:
';\r\n if (this.matchedGuest.title != null && this.matchedGuest.title != \"0\") {\r\n this.showMatchedGuestMessage += `
Title: ${this.getGuestTitle(this.matchedGuest.title)}`;\r\n }\r\n if (this.matchedGuest.firstName != null && this.matchedGuest.firstName.length > 0) {\r\n this.showMatchedGuestMessage += `
First name: ${this.matchedGuest.firstName}`;\r\n }\r\n if (this.matchedGuest.lastName != null && this.matchedGuest.lastName.length > 0) {\r\n this.showMatchedGuestMessage += `
Last name: ${this.matchedGuest.lastName}`;\r\n }\r\n if (this.matchedGuest.email != null && this.matchedGuest.email.length > 0) {\r\n this.showMatchedGuestMessage += `
Email: ${this.matchedGuest.email}`;\r\n }\r\n if (this.matchedGuest.phone2 != null && this.matchedGuest.phone2.length > 0) {\r\n this.showMatchedGuestMessage += `
Mobile: ${this.matchedGuest.phone2}`;\r\n }\r\n if (this.matchedGuest.address1 != null && this.matchedGuest.address1.length > 0) {\r\n this.showMatchedGuestMessage += `
Address1: ${this.matchedGuest.address1}`;\r\n }\r\n if (this.matchedGuest.postalCode != null && this.matchedGuest.postalCode.length > 0) {\r\n this.showMatchedGuestMessage += `
Postal code: ${this.matchedGuest.postalCode}`;\r\n }\r\n this.showMatchedGuestMessage += '

Do you want to use this guest as the lead guest, or create a new guest record?';\r\n this.matchedGuestLoader = false;\r\n this.showMatchedGuest = true;\r\n this.checkedMatchedGuests.push(JSON.parse(JSON.stringify(leadGuest.guest)));\r\n }\r\n else {\r\n this.matchedGuestLoader = false;\r\n this.activeTab = this.postMatchDestinationTab; \r\n }\r\n },\r\n (error) => {\r\n this.matchedGuestLoader = false;\r\n this.activeTab = this.postMatchDestinationTab;\r\n }\r\n );\r\n }\r\n }\r\n\r\n }\r\n\r\n getGuestTitle(title: string): string {\r\n switch (title) {\r\n case '1':\r\n return 'Mr';\r\n case '2':\r\n return 'Mrs';\r\n case '3':\r\n return 'Ms';\r\n case '4':\r\n return 'Miss';\r\n case '5':\r\n return 'Dr';\r\n default: \r\n return '';\r\n }\r\n }\r\n\r\n showMatchedGuestConfirmation(result: boolean) {\r\n this.showMatchedGuest = false;\r\n this.showMatchedGuestMessage = null;\r\n this.activeTab = this.postMatchDestinationTab;\r\n\r\n if (result == true) {\r\n let leadGuest = this.bookingFlowModel.guests.find(x => x.leadGuest === true);\r\n leadGuest.guest = JSON.parse(JSON.stringify(this.matchedGuest));\r\n leadGuest.guestId = this.matchedGuest.id;\r\n leadGuest.guest.title = this.getGuestTitle(this.matchedGuest.title);\r\n console.log('Lead guest is now', leadGuest);\r\n this.matchedGuest = null;\r\n \r\n }\r\n\r\n }\r\n\r\n updateGuestInArray(data: any) {\r\n this.oldGuestValue = data.oldValue;\r\n this.newGuestValue = data.newValue;\r\n\r\n if (this.newGuestValue.leadGuest && this.checkIfThereIsLeadGuest() && !this.oldGuestValue.leadGuest) {\r\n this.changeEditLeadGuest = true;\r\n const currentLeadGuest: BookingGuestDetailModel = this.findLeadGuest();\r\n\r\n const currentLeadGuestFirstName: string = currentLeadGuest.guest.firstName\r\n ? currentLeadGuest.guest.firstName\r\n : '';\r\n const currentLeadGuestLastName: string = currentLeadGuest.guest.lastName\r\n ? currentLeadGuest.guest.lastName\r\n : '';\r\n\r\n const newGuestFirstName: string = this.newGuestValue.guest.firstName\r\n ? this.newGuestValue.guest.firstName\r\n : '';\r\n const newGuestLastName: string = this.newGuestValue.guest.lastName ? this.newGuestValue.guest.lastName : '';\r\n\r\n this.changeEditLeadGuestMessage =\r\n 'Are you sure you want to change the lead guest from ' +\r\n currentLeadGuestFirstName +\r\n ' ' +\r\n currentLeadGuestLastName +\r\n ' to ' +\r\n newGuestFirstName +\r\n ' ' +\r\n newGuestLastName;\r\n } else {\r\n const index = this.bookingFlowModel.guests.indexOf(this.oldGuestValue);\r\n this.bookingFlowModel.guests[index] = this.newGuestValue;\r\n }\r\n }\r\n\r\n setLeadGuestsFalse() {\r\n this.bookingFlowModel.guests.forEach((x) => (x.leadGuest = false));\r\n }\r\n\r\n findLeadGuest(): BookingGuestDetailModel {\r\n for (const guest of this.bookingFlowModel.guests) {\r\n if (guest.leadGuest) {\r\n return guest;\r\n }\r\n }\r\n }\r\n\r\n checkIfThereIsLeadGuest() {\r\n for (const guest of this.bookingFlowModel.guests) {\r\n if (guest.leadGuest) {\r\n if (guest.bookingRoomId == null) {\r\n this.errorLeadGuest = 'Lead guest must be assigned to a room.';\r\n this.errorLeadGuestFull = 'You need to assign the lead guest to a room by clicking their surname, and selecting from the Room dropdown near the bottom of the pop up screen.';\r\n return false;\r\n }\r\n\r\n this.errorLeadGuest = '';\r\n this.errorLeadGuestFull = '';\r\n return true;\r\n }\r\n }\r\n\r\n this.errorLeadGuest = 'Booking must have lead guest.';\r\n this.errorLeadGuestFull = 'Booking must have lead guest.';\r\n return false;\r\n }\r\n\r\n declinedChangeEditLeadGuest(declined: boolean) {\r\n if (declined) {\r\n this.newGuestValue.leadGuest = false;\r\n const index = this.bookingFlowModel.guests.indexOf(this.oldGuestValue);\r\n this.bookingFlowModel.guests[index] = this.newGuestValue;\r\n }\r\n }\r\n\r\n confirmChangeEditLeadGuest() {\r\n this.setLeadGuestsFalse();\r\n const index = this.bookingFlowModel.guests.indexOf(this.oldGuestValue);\r\n this.bookingFlowModel.guests[index] = this.newGuestValue;\r\n }\r\n\r\n declinedChangeAddLeadGuest(declined: boolean) {\r\n if (declined) {\r\n this.newGuestValue.leadGuest = false;\r\n this.bookingFlowModel.guests.push(this.newGuestValue);\r\n }\r\n }\r\n\r\n confirmChangeAddLeadGuest() {\r\n this.setLeadGuestsFalse();\r\n this.bookingFlowModel.guests.push(this.newGuestValue);\r\n }\r\n\r\n //
\r\n\r\n // \r\n\r\n validateDatesInExtras(): boolean {\r\n let counter = 0;\r\n for (const saleItem of this.bookingFlowModel.bookingExtras) {\r\n if (\r\n (saleItem.chargeType === 'Each') &&\r\n (saleItem.dateFrom === null || saleItem.dateTo === null)\r\n ) {\r\n counter++;\r\n }\r\n }\r\n\r\n if (counter > 0) {\r\n this.errorExtrasMessage = 'Error! Please fill all dates.';\r\n return false;\r\n } else {\r\n this.errorExtrasMessage = '';\r\n return true;\r\n }\r\n }\r\n\r\n validateItemQuantity(data: SaleItemBookingModel): boolean {\r\n let res = true;\r\n if (data.saleItemId != null) {\r\n res = res && data.quantity >= 1;\r\n res = res && this.calculateQuantityForSaleItem(data) >= data.quantity;\r\n }\r\n if (!res) {\r\n this.errorExtrasMessage = 'Error! Quantity is invalid.';\r\n }\r\n return res;\r\n }\r\n\r\n getItemClass(data: SaleItemBookingModel): string {\r\n const res = this.validateItemQuantity(data);\r\n return res ? '' : 'invalid-sale-item';\r\n }\r\n\r\n validateSaleItemPrice(): boolean {\r\n for (const salItem of this.bookingFlowModel.bookingExtras) {\r\n // if (salItem.price < 0) {\r\n // return false;\r\n // }\r\n\r\n if (salItem.quantity < 1) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n addNewExtra() {\r\n this.formSubmitted = false;\r\n const saleItemBookingModel: SaleItemBookingModel = new SaleItemBookingModel();\r\n saleItemBookingModel.saleItemId = null;\r\n saleItemBookingModel.total = 0;\r\n saleItemBookingModel.disabledSaleItem = saleItemBookingModel.disabledDateFrom = saleItemBookingModel.disabledDateTo = saleItemBookingModel.disabledPrice = saleItemBookingModel.disabledQuantity = true;\r\n this.bookingFlowModel.bookingExtras.push(saleItemBookingModel);\r\n }\r\n\r\n changeExtraDateFrom(e, data: SaleItemBookingModel) {\r\n if (e.value !== null) {\r\n if (new Date(data.dateFrom).getTime() > new Date(data.dateTo).getTime()) {\r\n const dateFrom: Date = new Date(data.dateFrom);\r\n data.dateTo = new Date(dateFrom.getTime()).toDateString();\r\n }\r\n\r\n data.quantity = this.calculateQuantityForSaleItem(data);\r\n this.calculateTotalExtraPrice(data);\r\n }\r\n }\r\n\r\n changeExtraDateTo(e, data: SaleItemBookingModel) {\r\n if (e.value !== null) {\r\n if (new Date(data.dateFrom).getTime() > new Date(data.dateTo).getTime()) {\r\n const dateTo: Date = new Date(data.dateTo);\r\n data.dateFrom = new Date(dateTo.getTime()).toDateString();\r\n }\r\n\r\n data.quantity = this.calculateQuantityForSaleItem(data);\r\n this.calculateTotalExtraPrice(data);\r\n }\r\n }\r\n\r\n getBookingRoom(id: number): BookingGridModel {\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n if (id === room.roomId) {\r\n return room;\r\n }\r\n }\r\n\r\n return null;\r\n }\r\n\r\n getMaxBookingDate(): Date {\r\n let currentDate = new Date();\r\n\r\n if (this.bookingFlowModel.bookingRoom.length > 0) {\r\n currentDate = new Date(this.bookingFlowModel.bookingRoom[0].bookingTo);\r\n }\r\n\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n if (new Date(room.bookingTo) > currentDate) {\r\n currentDate = new Date(room.bookingTo);\r\n }\r\n }\r\n\r\n return currentDate;\r\n }\r\n\r\n getMinBookingDate(): Date {\r\n let currentDate = new Date();\r\n if (this.bookingFlowModel.bookingRoom.length > 0) {\r\n currentDate = new Date(this.bookingFlowModel.bookingRoom[0].bookingFrom);\r\n }\r\n\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n if (new Date(room.bookingFrom) < currentDate) {\r\n currentDate = new Date(room.bookingFrom);\r\n }\r\n }\r\n\r\n return currentDate;\r\n }\r\n\r\n calculateQuantityForSaleItem(model: SaleItemBookingModel): number {\r\n const roomGridModel: BookingGridModel = this.getBookingRoom(model.bookingRoomId);\r\n let persons: number = roomGridModel == null ? 0 : roomGridModel.adults + roomGridModel.children; \r\n let from = moment(model.dateFrom);\r\n let to = moment(model.dateTo);\r\n \r\n if (model.bookingRoomId === -1) {\r\n persons = 0;\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n persons += room.adults + room.children;\r\n }\r\n from = moment(model.dateFrom === null ? this.getMaxBookingDate() : new Date(model.dateFrom));\r\n to = moment(model.dateTo === null ? this.getMinBookingDate() : new Date(model.dateTo));\r\n }\r\n\r\n const numberOfDays = to.diff(from, 'days') + 1; //subtract 1 as you either do not get item on checkin or checkout day\r\n \r\n switch (model.chargeType) {\r\n case 'PerPersonPerDayMorning':\r\n case 'PerPersonPerDayEvening':\r\n return persons * numberOfDays;\r\n case 'PerDayMorning':\r\n case 'PerDayEvening':\r\n return numberOfDays;\r\n case 'PerPersonPerStay':\r\n return persons;\r\n case 'Each':\r\n return 1;\r\n }\r\n\r\n }\r\n\r\n handleSaleItemChange(saleItemModel: SaleItemBookingModel, saleItem: SaleItemModel) {\r\n \r\n saleItemModel.disabledDateFrom = false;\r\n saleItemModel.disabledDateTo = false;\r\n saleItemModel.disabledQuantity = false;\r\n\r\n if (saleItemModel.bookingRoomId === -1) {\r\n saleItemModel.dateFrom = this.getMinBookingDate().toDateString();\r\n saleItemModel.dateTo = this.getMaxBookingDate().toDateString();\r\n } else {\r\n saleItemModel.dateFrom = new Date(this.getBookingRoom(saleItemModel.bookingRoomId).bookingFrom).toDateString();\r\n saleItemModel.dateTo = new Date(this.getBookingRoom(saleItemModel.bookingRoomId).bookingTo).toDateString();\r\n }\r\n\r\n saleItemModel.minDate = this.dateFrom.toDateString();\r\n saleItemModel.maxDate = this.dateTo.toDateString();\r\n\r\n switch (saleItemModel.chargeType)\r\n {\r\n case 'PerPersonPerDayMorning':\r\n case 'PerPersonPerDayEvening':\r\n case 'PerDayMorning':\r\n case 'PerDayEvening':\r\n case 'PerPersonPerStay':\r\n {\r\n saleItemModel.disabledDateFrom = true;\r\n saleItemModel.disabledDateTo = true;\r\n if (saleItemModel.chargeType == 'PerPersonPerDayMorning' || saleItemModel.chargeType == 'PerDayMorning')\r\n {\r\n //applies from day after check-in\r\n let dFrom = new Date(saleItemModel.dateFrom);\r\n dFrom.setDate(dFrom.getDate() + 1);\r\n saleItemModel.dateFrom = dFrom.toDateString();\r\n saleItemModel.disabledQuantity = true;\r\n }\r\n if (saleItemModel.chargeType == 'PerPersonPerDayEvening' || saleItemModel.chargeType == 'PerDayEvening')\r\n {\r\n //applies to 1 day day before check-out\r\n let dTo = new Date(saleItemModel.dateTo);\r\n dTo.setDate(dTo.getDate() - 1);\r\n saleItemModel.dateTo = dTo.toDateString();\r\n saleItemModel.disabledQuantity = true;\r\n }\r\n if (saleItemModel.chargeType == 'PerPersonPerStay')\r\n {\r\n saleItemModel.dateTo = saleItemModel.dateFrom;\r\n }\r\n }\r\n break;\r\n case 'Each':\r\n {\r\n saleItemModel.disabledDateTo = true;\r\n let currentDate = new Date();\r\n currentDate.setHours(0);\r\n currentDate.setMinutes(0);\r\n currentDate.setSeconds(0);\r\n\r\n if (currentDate > this.dateFrom && currentDate <= this.dateTo) {\r\n //they're adding a new extra during the stay - default to the current date\r\n saleItemModel.dateFrom = currentDate.toDateString();\r\n }\r\n if (saleItem.itemType === 'CancellationItem')\r\n {\r\n saleItemModel.dateFrom = currentDate.toDateString();\r\n saleItemModel.minDate = new Date(2000,0,1,0,0,0,0).toDateString();\r\n saleItemModel.maxDate = new Date(2100,0,1,0,0,0,0).toDateString(); \r\n }\r\n else if (saleItem.itemType === 'EarlyCheckIn') {\r\n saleItemModel.dateFrom = new Date(this.getBookingRoom(saleItemModel.bookingRoomId).bookingFrom).toDateString();\r\n saleItemModel.minDate = saleItemModel.dateFrom;\r\n saleItemModel.maxDate = saleItemModel.dateFrom;\r\n }\r\n else if (saleItem.itemType === 'LateCheckOut') {\r\n saleItemModel.dateFrom = new Date(this.getBookingRoom(saleItemModel.bookingRoomId).bookingTo).toDateString();\r\n saleItemModel.minDate = saleItemModel.dateFrom;\r\n saleItemModel.maxDate = saleItemModel.dateFrom;\r\n }\r\n saleItemModel.dateTo = saleItemModel.dateFrom;\r\n }\r\n break;\r\n }\r\n \r\n }\r\n\r\n setSaleItem(e, data: SaleItemBookingModel) {\r\n if (e.itemData !== null) {\r\n const saleItem: SaleItemModel = e.itemData;\r\n\r\n data.saleItemId = saleItem.id;\r\n data.chargeType = saleItem.chargeType;\r\n\r\n this.handleSaleItemChange(data, saleItem);\r\n data.quantity = this.calculateQuantityForSaleItem(data);\r\n data.price = saleItem.price;\r\n // data.notes = saleItem.notes;\r\n data.total = data.price * data.quantity;\r\n data.disabledPrice = false;\r\n }\r\n }\r\n\r\n setPaymentType(e) {\r\n if (e.itemData.value === 'Tokenise') {\r\n this.bookingPaymentModel.amount = 0;\r\n }\r\n }\r\n\r\n calculateTotalExtraPrice(saleItem: SaleItemBookingModel) {\r\n saleItem.total = saleItem.quantity * saleItem.price;\r\n }\r\n\r\n deleteSaleItem(data) {\r\n const index = this.bookingFlowModel.bookingExtras.indexOf(data);\r\n this.bookingFlowModel.bookingExtras.splice(index, 1);\r\n }\r\n\r\n getSaleItems(event, saleItem: SaleItemBookingModel) {\r\n if (event.itemData !== null) {\r\n const room: RoomBaseModel = event.itemData;\r\n this.getRatePlanSaleItemsForBooking(saleItem, room.id === -1 ? null : room.ratePlanId);\r\n }\r\n }\r\n\r\n getRatePlanSaleItemsForBooking(saleItem: SaleItemBookingModel, ratePlanId: number) {\r\n saleItem.saleItemId = null;\r\n this.newBookingService.getRatePlanSaleItemsForBooking(ratePlanId).subscribe(\r\n (response) => {\r\n saleItem.saleItemsSource = response;\r\n saleItem.disabledSaleItem = false;\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n // \r\n\r\n // \r\n\r\n // insertNewBooking() {\r\n // this.newBookingService.insertNewBooking(this.bookingFlowModel).subscribe(\r\n // response => {\r\n // this.confirmLoader = false;\r\n // this.router.navigate(['booking', 'details', response]);\r\n // },\r\n // error => {\r\n // this.confirmLoader = false;\r\n // }\r\n // );\r\n // }\r\n\r\n getBookingDeposit() {\r\n if (this.bookingFlowModel.bookingStatus===\"Confirmed\") {\r\n this.newBookingService.getBookingDeposit(this.bookingFlowModel).subscribe(\r\n (response) => {\r\n this.bookingPaymentModel.amount = response.toFixed(2);\r\n this.changeTypeValidation(this.bookingPaymentModel.amount);\r\n },\r\n (error) => {}\r\n );\r\n }\r\n }\r\n\r\n changeTypeValidationOnInput(event: any) {\r\n this.changeTypeValidation(event.target.value);\r\n }\r\n\r\n changeTypeValidation(value: number) {\r\n if (value > 0) {\r\n this.financeForm.get('type').setValidators([Validators.required]);\r\n this.financeForm.get('type').updateValueAndValidity();\r\n } else {\r\n this.financeForm.get('type').setValidators(null);\r\n this.financeForm.get('type').updateValueAndValidity();\r\n }\r\n }\r\n\r\n validateFinanceForm() {\r\n if (this.bookingFlowModel.bookingStatus===\"Enquired\") {\r\n return true;\r\n } else {\r\n return this.financeForm.valid;\r\n }\r\n }\r\n\r\n postMessageHandlerNewBooking = (event: any) => {\r\n if (!event.data.token && !event.data.cardMask && !event.data.bookingId) {\r\n this.showPaymentFormModal = false;\r\n return;\r\n }\r\n\r\n const token: string = event.data.token;\r\n const cardMask: string = event.data.cardMask;\r\n const bookingId: string = event.data.bookingId;\r\n\r\n // new booking insert, if successful, redirect to booking details\r\n if (token && cardMask) {\r\n const pciNewBookingModel: PciNewBookingModel = new PciNewBookingModel();\r\n pciNewBookingModel.bookingFlow = this.bookingFlowModel;\r\n pciNewBookingModel.pciBookingToken = token;\r\n pciNewBookingModel.cardMask = cardMask;\r\n\r\n this.newBookingService.pciNewBooking(pciNewBookingModel).subscribe(\r\n (bookingIdFromResponse) => {\r\n this.showPaymentFormModal = false;\r\n this.router.navigate(['/booking', 'details', bookingIdFromResponse]);\r\n },\r\n (error) => {\r\n this.showPaymentFormModal = false;\r\n }\r\n );\r\n }\r\n\r\n if (bookingId) {\r\n this.showPaymentFormModal = false;\r\n this.router.navigate(['/booking', 'details', bookingId]);\r\n }\r\n };\r\n\r\n // \r\n\r\n // \r\n\r\n totalRoomsPrice(): number {\r\n let total = 0;\r\n this.bookingFlowModel.bookingRoom.forEach((x) =>\r\n x.price === null ? (total += x.standardPrice) : (total += x.price)\r\n );\r\n return total;\r\n }\r\n\r\n totalRoomsPriceSearch() {\r\n let total = 0;\r\n this.bookingSearchResultModel.forEach((x) => {\r\n x.ratePlans.forEach((w) => {\r\n if (w.checked) {\r\n total += w.price * w.required;\r\n }\r\n });\r\n });\r\n return total;\r\n }\r\n\r\n totalExtrasPrice(): number {\r\n let total = 0;\r\n this.bookingFlowModel.bookingExtras.forEach((x) => (total += x.total));\r\n return total;\r\n }\r\n\r\n totalPrices(): number {\r\n const total = this.totalRoomsPrice() + this.totalExtrasPrice();\r\n this.financeForm.patchValue({ total: total.toFixed(2) });\r\n return total;\r\n }\r\n\r\n // \r\n checkForCreditCard() {\r\n this.creditCard = this.bookingFlowModel.bookingNotes.replace(/[0-9]/g, 'X');\r\n\r\n if (this.creditCard.includes('XXXXXXXXXXXXXXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX-XXXX-XXXX-XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX.XXXX.XXXX.XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX/XXXX/XXXX/XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n if (this.creditCard.includes('XXXX XXXX XXXX XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n }\r\n\r\n if (this.creditCard.includes('XXXX,XXXX,XXXX,XXXX')) {\r\n this.creditCardValidation = true;\r\n return;\r\n } else {\r\n this.creditCardValidation = false;\r\n }\r\n }\r\n\r\n confirmBooking() {\r\n if (this.bookingFlowModel.bookingNotes && this.bookingFlowModel.bookingNotes.length > 1) {\r\n this.checkForCreditCard();\r\n }\r\n if (!this.creditCardValidation) {\r\n for (const c in this.financeForm.controls) {\r\n if (c != null) {\r\n this.financeForm.controls[c].markAsTouched();\r\n }\r\n }\r\n\r\n this.formSubmitted = true;\r\n\r\n // validation messages\r\n if (!this.validateMaxOccupancy()) {\r\n this.showToastError('Invalid values of chosen rooms');\r\n return;\r\n } else if (this.bookingFlowModel.bookingRoom.length === 0) {\r\n this.showToastError('Please add at least one room to this booking');\r\n return;\r\n } else if (!this.checkRoomDuplicate()) {\r\n this.showToastError('Cannot book same room units. Some date ranges overlap.');\r\n return;\r\n } else if (this.bookingFlowModel.guests.length === 0) {\r\n this.showToastError('No booking guests');\r\n return;\r\n } else if (!this.checkIfThereIsLeadGuest()) {\r\n this.showToastError(this.errorLeadGuest);\r\n return;\r\n } else if (!this.validateDatesInExtras()) {\r\n this.showToastError('Dates are missing in Extras');\r\n return;\r\n } else if (!this.validateSaleItemPrice()) {\r\n this.showToastError('Invalid values of chosen extras');\r\n return;\r\n } else if (!this.validateFinanceForm()) {\r\n this.showToastError('Invalid finance data');\r\n return;\r\n } else if (!this.validateGuestRooms()) {\r\n return;\r\n }\r\n\r\n this.confirmLoader = true;\r\n this.bookingFlowModel.propertyId = this.token.Property.Id;\r\n this.bookingFlowModel.promoCode = this.bookingSearchModel.promoCode;\r\n\r\n this.bookingFlowModel.userId = this.token.IsSuperUser ? null : this.token.User.Id;\r\n this.bookingFlowModel.superUserId = this.token.IsSuperUser ? this.token.User.Id : null;\r\n\r\n if (this.bookingFlowModel.bookingRoom.length > 0) {\r\n this.bookingFlowModel.discountPolicy = this.bookingFlowModel.bookingRoom[0].discountModel;\r\n }\r\n\r\n // remove null extras\r\n const extras: SaleItemBookingModel[] = [];\r\n for (const saleItem of this.bookingFlowModel.bookingExtras) {\r\n if (saleItem.saleItemId !== null) {\r\n extras.push(saleItem);\r\n }\r\n }\r\n\r\n this.bookingFlowModel.bookingExtras = JSON.parse(JSON.stringify(extras));\r\n\r\n this.bookingFlowModel.guests.forEach((x) => (x.guest.partnerId = this.bookingFlowModel.partnerId));\r\n\r\n if (this.bookingFlowModel.bookingStatus === 'Enquired') {\r\n this.bookingFlowModel.bookingPayment = null;\r\n this.insertNewBooking();\r\n } else {\r\n this.bookingPaymentModel.propertyId = this.token.Property.Id;\r\n this.bookingPaymentModel.paymentPurpose = 'Deposit';\r\n this.bookingPaymentModel.userId = this.bookingFlowModel.userId;\r\n this.bookingPaymentModel.superUserId = this.bookingFlowModel.superUserId;\r\n\r\n this.bookingFlowModel.bookingPayment = JSON.parse(JSON.stringify(this.bookingPaymentModel));\r\n\r\n switch (this.bookingPaymentModel.paymentType) {\r\n case 'CaterPay':\r\n case 'Verify':\r\n this.newBookingService.getCaterpayHtmlFormForNewBooking(this.bookingFlowModel).subscribe(\r\n (response: string) => {\r\n this.confirmLoader = false;\r\n this.caterpayForm = response;\r\n this.showPaymentFormModal = true;\r\n this.changeDetector.detectChanges();\r\n },\r\n (error) => {\r\n this.confirmLoader = false;\r\n }\r\n );\r\n break;\r\n case 'Tokenise':\r\n this.newBookingService.getPciCardEntryForm().subscribe(\r\n (response) => {\r\n this.confirmLoader = false;\r\n this.pciBookingForm = response;\r\n this.showPaymentFormModal = true;\r\n this.changeDetector.detectChanges();\r\n },\r\n (error) => {\r\n this.confirmLoader = false;\r\n }\r\n );\r\n break;\r\n default:\r\n this.insertNewBooking();\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n insertNewBooking() {\r\n this.newBookingService.insertNewBooking(this.bookingFlowModel).subscribe(\r\n (response) => {\r\n this.confirmLoader = false;\r\n this.router.navigate(['booking', 'details', response]);\r\n },\r\n (error) => {\r\n this.confirmLoader = false;\r\n }\r\n );\r\n }\r\n\r\n validateGuestRooms(): boolean {\r\n if (this.bookingFlowModel.guests == null || this.bookingFlowModel.guests.length == 0) {\r\n this.showToastError('Please add at least 1 guest to this booking.', 'No guests');\r\n return false;\r\n }\r\n if (this.bookingFlowModel.bookingRoom == null || this.bookingFlowModel.bookingRoom.length == 0) {\r\n this.showToastError('Please add at least 1 room to this booking.', 'No rooms');\r\n return false;\r\n }\r\n\r\n for (const guest of this.bookingFlowModel.guests) {\r\n let matchedRoom = false;\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n if (room.room.id == guest.bookingRoomId || guest.bookingRoomId == null || guest.bookingRoomId == -1) {\r\n matchedRoom = true;\r\n break;\r\n }\r\n }\r\n if (!matchedRoom) {\r\n this.showToastError(`Guest '${guest.guest.firstName}' is assigned to room ${guest.bookingRoomShortName} but this isn't a room on this booking.`, 'Guest room');\r\n return false;\r\n }\r\n }\r\n\r\n for (const room of this.bookingFlowModel.bookingRoom) {\r\n let numGuestsInRoom = 0;\r\n for (const guest of this.bookingFlowModel.guests) {\r\n if (room.room.id == guest.bookingRoomId) { \r\n numGuestsInRoom++;\r\n }\r\n }\r\n if (room.adults + room.children < numGuestsInRoom) {\r\n this.showToastError(`Room '${room.room.shortName}' has ${numGuestsInRoom} guests - but can only support ${room.adults + room.children}.`, 'Guest room');\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n ngOnDestroy() {\r\n window.removeEventListener('message', this.postMessageHandlerNewBooking, false);\r\n }\r\n}\r\n","
\r\n

Rooms

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ bookingGrid.room.shortName }} - {{ bookingGrid.roomTypeName }}: \r\n \r\n {{ bookingGrid.bookingFrom | date: 'dd/MM/yyyy' }} -\r\n {{ bookingGrid.bookingTo | date: 'dd/MM/yyyy' }}\r\n
\r\n
\r\n

Guests

\r\n
\r\n
\r\n

\r\n {{ bookingGuest.guest.title }} \r\n {{ bookingGuest.guest.firstName }} {{ bookingGuest.guest.lastName }}\r\n

\r\n

Phone Number: {{ bookingGuest.guest.phone2 }}

\r\n

E-mail address: {{ bookingGuest.guest.email }}

\r\n

Address: {{ bookingGuest.guest.address1 }}

\r\n
\r\n
\r\n\r\n

\r\n Total:
\r\n {{ token.Currency.Symbol }} {{ totalPrices() | number: '1.2-2' }}\r\n

\r\n\r\n
\r\n \r\n
\r\n Storing credit card data in Caterbook data violates your master service agreement and will lead to your\r\n account being suspended. You should use Caterpay to verify Card data\r\n
\r\n
\r\n
\r\n
Found with
\r\n \r\n \r\n
\r\n
\r\n
Status
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n Book\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

New booking

\r\n\r\n
1. Rooms
\r\n
2. Guests
\r\n
3. Extras
\r\n
4. Finance
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Corporate booker
\r\n \r\n \r\n
\r\n\r\n
\r\n
From
\r\n \r\n \r\n Date from is required.\r\n
\r\n
\r\n
To
\r\n \r\n \r\n Date to is required.\r\n
\r\n
\r\n
Duration
\r\n
\r\n {{ bookingDuration }}\r\n night \r\n nights \r\n
\r\n
\r\n
\r\n
People
\r\n\r\n
\r\n
\r\n
Adults
\r\n\r\n \r\n
{{ bookingSearchModel.adults }}
\r\n \r\n\r\n
\r\n
\r\n
\r\n Children\r\n Ages 0-12\r\n
\r\n \r\n
{{ bookingSearchModel.children }}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
Bedding type
\r\n \r\n \r\n
\r\n
\r\n
Rate plan
\r\n \r\n \r\n
\r\n
\r\n
Promo code
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.data.roomTypeName }} \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
{{getAvailabilityRestrictionMessage(item.data)}}
\r\n
\r\n \r\n \r\n \r\n 0\">\r\n {{ item.data.ratePlans[0].name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ item.data.ratePlans[0].restrictions }}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n 0\"\r\n >{{ token.Currency.Symbol }}\r\n {{ item.data.ratePlans[0].price | number: '1.2-2' }}\r\n \r\n \r\n {{ item.data.available }}\r\n \r\n
\r\n 0\">\r\n \r\n \r\n
\r\n \r\n \r\n 1\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ ratePlan.name }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{ ratePlan.restrictions }}\r\n
\r\n
\r\n \r\n \r\n \r\n {{ token.Currency.Symbol }}\r\n {{ ratePlan.price | number: '1.2-2' }}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n\r\n
\r\n

\r\n Total: {{ token.Currency.Symbol }}\r\n {{ totalRoomsPriceSearch() | number: '1.2-2' }}\r\n

\r\n
\r\n 0\"\r\n [disabled]=\"disableAddToCartButton\"\r\n class=\"addto custom-button blue\"\r\n (click)=\"addToCart()\"\r\n >\r\n Add to booking\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ item.data.bookingFrom | date: 'dd/MM/yyyy' }}\r\n \r\n \r\n {{ item.data.bookingTo | date: 'dd/MM/yyyy' }}\r\n \r\n \r\n {{ item.data.duration }}\r\n night \r\n nights \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n {{ item.data.maxOccupancy }}\r\n \r\n
\r\n \r\n
{{ item.data.adults }}
\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n \r\n
{{ item.data.children }}
\r\n \r\n
\r\n \r\n \r\n
\r\n {{ token.Currency.Symbol }}\r\n \r\n
\r\n \r\n \r\n {{ token.Currency.Symbol }}{{ item.data.suggestedPrice }}\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n 0\"\r\n class=\"custom-button blue reduce-size left\"\r\n type=\"button\"\r\n [disabled]=\"disableRemoveRoomsButton\"\r\n (click)=\"removeCheckedRooms()\"\r\n >\r\n Remove checked rooms\r\n \r\n
\r\n
\r\n Total: {{ token.Currency.Symbol }}{{ totalRoomsPrice() | number: '1.2-2' }}\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n {{ n.data.guest.lastName }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n Error! {{\r\n errorLeadGuestFull\r\n }}\r\n
\r\n
\r\n
Add new
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n {{ item.data.chargeType }}\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n {{ token.Currency.Symbol }}\r\n \r\n
\r\n \r\n {{ token.Currency.Symbol }}{{ item.data.total | number: '1.2-2' }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{\r\n errorExtrasMessage\r\n }}\r\n
\r\n
\r\n Add new\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n

Total: {{ token.Currency.Symbol }}{{ totalExtrasPrice() | number: '1.2-2' }}

\r\n
\r\n\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
Booking total
\r\n {{ token.Currency.Symbol }}\r\n \r\n
\r\n
\r\n
Deposit
\r\n {{ token.Currency.Symbol }}\r\n Minimum is 0\r\n
\r\n
\r\n
Payment type
\r\n \r\n \r\n Payment type is required\r\n
\r\n
\r\n
Payment date
\r\n \r\n \r\n Payment date is required\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"],"names":["CalendarView","BcomReportMisconductModel","constructor","bookingId","categoryId","subcategoryId","damageTypeId","damageCost","detailsText","escalateReport","rebookingAllowed","_defineProperty","DiscountPolicyModel","EnumModel","BookingAllDetails","info","BookingInfoModel","discount","BookingRoomDetailModel","bookingRoomId","bookingRoomFullName","bookingRoomShortName","status","hasRoomType","hasRoom","BookingExtraDetailModel","chargeType","itemType","BookingExtraMoveModel","args","BookingGuestDetailModel","guest","GuestDetail","bookingGuestId","guestId","leadGuest","notes","id","title","email","firstName","lastName","gender","address1","address2","address3","phone","phone2","postalCode","countryId","countryCode","countryName","partnerId","newsletter","dateCreated","under16","BookingPaymentDetailModel","purpose","type","InvoiceDetailModel","cancellationValue","BookingLogModel","BookingPrintModel","BookingSummaryModel","BookingPaymentModel","BookingFlowModel","bookingPayment","discountPolicy","BookingGridModel","SaleItemBookingModel","BookingAddRoomGridModel","BookingNoteModel","GridConfiguration","BookingSearchBrokenPaymensModel","columns","dataField","cellTemplate","caption","allowSorting","alignment","width","customSearch","fieldName","value","pager","showPageSizeSelector","showNavigationButtons","allowedPageSizes","pageSize","showInfo","paging","enabled","pageIndex","mapGridRequest","gridRequest","loadOptions","options","BookingBrokenPayments","BookingsForBrokenPaymentsModel","FilteredBookingDataModel","BookingSearchModel","beddingArrangement","ratePlanId","BookingSearchResultModel","RatePlanBookingResultModel","BookingSearchRoomModel","BookingTooltipModelRoom","BookingTooltipModelEvent","BookingToolTipTotalRowModel","CalculateRoomPriceRequestModel","CalendarLegendColorModel","colors","CalendarColorsModel","default","c1","c2","c3","c4","c5","c6","c7","c8","events","toArrive","checkIn","checkOut","enquired","unavailable","maintenance","warningInfo","GuestModel","CalendarNewBookingPDModel","booking","CalendarBookingModel","CalendarEditBookingPDModel","bookingRoom","CalendarNewBookingRoomModel","CalendarNewBookingGuestModel","CalendarNewBookingRequestModel","CalendarRequestModel","RoomModel","PropertyFunctionRoomModel","CalendarResponseModel","CalendarRoomModel","ActiveRoomTypes","CalendarFunctionModel","CalendarFooterModel","CalendarFunctionSplitModel","Unit","text","color","CalendarSchedulerModel","calendarId","ownerId","unitId","startDate","endDate","allDay","calendar","event","shuffle","roomTypeShortName","showTooltip","CalendarModel","CalendarStatusPDModel","EligibleRoomTypesRequestModel","EventModel","FinishBookingPaymentResponseModel","UpdateCalendarBookingModel","UpdateCalendarModel","UpdateEventCalendarModel","MoveEposModel","GuestListGridResponseModel","selection","mode","allowSelectAll","selectAllMode","GuestMergeViewModel","RoomBaseModel","fullName","shortName","PartnerBaseModel","SourceBaseModel","BookingCommonService","_BookingCommonService","getAvailabilityRestrictionMessage","roomType","availabilityStatus","factory","ɵfac","providedIn","CommonModule","FormsModule","ReactiveFormsModule","SharedModule","CalendarComponent","AuthGuardCompleteUser","AuthGuardUserByRole","RouterModule","mapToCanActivate","CalendarDetailsComponent","CalendarEventDetailsComponent","CalendarStatusComponent","CalendarService","SettingsBookingSearchComponent","BookingsSearchPdResolver","SettingsNewBookingComponent","BookingDetailsComponent","BookingDetailsResolver","SettingsGuestListComponent","SettingsBookingBrokenPaymentsComponent","BrokenPaymentsBookingSearchComponent","BookingDetailsRoomsComponent","BookingDetailsExtrasComponent","BookingDetailsGuestsComponent","BookingDetailsPaymentComponent","BookingDetailsAddRoomsComponent","BookingDetailsAddInvoiceComponent","ConfirmInvoiceAllPopupComponent","BookingDetailsCreateInvoicePreviewComponent","CardsListModalComponent","NoteEditComponent","GuestListEditComponent","GuestListMergeComponent","GuestListBookingsComponent","BookingPrintSummaryComponent","NewBookingService","SettingsBookingBrokenPaymentsService","NewFunctionService","DxTagBoxModule","DxContextMenuModule","DxDateBoxModule","DxPopoverModule","DxSelectBoxModule","DxDataGridModule","DxTextBoxModule","DxTooltipModule","DxRadioGroupModule","DxTabsModule","DxTabPanelModule","BookingDetailsMoveExtrasComponent","BookingReportMisconductComponent","BookingBulkEditComponent","bookingRoutes","path","canActivate","component","data","roles","resolve","pdData","bookingAllDetails","BookingModule","_BookingModule","bootstrap","imports","forChild","declarations","i1","EventEmitter","Validators","AuthTokenService","CookieHelper","RoomTypeBaseModel","PermissionsEnum","moment","PciNewCalendarBookingModel","Subject","ToastEventType","CustomValidationService","i0","ɵɵelementStart","ɵɵlistener","CalendarDetailsComponent_div_7_Template_div_click_0_listener","ɵɵrestoreView","_r23","ctx_r22","ɵɵnextContext","ɵɵresetView","changeTab","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ctx_r0","classTab3","ɵɵelementContainerStart","ɵɵelementContainerEnd","ɵɵadvance","ɵɵtextInterpolate1","ctx_r34","calendarNewBookingPDModel","roomShortName","ɵɵtemplate","CalendarDetailsComponent_ng_container_9_h2_1_ng_container_2_Template","ctx_r24","ctx_r35","ɵɵpureFunction1","_c0","ctx_r36","bookingNo","CalendarDetailsComponent_ng_container_9_h2_2_ng_container_2_Template","CalendarDetailsComponent_ng_container_9_h2_2_a_3_Template","ctx_r25","CalendarDetailsComponent_ng_container_9_div_19_ng_container_2_Template","CalendarDetailsComponent_ng_container_9_div_19_ng_container_3_Template","ctx_r28","calculateDurationOfBooking","ɵɵtwoWayListener","CalendarDetailsComponent_ng_container_9_div_58_Template_input_ngModelChange_3_listener","$event","_r40","ctx_r39","ɵɵtwoWayBindingSet","suggestedPrice","ɵɵtwoWayProperty","ctx_r31","CalendarDetailsComponent_ng_container_9_div_59_Template_input_ngModelChange_3_listener","_r43","ctx_r42","totalPrice","CalendarDetailsComponent_ng_container_9_div_59_span_4_Template","_c1","ctx_r32","valForm","controls","hasError","dirty","touched","CalendarDetailsComponent_ng_container_9_div_69_button_1_Template_button_click_0_listener","_r50","ctx_r49","cancelBooking","ɵɵelement","CalendarDetailsComponent_ng_container_9_div_69_button_3_Template_button_click_0_listener","_r52","ctx_r51","checkInConfirmFunction","CalendarDetailsComponent_ng_container_9_div_69_button_4_Template_button_click_0_listener","_r54","ctx_r53","CalendarDetailsComponent_ng_container_9_div_69_button_1_Template","CalendarDetailsComponent_ng_container_9_div_69_div_2_Template","CalendarDetailsComponent_ng_container_9_div_69_button_3_Template","CalendarDetailsComponent_ng_container_9_div_69_button_4_Template","CalendarDetailsComponent_ng_container_9_div_69_div_5_Template","ctx_r33","loaderCancel","loaderCheck","CalendarDetailsComponent_ng_container_9_h2_1_Template","CalendarDetailsComponent_ng_container_9_h2_2_Template","CalendarDetailsComponent_ng_container_9_Template_dx_date_box_valueChange_9_listener","_r56","ctx_r55","dateFrom","CalendarDetailsComponent_ng_container_9_Template_dx_date_box_onValueChanged_9_listener","ctx_r57","changeDateFrom","CalendarDetailsComponent_ng_container_9_span_10_Template","CalendarDetailsComponent_ng_container_9_Template_dx_date_box_valueChange_14_listener","ctx_r58","dateTo","CalendarDetailsComponent_ng_container_9_Template_dx_date_box_onValueChanged_14_listener","ctx_r59","changeDateTo","CalendarDetailsComponent_ng_container_9_span_15_Template","CalendarDetailsComponent_ng_container_9_div_19_Template","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_valueChange_23_listener","ctx_r60","roomTypeId","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_onItemClick_23_listener","ctx_r61","calculateRoomPrice","getRatePlanByRoomType","checkEnquiryBooking","CalendarDetailsComponent_ng_container_9_span_24_Template","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_onItemClick_28_listener","ctx_r62","getRoomTypeByRatePlan","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_valueChange_28_listener","ctx_r63","CalendarDetailsComponent_ng_container_9_span_29_Template","CalendarDetailsComponent_ng_container_9_Template_div_click_37_listener","ctx_r64","substractAdultNum","CalendarDetailsComponent_ng_container_9_Template_div_click_41_listener","ctx_r65","adults","CalendarDetailsComponent_ng_container_9_Template_div_click_48_listener","ctx_r66","substractChildNum","CalendarDetailsComponent_ng_container_9_Template_div_click_52_listener","ctx_r67","children","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_valueChange_57_listener","ctx_r68","statusBooking","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_onValueChanged_57_listener","ctx_r69","onBookingStatusChanged","CalendarDetailsComponent_ng_container_9_div_58_Template","CalendarDetailsComponent_ng_container_9_div_59_Template","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_valueChange_63_listener","ctx_r70","CalendarDetailsComponent_ng_container_9_Template_dx_select_box_onValueChanged_63_listener","ctx_r71","onPartnerChanged","CalendarDetailsComponent_ng_container_9_Template_textarea_ngModelChange_67_listener","ctx_r72","bookingNote","CalendarDetailsComponent_ng_container_9_div_69_Template","ctx_r1","newBooking","editBooking","bookingFrom","roomTypes","ratePlans","_c2","bookingStatus","partners","CalendarDetailsComponent_ng_container_10_div_13_ul_3_Template_li_click_1_listener","restoredCtx","_r90","bookingGuest_r88","$implicit","ctx_r89","setExistingGuest","ɵɵtextInterpolate2","ctx_r87","getGuestSearchPii","CalendarDetailsComponent_ng_container_10_div_13_Template_i_click_2_listener","_r92","ctx_r91","closeGuestSearch","CalendarDetailsComponent_ng_container_10_div_13_ul_3_Template","ctx_r73","existingGuestsList","CalendarDetailsComponent_ng_container_10_div_14_Template_i_click_3_listener","_r94","ctx_r93","clearFormConfirm","ctx_r74","bookingGuestModel","ɵɵtextInterpolate","ctx_r86","errorLeadGuest","CalendarDetailsComponent_ng_container_10_Template_div_clickOutside_9_listener","_r96","ctx_r95","onClickOutside","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_12_listener","ctx_r97","searchValue","CalendarDetailsComponent_ng_container_10_Template_input_keyup_12_listener","ctx_r98","searchExistingGuests","CalendarDetailsComponent_ng_container_10_div_13_Template","CalendarDetailsComponent_ng_container_10_div_14_Template","CalendarDetailsComponent_ng_container_10_Template_dx_select_box_valueChange_20_listener","ctx_r99","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_24_listener","ctx_r100","CalendarDetailsComponent_ng_container_10_span_25_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_29_listener","ctx_r101","CalendarDetailsComponent_ng_container_10_span_30_Template","CalendarDetailsComponent_ng_container_10_span_31_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_35_listener","ctx_r102","CalendarDetailsComponent_ng_container_10_span_36_Template","CalendarDetailsComponent_ng_container_10_span_37_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_41_listener","ctx_r103","CalendarDetailsComponent_ng_container_10_span_42_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_47_listener","ctx_r104","CalendarDetailsComponent_ng_container_10_span_48_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_52_listener","ctx_r105","CalendarDetailsComponent_ng_container_10_span_53_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_57_listener","ctx_r106","CalendarDetailsComponent_ng_container_10_span_58_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_62_listener","ctx_r107","CalendarDetailsComponent_ng_container_10_span_63_Template","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_67_listener","ctx_r108","CalendarDetailsComponent_ng_container_10_span_68_Template","CalendarDetailsComponent_ng_container_10_Template_dx_select_box_valueChange_72_listener","ctx_r109","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_76_listener","ctx_r110","CalendarDetailsComponent_ng_container_10_Template_input_change_76_listener","ctx_r111","subscribeNewsletterChange","CalendarDetailsComponent_ng_container_10_Template_input_ngModelChange_80_listener","ctx_r112","CalendarDetailsComponent_ng_container_10_Template_input_change_80_listener","ctx_r113","checkGuestAge","CalendarDetailsComponent_ng_container_10_span_84_Template","ctx_r2","message","readOnly","showExistingGuests","setExistGuest","guestForm","titles","countries","showLeadGuestError","CalendarDetailsComponent_ng_container_11_Template_input_ngModelChange_13_listener","_r118","ctx_r117","bookingPaymentModel","amount","CalendarDetailsComponent_ng_container_11_Template_input_input_13_listener","ctx_r119","changeTypeValidationOnInput","CalendarDetailsComponent_ng_container_11_span_14_Template","CalendarDetailsComponent_ng_container_11_Template_dx_select_box_onItemClick_18_listener","ctx_r120","setPaymentType","CalendarDetailsComponent_ng_container_11_Template_dx_select_box_valueChange_18_listener","ctx_r121","paymentType","CalendarDetailsComponent_ng_container_11_span_19_Template","CalendarDetailsComponent_ng_container_11_Template_dx_date_box_valueChange_23_listener","ctx_r122","paymentDate","CalendarDetailsComponent_ng_container_11_span_24_Template","ctx_r3","financeForm","token","Currency","Symbol","bookingPaymentTypes","ɵɵpureFunction0","_c3","CalendarDetailsComponent_button_13_Template_button_click_0_listener","_r124","ctx_r123","close","CalendarDetailsComponent_button_14_Template_button_click_0_listener","_r126","ctx_r125","activeTab","CalendarDetailsComponent_button_15_Template_button_click_0_listener","_r128","ctx_r127","submitBooking","ctx_r6","isUnder16","loader","CalendarDetailsComponent_button_16_Template_button_click_0_listener","_r130","ctx_r129","CalendarDetailsComponent_button_17_Template_button_click_0_listener","_r132","ctx_r131","CalendarDetailsComponent_button_18_Template_button_click_0_listener","_r134","ctx_r133","ctx_r11","theme","CalendarDetailsComponent_app_confirm_modal_21_Template_app_confirm_modal_confirmModalChange_0_listener","_r136","ctx_r135","cancelPopup","CalendarDetailsComponent_app_confirm_modal_21_Template_app_confirm_modal_confirm_0_listener","ctx_r137","cancelBookingConfirm","CalendarDetailsComponent_app_confirm_modal_21_Template_app_confirm_modal_alternativeOption_0_listener","ctx_r138","noShowConfirm","ctx_r12","noShowAvailable","CalendarDetailsComponent_app_confirm_modal_22_Template_app_confirm_modal_confirmModalChange_0_listener","_r140","ctx_r139","confirmCancelWaiveFees","CalendarDetailsComponent_app_confirm_modal_22_Template_app_confirm_modal_confirm_0_listener","ctx_r141","ConfirmCancelBooking","CalendarDetailsComponent_app_confirm_modal_22_Template_app_confirm_modal_declined_0_listener","ctx_r142","CalendarDetailsComponent_app_confirm_modal_22_Template_app_confirm_modal_alternativeOption_0_listener","ctx_r143","ctx_r13","confirmCancelWaiveFeesMessage","CalendarDetailsComponent_app_confirm_modal_23_Template_app_confirm_modal_confirmModalChange_0_listener","_r145","ctx_r144","confirmNoShowWaiveFees","CalendarDetailsComponent_app_confirm_modal_23_Template_app_confirm_modal_confirm_0_listener","ctx_r146","confirmNoShow","CalendarDetailsComponent_app_confirm_modal_23_Template_app_confirm_modal_declined_0_listener","ctx_r147","CalendarDetailsComponent_app_confirm_modal_23_Template_app_confirm_modal_alternativeOption_0_listener","ctx_r148","ctx_r14","confirmNoShowWaiveFeesMessage","CalendarDetailsComponent_app_confirm_modal_24_Template_app_confirm_modal_confirmModalChange_0_listener","_r150","ctx_r149","confirmDateChange","CalendarDetailsComponent_app_confirm_modal_24_Template_app_confirm_modal_declined_0_listener","ctx_r151","CalendarDetailsComponent_app_confirm_modal_24_Template_app_confirm_modal_confirm_0_listener","ctx_r152","updateCalendarBookingRequest","ctx_r15","dateExceptionMessage","CalendarDetailsComponent_app_confirm_modal_25_Template_app_confirm_modal_confirmModalChange_0_listener","_r154","ctx_r153","CalendarDetailsComponent_app_confirm_modal_25_Template_app_confirm_modal_declined_0_listener","ctx_r155","confirmDateNew","CalendarDetailsComponent_app_confirm_modal_25_Template_app_confirm_modal_confirm_0_listener","ctx_r156","insertCalendarBookingRequest","ctx_r16","CalendarDetailsComponent_app_confirm_modal_26_Template_app_confirm_modal_confirmModalChange_0_listener","_r158","ctx_r157","showMatchedGuest","CalendarDetailsComponent_app_confirm_modal_26_Template_app_confirm_modal_declined_0_listener","ctx_r159","showMatchedGuestConfirmation","CalendarDetailsComponent_app_confirm_modal_26_Template_app_confirm_modal_confirm_0_listener","ctx_r160","ctx_r17","showMatchedGuestMessage","CalendarDetailsComponent_app_confirm_modal_27_Template_app_confirm_modal_confirmModalChange_0_listener","_r162","ctx_r161","clearGuest","CalendarDetailsComponent_app_confirm_modal_27_Template_app_confirm_modal_confirm_0_listener","ctx_r163","clearForm","ctx_r18","CalendarDetailsComponent_app_payment_form_modal_28_Template_app_payment_form_modal_paymentFormChange_0_listener","_r165","ctx_r164","showPaymentFormModal","ctx_r19","caterpayForm","pciBookingForm","CalendarDetailsComponent_app_confirm_modal_29_Template_app_confirm_modal_confirm_0_listener","_r167","ctx_r166","notifyBcomConfirmed","CalendarDetailsComponent_app_confirm_modal_29_Template_app_confirm_modal_declined_0_listener","ctx_r168","confirmNotifyBcom","update","emit","ctx_r20","notifyBcomMessage","CalendarDetailsComponent_app_confirm_modal_30_Template_app_confirm_modal_confirmModalChange_0_listener","_r170","ctx_r169","confirmCheckIn","CalendarDetailsComponent_app_confirm_modal_30_Template_app_confirm_modal_confirm_0_listener","ctx_r171","CalendarDetailsComponent_app_confirm_modal_30_Template_app_confirm_modal_declined_0_listener","ctx_r172","ctx_r21","confirmCheckInMessage","_CalendarDetailsComponent","fb","calendarService","newBookingService","bookingDetailsService","toasterService","permissionsService","communicationService","changeDetector","router","cardMask","console","log","paymentStatus","setBookingIdCookie","paymentError","confirmPaymentError","insertBooking","pciNewBookingModel","bookingFlow","pciBookingToken","pciNewCalendarBooking","subscribe","bookingIdFromResponse","error","showToast","Error","decodeJwtToken","User","CmsTheme","permissionsModel","createPermissionsModel","BookingDetail","group","required","ratePlan","partner","compose","min","suggested_price","note","maxLength","initials","telephone","mobilePhone","pattern","telephoneExpression","postCode","country","dialCode1","dialCode2","isChild","total","deposit","date","Date","disable","discountModel","discountType","discountValue","window","addEventListener","postMessageHandlerNewBooking","index","getBookingDeposit","submitGuest","guests","push","patchValue","toFixed","matchGuest","classTab1","className","classTab2","ngOnInit","init","setCookie","validateMaxOccupancyAdult","resetAdultChildrenByRoomType","currentRoomTypeModel","maximumOccupancy","maximumChildren","validateMaxOccupancyChild","getCurrentRoomType","getRoomTypeById","findRoomInNewList","currentRoomModel","room","roomsList","findLeadGuestForEdit","requestModel","partnerChange","body","document","getElementsByTagName","style","overflow","showGuestModalFirstTime","addGuest","bookingIdGuests","groups","calendarNewBookingRequestModel","roomId","toDateString","newCalendarBooking","response","showForm","bookingTo","sendEmail","showEmailCheckBox","removeControl","updateValueAndValidity","showFinanceForm","editCalendarBooking","getTime","checkBookingStatus","find","x","length","to","from","diff","calculateRoomPriceRequestModel","arrive","depart","validateBookingPrice","checkOutConfirmFunction","checkGuestBefore","bookingRoomCheckIn","includes","Success","bookingRoomCheckOut","refreshDiscountData","itemData","partnerModel","discountAmount","p","newBookingRequest","getCancellationPolicy","parseInt","result","applies","penaltyAmount","policyType","toLowerCase","applyPenalty","cancelCalendarBooking","otaChannel","noShowBooking","actionResult","successMessage","errors","e","detectChanges","declinedChangeEditLeadGuest","declined","newGuestValue","indexOf","oldGuestValue","declinedChangeAddLeadGuest","checkAndADefaultLeadingGuest","c","markAsTouched","valid","insertUpdateGuest","insertNewBookingGuest","setInitValues","setValue","bookingGuest","editBookingGuest","target","checked","disableGuestControls","enableGuestControls","enable","dateFormatted","getDate","getMonth","getFullYear","replace","getCalendarBookingDeposit","changeTypeValidation","get","setValidators","validateFinanceForm","findLeadGuest","checkForCreditCard","creditCard","creditCardValidation","totalRoomsPrice","postMatchAction","checkedMatchedGuests","findIndex","postMatchActionHandler","matchedGuestLoader","matchedGuest","getGuestTitle","JSON","parse","stringify","completeSubmitBooking","stopPropagation","updateBooking","propertyId","Property","Id","paymentPurpose","userId","IsSuperUser","superUserId","formSubmitted","GetCaterpayHtmlFormForNewCalendarBooking","getPciCardEntryForm","classList","add","isPaymentSuccessfull","paymentRef","IsCaterPayPaymentSuccessfull","updateCalendarModel","forceChangeRoomType","isCalendar","getForUpdateCalendar","hasException","insertCalendarBooking","updateCalendarBooking","confirmationType","warnings","Warning","reportBcomCalendarBookingStayChange","newBookingChange","editBookingChange","deselect","ngOnDestroy","removeEventListener","ɵɵdirectiveInject","UntypedFormBuilder","i2","i3","i4","BookingDetailsService","i5","ToastService","i6","PermissionsService","i7","CommunicationService","ChangeDetectorRef","i8","Router","selectors","inputs","outputs","decls","vars","consts","template","CalendarDetailsComponent_Template","rf","ctx","CalendarDetailsComponent_Template_div_click_3_listener","CalendarDetailsComponent_Template_div_click_5_listener","CalendarDetailsComponent_div_7_Template","CalendarDetailsComponent_ng_container_9_Template","CalendarDetailsComponent_ng_container_10_Template","CalendarDetailsComponent_ng_container_11_Template","CalendarDetailsComponent_button_13_Template","CalendarDetailsComponent_button_14_Template","CalendarDetailsComponent_button_15_Template","CalendarDetailsComponent_button_16_Template","CalendarDetailsComponent_button_17_Template","CalendarDetailsComponent_button_18_Template","CalendarDetailsComponent_div_19_Template","CalendarDetailsComponent_div_20_Template","CalendarDetailsComponent_app_confirm_modal_21_Template","CalendarDetailsComponent_app_confirm_modal_22_Template","CalendarDetailsComponent_app_confirm_modal_23_Template","CalendarDetailsComponent_app_confirm_modal_24_Template","CalendarDetailsComponent_app_confirm_modal_25_Template","CalendarDetailsComponent_app_confirm_modal_26_Template","CalendarDetailsComponent_app_confirm_modal_27_Template","CalendarDetailsComponent_app_payment_form_modal_28_Template","CalendarDetailsComponent_app_confirm_modal_29_Template","CalendarDetailsComponent_app_confirm_modal_30_Template","_CalendarEventDetailsComponent","details","copyData","dateOffset","setTime","editEvent","eventModel","checkForSpaces","trim","validateWhiteSpace","name","submitEvent","description","newEvent","insertEvent","updateEvent","createEvent","newEventChange","editEventChange","CalendarEventDetailsComponent_Template","CalendarEventDetailsComponent_h2_3_Template","CalendarEventDetailsComponent_h2_4_Template","CalendarEventDetailsComponent_Template_form_ngSubmit_5_listener","CalendarEventDetailsComponent_Template_dx_date_box_onValueChanged_10_listener","CalendarEventDetailsComponent_Template_dx_date_box_valueChange_10_listener","CalendarEventDetailsComponent_span_11_Template","CalendarEventDetailsComponent_Template_dx_date_box_onValueChanged_15_listener","CalendarEventDetailsComponent_Template_dx_date_box_valueChange_15_listener","CalendarEventDetailsComponent_span_16_Template","CalendarEventDetailsComponent_Template_input_ngModelChange_20_listener","CalendarEventDetailsComponent_span_21_Template","CalendarEventDetailsComponent_span_22_Template","CalendarEventDetailsComponent_span_23_Template","CalendarEventDetailsComponent_Template_textarea_ngModelChange_27_listener","CalendarEventDetailsComponent_button_28_Template","CalendarEventDetailsComponent_div_29_Template","CalendarEventDetailsComponent_Template_button_click_30_listener","UntypedFormControl","ctx_r9","errorMessageDates","CalendarStatusComponent_div_24_Template_textarea_valueChange_3_listener","_r18","calendarStatusPDModel","CalendarStatusComponent_div_25_Template_dx_tag_box_valueChange_3_listener","_r21","selectedRooms","CalendarStatusComponent_div_25_span_4_Template","rooms","_CalendarStatusComponent","newStatus","addControl","updateCalendarRequest","newCalendarStatus","roomIds","editStatus","editCalendarStatus","deleteStatus","ngOnChanges","changes","filter","r","isFunction","validateDateRange","submitStatus","insertStatus","updateStatus","removeStatus","batch","calendarStatus","username","localStorage","getItem","Username","insertCalendarStatusBatch","updateCalendarStatus","_objectSpread","deleteCalendarStatusBatch","newStatusChange","editStatusChange","deleteStatusChange","features","ɵɵNgOnChangesFeature","CalendarStatusComponent_Template","CalendarStatusComponent_h2_3_Template","CalendarStatusComponent_h2_4_Template","CalendarStatusComponent_h2_5_Template","CalendarStatusComponent_Template_form_ngSubmit_6_listener","CalendarStatusComponent_div_9_Template","CalendarStatusComponent_div_10_Template","CalendarStatusComponent_Template_dx_date_box_valueChange_11_listener","CalendarStatusComponent_Template_dx_date_box_onValueChanged_11_listener","CalendarStatusComponent_span_12_Template","CalendarStatusComponent_div_14_Template","CalendarStatusComponent_div_15_Template","CalendarStatusComponent_Template_dx_date_box_onValueChanged_16_listener","CalendarStatusComponent_Template_dx_date_box_valueChange_16_listener","CalendarStatusComponent_span_17_Template","CalendarStatusComponent_span_18_Template","CalendarStatusComponent_Template_dx_select_box_valueChange_22_listener","CalendarStatusComponent_span_23_Template","CalendarStatusComponent_div_24_Template","CalendarStatusComponent_div_25_Template","CalendarStatusComponent_h4_26_Template","CalendarStatusComponent_button_27_Template","CalendarStatusComponent_button_28_Template","CalendarStatusComponent_div_29_Template","CalendarStatusComponent_Template_button_click_30_listener","statuses","DxSchedulerComponent","CurrencyContext","CalendarComponent_dx_context_menu_5_Template_dx_context_menu_onItemClick_0_listener","_r26","contextMenuItemClick","cellEventSource","activeCalendarView","CalendarComponent_dx_context_menu_6_Template_dx_context_menu_onItemClick_0_listener","_r28","ctx_r27","appointmentEventSource","CalendarComponent_dx_context_menu_7_Template_dx_context_menu_onItemClick_0_listener","_r30","ctx_r29","cellBookingSource","CalendarComponent_dx_context_menu_8_Template_dx_context_menu_onItemClick_0_listener","_r32","appointmentBookingSource","CalendarComponent_div_67_div_1_Template","CalendarComponent_div_67_div_28_Template","ɵɵstyleProp","ftop","fleft","tooltipBottom","tooltipModelFunction","roomName","ɵɵattribute","amFunctionId","getTooltipFunctionDesc","pmFunctionId","eveFunctionId","ctx_r40","tooltipModelRoom","CalendarComponent_div_68_div_1_div_1_Template","CalendarComponent_div_68_div_1_ng_container_49_Template","CalendarComponent_div_68_div_1_div_59_Template","ratePlanShortName","ɵɵpipeBind2","currencyContext","balance","booker","CalendarComponent_div_68_div_2_div_1_Template","CalendarComponent_div_68_div_2_div_20_Template","tooltipModelEvent","CalendarComponent_div_68_div_3_div_1_Template","CalendarComponent_div_68_div_3_div_4_Template","ctx_r37","CalendarComponent_div_68_div_4_div_1_Template","CalendarComponent_div_68_div_4_div_4_Template","ctx_r38","ɵɵtextInterpolate4","tooltipModelTotalRow","totalBookedRooms","totalResidentGuests","CalendarComponent_div_68_div_1_Template","CalendarComponent_div_68_div_2_Template","CalendarComponent_div_68_div_3_Template","CalendarComponent_div_68_div_4_Template","ctx_r7","top","left","tooltipType","CalendarComponent_div_73_Template_div_click_2_listener","checkBookingChange","CalendarComponent_div_73_Template_div_click_4_listener","rejectResize","CalendarComponent_app_calendar_details_75_Template_app_calendar_details_newBookingChange_0_listener","_r53","ctx_r52","CalendarComponent_app_calendar_details_75_Template_app_calendar_details_update_0_listener","ctx_r54","calendarBookingComplete","CalendarComponent_app_calendar_details_75_Template_app_calendar_details_deselect_0_listener","deselectCells","CalendarComponent_app_calendar_details_75_Template_app_calendar_details_paymentError_0_listener","ctx_r56","showBookingPaymentError","ctx_r10","CalendarComponent_app_calendar_details_76_Template_app_calendar_details_editBookingChange_0_listener","_r58","CalendarComponent_app_calendar_details_76_Template_app_calendar_details_update_0_listener","CalendarComponent_app_calendar_details_76_Template_app_calendar_details_deselect_0_listener","CalendarComponent_app_calendar_details_76_Template_app_calendar_details_paymentError_0_listener","CalendarComponent_app_calendar_event_details_77_Template_app_calendar_event_details_newEventChange_0_listener","_r63","CalendarComponent_app_calendar_event_details_77_Template_app_calendar_event_details_update_0_listener","refreshData","CalendarComponent_app_calendar_event_details_77_Template_app_calendar_event_details_deselect_0_listener","CalendarComponent_app_calendar_event_details_78_Template_app_calendar_event_details_editEventChange_0_listener","_r67","CalendarComponent_app_calendar_event_details_78_Template_app_calendar_event_details_update_0_listener","CalendarComponent_app_calendar_event_details_78_Template_app_calendar_event_details_deselect_0_listener","CalendarComponent_app_calendar_status_79_Template_app_calendar_status_newStatusChange_0_listener","_r71","CalendarComponent_app_calendar_status_79_Template_app_calendar_status_update_0_listener","CalendarComponent_app_calendar_status_79_Template_app_calendar_status_deselect_0_listener","calendarResponseModel","CalendarComponent_app_calendar_status_80_Template_app_calendar_status_editStatusChange_0_listener","_r75","CalendarComponent_app_calendar_status_80_Template_app_calendar_status_update_0_listener","ctx_r76","CalendarComponent_app_calendar_status_80_Template_app_calendar_status_deselect_0_listener","ctx_r77","CalendarComponent_app_calendar_status_81_Template_app_calendar_status_deleteStatusChange_0_listener","_r79","ctx_r78","deleteStatusBatch","CalendarComponent_app_calendar_status_81_Template_app_calendar_status_update_0_listener","ctx_r80","CalendarComponent_app_calendar_status_81_Template_app_calendar_status_deselect_0_listener","ctx_r81","CalendarComponent_app_delete_modal_82_Template_app_delete_modal_deleteModalChange_0_listener","_r83","ctx_r82","deleteEvent","CalendarComponent_app_delete_modal_82_Template_app_delete_modal_delete_0_listener","ctx_r84","deleteEventConfirmed","CalendarComponent_app_delete_modal_83_Template_app_delete_modal_deleteModalChange_0_listener","_r86","ctx_r85","CalendarComponent_app_delete_modal_83_Template_app_delete_modal_delete_0_listener","deleteCalendarConfirmed","CalendarComponent_app_confirm_modal_84_Template_app_confirm_modal_confirmModalChange_0_listener","_r89","ctx_r88","changeRoomType","CalendarComponent_app_confirm_modal_84_Template_app_confirm_modal_declined_0_listener","ctx_r90","CalendarComponent_app_confirm_modal_84_Template_app_confirm_modal_confirm_0_listener","updateCalendarWithForce","CalendarComponent_app_confirm_modal_85_Template_app_confirm_modal_confirmModalChange_0_listener","_r93","ctx_r92","CalendarComponent_app_confirm_modal_85_Template_app_confirm_modal_declined_0_listener","ctx_r94","CalendarComponent_app_confirm_modal_85_Template_app_confirm_modal_confirm_0_listener","acceptResizeFunction","CalendarComponent_app_confirm_modal_86_Template_app_confirm_modal_confirmModalChange_0_listener","_r97","ctx_r96","confirmMoveToTakenRoom","CalendarComponent_app_confirm_modal_86_Template_app_confirm_modal_declined_0_listener","CalendarComponent_app_confirm_modal_86_Template_app_confirm_modal_confirm_0_listener","updateRoomCalendar","confirmMoveToTakenRoomMessage","CalendarComponent_app_confirm_modal_87_Template_app_confirm_modal_confirm_0_listener","_r101","CalendarComponent_app_confirm_modal_87_Template_app_confirm_modal_oKButtonOnly_0_listener","showQuickBookingPaymentError","quickBookingPaymentMessage","CalendarComponent_app_confirm_modal_88_Template_app_confirm_modal_confirmModalChange_0_listener","_r104","noPriceDefinedModal","CalendarComponent_app_confirm_modal_88_Template_app_confirm_modal_declined_0_listener","CalendarComponent_app_confirm_modal_88_Template_app_confirm_modal_confirm_0_listener","navigateToBookingDetails","activeBookingId","ctx_r23","CalendarComponent_app_confirm_modal_89_Template_app_confirm_modal_confirm_0_listener","_r108","CalendarComponent_app_confirm_modal_89_Template_app_confirm_modal_declined_0_listener","SEVEN_DAY_MODE_ROOMS","_CalendarComponent","onResize","resizeElements","draggables","$","element","numOfDays","Number","attr","getDraggableElementWidth","elWidth","clearTimeout","setTimeout","onWindowScroll","verticalOffset","pageYOffset","documentElement","scrollTop","daysHeader","elRef","cookieService","ref","setDate","getCalendarView","offsetWidth","SevenGrid","Regular","resizeGridWidth","expiresDate","setMinutes","getMinutes","match","cookie","RegExp","dateFromDecoded","decodeURI","fromDate","setToSpecifiedDate","currentDate","setDateFromDateTo","bind","Calendar","cookieValue","expiryDate","expires","toUTCString","getCalendar","subscriptionCalendar","getCalendarByRange","calendarRequestModel","setupCalendar","getOffset","setCalendarView","changeDateRange","datesArray","lastDate","offset","addDaysLast","days","startDay","endDay","toggleCalendarView","newCalendarView","openCalendarDetails","cancel","cellData","prepareFunctionTooltipData","frId","calendarSplitModel","showPopup","showFunctionTooltip","prepareTotalRowTooltipData","toalRow","session","amFunctionStatus","pmFunctionStatus","eveFunctionStatus","amFunctionNo","pmFunctionNo","eveFunctionNo","amEventName","pmEventName","eveEventName","prepareTooltipData","appointment","subscriptionEventTooltip","unsubscribe","getTooltipDataForEvent","substring","bookingRef","subscriptionRoomTooltip","getTooltipDataForBooking","currentEventId","deleteCalendarStatus","currentCalendarId","size","querySelectorAll","getBoundingClientRect","checkIfRoomIsTaken","acceptRejectTarget","split","pop","calendarSchedulerData","checkForBookingRoomCheckIn","force","getBookingIdFromCalendarItem","updateCalendar","reportBcomCalendarStayChange","oldData","newData","shuffleCalendar","calendarModel","updateEventCalendarModel","eventId","updateEventOnCalendar","calendarListRoom","reduce","acc","calendarList","allCalendarItems","viewportOffset","currentTarget","offsetLeft","clientWidth","viewportOffsetTop","minimumOffset","windowSize","completed","refreshDataFromSelectBox","activeRoomTypes","showCalendar","prepareDataForScheduler","createCalendar","responseModel","unitsData","unshift","forEach","bookingRoomStatus","calendarLegendColor","fixBookingDateTo","dateString","newDateString","updateShuffle","shuffleCalId","updateDiary","diaryModel","not","selectable","selectableInit","shuffleRow","stop","ui","allSelectedCells","allSelectedFilteredArr","childIndex","selectedCellsRange","toDate","date1","date2","timeDiff","Math","abs","diffDays","ceil","removeClass","each","child","navigate","navigateToFunctionDetails","setNextTwoWeeks","fromConstructor","addDaysCurrent","setPreviousTwoWeeks","removeDaysCurrent","removeDaysLast","setDateToToday","today","dateInput","resultDate","chosenDate","setLastDate","newDate","datePickerFunction","innerWidth","eventResized","showAcceptReject","acceptClicked","diaryResized","shuffleChanged","css","rejectDropped","partlyShowingDropped","draggingElementRow","uiElement","draggable","diaryTopValue","originalPosition","originalSize","getRoomsData","roomsData","dataCalendarId","locked","dataRowId","dataDateFrom","dataDateTo","dataPartlyShowing","dataDiaryName","dataDiaryDesc","dataRoomType","dataRoomTypeChild","morningSession","afternoonSession","eveningSession","classes","getNumbersOfDay","mTo","mFrom","checkAndGetCookieHighlightBookingId","getCookie","isOpera","addons","navigator","userAgent","isFirefox","InstallTrigger","isSafari","test","toString","pushNotification","isIE","isEdge","StyleMedia","isChrome","webstore","empty","lastEvent","addedCalendars","rejectClicked","startDateCopy","roomItem","calendarItem","active","groupColor","daysInRange","roomsArray","beddingArrangements","i","functionRooms","splice","shuffleItem","shuffleData","getNextTwoWeeks","monthFrom","toLocaleString","month","monthTo","yearFrom","yearTo","currentDateRange","formatDate","monthNames","day","dayName","getDay","monthIndex","monthName","timeoutId","off","on","targetElement","findRoomCalendar","show","closest","sDate","setHours","fRow","findFunctionCalendar","totalRow","functionId","dataset","functionid","leftSide","getElementById","leftSideFragment","createDocumentFragment","calendarCells","calendarCellsFragment","brId","rowName","createElement","isFifth","setAttribute","innerText","appendChild","calendarRow","daysRow","fixedDaysHeader","daysRowFragment","someDate","innerHTML","formattedDate","classView","append","datesClone","cloneNode","dateClass","dateCell","rowNameClass","prepend","totalRowFragment","totalIndex","dayTotal","Extended","j","z","rowClass","cellElements","indexElement","parent","checkIfCalendarExist","calendarDateFrom","calendarNumOfDays","fullyPaid","el","quickCss","mouseleave","openPopover","allCalendars","eDate","dayClass","contextmenu","contains","diaryCell","diaryEvent","offsetParent","dayEvent","dayCell","uiEventStarted","first","height","gridOffset","grid","revert","start","drag","ifEvent","partlyShowing","partlyShowingEvent","dayNumber","position","droppable","parentElement","dx","dy","offsetTop","trigger","drop","originalEvent","addClass","elementsFromPoint","elementsClose","pageX","pageY","draggableElem","dElemSPoint","currElemSPoint","currElemEPoint","setStartDate","numberOfDays","getTimezoneOffset","previousRoomId","isNaN","resizable","handle","containment","initialWidthOnResize","uiEvent","resize","targetChildInfo","Array","rect","elements","elemFromPoint","dateToCopy","hide","click","is","diaryRangeCondition","shuffleRangeCondition","diaryRanges","shuffleRanges","rowNameHeight","cellRangeHeight","cellRangeHeightShuffle","diaryLevel","shuffleLevel","rangeHeight","range","counter","levelElements","diaryTopCondition","shuffleTopCondition","dairyRow","cell","cellIndex","levels","maxLevel","levelsShuffle","maxLevelShuffle","changeHeightOfCells","changeHeightOfCellsShuffle","level","diaryCells","shuffleCells","rowNameCondition","y","parents","elementFromPoint","pointerEvents","ElementRef","CookieService","viewQuery","CalendarComponent_Query","ɵɵresolveWindow","CalendarComponent_scroll_HostBindingHandler","CalendarComponent_Template_dx_tag_box_onValueChanged_4_listener","CalendarComponent_dx_context_menu_5_Template","CalendarComponent_dx_context_menu_6_Template","CalendarComponent_dx_context_menu_7_Template","CalendarComponent_dx_context_menu_8_Template","CalendarComponent_div_39_Template","CalendarComponent_Template_span_click_42_listener","CalendarComponent_Template_span_click_44_listener","CalendarComponent_Template_span_click_46_listener","CalendarComponent_Template_button_click_49_listener","CalendarComponent_Template_div_click_51_listener","CalendarComponent_Template_div_click_55_listener","CalendarComponent_Template_dx_date_box_onValueChanged_58_listener","CalendarComponent_div_66_Template","CalendarComponent_div_67_Template","CalendarComponent_div_68_Template","CalendarComponent_Template_dx_popover_visibleChange_69_listener","CalendarComponent_div_73_Template","CalendarComponent_div_74_Template","CalendarComponent_app_calendar_details_75_Template","CalendarComponent_app_calendar_details_76_Template","CalendarComponent_app_calendar_event_details_77_Template","CalendarComponent_app_calendar_event_details_78_Template","CalendarComponent_app_calendar_status_79_Template","CalendarComponent_app_calendar_status_80_Template","CalendarComponent_app_calendar_status_81_Template","CalendarComponent_app_delete_modal_82_Template","CalendarComponent_app_delete_modal_83_Template","CalendarComponent_app_confirm_modal_84_Template","CalendarComponent_app_confirm_modal_85_Template","CalendarComponent_app_confirm_modal_86_Template","CalendarComponent_app_confirm_modal_87_Template","CalendarComponent_app_confirm_modal_88_Template","CalendarComponent_app_confirm_modal_89_Template","Functions","_c4","environment","_CalendarService","http","apiUrl","model","post","getCalendarByRangeUrl","getTooltipDataForEventUrl","getTooltipDataForBookingUrl","updateCalendarUrl","createEventUrl","put","updateEventUrl","delete","deleteEventUrl","deleteCalendarStatusUrl","deleteCalendarStatusBatchUrl","updateEventOnCalendarUrl","newCalendarBookingUrl","editCalendarBookingUrl","updateCalendarBookingUrl","insertCalendarBookingUrl","newCalendarStatusUrl","insertCalendarStatus","insertCalendarStatusUrl","insertCalendarStatusBatchUrl","editCalendarStatusUrl","updateCalendarStatusUrl","shuffleCalendarUrl","cancelCalendarBookingUrl","getRatePlanByRoomTypeUrl","getRoomTypeByRatePlanUrl","checkBookingStatusUrl","getForUpdateCalendarUrl","calendarView","parsedView","ex","view","setItem","getCaterpayHtmlFormForNewCalendarBookingUrl","reportBcomCalendarStayChangeUrl","reportBcomCalendarBookingStayChangeUrl","ɵɵinject","HttpRequestService","DxDataGridComponent","d_r7","nights","d_r8","currencySymbol","d_r9","d_r10","BrokenPaymentsBookingSearchComponent_div_10_i_3_Template_i_mouseenter_0_listener","_r16","s_r11","BrokenPaymentsBookingSearchComponent_div_10_i_3_Template_i_mouseleave_0_listener","hideTooltip","ɵɵpropertyInterpolate1","ɵɵpipeBind1","penaltyType","BrokenPaymentsBookingSearchComponent_div_10_i_3_Template","BrokenPaymentsBookingSearchComponent_div_10_Template_dx_popover_visibleChange_4_listener","showMessage","BrokenPaymentsBookingSearchComponent_div_10_div_8_Template","canceledWithPenalty","d_r24","BrokenPaymentsBookingSearchComponent_div_15_Template_button_click_37_listener","confirmSelection","BrokenPaymentsBookingSearchComponent_div_15_Template_button_click_39_listener","showSaveConfirmationDialog","currentPayment","customerName","customerEmail","selectedBooking","bookingDates","bookedOnDate","_BrokenPaymentsBookingSearchComponent","settingsBookingBrokenPaymentsService","functionSearch","pageTitle","ngAfterViewInit","dataGrid","instance","beginCustomLoading","getBookingsForBrokenPayments","res","endCustomLoading","noDataText","filteredBookingData","refresh","err","closeDialog","cellClick","rowType","bookingSelected","BrokenPaymentsBookingSearchComponent_Query","BrokenPaymentsBookingSearchComponent_Template_dx_data_grid_onCellClick_5_listener","BrokenPaymentsBookingSearchComponent_div_6_Template","BrokenPaymentsBookingSearchComponent_div_7_Template","BrokenPaymentsBookingSearchComponent_div_8_Template","BrokenPaymentsBookingSearchComponent_div_9_Template","BrokenPaymentsBookingSearchComponent_div_10_Template","BrokenPaymentsBookingSearchComponent_div_11_Template","BrokenPaymentsBookingSearchComponent_Template_button_click_13_listener","BrokenPaymentsBookingSearchComponent_div_15_Template","ɵɵpureFunctionV","_c14","_c5","_c6","_c7","_c8","_c9","_c10","_c11","_c12","_c13","DxGridHelper","GridRequest","TokenContext","SettingsBookingBrokenPaymentsComponent_div_12_Template_div_click_0_listener","n_r14","goToBooking","SettingsBookingBrokenPaymentsComponent_div_13_Template_div_click_0_listener","_r19","n_r17","transactionId","SettingsBookingBrokenPaymentsComponent_div_14_Template_div_click_0_listener","_r22","n_r20","authCode","SettingsBookingBrokenPaymentsComponent_div_15_Template_div_click_0_listener","_r25","n_r23","ctx_r4","SettingsBookingBrokenPaymentsComponent_div_16_Template_div_click_0_listener","n_r26","SettingsBookingBrokenPaymentsComponent_div_17_Template_div_click_0_listener","_r31","n_r29","ctx_r30","n_r32","SettingsBookingBrokenPaymentsComponent_div_18_Template_div_click_0_listener","_r36","SettingsBookingBrokenPaymentsComponent_div_18_ng_container_1_Template","n_r37","SettingsBookingBrokenPaymentsComponent_div_19_i_3_Template_i_mouseenter_0_listener","_r44","SettingsBookingBrokenPaymentsComponent_div_19_i_3_Template_i_mouseleave_0_listener","ctx_r45","caterPayLogId","descriptionWithLabels","SettingsBookingBrokenPaymentsComponent_div_19_Template_div_click_0_listener","_r51","ctx_r50","SettingsBookingBrokenPaymentsComponent_div_19_div_1_Template","SettingsBookingBrokenPaymentsComponent_div_19_i_3_Template","SettingsBookingBrokenPaymentsComponent_div_19_Template_dx_popover_visibleChange_4_listener","SettingsBookingBrokenPaymentsComponent_div_19_div_8_Template","SettingsBookingBrokenPaymentsComponent_div_20_i_1_Template_i_click_0_listener","n_r53","fixBrokenPayment","SettingsBookingBrokenPaymentsComponent_div_20_i_1_Template","SettingsBookingBrokenPaymentsComponent_div_20_i_2_Template","removedPayment","fixed","SettingsBookingBrokenPaymentsComponent_div_21_i_1_Template_i_click_0_listener","_r64","n_r59","showRemoveBrokenPayment","SettingsBookingBrokenPaymentsComponent_div_21_i_1_Template","SettingsBookingBrokenPaymentsComponent_div_21_i_2_Template","SettingsBookingBrokenPaymentsComponent_div_24_Template_button_click_7_listener","_r66","removeBrokenPayment","SettingsBookingBrokenPaymentsComponent_div_24_Template_button_click_9_listener","showRemovePaymentDialog","SettingsBookingBrokenPaymentsComponent_app_broken_payments_booking_search_25_Template_app_broken_payments_booking_search_showBookingChooseDialogChange_0_listener","_r69","showBookingChooseDialog","SettingsBookingBrokenPaymentsComponent_app_broken_payments_booking_search_25_Template_app_broken_payments_booking_search_closeDialog_0_listener","SettingsBookingBrokenPaymentsComponent_app_broken_payments_booking_search_25_Template_app_broken_payments_booking_search_bookingSelected_0_listener","linkBookings","SettingsBookingBrokenPaymentsComponent_app_broken_payments_booking_search_25_Template_app_broken_payments_booking_search_requestModelChange_0_listener","SettingsBookingBrokenPaymentsComponent_app_broken_payments_booking_search_25_Template_app_broken_payments_booking_search_currentPaymentChange_0_listener","_SettingsBookingBrokenPaymentsComponent","gridConfiguration","service","ngAfterContentInit","initGrid","ConfigureGrid","brookenPaymentsListRequest","searchGuests","reloadGrid","currentIndex","rowIndex","brokenPayment","parameters","setFilterType","accomodationSearch","removeBookingBrokenPayments","rows","getDataSource","items","madeBy","selectedRows","saveFixedPayments","removeLinkedBooking","setBookingBrokenPayments","obj","dateStr","dateObj","SettingsBookingBrokenPaymentsComponent_Query","SettingsBookingBrokenPaymentsComponent_Template_input_keyup_enter_6_listener","SettingsBookingBrokenPaymentsComponent_Template_input_ngModelChange_6_listener","SettingsBookingBrokenPaymentsComponent_Template_button_click_8_listener","SettingsBookingBrokenPaymentsComponent_Template_dx_data_grid_onCellClick_10_listener","SettingsBookingBrokenPaymentsComponent_div_12_Template","SettingsBookingBrokenPaymentsComponent_div_13_Template","SettingsBookingBrokenPaymentsComponent_div_14_Template","SettingsBookingBrokenPaymentsComponent_div_15_Template","SettingsBookingBrokenPaymentsComponent_div_16_Template","SettingsBookingBrokenPaymentsComponent_div_17_Template","SettingsBookingBrokenPaymentsComponent_div_18_Template","SettingsBookingBrokenPaymentsComponent_div_19_Template","SettingsBookingBrokenPaymentsComponent_div_20_Template","SettingsBookingBrokenPaymentsComponent_div_21_Template","SettingsBookingBrokenPaymentsComponent_div_22_Template","SettingsBookingBrokenPaymentsComponent_div_24_Template","SettingsBookingBrokenPaymentsComponent_app_broken_payments_booking_search_25_Template","_SettingsBookingBrokenPaymentsService","getData","getBookingBrokenPaymentsUrl","bookingBrokenPayments","setBookingBrokenPaymentsUrl","getBookingsForBrokenPaymentsUrl","removeBookingBrokenPaymentsUrl","newRoomPrice","BookingBulkEditComponent_div_15_div_2_Template_button_click_2_listener","_r6","ctx_r5","BookingBulkEditComponent_div_15_div_2_Template","cannotBulkEdit","BookingBulkEditComponent_div_16_div_1_button_20_Template_button_click_0_listener","_r12","search","BookingBulkEditComponent_div_16_div_1_Template_dx_date_box_onValueChanged_7_listener","_r14","changeFromToDate","BookingBulkEditComponent_div_16_div_1_Template_dx_date_box_valueChange_7_listener","BookingBulkEditComponent_div_16_div_1_Template_dx_date_box_onValueChanged_11_listener","BookingBulkEditComponent_div_16_div_1_Template_dx_date_box_valueChange_11_listener","BookingBulkEditComponent_div_16_div_1_Template_button_click_17_listener","BookingBulkEditComponent_div_16_div_1_button_20_Template","BookingBulkEditComponent_div_16_div_1_div_21_Template","minDate","maxDate","duration","warning_r27","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_i_2_Template","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_ng_container_8_Template","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_ng_container_9_Template","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_Template_dx_select_box_valueChange_12_listener","_r35","item_r28","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_Template_dx_select_box_onItemClick_18_listener","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_Template_dx_select_box_valueChange_18_listener","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_Template_input_ngModelChange_22_listener","price","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_Template_input_change_22_listener","priceChange","originalRoom","roomTypeName","BookingBulkEditComponent_div_16_div_2_tbody_8_tr_1_Template","searchRooms","BookingBulkEditComponent_div_16_div_2_button_17_Template_button_click_0_listener","_r45","ctx_r44","returnSearch","BookingBulkEditComponent_div_16_div_2_button_20_Template_button_click_0_listener","_r47","ctx_r46","save","BookingBulkEditComponent_div_16_div_2_span_4_Template","BookingBulkEditComponent_div_16_div_2_li_6_Template","BookingBulkEditComponent_div_16_div_2_tbody_8_Template","BookingBulkEditComponent_div_16_div_2_Template_button_click_13_listener","_r49","ctx_r48","BookingBulkEditComponent_div_16_div_2_div_15_Template","BookingBulkEditComponent_div_16_div_2_button_17_Template","BookingBulkEditComponent_div_16_div_2_div_18_Template","BookingBulkEditComponent_div_16_div_2_button_20_Template","BookingBulkEditComponent_div_16_div_2_div_21_Template","ctx_r8","searchWarnings","ɵɵpureFunction8","roomSort","BookingBulkEditComponent_div_16_div_1_Template","BookingBulkEditComponent_div_16_div_2_Template","showSearchOptions","_BookingBulkEditComponent","bookingCommonService","toastService","setFullYear","dateFromBooking","dateToBooking","currentRoomPrice","currentRooms","setDuration","canBulkEdit","bookingDuration","newFrom","showError","bulkEditSearch","responseData","extras","bookingGridModel","assignedRoomId","standardPrice","maxOccupancy","originalRoomId","calculateDaysBetweenDates","availabilityRestriction","availabilityRestrictionMessage","offSet","utcOffset","isOffset","isDST","isOffsetShifted","isDSTShifted","bulkEditChange","validateAssignedRooms","assignedRooms","gridModel","updateRooms","gridRoom","format","bulkEdit","join","ErrorAlert","editComplete","BookingBulkEditComponent_Template","BookingBulkEditComponent_div_12_Template","BookingBulkEditComponent_div_15_Template","BookingBulkEditComponent_div_16_Template","BookingBulkEditComponent_div_17_Template","NewInvoiceDetailsPDModel","item_r21","d_r22","item_r23","quantity","item_r24","item_r25","BookingDetailsAddInvoiceComponent_app_booking_details_create_invoice_preview_114_Template_app_booking_details_create_invoice_preview_createInvoicePreviewChange_0_listener","_r27","ctx_r26","confirmInvoice","BookingDetailsAddInvoiceComponent_app_booking_details_create_invoice_preview_114_Template_app_booking_details_create_invoice_preview_update_0_listener","updateInvoice","invoiceDetailsPDModel","invoice","_BookingDetailsAddInvoiceComponent","customerAddress","customerAddress2","customerAddress3","customerAddress4","customerCountry","customerData1","customerData2","poRef","newInvoice","invoiceToList","setHeaderDetails","invoiceAccount","invoiceTo","accountId","selectedItems","invoiceItems","bookingPaymentItems","selectedPaymentItems","headerDetails","header","invoiceNo","accountType","templateId","customerPostalCode","customerAdditionalData1","customerAdditionalData2","setHeaderDetailsDevex","submitInvoice","payments","addInvoiceChange","totalItemsPrice","totalAmountOfPayments","balanceInvoice","print","printInvoice","invoiceId","BookingDetailsAddInvoiceComponent_Query","BookingDetailsAddInvoiceComponent_Template_dx_select_box_onItemClick_8_listener","BookingDetailsAddInvoiceComponent_Template_form_ngSubmit_10_listener","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_17_listener","BookingDetailsAddInvoiceComponent_span_18_Template","BookingDetailsAddInvoiceComponent_span_19_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_23_listener","BookingDetailsAddInvoiceComponent_span_24_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_28_listener","BookingDetailsAddInvoiceComponent_span_29_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_33_listener","BookingDetailsAddInvoiceComponent_span_34_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_40_listener","BookingDetailsAddInvoiceComponent_span_41_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_43_listener","BookingDetailsAddInvoiceComponent_span_44_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_46_listener","BookingDetailsAddInvoiceComponent_span_47_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_49_listener","BookingDetailsAddInvoiceComponent_span_50_Template","BookingDetailsAddInvoiceComponent_Template_input_ngModelChange_54_listener","BookingDetailsAddInvoiceComponent_span_55_Template","BookingDetailsAddInvoiceComponent_Template_dx_data_grid_selectedRowKeysChange_59_listener","BookingDetailsAddInvoiceComponent_div_61_Template","BookingDetailsAddInvoiceComponent_div_62_Template","BookingDetailsAddInvoiceComponent_div_63_Template","BookingDetailsAddInvoiceComponent_Template_dx_data_grid_selectedRowKeysChange_79_listener","BookingDetailsAddInvoiceComponent_div_81_Template","BookingDetailsAddInvoiceComponent_div_82_Template","BookingDetailsAddInvoiceComponent_button_110_Template","BookingDetailsAddInvoiceComponent_div_111_Template","BookingDetailsAddInvoiceComponent_Template_button_click_112_listener","BookingDetailsAddInvoiceComponent_app_booking_details_create_invoice_preview_114_Template","ɵɵpureFunction4","ɵɵpureFunction6","_c15","InvoiceDetailsModel","item_r10","priceIncVat","item_r11","item_r12","item_r13","vatAmount","item_r14","item_r15","BookingDetailsCreateInvoicePreviewComponent_button_100_Template_button_click_0_listener","_r17","BookingDetailsCreateInvoicePreviewComponent_button_102_Template_button_click_0_listener","confirmAndPrint","_BookingDetailsCreateInvoicePreviewComponent","countryContext","Country","invoiceDetailsModel","invoiceDetails","createInvoice","loaderPrint","createInvoicePreviewChange","onCellPrepared","column","commandCell","cellElement","VatName","createInvoicePreview","BookingDetailsCreateInvoicePreviewComponent_Template","BookingDetailsCreateInvoicePreviewComponent_Template_dx_data_grid_onCellPrepared_52_listener","BookingDetailsCreateInvoicePreviewComponent_div_53_Template","BookingDetailsCreateInvoicePreviewComponent_div_54_Template","BookingDetailsCreateInvoicePreviewComponent_div_55_Template","BookingDetailsCreateInvoicePreviewComponent_div_56_Template","BookingDetailsCreateInvoicePreviewComponent_div_72_Template","BookingDetailsCreateInvoicePreviewComponent_div_73_Template","BookingDetailsCreateInvoicePreviewComponent_button_100_Template","BookingDetailsCreateInvoicePreviewComponent_div_101_Template","BookingDetailsCreateInvoicePreviewComponent_button_102_Template","BookingDetailsCreateInvoicePreviewComponent_div_103_Template","BookingDetailsCreateInvoicePreviewComponent_Template_button_click_104_listener","ɵɵpureFunction5","NewBookingPDModel","_","BookingDetailsAddRoomsComponent_div_69_tbody_4_i_7_Template_i_mouseenter_0_listener","toggleRoomTypeTooltip","BookingDetailsAddRoomsComponent_div_69_tbody_4_i_7_Template_i_mouseleave_0_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_16_i_2_Template_i_mouseenter_0_listener","toggleRatePlanTooltip","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_16_i_2_Template_i_mouseleave_0_listener","ɵɵpropertyInterpolate2","restrictions","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_16_i_2_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_16_Template_dx_popover_visibleChange_3_listener","showRatePlanRestriction","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_16_div_7_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_21_Template_input_change_1_listener","ctx_r43","calculateAvailableRooms","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_21_Template_input_ngModelChange_1_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_i_8_Template_i_mouseenter_0_listener","_r55","ratePlan_r49","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_i_8_Template_i_mouseleave_0_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_Template_input_change_2_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_Template_input_ngModelChange_2_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_i_8_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_Template_dx_popover_visibleChange_9_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_div_13_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_Template_input_change_19_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_Template_input_ngModelChange_19_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_tr_1_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_Template_input_change_3_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_Template_input_ngModelChange_3_listener","BookingDetailsAddRoomsComponent_div_69_tbody_4_i_7_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_Template_dx_popover_visibleChange_8_listener","showRoomTypeRestriction","BookingDetailsAddRoomsComponent_div_69_tbody_4_div_12_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_16_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_18_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_21_Template","BookingDetailsAddRoomsComponent_div_69_tbody_4_ng_container_22_Template","available","BookingDetailsAddRoomsComponent_div_69_button_9_Template_button_click_0_listener","addToCart","disableAddToCartButton","BookingDetailsAddRoomsComponent_div_69_Template_i_click_2_listener","_r77","activeSearch","BookingDetailsAddRoomsComponent_div_69_tbody_4_Template","BookingDetailsAddRoomsComponent_div_69_button_9_Template","bookingSearchResultModel","totalRoomsPriceSearch","BookingDetailsAddRoomsComponent_div_71_Template_input_change_1_listener","_r80","ctx_r79","selectAllRooms","selectAllChosenRooms","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_change_2_listener","_r87","disableRemoveRoomButton","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_ngModelChange_2_listener","item_r81","BookingDetailsAddRoomsComponent_tbody_72_tr_1_ng_container_12_Template","BookingDetailsAddRoomsComponent_tbody_72_tr_1_ng_container_13_Template","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_dx_select_box_onItemClick_16_listener","_r85","ɵɵreference","checkDuplicateRooms","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_dx_select_box_onItemClick_23_listener","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_dx_select_box_valueChange_23_listener","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_ngModelChange_28_listener","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_change_28_listener","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_ngModelChange_31_listener","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_change_31_listener","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template_input_ngModelChange_35_listener","ɵɵpropertyInterpolate3","ɵɵpropertyInterpolate","BookingDetailsAddRoomsComponent_tbody_72_tr_1_Template","bookingRoomsList","BookingDetailsAddRoomsComponent_button_74_Template_button_click_0_listener","removeCheckedRooms","disableRemoveRoomsButton","BookingDetailsAddRoomsComponent_button_80_Template_button_click_0_listener","_r110","submitNewBookingRoom","_BookingDetailsAddRoomsComponent","fbSearchRooms","searchForm","bedding","promoCode","newBookingPDModel","showToastError","changeFromDate","changeToDate","subtractAdultNum","bookingSearchModel","subtractChildNum","isValid","searchFunction","searchRoomsLoader","bookingSearch","setInitialValues","reloadAvailability","chosenRooms","availabilityCounter","checkedCounter","addedRoomsCounter","copyOfSearchResultModel","availableRoomId","getFirstAvailableRoomId","roomBaseModel","insertBookingGridModel","gridPhysicalRoomIds","getPhysicalGridRoomIds","roomToAdd","virtualRooms","physicalRoomIds","map","intersectedRoomIds","intersection","itemsForDelete","newAvailability","getNewAvailability","item","searchResultRooms","gridRoomIds","getGridRoomIds","searchResultRoom","validateMaxOccupancy","selectBox","oldRoom","selectedRoom","filteredBookingRooms","filterAddedRoomsByDate","virtualRoom","confirmLoader","insertNewBookingRooms","insertBookingRoom","w","addBookingRoomChange","addBookingRoom","BookingDetailsAddRoomsComponent_Template","BookingDetailsAddRoomsComponent_Template_dx_select_box_valueChange_8_listener","BookingDetailsAddRoomsComponent_Template_form_ngSubmit_10_listener","BookingDetailsAddRoomsComponent_Template_dx_date_box_valueChange_15_listener","BookingDetailsAddRoomsComponent_Template_dx_date_box_onValueChanged_15_listener","BookingDetailsAddRoomsComponent_span_16_Template","BookingDetailsAddRoomsComponent_Template_dx_date_box_valueChange_20_listener","BookingDetailsAddRoomsComponent_Template_dx_date_box_onValueChanged_20_listener","BookingDetailsAddRoomsComponent_span_21_Template","BookingDetailsAddRoomsComponent_ng_container_27_Template","BookingDetailsAddRoomsComponent_ng_container_28_Template","BookingDetailsAddRoomsComponent_Template_div_click_36_listener","BookingDetailsAddRoomsComponent_Template_div_click_40_listener","BookingDetailsAddRoomsComponent_Template_div_click_47_listener","BookingDetailsAddRoomsComponent_Template_div_click_51_listener","BookingDetailsAddRoomsComponent_Template_dx_tag_box_valueChange_56_listener","BookingDetailsAddRoomsComponent_Template_dx_select_box_valueChange_60_listener","BookingDetailsAddRoomsComponent_Template_input_ngModelChange_64_listener","BookingDetailsAddRoomsComponent_div_67_Template","BookingDetailsAddRoomsComponent_button_68_Template","BookingDetailsAddRoomsComponent_div_69_Template","BookingDetailsAddRoomsComponent_div_71_Template","BookingDetailsAddRoomsComponent_tbody_72_Template","BookingDetailsAddRoomsComponent_button_74_Template","BookingDetailsAddRoomsComponent_button_80_Template","BookingDetailsAddRoomsComponent_div_81_Template","BookingDetailsAddRoomsComponent_Template_button_click_82_listener","beddingTypes","_c23","_c16","_c17","_c18","_c19","_c20","_c21","_c22","DataSource","ArrayStore","BookingDetailsExtrasComponent_ng_container_17_Template_dx_select_box_valueChange_1_listener","bookingExtraModel","saleItemId","BookingDetailsExtrasComponent_ng_container_17_Template_dx_select_box_onItemClick_1_listener","setSaleItem","saleItemsSource","extraModel","BookingDetailsExtrasComponent_div_57_i_4_Template_i_click_0_listener","_r20","unlinkAllowanceItem","BookingDetailsExtrasComponent_div_57_i_4_Template","getAllowanceName","BookingDetailsExtrasComponent_app_confirm_modal_62_Template_app_confirm_modal_confirmModalChange_0_listener","confirmUnlinkAllowanceItem","BookingDetailsExtrasComponent_app_confirm_modal_62_Template_app_confirm_modal_confirm_0_listener","unlinkAllowanceItemConfirmed","_BookingDetailsExtrasComponent","changeDetRef","uom","bookingAllDetailsRooms","roomExtrasSource","editBookingExtra","allowanceId","allowanceExtra","allowanceExtras","bookingExtraId","getRoomFromExtrasSource","setMaxMinDate","getSaleItemsOnEdit","addBookingExtra","disabledItem","calculateDateRange","validateMinMaxDate","getMinBookingDate","getMaxBookingDate","setDateFromToIfNotSet","dt","overrideDates","handleSaleItemChange","saleItem","previousSaleItem","newDateFrom","newDateTo","setSeconds","disableFormControls","enableFormControls","getRatePlanSaleItemsForBooking","store","key","saleItemList","bookingExtraIsOnInvoice","disabled","disableControls","getSaleItems","getSaleItemsDevex","calculateQuantityForSaleItems","persons","roomDetail","calculateTotalExtraPrice","round","submitBookingExtra","insertBookingExtra","updateBookingExtra","saleItemName","addBookingExtraChange","editBookingExtraChange","BookingDetailsExtrasComponent_Template","BookingDetailsExtrasComponent_h2_3_Template","BookingDetailsExtrasComponent_h2_4_Template","BookingDetailsExtrasComponent_Template_form_ngSubmit_8_listener","BookingDetailsExtrasComponent_Template_dx_select_box_valueChange_12_listener","BookingDetailsExtrasComponent_Template_dx_select_box_onItemClick_12_listener","BookingDetailsExtrasComponent_span_13_Template","BookingDetailsExtrasComponent_ng_container_17_Template","BookingDetailsExtrasComponent_ng_container_18_Template","BookingDetailsExtrasComponent_span_19_Template","BookingDetailsExtrasComponent_Template_input_ngModelChange_23_listener","BookingDetailsExtrasComponent_Template_input_ngModelChange_27_listener","BookingDetailsExtrasComponent_Template_input_ngModelChange_31_listener","BookingDetailsExtrasComponent_Template_input_change_31_listener","BookingDetailsExtrasComponent_span_32_Template","BookingDetailsExtrasComponent_span_33_Template","BookingDetailsExtrasComponent_Template_input_ngModelChange_37_listener","BookingDetailsExtrasComponent_Template_input_change_37_listener","BookingDetailsExtrasComponent_span_38_Template","BookingDetailsExtrasComponent_Template_input_ngModelChange_42_listener","BookingDetailsExtrasComponent_Template_input_ngModelChange_46_listener","BookingDetailsExtrasComponent_Template_dx_date_box_onValueChanged_50_listener","BookingDetailsExtrasComponent_Template_dx_date_box_valueChange_50_listener","BookingDetailsExtrasComponent_span_51_Template","BookingDetailsExtrasComponent_Template_dx_date_box_onValueChanged_55_listener","BookingDetailsExtrasComponent_Template_dx_date_box_valueChange_55_listener","BookingDetailsExtrasComponent_span_56_Template","BookingDetailsExtrasComponent_div_57_Template","BookingDetailsExtrasComponent_button_58_Template","BookingDetailsExtrasComponent_div_59_Template","BookingDetailsExtrasComponent_Template_button_click_60_listener","BookingDetailsExtrasComponent_app_confirm_modal_62_Template","BookingDetailsGuestsComponent_div_13_ul_3_Template_li_click_1_listener","bookingGuest_r24","BookingDetailsGuestsComponent_div_13_Template_i_click_2_listener","BookingDetailsGuestsComponent_div_13_ul_3_Template","BookingDetailsGuestsComponent_div_14_Template_i_click_3_listener","BookingDetailsGuestsComponent_div_82_Template_dx_select_box_ngModelChange_3_listener","_r33","BookingDetailsGuestsComponent_div_82_span_4_Template","BookingDetailsGuestsComponent_ng_container_92_button_1_Template","BookingDetailsGuestsComponent_ng_container_93_button_1_Template","BookingDetailsGuestsComponent_button_95_Template_button_click_0_listener","_r37","BookingDetailsGuestsComponent_app_confirm_modal_96_Template_app_confirm_modal_confirmModalChange_0_listener","_r39","BookingDetailsGuestsComponent_app_confirm_modal_96_Template_app_confirm_modal_confirm_0_listener","BookingDetailsGuestsComponent_app_confirm_modal_97_Template_app_confirm_modal_confirmModalChange_0_listener","_r42","ctx_r41","leadGuestChange","BookingDetailsGuestsComponent_app_confirm_modal_97_Template_app_confirm_modal_declined_0_listener","leadGuestDeclined","BookingDetailsGuestsComponent_app_confirm_modal_97_Template_app_confirm_modal_confirm_0_listener","leadGuestConfirm","leadGuestMessage","BookingDetailsGuestsComponent_app_confirm_modal_98_Template_app_confirm_modal_confirmModalChange_0_listener","_r46","openConfirmPopup","BookingDetailsGuestsComponent_app_confirm_modal_98_Template_app_confirm_modal_confirm_0_listener","ctx_r47","confirmGuestChange","BookingDetailsGuestsComponent_app_confirm_modal_98_Template_app_confirm_modal_declined_0_listener","declinedGuestChange","BookingDetailsGuestsComponent_app_confirm_modal_99_Template_app_confirm_modal_confirmModalChange_0_listener","openConfirmCardPopup","BookingDetailsGuestsComponent_app_confirm_modal_99_Template_app_confirm_modal_confirm_0_listener","confirmGuestAndCardChange","BookingDetailsGuestsComponent_app_confirm_modal_99_Template_app_confirm_modal_declined_0_listener","declineGuestAndCardChange","Proceed","Cancel","_BookingDetailsGuestsComponent","diallingCodeService","emailExpression","fromCalendar","checkIfGuestIsEntered","indexOfTab","showSavePopup","getAvailableBookingRoomForAddBookingGuest","maxGuestAllowed","guestsInRoomArr","allGuests","isFull","bookingRooms","addBookingGuest","showModalInsteadOfGrid","initialValue","currentGuestModel","getCardList","cards","paymentNo","htmlPaymentForm","merchantData","bookingPaymentId","paidBy","cardsList","checkRooms","enableControls","ageCheck","currentValue","changeTabFromGuests","getRoomShortName","forceLeadGuest","updateExistBookingGuest","submitBookingGuest","shouldShowCardWarning","fullNameOnCard","emitChangeTab","turnOffModalOnGrid","oldValue","newValue","openModal","addBookingGuestChange","editBookingGuestChange","InternationalDiallingCodesService","initialGuest","BookingDetailsGuestsComponent_Template","BookingDetailsGuestsComponent_Template_div_clickOutside_9_listener","BookingDetailsGuestsComponent_Template_input_ngModelChange_12_listener","BookingDetailsGuestsComponent_Template_input_keyup_12_listener","BookingDetailsGuestsComponent_div_13_Template","BookingDetailsGuestsComponent_div_14_Template","BookingDetailsGuestsComponent_Template_form_ngSubmit_15_listener","BookingDetailsGuestsComponent_Template_dx_select_box_valueChange_19_listener","BookingDetailsGuestsComponent_Template_input_ngModelChange_23_listener","BookingDetailsGuestsComponent_span_24_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_28_listener","BookingDetailsGuestsComponent_span_29_Template","BookingDetailsGuestsComponent_span_30_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_34_listener","BookingDetailsGuestsComponent_span_35_Template","BookingDetailsGuestsComponent_span_36_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_40_listener","BookingDetailsGuestsComponent_span_41_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_46_listener","BookingDetailsGuestsComponent_span_47_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_51_listener","BookingDetailsGuestsComponent_span_52_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_56_listener","BookingDetailsGuestsComponent_span_57_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_61_listener","BookingDetailsGuestsComponent_span_62_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_66_listener","BookingDetailsGuestsComponent_span_67_Template","BookingDetailsGuestsComponent_Template_dx_select_box_valueChange_71_listener","BookingDetailsGuestsComponent_Template_input_ngModelChange_75_listener","BookingDetailsGuestsComponent_Template_input_change_75_listener","BookingDetailsGuestsComponent_Template_input_ngModelChange_79_listener","BookingDetailsGuestsComponent_Template_input_change_79_listener","BookingDetailsGuestsComponent_div_82_Template","BookingDetailsGuestsComponent_Template_input_ngModelChange_84_listener","BookingDetailsGuestsComponent_Template_textarea_ngModelChange_90_listener","BookingDetailsGuestsComponent_div_91_Template","BookingDetailsGuestsComponent_ng_container_92_Template","BookingDetailsGuestsComponent_ng_container_93_Template","BookingDetailsGuestsComponent_div_94_Template","BookingDetailsGuestsComponent_button_95_Template","BookingDetailsGuestsComponent_app_confirm_modal_96_Template","BookingDetailsGuestsComponent_app_confirm_modal_97_Template","BookingDetailsGuestsComponent_app_confirm_modal_98_Template","BookingDetailsGuestsComponent_app_confirm_modal_99_Template","ɵɵpureFunction2","DateHelper","i_r16","extraDescription","fromMoveDescription","BookingDetailsMoveExtrasComponent_div_8_Template_input_change_1_listener","setValueMoveType","BookingDetailsMoveExtrasComponent_div_8_label_5_Template","selected","moveType","moveErrors","moveWarnings","BookingDetailsMoveExtrasComponent_div_16_ng_container_1_Template","BookingDetailsMoveExtrasComponent_div_16_ng_container_2_Template","n_r25","BookingDetailsMoveExtrasComponent_div_18_Template_input_blur_1_listener","q_r26","setNewQuantity","newQuantity","item_r29","BookingDetailsMoveExtrasComponent_div_20_div_1_Template_div_click_0_listener","_r34","item_r30","unlinkInvoiceItem","unlinkInvoiceItemAttributes","BookingDetailsMoveExtrasComponent_div_20_div_1_Template","invoiceIds","moveDetails","BookingDetailsMoveExtrasComponent_button_39_Template_button_click_0_listener","submitMove","BookingDetailsMoveExtrasComponent_app_confirm_modal_45_Template_app_confirm_modal_confirmModalChange_0_listener","confirmMove","BookingDetailsMoveExtrasComponent_app_confirm_modal_45_Template_app_confirm_modal_confirm_0_listener","submitMoveConfirmed","confirmMoveMessage","BookingDetailsMoveExtrasComponent_app_confirm_modal_46_Template_app_confirm_modal_confirmModalChange_0_listener","unlinkInvoicedExtraItem","BookingDetailsMoveExtrasComponent_app_confirm_modal_46_Template_app_confirm_modal_confirm_0_listener","unlinkInvoiceItemConfirmed","_BookingDetailsMoveExtrasComponent","setEposItems","moveTypes","extra","eposItems","extraId","changeFromDateHandler","Object","assign","getGuestName","setExtraAndMoveDescription","bookingRoomDesc","guestName","addedRooms","fromOnInit","setSelectedItems","itemsGrid","repaint","checkSelectedItems","showErrors","showWarnings","invoices","closedInvoices","moveToRoom","moveModel","fromBookingId","toBookingId","toBookingRoomId","moveExtraItems","inputDate","getBookingRoomsForDate","bookingRoomsOnDate","roomDesc","moveEPOSChange","isSelectAll","load","done","selectableItems","selectedRowKeys","option","undefined","onEditorPreparing","command","editorOptions","onSelectionChanged","selectRows","moveToRoomSelected","attribute","cssClass","unlinkInvoiceExtraId","deleteInvoiceItemExtra","refreshParentData","shift","updateBookingDetails","FormBuilder","BookingDetailsMoveExtrasComponent_Query","BookingDetailsMoveExtrasComponent_div_8_Template","BookingDetailsMoveExtrasComponent_div_9_Template","BookingDetailsMoveExtrasComponent_div_10_Template","BookingDetailsMoveExtrasComponent_Template_dx_data_grid_onEditorPreparing_14_listener","BookingDetailsMoveExtrasComponent_Template_dx_data_grid_onSelectionChanged_14_listener","BookingDetailsMoveExtrasComponent_Template_dx_data_grid_selectedRowKeysChange_14_listener","BookingDetailsMoveExtrasComponent_div_16_Template","BookingDetailsMoveExtrasComponent_div_17_Template","BookingDetailsMoveExtrasComponent_div_18_Template","BookingDetailsMoveExtrasComponent_div_19_Template","BookingDetailsMoveExtrasComponent_div_20_Template","BookingDetailsMoveExtrasComponent_Template_dx_date_box_onValueChanged_31_listener","BookingDetailsMoveExtrasComponent_Template_dx_date_box_valueChange_31_listener","BookingDetailsMoveExtrasComponent_Template_dx_select_box_valueChange_35_listener","moveToRoomId","BookingDetailsMoveExtrasComponent_Template_dx_select_box_onItemClick_35_listener","BookingDetailsMoveExtrasComponent_div_36_Template","BookingDetailsMoveExtrasComponent_button_39_Template","BookingDetailsMoveExtrasComponent_div_40_Template","BookingDetailsMoveExtrasComponent_Template_button_click_42_listener","BookingDetailsMoveExtrasComponent_div_44_Template","BookingDetailsMoveExtrasComponent_app_confirm_modal_45_Template","BookingDetailsMoveExtrasComponent_app_confirm_modal_46_Template","BookingPaymentPDModel","CardListModel","PciBookingDetailModel","PaymentActionType","paymentWarningMessage","bookingPaymentPDModel","cardBalance","BookingDetailsPaymentComponent_dx_select_box_26_Template_dx_select_box_onItemClick_0_listener","checkPaymentType","filteredPaymentHybridTypes","editBookingPayment","refundAmount","invoiceBalance","disabledPaymentControl","showMiscRefundWithWarning","BookingDetailsPaymentComponent_app_confirm_modal_56_Template_app_confirm_modal_confirmModalChange_0_listener","_r24","BookingDetailsPaymentComponent_app_confirm_modal_56_Template_app_confirm_modal_declined_0_listener","BookingDetailsPaymentComponent_app_confirm_modal_56_Template_app_confirm_modal_confirm_0_listener","submitBookingPayment","BookingDetailsPaymentComponent_app_payment_form_modal_57_Template_app_payment_form_modal_paymentFormChange_0_listener","BookingDetailsPaymentComponent_app_cards_list_modal_58_Template_app_cards_list_modal_showCardModalChange_0_listener","showCardsListModal","BookingDetailsPaymentComponent_app_cards_list_modal_58_Template_app_cards_list_modal_closeAllModalsEmitter_0_listener","closePopup","BookingDetailsPaymentComponent_app_cards_list_modal_58_Template_app_cards_list_modal_reloadBookingDetails_0_listener","reloadBookingDetailsFromPayment","cardListModel","payment","newPaymentActionType","newPaymentSourceData","_BookingDetailsPaymentComponent","sanitizer","closePaymentFormModal","next","submitting","remove","pciBookingDetailModel","pciNewPayment","paymentNoFromResponse","postMessageHandlerBookingPayment","newPayment","setNewPaymentFilterDefaults","editPayment","filteredPaymentPurposes","paymentPurposes","paymentHybridTypes","source","paidByList","setPaidByValue","setPaymentPurpose","Rebill","ChargeToken","dtNow","minBookingFrom","Refund","showTypeListSelect","setPaidByValueDevex","financeAccount","resetPaymentPurposeType","resetPurposeState","showMiscRefundWraning","getInvoiceBalance","selectedPaymentType","filterPurposeSourceOnNewPayment","markAsUntouched","toShowMiscRefundWithWarning","some","checkPurposeType","markAsPristine","insertPayment","updatePayment","getCaterpayHtmlFormForNewPayment","htmlForm","cardSource","bookingPaymentChange","editBookingPaymentChange","reloadBookingDetails","displayInvoiceLabel","DomSanitizer","BookingDetailsPaymentComponent_Query","BookingDetailsPaymentComponent_h2_3_Template","BookingDetailsPaymentComponent_h2_4_Template","BookingDetailsPaymentComponent_div_5_Template","BookingDetailsPaymentComponent_div_11_Template","BookingDetailsPaymentComponent_Template_form_ngSubmit_12_listener","BookingDetailsPaymentComponent_Template_dx_select_box_onItemClick_16_listener","BookingDetailsPaymentComponent_span_17_Template","BookingDetailsPaymentComponent_Template_dx_select_box_valueChange_21_listener","BookingDetailsPaymentComponent_Template_dx_select_box_onItemClick_21_listener","BookingDetailsPaymentComponent_span_22_Template","BookingDetailsPaymentComponent_dx_select_box_26_Template","BookingDetailsPaymentComponent_span_27_Template","BookingDetailsPaymentComponent_span_28_Template","BookingDetailsPaymentComponent_Template_input_ngModelChange_32_listener","BookingDetailsPaymentComponent_span_33_Template","BookingDetailsPaymentComponent_span_34_Template","BookingDetailsPaymentComponent_span_35_Template","BookingDetailsPaymentComponent_span_36_Template","BookingDetailsPaymentComponent_Template_dx_select_box_valueChange_40_listener","BookingDetailsPaymentComponent_Template_dx_select_box_onItemClick_40_listener","BookingDetailsPaymentComponent_p_42_Template","BookingDetailsPaymentComponent_Template_textarea_ngModelChange_46_listener","BookingDetailsPaymentComponent_Template_dx_date_box_valueChange_50_listener","BookingDetailsPaymentComponent_span_51_Template","BookingDetailsPaymentComponent_button_52_Template","BookingDetailsPaymentComponent_div_53_Template","BookingDetailsPaymentComponent_Template_button_click_54_listener","BookingDetailsPaymentComponent_app_confirm_modal_56_Template","BookingDetailsPaymentComponent_app_payment_form_modal_57_Template","BookingDetailsPaymentComponent_app_cards_list_modal_58_Template","CardsListModalComponent_div_0_div_3_div_7_span_2_Template","CardsListModalComponent_div_0_div_3_div_7_span_4_Template","card_r12","lastFourDigits","reportedInvalid","CardsListModalComponent_div_0_div_3_button_9_Template_button_click_0_listener","proceedToSummary","CardsListModalComponent_div_0_div_3_h2_2_Template","CardsListModalComponent_div_0_div_3_h2_3_Template","CardsListModalComponent_div_0_div_3_h4_4_Template","CardsListModalComponent_div_0_div_3_Template_dx_radio_group_valueChange_6_listener","selectedCard","CardsListModalComponent_div_0_div_3_div_7_Template","CardsListModalComponent_div_0_div_3_button_9_Template","CardsListModalComponent_div_0_div_3_div_10_Template","CardsListModalComponent_div_0_div_3_Template_button_click_11_listener","unableToFindCardWarning","CardsListModalComponent_div_0_div_4_button_26_Template_button_click_0_listener","finishPayment","CardsListModalComponent_div_0_div_4_span_14_Template","CardsListModalComponent_div_0_div_4_button_26_Template","CardsListModalComponent_div_0_div_4_div_27_Template","CardsListModalComponent_div_0_div_4_Template_button_click_28_listener","customer","address","CardsListModalComponent_div_0_div_5_Template_button_click_7_listener","closeAllModals","finishPaymentResponse","reference","CardsListModalComponent_div_0_div_6_button_9_Template_button_click_0_listener","reportCardInvalid","CardsListModalComponent_div_0_div_6_button_10_Template_button_click_0_listener","CardsListModalComponent_div_0_div_6_div_5_Template","CardsListModalComponent_div_0_div_6_Template_button_click_6_listener","_r38","CardsListModalComponent_div_0_div_6_div_8_Template","CardsListModalComponent_div_0_div_6_button_9_Template","CardsListModalComponent_div_0_div_6_button_10_Template","responseMessage","showReportCancellationInvalidCardOption","showMarkInvalidCardOption","CardsListModalComponent_div_0_div_3_Template","CardsListModalComponent_div_0_div_4_Template","CardsListModalComponent_div_0_div_5_Template","CardsListModalComponent_div_0_div_6_Template","summary","specificActionComplete","paymentSuccess","paymentFailed","_CardsListModalComponent","None","specificActionInProgress","card","cardExpiry","processPaymentDirect","responseCode","otaDetails","canReportInvalidCard","withCancellation","cancellation","cardRef","showCardModalChange","closeAllModalsEmitter","showCardModal","CardsListModalComponent_Template","CardsListModalComponent_div_0_Template","CardsListModalComponent_div_1_Template","_BookingDetailsResolver","route","state","params","getBookingDetails","BookingDetailsRoomsComponent_div_85_Template_input_ngModelChange_3_listener","bookingRoomDetailModel","eposAccountLimit","BookingDetailsRoomsComponent_div_85_span_4_Template","BookingDetailsRoomsComponent_div_85_span_5_Template","BookingDetailsRoomsComponent_div_85_span_6_Template","eposBalance","BookingDetailsRoomsComponent_div_95_Template_button_click_6_listener","updateBookingRoom","BookingDetailsRoomsComponent_div_95_Template_button_click_8_listener","BookingDetailsRoomsComponent_app_confirm_modal_96_Template_app_confirm_modal_confirmModalChange_0_listener","confirmChangeRoomType","BookingDetailsRoomsComponent_app_confirm_modal_96_Template_app_confirm_modal_confirm_0_listener","BookingDetailsRoomsComponent_app_confirm_modal_97_Template_app_confirm_modal_confirm_0_listener","BookingDetailsRoomsComponent_app_confirm_modal_97_Template_app_confirm_modal_declined_0_listener","_BookingDetailsRoomsComponent","propertySettingsService","hasCloudHookEPOS","CloudHookEPOS","carReg","eta","etd","max","currencyExpression","disabledPeopleControl","addAdultNum","addChildNum","refreshFromDates","roomTypesBaseList","eligibleRoomTypesRequestModel","bookingRoomDetail","getEPOSAccountLimitPropertySettings","eposPropSetting","o","defaultEposAccountLimit","getEligibleRoomTypesRatePlans","ratePlansBaseList","bookingRoomStatuses","initValues","refreshRooms","getAllFreeRooms","checkIfRoomExistInSource","firstTimeInit","getRoomTypesByRatePlanBookingDetails","statusSelected","allowEdit","hours","minutes","etaTime","etdTime","checkIfBookingRoomIsInvoiced","success","submitBookingRoom","checkStatus","forceRoomChange","getHours","reportBcomRoomStayChange","editBookingRoomChange","onElementContentReady","SettingsPropertiesService","editBookingRoom","BookingDetailsRoomsComponent_Template","BookingDetailsRoomsComponent_div_5_Template","BookingDetailsRoomsComponent_Template_form_ngSubmit_6_listener","BookingDetailsRoomsComponent_Template_dx_select_box_onItemClick_10_listener","BookingDetailsRoomsComponent_Template_dx_select_box_valueChange_10_listener","BookingDetailsRoomsComponent_span_11_Template","BookingDetailsRoomsComponent_Template_dx_select_box_valueChange_15_listener","BookingDetailsRoomsComponent_Template_dx_select_box_onItemClick_15_listener","BookingDetailsRoomsComponent_span_16_Template","BookingDetailsRoomsComponent_Template_dx_select_box_valueChange_20_listener","BookingDetailsRoomsComponent_Template_dx_select_box_onItemClick_20_listener","BookingDetailsRoomsComponent_Template_dx_select_box_onInitialized_20_listener","BookingDetailsRoomsComponent_span_21_Template","BookingDetailsRoomsComponent_Template_dx_select_box_valueChange_25_listener","BookingDetailsRoomsComponent_span_26_Template","BookingDetailsRoomsComponent_Template_dx_date_box_valueChange_31_listener","BookingDetailsRoomsComponent_Template_dx_date_box_onValueChanged_31_listener","BookingDetailsRoomsComponent_Template_dx_date_box_onContentReady_31_listener","BookingDetailsRoomsComponent_span_32_Template","BookingDetailsRoomsComponent_Template_dx_date_box_onValueChanged_36_listener","BookingDetailsRoomsComponent_Template_dx_date_box_valueChange_36_listener","BookingDetailsRoomsComponent_Template_dx_date_box_onContentReady_36_listener","BookingDetailsRoomsComponent_span_39_Template","BookingDetailsRoomsComponent_ng_container_45_Template","BookingDetailsRoomsComponent_ng_container_46_Template","BookingDetailsRoomsComponent_Template_div_click_54_listener","BookingDetailsRoomsComponent_Template_div_click_58_listener","BookingDetailsRoomsComponent_Template_div_click_65_listener","BookingDetailsRoomsComponent_Template_div_click_69_listener","BookingDetailsRoomsComponent_Template_input_ngModelChange_74_listener","BookingDetailsRoomsComponent_span_75_Template","BookingDetailsRoomsComponent_Template_input_ngModelChange_79_listener","BookingDetailsRoomsComponent_Template_input_ngModelChange_83_listener","BookingDetailsRoomsComponent_span_84_Template","BookingDetailsRoomsComponent_div_85_Template","BookingDetailsRoomsComponent_Template_textarea_ngModelChange_89_listener","BookingDetailsRoomsComponent_div_90_Template","BookingDetailsRoomsComponent_button_91_Template","BookingDetailsRoomsComponent_div_92_Template","BookingDetailsRoomsComponent_Template_button_click_93_listener","BookingDetailsRoomsComponent_div_95_Template","BookingDetailsRoomsComponent_app_confirm_modal_96_Template","BookingDetailsRoomsComponent_app_confirm_modal_97_Template","InvoiceProcessModel","tap","catchError","InvoiceType","BookingDetailsComponent_i_27_Template_i_click_0_listener","_r76","ctx_r75","sendEmailToPartner","BookingDetailsComponent_i_28_Template_i_click_0_listener","_r78","deletePartnerModal","f_r80","functionDesc","BookingDetailsComponent_li_39_li_5_Template","functions","infoArrival","infoDeparture","BookingDetailsComponent_li_65_span_2_Template_span_click_0_listener","_r84","ctx_r83","openXmlPreview","otaRef","BookingDetailsComponent_li_65_span_2_Template","BookingDetailsComponent_li_65_span_3_Template","virtualCardNotes","BookingDetailsComponent_li_67_Template_i_click_3_listener","openNoteEditPopup","BookingDetailsComponent_li_68_Template_i_click_3_listener","_r88","BookingDetailsComponent_button_71_Template_button_click_0_listener","BookingDetailsComponent_button_72_Template_button_click_0_listener","unCancelBooking","BookingDetailsComponent_button_73_Template_button_click_0_listener","BookingDetailsComponent_button_75_Template_button_click_0_listener","confirmBooking","BookingDetailsComponent_button_76_Template_button_click_0_listener","_r98","returnEnquiry","BookingDetailsComponent_button_78_Template_button_click_0_listener","_r100","goToGuestRegistration","BookingDetailsComponent_div_79_div_3_Template_div_click_0_listener","toggleColorPicker","BookingDetailsComponent_div_79_app_colorpicker_4_Template_app_colorpicker_onColorPicked_0_listener","_r106","onColorPicked","BookingDetailsComponent_div_79_Template_button_click_1_listener","BookingDetailsComponent_div_79_div_3_Template","BookingDetailsComponent_div_79_app_colorpicker_4_Template","showColorPicker","BookingDetailsComponent_div_80_Template_button_click_1_listener","openBulkEdit","BookingDetailsComponent_div_81_Template_button_click_1_listener","_r112","navigateFunction","functionNo","n_r128","n_r129","b_r130","b_r131","info_r139","info_r140","item_r141","pricingDate","item_r142","BookingDetailsComponent_div_93_div_8_ng_container_4_Template_i_click_2_listener","b_r132","togglePricingInfoTooltip","BookingDetailsComponent_div_93_div_8_ng_container_4_Template_dx_tooltip_visibleChange_3_listener","showPricingInfo","BookingDetailsComponent_div_93_div_8_ng_container_4_div_10_Template","BookingDetailsComponent_div_93_div_8_ng_container_4_div_11_Template","BookingDetailsComponent_div_93_div_8_ng_container_4_div_12_Template","BookingDetailsComponent_div_93_div_8_ng_container_4_div_13_Template","bookingRoomPricings","BookingDetailsComponent_div_93_div_8_ng_container_4_Template","item_r149","BookingDetailsComponent_div_93_div_9_ng_container_1_Template_i_mouseenter_2_listener","_r161","BookingDetailsComponent_div_93_div_9_ng_container_1_Template_i_mouseleave_2_listener","ctx_r162","BookingDetailsComponent_div_93_div_9_ng_container_1_Template_dx_tooltip_visibleChange_3_listener","BookingDetailsComponent_div_93_div_9_ng_container_1_div_7_Template","BookingDetailsComponent_div_93_div_9_ng_container_2_Template_i_click_1_listener","_r169","ctx_r167","unlockBookingRoomModal","BookingDetailsComponent_div_93_div_9_ng_container_3_Template_i_click_1_listener","_r172","ctx_r170","lockBookingRoomModal","BookingDetailsComponent_div_93_div_9_ng_container_4_Template_i_click_1_listener","_r175","ctx_r173","checkInBookingRoom","BookingDetailsComponent_div_93_div_9_ng_container_5_Template_i_click_1_listener","_r179","ctx_r177","undoCheckInBookingRoom","BookingDetailsComponent_div_93_div_9_ng_container_5_Template_i_click_2_listener","ctx_r180","checkOutBookingRoom","BookingDetailsComponent_div_93_div_9_i_6_Template_i_click_0_listener","_r184","ctx_r182","deleteRoomModal","BookingDetailsComponent_div_93_div_9_ng_container_1_Template","BookingDetailsComponent_div_93_div_9_ng_container_2_Template","BookingDetailsComponent_div_93_div_9_ng_container_3_Template","BookingDetailsComponent_div_93_div_9_ng_container_4_Template","BookingDetailsComponent_div_93_div_9_ng_container_5_Template","BookingDetailsComponent_div_93_div_9_i_6_Template","ctx_r118","canDeleteRoom","BookingDetailsComponent_div_93_div_13_Template_div_click_1_listener","_r186","ctx_r185","addNewRoom","n_r187","item_r188","BookingDetailsComponent_div_93_div_18_ng_container_1_Template","BookingDetailsComponent_div_93_div_18_ng_container_2_Template","item_r192","dateLabel","item_r193","q_r194","item_r195","BookingDetailsComponent_div_93_div_23_i_2_Template_i_click_0_listener","_r202","item_r196","ctx_r200","moveEPOSModal","BookingDetailsComponent_div_93_div_23_i_3_Template_i_click_0_listener","_r205","ctx_r203","deleteExtrasModal","BookingDetailsComponent_div_93_div_23_i_1_Template","BookingDetailsComponent_div_93_div_23_i_2_Template","BookingDetailsComponent_div_93_div_23_i_3_Template","ctx_r126","canDeleteExtras","BookingDetailsComponent_div_93_div_27_Template_div_click_1_listener","_r207","ctx_r206","addSaleItem","totalExtrasPrice","BookingDetailsComponent_div_93_Template_dx_data_grid_onCellClick_3_listener","_r209","ctx_r208","cellClickRooms","BookingDetailsComponent_div_93_div_4_Template","BookingDetailsComponent_div_93_div_5_Template","BookingDetailsComponent_div_93_div_6_Template","BookingDetailsComponent_div_93_div_7_Template","BookingDetailsComponent_div_93_div_8_Template","BookingDetailsComponent_div_93_div_9_Template","BookingDetailsComponent_div_93_div_13_Template","BookingDetailsComponent_div_93_Template_dx_data_grid_onCellClick_16_listener","ctx_r210","cellClickExtras","BookingDetailsComponent_div_93_div_17_Template","BookingDetailsComponent_div_93_div_18_Template","BookingDetailsComponent_div_93_div_19_Template","BookingDetailsComponent_div_93_div_20_Template","BookingDetailsComponent_div_93_div_21_Template","BookingDetailsComponent_div_93_div_22_Template","BookingDetailsComponent_div_93_div_23_Template","BookingDetailsComponent_div_93_div_27_Template","canAddRoom","_c24","_c25","_c26","canAddExtras","ctx_r211","n_r216","BookingDetailsComponent_div_94_div_3_ng_container_1_Template","n_r217","item_r219","BookingDetailsComponent_div_94_div_4_div_1_Template","item_r222","BookingDetailsComponent_div_94_div_5_ng_container_1_Template_i_mouseenter_2_listener","_r232","ctx_r230","BookingDetailsComponent_div_94_div_5_ng_container_1_Template_i_mouseleave_2_listener","ctx_r233","BookingDetailsComponent_div_94_div_5_ng_container_1_Template_dx_tooltip_visibleChange_3_listener","BookingDetailsComponent_div_94_div_5_ng_container_1_div_7_Template","BookingDetailsComponent_div_94_div_5_div_2_Template_div_click_0_listener","_r240","ctx_r238","sendEmailManually","BookingDetailsComponent_div_94_div_5_i_3_Template_i_click_0_listener","_r242","ctx_r241","reportMisconduct","ctx_r225","misconductReported","BookingDetailsComponent_div_94_div_5_i_4_Template_i_click_0_listener","_r245","ctx_r243","deleteGuestModal","BookingDetailsComponent_div_94_div_5_ng_container_1_Template","BookingDetailsComponent_div_94_div_5_div_2_Template","BookingDetailsComponent_div_94_div_5_i_3_Template","BookingDetailsComponent_div_94_div_5_i_4_Template","ctx_r214","canReportMisconduct","canDeleteGuest","BookingDetailsComponent_div_94_div_9_Template_div_click_0_listener","_r247","ctx_r246","addNewGuests","BookingDetailsComponent_div_94_Template_dx_data_grid_onCellClick_1_listener","_r249","ctx_r248","cellClickGuests","BookingDetailsComponent_div_94_div_2_Template","BookingDetailsComponent_div_94_div_3_Template","BookingDetailsComponent_div_94_div_4_Template","BookingDetailsComponent_div_94_div_5_Template","BookingDetailsComponent_div_94_div_9_Template","_c27","_c28","_c29","_c30","_c31","_c32","_c33","_c34","canAddGuest","ctx_r277","paymentClass","n_r276","ctx_r278","BookingDetailsComponent_div_95_div_5_div_1_Template","BookingDetailsComponent_div_95_div_5_div_2_Template","ctx_r252","item_r281","cardSummary","ctx_r253","item_r282","ctx_r254","item_r283","ctx_r255","item_r284","ctx_r256","item_r285","paymentOrigin","_c35","ctx_r257","item_r286","ctx_r258","item_r287","BookingDetailsComponent_div_95_div_14_ng_container_1_i_1_Template_i_click_0_listener","_r295","item_r289","ctx_r294","paymentAction","paymentActionTypes","VerifyToken","BookingDetailsComponent_div_95_div_14_ng_container_1_i_1_Template","BookingDetailsComponent_div_95_div_14_ng_container_1_span_2_Template","canVerifyToken","vcc","BookingDetailsComponent_div_95_div_14_ng_container_2_i_1_Template_i_click_0_listener","_r301","ctx_r299","resendPaymentLink","BookingDetailsComponent_div_95_div_14_ng_container_2_i_1_Template","BookingDetailsComponent_div_95_div_14_ng_container_1_Template","BookingDetailsComponent_div_95_div_14_ng_container_2_Template","BookingDetailsComponent_div_95_div_15_ng_container_1_i_1_Template_i_click_0_listener","_r309","item_r303","ctx_r308","BookingDetailsComponent_div_95_div_15_ng_container_1_i_1_Template","BookingDetailsComponent_div_95_div_15_ng_container_1_span_2_Template","canChargeToken","BookingDetailsComponent_div_95_div_15_ng_container_2_i_1_Template_i_click_0_listener","_r315","ctx_r314","BookingDetailsComponent_div_95_div_15_ng_container_2_i_1_Template","BookingDetailsComponent_div_95_div_15_ng_container_2_span_2_Template","canRebill","BookingDetailsComponent_div_95_div_15_ng_container_1_Template","BookingDetailsComponent_div_95_div_15_ng_container_2_Template","BookingDetailsComponent_div_95_div_16_ng_container_2_i_1_Template_i_click_0_listener","_r323","item_r318","ctx_r322","BookingDetailsComponent_div_95_div_16_ng_container_2_i_1_Template","canRefund","BookingDetailsComponent_div_95_div_16_i_1_Template","BookingDetailsComponent_div_95_div_16_ng_container_2_Template","cardReportedInvalid","BookingDetailsComponent_div_95_div_17_div_1_Template_div_mouseenter_0_listener","_r330","item_r326","ctx_r328","togglePaymentTooltip","BookingDetailsComponent_div_95_div_17_div_1_Template_div_mouseleave_0_listener","ctx_r331","BookingDetailsComponent_div_95_div_17_div_1_Template","BookingDetailsComponent_div_95_div_18_ng_container_1_ng_container_1_Template_i_click_1_listener","_r339","item_r334","ctx_r337","voidPayment","BookingDetailsComponent_div_95_div_18_ng_container_1_ng_container_1_Template","BookingDetailsComponent_div_95_div_18_ng_container_1_Template","canVoid","BookingDetailsComponent_div_95_div_19_ng_container_1_Template_a_click_1_listener","_r345","item_r341","ctx_r343","printRecepies","BookingDetailsComponent_div_95_div_19_ng_container_1_Template","item_r346","ctx_r267","n_r347","ctx_r268","item_r348","ctx_r269","item_r349","paid","ctx_r270","item_r350","BookingDetailsComponent_div_95_div_42_div_1_Template_i_click_1_listener","_r356","item_r351","ctx_r354","closeInvoiceFunction","BookingDetailsComponent_div_95_div_42_div_2_Template_i_click_1_listener","_r359","ctx_r357","createCreditNoteFunction","BookingDetailsComponent_div_95_div_42_div_1_Template","BookingDetailsComponent_div_95_div_42_div_2_Template","BookingDetailsComponent_div_95_div_43_Template_i_click_2_listener","_r362","item_r360","ctx_r361","openConfirmSendingInvoice","BookingDetailsComponent_div_95_div_44_Template_i_click_2_listener","_r365","item_r363","ctx_r364","BookingDetailsComponent_div_95_div_45_div_1_Template_i_click_1_listener","_r370","item_r366","ctx_r368","deleteInvoiceFunction","BookingDetailsComponent_div_95_div_45_div_1_Template","BookingDetailsComponent_div_95_button_57_Template_button_click_0_listener","_r372","ctx_r371","CreateInvoice","BookingDetailsComponent_div_95_Template_dx_data_grid_onCellClick_3_listener","_r374","ctx_r373","cellClickPayments","BookingDetailsComponent_div_95_div_5_Template","BookingDetailsComponent_div_95_div_6_Template","BookingDetailsComponent_div_95_div_7_Template","BookingDetailsComponent_div_95_div_8_Template","BookingDetailsComponent_div_95_div_9_Template","BookingDetailsComponent_div_95_div_10_Template","BookingDetailsComponent_div_95_div_11_Template","BookingDetailsComponent_div_95_div_12_Template","BookingDetailsComponent_div_95_div_13_Template","BookingDetailsComponent_div_95_div_14_Template","BookingDetailsComponent_div_95_div_15_Template","BookingDetailsComponent_div_95_div_16_Template","BookingDetailsComponent_div_95_div_17_Template","BookingDetailsComponent_div_95_div_18_Template","BookingDetailsComponent_div_95_div_19_Template","BookingDetailsComponent_div_95_Template_div_click_24_listener","ctx_r375","addNewPayment","BookingDetailsComponent_div_95_Template_dx_data_grid_onCellClick_36_listener","ctx_r376","cellClickInvoice","BookingDetailsComponent_div_95_div_37_Template","BookingDetailsComponent_div_95_div_38_Template","BookingDetailsComponent_div_95_div_39_Template","BookingDetailsComponent_div_95_div_40_Template","BookingDetailsComponent_div_95_div_41_Template","BookingDetailsComponent_div_95_div_42_Template","BookingDetailsComponent_div_95_div_43_Template","BookingDetailsComponent_div_95_div_44_Template","BookingDetailsComponent_div_95_div_45_Template","BookingDetailsComponent_div_95_Template_div_click_51_listener","ctx_r377","addNewInvoice","BookingDetailsComponent_div_95_button_57_Template","_c51","_c36","_c37","_c38","_c39","_c40","_c41","_c42","_c43","_c44","_c45","_c46","_c47","_c48","_c49","_c50","calculatePaymentsTotal","_c61","_c52","_c53","_c54","_c55","_c56","_c57","_c58","_c59","_c60","canBeInvoiced","totalInvoices","item_r379","BookingDetailsComponent_div_96_div_2_Template","logs","_c67","_c62","_c63","_c64","_c65","_c66","prop_r381","BookingDetailsComponent_div_97_Template_select_ngModelChange_6_listener","_r383","ctx_r382","BookingDetailsComponent_div_97_option_7_Template","BookingDetailsComponent_div_97_Template_button_click_8_listener","ctx_r384","updateBookingPartner","BookingDetailsComponent_div_97_Template_button_click_10_listener","ctx_r385","updatePartnerPopup","BookingDetailsComponent_app_booking_details_add_rooms_99_Template_app_booking_details_add_rooms_addBookingRoomChange_0_listener","_r387","ctx_r386","addRoom","BookingDetailsComponent_app_booking_details_add_rooms_99_Template_app_booking_details_add_rooms_update_0_listener","ctx_r388","updateBookingAllDetails","BookingDetailsComponent_app_booking_details_rooms_100_Template_app_booking_details_rooms_editBookingRoomChange_0_listener","_r390","ctx_r389","editRoom","BookingDetailsComponent_app_booking_details_rooms_100_Template_app_booking_details_rooms_update_0_listener","ctx_r391","canEditRoom","BookingDetailsComponent_app_booking_details_extras_101_Template_app_booking_details_extras_addBookingExtraChange_0_listener","_r393","ctx_r392","addExtra","BookingDetailsComponent_app_booking_details_extras_101_Template_app_booking_details_extras_update_0_listener","ctx_r394","BookingDetailsComponent_app_booking_details_extras_102_Template_app_booking_details_extras_editBookingExtraChange_0_listener","_r396","ctx_r395","editExtra","BookingDetailsComponent_app_booking_details_extras_102_Template_app_booking_details_extras_update_0_listener","ctx_r397","canEditExtras","currentExtraModel","BookingDetailsComponent_app_booking_details_guests_103_Template_app_booking_details_guests_addBookingGuestChange_0_listener","_r399","ctx_r398","BookingDetailsComponent_app_booking_details_guests_103_Template_app_booking_details_guests_update_0_listener","ctx_r400","BookingDetailsComponent_app_booking_details_guests_104_Template_app_booking_details_guests_editBookingGuestChange_0_listener","_r402","ctx_r401","editGuest","BookingDetailsComponent_app_booking_details_guests_104_Template_app_booking_details_guests_update_0_listener","ctx_r403","canEditGuest","BookingDetailsComponent_app_message_templates_recepient_105_Template_app_message_templates_recepient_messageTemplatePopupChange_0_listener","_r405","ctx_r404","openMessageTemplates","currentBookingRoomId","currentBookingGuestId","currentGuestEmail","currentGuestMobilePhone","BookingDetailsComponent_app_message_templates_recepient_106_Template_app_message_templates_recepient_messageTemplatePopupChange_0_listener","_r407","ctx_r406","openPartnerMessageTemplates","partnerDetails","BookingDetailsComponent_app_booking_details_payment_107_Template_app_booking_details_payment_update_0_listener","_r409","ctx_r408","BookingDetailsComponent_app_booking_details_payment_107_Template_app_booking_details_payment_reloadBookingDetails_0_listener","ctx_r410","BookingDetailsComponent_app_booking_details_payment_107_Template_app_booking_details_payment_bookingPaymentChange_0_listener","ctx_r411","addPayment","BookingDetailsComponent_app_booking_details_payment_108_Template_app_booking_details_payment_update_0_listener","_r413","ctx_r412","BookingDetailsComponent_app_booking_details_payment_108_Template_app_booking_details_payment_editBookingPaymentChange_0_listener","ctx_r414","currentPaymentId","BookingDetailsComponent_app_booking_details_add_invoice_109_Template_app_booking_details_add_invoice_addInvoiceChange_0_listener","_r416","ctx_r415","addInvoice","BookingDetailsComponent_app_booking_details_add_invoice_109_Template_app_booking_details_add_invoice_printInvoice_0_listener","ctx_r417","BookingDetailsComponent_app_booking_details_add_invoice_109_Template_app_booking_details_add_invoice_update_0_listener","ctx_r418","BookingDetailsComponent_app_booking_details_invoice_110_Template_app_booking_details_invoice_updateGrid_0_listener","_r420","ctx_r419","BookingDetailsComponent_app_booking_details_invoice_110_Template_app_booking_details_invoice_editInvoiceChange_0_listener","ctx_r421","editInvoice","BookingDetailsComponent_app_booking_details_invoice_110_Template_app_booking_details_invoice_update_0_listener","ctx_r422","disableEditMode","currentInvoiceId","BookingDetailsComponent_app_message_template_preview_111_Template_app_message_template_preview_templatesPreviewChange_0_listener","_r424","ctx_r423","openInvoiceMessageTemplates","BookingDetailsComponent_app_message_template_preview_111_Template_app_message_template_preview_selectedTemplate_0_listener","ctx_r425","getTemplateAndSendInvoice","BookingDetailsComponent_app_booking_details_move_extras_112_Template_app_booking_details_move_extras_moveEPOSChange_0_listener","_r427","ctx_r426","moveExtra","BookingDetailsComponent_app_booking_details_move_extras_112_Template_app_booking_details_move_extras_update_0_listener","ctx_r428","BookingDetailsComponent_app_booking_details_move_extras_112_Template_app_booking_details_move_extras_updateBookingDetails_0_listener","ctx_r429","currentExtraId","BookingDetailsComponent_app_booking_report_misconduct_113_Template_app_booking_report_misconduct_reportMisconductChange_0_listener","_r431","ctx_r430","showMisconductDialog","BookingDetailsComponent_app_booking_report_misconduct_113_Template_app_booking_report_misconduct_update_0_listener","ctx_r432","BookingDetailsComponent_app_delete_modal_114_Template_app_delete_modal_deleteModalChange_0_listener","_r434","ctx_r433","deleteRoom","BookingDetailsComponent_app_delete_modal_114_Template_app_delete_modal_delete_0_listener","ctx_r435","confirmRoomDelete","BookingDetailsComponent_app_delete_modal_115_Template_app_delete_modal_deleteModalChange_0_listener","_r437","ctx_r436","deleteExtra","BookingDetailsComponent_app_delete_modal_115_Template_app_delete_modal_delete_0_listener","ctx_r438","deleteSaleItem","BookingDetailsComponent_app_delete_modal_116_Template_app_delete_modal_deleteModalChange_0_listener","_r440","ctx_r439","deleteGuest","BookingDetailsComponent_app_delete_modal_116_Template_app_delete_modal_delete_0_listener","ctx_r441","confirmGuestDelete","BookingDetailsComponent_app_delete_modal_117_Template_app_delete_modal_deleteModalChange_0_listener","_r443","ctx_r442","deletePartner","BookingDetailsComponent_app_delete_modal_117_Template_app_delete_modal_delete_0_listener","ctx_r444","confirmPartnerDelete","BookingDetailsComponent_app_confirm_modal_118_Template_app_confirm_modal_confirmModalChange_0_listener","_r446","ctx_r445","cancelBookingPopup","BookingDetailsComponent_app_confirm_modal_118_Template_app_confirm_modal_confirm_0_listener","ctx_r447","BookingDetailsComponent_app_confirm_modal_118_Template_app_confirm_modal_alternativeOption_0_listener","ctx_r448","BookingDetailsComponent_app_confirm_modal_119_Template_app_confirm_modal_confirmModalChange_0_listener","_r450","ctx_r449","BookingDetailsComponent_app_confirm_modal_119_Template_app_confirm_modal_confirm_0_listener","ctx_r451","BookingDetailsComponent_app_confirm_modal_119_Template_app_confirm_modal_declined_0_listener","ctx_r452","BookingDetailsComponent_app_confirm_modal_119_Template_app_confirm_modal_alternativeOption_0_listener","ctx_r453","BookingDetailsComponent_app_confirm_modal_120_Template_app_confirm_modal_confirmModalChange_0_listener","_r455","ctx_r454","BookingDetailsComponent_app_confirm_modal_120_Template_app_confirm_modal_confirm_0_listener","ctx_r456","BookingDetailsComponent_app_confirm_modal_120_Template_app_confirm_modal_declined_0_listener","ctx_r457","BookingDetailsComponent_app_confirm_modal_120_Template_app_confirm_modal_alternativeOption_0_listener","ctx_r458","BookingDetailsComponent_app_confirm_modal_121_Template_app_confirm_modal_confirmModalChange_0_listener","_r460","ctx_r459","unCancelBookingPopup","BookingDetailsComponent_app_confirm_modal_121_Template_app_confirm_modal_confirm_0_listener","ctx_r461","unCancelBookingConfirm","unCancelBookingMessage","BookingDetailsComponent_app_confirm_modal_122_Template_app_confirm_modal_confirmModalChange_0_listener","_r463","ctx_r462","confirmBookingPopup","BookingDetailsComponent_app_confirm_modal_122_Template_app_confirm_modal_confirm_0_listener","ctx_r464","confirmBookingComplete","BookingDetailsComponent_app_message_template_recepient_preview_123_Template_app_message_template_recepient_preview_messagePreviewChange_0_listener","_r466","ctx_r465","sendInvoiceConfirmPopup","BookingDetailsComponent_app_message_template_recepient_preview_123_Template_app_message_template_recepient_preview_update_0_listener","ctx_r467","closeSendInvoice","invoiceTemplateId","invoiceEmailTo","invoiceGuestId","BookingDetailsComponent_app_confirm_modal_124_Template_app_confirm_modal_confirmModalChange_0_listener","_r469","ctx_r468","createInvoicePopup","BookingDetailsComponent_app_confirm_modal_124_Template_app_confirm_modal_confirm_0_listener","ctx_r470","createInvoiceConfirm","BookingDetailsComponent_app_confirm_invoice_all_popup_125_Template_app_confirm_invoice_all_popup_confirmModalChange_0_listener","_r472","ctx_r471","createInvoicePartnerPopup","BookingDetailsComponent_app_confirm_invoice_all_popup_125_Template_app_confirm_invoice_all_popup_confirm_0_listener","ctx_r473","BookingDetailsComponent_app_confirm_modal_126_Template_app_confirm_modal_confirmModalChange_0_listener","_r475","ctx_r474","closeInvoice","BookingDetailsComponent_app_confirm_modal_126_Template_app_confirm_modal_confirm_0_listener","ctx_r476","closeInvoiceConfirmed","BookingDetailsComponent_app_confirm_modal_127_Template_app_confirm_modal_confirmModalChange_0_listener","_r478","ctx_r477","creditNoteInvoice","BookingDetailsComponent_app_confirm_modal_127_Template_app_confirm_modal_confirm_0_listener","ctx_r479","createCreditNoteConfirmed","BookingDetailsComponent_app_delete_modal_128_Template_app_delete_modal_deleteModalChange_0_listener","_r481","ctx_r480","deleteInvoice","BookingDetailsComponent_app_delete_modal_128_Template_app_delete_modal_delete_0_listener","ctx_r482","deleteInvoiceConfirmed","BookingDetailsComponent_app_confirm_modal_129_Template_app_confirm_modal_confirmModalChange_0_listener","_r484","ctx_r483","BookingDetailsComponent_app_confirm_modal_129_Template_app_confirm_modal_confirm_0_listener","ctx_r485","BookingDetailsComponent_app_confirm_modal_129_Template_app_confirm_modal_declined_0_listener","ctx_r486","BookingDetailsComponent_app_confirm_modal_130_Template_app_confirm_modal_confirmModalChange_0_listener","_r488","ctx_r487","confirmLock","BookingDetailsComponent_app_confirm_modal_130_Template_app_confirm_modal_confirm_0_listener","ctx_r489","lockConfirmFunction","BookingDetailsComponent_app_confirm_modal_130_Template_app_confirm_modal_declined_0_listener","ctx_r490","BookingDetailsComponent_app_confirm_modal_131_Template_app_confirm_modal_confirmModalChange_0_listener","_r492","ctx_r491","confirmUnlock","BookingDetailsComponent_app_confirm_modal_131_Template_app_confirm_modal_confirm_0_listener","ctx_r493","BookingDetailsComponent_app_confirm_modal_131_Template_app_confirm_modal_declined_0_listener","ctx_r494","BookingDetailsComponent_app_note_edit_132_Template_app_note_edit_notePopupChange_0_listener","_r496","ctx_r495","notePopup","BookingDetailsComponent_app_note_edit_132_Template_app_note_edit_noteChange_0_listener","ctx_r497","ctx_r498","BookingDetailsComponent_app_xml_view_134_Template_app_xml_view_xmlViewBookingRecordChange_0_listener","_r500","ctx_r499","xmlView","paymentTooltipMessage","BookingDetailsComponent_app_booking_print_receipt_140_Template_app_booking_print_receipt_generated_0_listener","_r503","ctx_r502","viewPrintReceipts","BookingDetailsComponent_app_booking_print_summary_141_Template_app_booking_print_summary_generated_0_listener","_r505","ctx_r504","viewBookingSummary","BookingDetailsComponent_app_booking_bulk_edit_142_Template_app_booking_bulk_edit_bulkEditChange_0_listener","_r507","ctx_r506","bulkEditOpen","BookingDetailsComponent_app_booking_bulk_edit_142_Template_app_booking_bulk_edit_editComplete_0_listener","ctx_r508","BookingDetailsComponent_app_confirm_modal_143_Template_app_confirm_modal_confirmModalChange_0_listener","_r510","ctx_r509","confirmReturnEnquiryPopup","BookingDetailsComponent_app_confirm_modal_143_Template_app_confirm_modal_confirm_0_listener","ctx_r511","returnEnquiryConfirm","BookingDetailsComponent_app_confirm_modal_144_Template_app_confirm_modal_confirmModalChange_0_listener","_r513","ctx_r512","confirmUndoCheckInBookingRoom","BookingDetailsComponent_app_confirm_modal_144_Template_app_confirm_modal_confirm_0_listener","ctx_r514","confirmUndoCheckInBookingRoomComplete","BookingDetailsComponent_app_confirm_modal_145_Template_app_confirm_modal_confirmModalChange_0_listener","_r516","ctx_r515","confirmResendPaymentLink","BookingDetailsComponent_app_confirm_modal_145_Template_app_confirm_modal_confirm_0_listener","ctx_r517","resendPaymentLinkConfirmed","resendPaymentLinkMessage","BookingDetailsComponent_app_confirm_modal_146_Template_app_confirm_modal_confirmModalChange_0_listener","_r519","ctx_r518","confirmVoidPayment","BookingDetailsComponent_app_confirm_modal_146_Template_app_confirm_modal_confirm_0_listener","ctx_r520","voidPaymentConfirmed","_BookingDetailsComponent","bookingService","settingsPartnersService","settingsBillingService","settingsTemplatesService","bookingPaymentNo","url","setPaidBooking","checkBookingRoomsStatus","isRoomStatusToArrive","snapshot","showFinanceCardIcon","setArrivalAndDepartureDates","Role","Name","getPartnerDetailsPd","pipe","canReturnEnquiry","getInvoiceTemplateForProperty","invoiceTemplatePDModel","messageGuestTemplate","setMinMaxBookingFromTo","setCanReportMisconduct","setCanBulkEdit","apply","maxBookingTo","currentDatePlusSeven","firstDateFrom","firstDateTo","allEqual","every","checkForNotes","notesRoom","n","notesGuest","notesIndicatorRoom","notesIndicatorGuest","paymentGrid","totalRecords","totalPages","bookingRoomUndoCheckIn","createInvoiceFromBooking","columnIndex","openEditRoom","openPartnerPopup","lockIt","deleteBookingRoom","deleteBookingPartner","editSaleItem","deleteBookingExtra","openEditGuests","people","currentGuestId","deleteBookingGuest","g","editPayments","activePaymentId","showPaymentTooltip","selectedVoidPaymentId","printData","isRefund","purposeName","clearReceiptData","setReceiptData","isFilled","receipt","open","write","bookingSummary","editExistInvoice","createCreditNote","invoiceProcessModel","exportInvoicesToPdf","Booking","blob","Blob","blobUrl","URL","createObjectURL","iframe","nav","display","onload","getSeconds","msSaveOrOpenBlob","a","href","download","contentWindow","src","getGuestRegistrationToken","guestRegistrationToken","fromCms","queryParams","cameFromCms","navigateToCalendar","currentInvoice","emailInvoices","arrival","departure","bookingSummaryPrint","saveBookingColor","actionType","selectedPaymentLinkId","ActivatedRoute","SettingsPartnersService","SettingsBillingService","SettingsTemplatesService","BookingDetailsComponent_Query","BookingDetailsComponent_span_6_Template","BookingDetailsComponent_Template_span_click_7_listener","BookingDetailsComponent_Template_span_click_8_listener","BookingDetailsComponent_li_21_Template","BookingDetailsComponent_Template_i_click_26_listener","BookingDetailsComponent_i_27_Template","BookingDetailsComponent_i_28_Template","BookingDetailsComponent_li_39_Template","BookingDetailsComponent_span_44_Template","BookingDetailsComponent_span_45_Template","BookingDetailsComponent_span_48_Template","BookingDetailsComponent_span_49_Template","BookingDetailsComponent_li_62_Template","BookingDetailsComponent_li_65_Template","BookingDetailsComponent_li_66_Template","BookingDetailsComponent_li_67_Template","BookingDetailsComponent_li_68_Template","BookingDetailsComponent_button_71_Template","BookingDetailsComponent_button_72_Template","BookingDetailsComponent_button_73_Template","BookingDetailsComponent_button_75_Template","BookingDetailsComponent_button_76_Template","BookingDetailsComponent_button_78_Template","BookingDetailsComponent_div_79_Template","BookingDetailsComponent_div_80_Template","BookingDetailsComponent_div_81_Template","BookingDetailsComponent_Template_div_click_82_listener","BookingDetailsComponent_ng_container_84_Template","BookingDetailsComponent_Template_div_click_85_listener","BookingDetailsComponent_ng_container_87_Template","BookingDetailsComponent_Template_div_click_88_listener","BookingDetailsComponent_i_90_Template","BookingDetailsComponent_Template_div_click_91_listener","BookingDetailsComponent_div_93_Template","BookingDetailsComponent_div_94_Template","BookingDetailsComponent_div_95_Template","BookingDetailsComponent_div_96_Template","BookingDetailsComponent_div_97_Template","BookingDetailsComponent_div_98_Template","BookingDetailsComponent_app_booking_details_add_rooms_99_Template","BookingDetailsComponent_app_booking_details_rooms_100_Template","BookingDetailsComponent_app_booking_details_extras_101_Template","BookingDetailsComponent_app_booking_details_extras_102_Template","BookingDetailsComponent_app_booking_details_guests_103_Template","BookingDetailsComponent_app_booking_details_guests_104_Template","BookingDetailsComponent_app_message_templates_recepient_105_Template","BookingDetailsComponent_app_message_templates_recepient_106_Template","BookingDetailsComponent_app_booking_details_payment_107_Template","BookingDetailsComponent_app_booking_details_payment_108_Template","BookingDetailsComponent_app_booking_details_add_invoice_109_Template","BookingDetailsComponent_app_booking_details_invoice_110_Template","BookingDetailsComponent_app_message_template_preview_111_Template","BookingDetailsComponent_app_booking_details_move_extras_112_Template","BookingDetailsComponent_app_booking_report_misconduct_113_Template","BookingDetailsComponent_app_delete_modal_114_Template","BookingDetailsComponent_app_delete_modal_115_Template","BookingDetailsComponent_app_delete_modal_116_Template","BookingDetailsComponent_app_delete_modal_117_Template","BookingDetailsComponent_app_confirm_modal_118_Template","BookingDetailsComponent_app_confirm_modal_119_Template","BookingDetailsComponent_app_confirm_modal_120_Template","BookingDetailsComponent_app_confirm_modal_121_Template","BookingDetailsComponent_app_confirm_modal_122_Template","BookingDetailsComponent_app_message_template_recepient_preview_123_Template","BookingDetailsComponent_app_confirm_modal_124_Template","BookingDetailsComponent_app_confirm_invoice_all_popup_125_Template","BookingDetailsComponent_app_confirm_modal_126_Template","BookingDetailsComponent_app_confirm_modal_127_Template","BookingDetailsComponent_app_delete_modal_128_Template","BookingDetailsComponent_app_confirm_modal_129_Template","BookingDetailsComponent_app_confirm_modal_130_Template","BookingDetailsComponent_app_confirm_modal_131_Template","BookingDetailsComponent_app_note_edit_132_Template","BookingDetailsComponent_app_xml_view_134_Template","BookingDetailsComponent_Template_dx_tooltip_visibleChange_135_listener","BookingDetailsComponent_div_139_Template","BookingDetailsComponent_app_booking_print_receipt_140_Template","BookingDetailsComponent_app_booking_print_summary_141_Template","BookingDetailsComponent_app_booking_bulk_edit_142_Template","BookingDetailsComponent_app_confirm_modal_143_Template","BookingDetailsComponent_app_confirm_modal_144_Template","BookingDetailsComponent_app_confirm_modal_145_Template","BookingDetailsComponent_app_confirm_modal_146_Template","guestAccepted","partnerShortName","unCancelAvailable","noShowReported","propertyInfo","imageSafeUrl","ɵɵsanitizeUrl","_BookingPrintSummaryComponent","authLoginService","getDataForBookingSummary","getPropertyContact","propertyResponse","setPicture","getPropertyInvoiceLogoBase64","propertyThumbnail","bypassSecurityTrustUrl","showImage","generated","content","nativeElement","AuthLoginService","BookingPrintSummaryComponent_Query","BookingPrintSummaryComponent_div_3_Template","BookingPrintSummaryComponent_ng_container_4_Template","BookingPrintSummaryComponent_ng_container_15_Template","BookingPrintSummaryComponent_ng_container_16_Template","BookingPrintSummaryComponent_ng_container_17_Template","BookingPrintSummaryComponent_ng_container_19_Template","BookingPrintSummaryComponent_ng_container_20_Template","bookingReference","ɵɵsanitizeHtml","extrasTotal","bookingTotal","depositPaid","errorMessage","subcategory_r10","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_5_Template_dx_radio_group_valueChange_0_listener","selectedSubCategory","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_5_Template_dx_radio_group_onValueChanged_0_listener","setSelectedInfo","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_5_div_1_Template","category_r5","subCategories","damageType_r16","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_6_Template_dx_radio_group_valueChange_0_listener","selectedDamageType","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_6_Template_dx_radio_group_onValueChanged_0_listener","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_6_div_1_Template","damageTypes","BookingReportMisconductComponent_div_11_div_1_Template_input_valueChange_2_listener","BookingReportMisconductComponent_div_11_div_1_Template_input_change_2_listener","onCategoryOpen","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_5_Template","BookingReportMisconductComponent_div_11_div_1_dx_radio_group_6_Template","BookingReportMisconductComponent_div_11_div_1_Template","BookingReportMisconductComponent_div_11_Template_button_click_4_listener","BookingReportMisconductComponent_div_11_Template_button_click_7_listener","misconductCategories","BookingReportMisconductComponent_div_13_div_16_Template_input__value__4_listener","BookingReportMisconductComponent_div_13_div_16_Template_input_change_4_listener","onChange","BookingReportMisconductComponent_div_13_button_22_Template_button_click_0_listener","submitMisconductReport","BookingReportMisconductComponent_div_13_Template_input__value__7_listener","BookingReportMisconductComponent_div_13_Template_input_change_7_listener","BookingReportMisconductComponent_div_13_Template_dx_radio_group_valueChange_11_listener","BookingReportMisconductComponent_div_13_Template_dx_radio_group_valueChange_15_listener","BookingReportMisconductComponent_div_13_div_16_Template","BookingReportMisconductComponent_div_13_Template_button_click_19_listener","BookingReportMisconductComponent_div_13_button_22_Template","selectedInfo","radioOptions","_BookingReportMisconductComponent","getBcomMisconductCategories","category","subCategory","damageType","reportBcomMisconduct","reportMisconductChange","BookingReportMisconductComponent_Template","BookingReportMisconductComponent_span_8_Template","BookingReportMisconductComponent_Template_dx_tab_panel_selectedIndexChange_9_listener","BookingReportMisconductComponent_div_11_Template","BookingReportMisconductComponent_div_13_Template","BookingReportMisconductComponent_div_14_Template","_ConfirmInvoiceAllPopupComponent","confirmModalChange","setGuestOrPartner","confirmFunction","confirm","confirmModal","ConfirmInvoiceAllPopupComponent_Template","ConfirmInvoiceAllPopupComponent_Template_input_change_12_listener","ConfirmInvoiceAllPopupComponent_Template_input_change_17_listener","ConfirmInvoiceAllPopupComponent_Template_button_click_22_listener","ConfirmInvoiceAllPopupComponent_Template_button_click_24_listener","_NoteEditComponent","bookingDetailService","noteText","saveNote","saveBookingNote","noteChange","notePopupChange","NoteEditComponent_Template","NoteEditComponent_Template_form_ngSubmit_5_listener","NoteEditComponent_Template_textarea_ngModelChange_7_listener","NoteEditComponent_div_8_Template","NoteEditComponent_button_10_Template","NoteEditComponent_div_11_Template","NoteEditComponent_Template_button_click_12_listener","_BookingsSearchPdResolver","settingsBookingSearchService","getDataForBookingSearch","SettingsBookingSearchService","BookingSearchFilterModel","BookingSearchConfigurationModel","BookingSearchRequestModel","FileSaver","SettingsBookingSearchComponent_div_31_Template_input_change_3_listener","bookingSearchFilterModel","SettingsBookingSearchComponent_div_32_Template_input_change_3_listener","errorMessageDatesArrival","errorMessageDatesDeparture","errorMessageDatesBooked","d_r21","brNote_r29","gNote_r30","SettingsBookingSearchComponent_div_252_ng_container_1_div_7_li_3_Template","SettingsBookingSearchComponent_div_252_ng_container_1_div_7_li_4_Template","d_r23","bookingRoomNotes","guestNotes","SettingsBookingSearchComponent_div_252_ng_container_1_Template_i_mouseenter_2_listener","showNotes","SettingsBookingSearchComponent_div_252_ng_container_1_Template_i_mouseleave_2_listener","hideNotes","SettingsBookingSearchComponent_div_252_ng_container_1_Template_dx_popover_visibleChange_3_listener","SettingsBookingSearchComponent_div_252_ng_container_1_div_7_Template","SettingsBookingSearchComponent_div_252_ng_container_1_Template","bookingRoomOrGuestNotes","d_r40","d_r41","renderStatus","s_r42","SettingsBookingSearchComponent_div_256_i_1_Template_i_mouseenter_0_listener","_r48","s_r43","SettingsBookingSearchComponent_div_256_i_1_Template_i_mouseleave_0_listener","SettingsBookingSearchComponent_div_256_i_1_Template","SettingsBookingSearchComponent_div_256_Template_dx_popover_visibleChange_2_listener","SettingsBookingSearchComponent_div_256_div_6_Template","d_r56","_SettingsBookingSearchComponent","BookingSearch","bookingSearchPDModel","savedObj","toggleVal","constructFromCookie","hasOwnProperty","bookedOn","functionRoom","functionStatus","functionBookedOn","functionArrival","functionPartner","ota","showFilter","bookingSearchGridRequest","filters","ngAfterViewChecked","validateDateRangeArrival","arrivalFrom","arrivalTo","validateFunctionDateRangeArrival","validateDateRangeDeparture","departureFrom","departureTo","validateDateRangeBooked","bookedFrom","bookedTo","validateFunctionDateRangeBooked","validateSearchLength","toogleFilter","searchBookings","setGridColumnsForSearchType","exportGrid","loaderExportCsv","exportBookingsToCsv","saveAs","exportAllGrid","exportAllBookingsToCsv","s","clearFilters","clearFilterType","prop","RoomTypeIds","partnerIds","sources","otas","deleteCookie","columnOption","rowClickEvent","getSelectedRowsData","SettingsBookingSearchComponent_Query","SettingsBookingSearchComponent_Template_input_ngModelChange_8_listener","SettingsBookingSearchComponent_Template_input_keyup_enter_8_listener","SettingsBookingSearchComponent_Template_button_click_11_listener","SettingsBookingSearchComponent_Template_button_click_15_listener","SettingsBookingSearchComponent_Template_button_click_20_listener","SettingsBookingSearchComponent_Template_button_click_24_listener","SettingsBookingSearchComponent_Template_button_click_28_listener","SettingsBookingSearchComponent_div_31_Template","SettingsBookingSearchComponent_div_32_Template","SettingsBookingSearchComponent_Template_input_ngModelChange_39_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_47_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_53_listener","SettingsBookingSearchComponent_span_54_Template","SettingsBookingSearchComponent_Template_input_ngModelChange_58_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_66_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_72_listener","SettingsBookingSearchComponent_span_73_Template","SettingsBookingSearchComponent_Template_input_ngModelChange_77_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_85_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_91_listener","SettingsBookingSearchComponent_span_92_Template","SettingsBookingSearchComponent_Template_input_ngModelChange_96_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_104_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_107_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_115_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_120_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_128_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_132_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_140_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_144_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_152_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_156_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_164_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_168_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_176_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_183_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_191_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_197_listener","SettingsBookingSearchComponent_span_198_Template","SettingsBookingSearchComponent_Template_input_ngModelChange_202_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_210_listener","SettingsBookingSearchComponent_Template_dx_date_box_valueChange_216_listener","SettingsBookingSearchComponent_span_217_Template","SettingsBookingSearchComponent_Template_input_ngModelChange_222_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_228_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_232_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_238_listener","SettingsBookingSearchComponent_Template_input_ngModelChange_242_listener","SettingsBookingSearchComponent_Template_dx_tag_box_valueChange_248_listener","SettingsBookingSearchComponent_Template_dx_data_grid_selectedRowKeysChange_249_listener","SettingsBookingSearchComponent_Template_dx_data_grid_onRowClick_249_listener","SettingsBookingSearchComponent_div_250_Template","SettingsBookingSearchComponent_div_251_Template","SettingsBookingSearchComponent_div_252_Template","SettingsBookingSearchComponent_div_253_Template","SettingsBookingSearchComponent_div_254_Template","SettingsBookingSearchComponent_div_255_Template","SettingsBookingSearchComponent_div_256_Template","SettingsBookingSearchComponent_div_257_Template","SettingsBookingSearchComponent_div_260_Template","HistoricFunctions","functionStatuses","mergeMap","GuestListBookingsComponent_div_2_div_8_i_2_Template_i_mouseenter_0_listener","GuestListBookingsComponent_div_2_div_8_i_2_Template_i_mouseleave_0_listener","GuestListBookingsComponent_div_2_div_8_i_2_Template","GuestListBookingsComponent_div_2_div_8_Template_dx_popover_visibleChange_3_listener","GuestListBookingsComponent_div_2_div_8_div_7_Template","GuestListBookingsComponent_div_2_Template_dx_data_grid_selectedRowKeysChange_3_listener","GuestListBookingsComponent_div_2_Template_dx_data_grid_onRowClick_3_listener","GuestListBookingsComponent_div_2_div_4_Template","GuestListBookingsComponent_div_2_div_5_Template","GuestListBookingsComponent_div_2_div_6_Template","GuestListBookingsComponent_div_2_div_7_Template","GuestListBookingsComponent_div_2_div_8_Template","GuestListBookingsComponent_div_2_Template_button_click_13_listener","guestForBookings","bookings","_GuestListBookingsComponent","guestMergeService","getGuestBookings","showBookingsChange","GuestMergeService","GuestListBookingsComponent_Query","GuestListBookingsComponent_div_2_Template","GuestListBookingsComponent_div_3_Template","_GuestListEditComponent","guestForEdit","getForGuestUpdate","showEditChange","validateCountries","currentCountry","setErrors","incorrect","updateGuest","updateMergeGuest","guestForEditChange","showEdit","GuestListEditComponent_Template","GuestListEditComponent_Template_form_ngSubmit_5_listener","GuestListEditComponent_Template_dx_select_box_ngModelChange_9_listener","GuestListEditComponent_span_14_Template","GuestListEditComponent_span_19_Template","GuestListEditComponent_span_20_Template","GuestListEditComponent_span_25_Template","GuestListEditComponent_span_26_Template","GuestListEditComponent_span_31_Template","GuestListEditComponent_span_37_Template","GuestListEditComponent_span_42_Template","GuestListEditComponent_span_47_Template","GuestListEditComponent_span_52_Template","GuestListEditComponent_span_57_Template","GuestListEditComponent_Template_dx_select_box_onValueChanged_61_listener","GuestListEditComponent_span_62_Template","GuestListEditComponent_div_68_Template","GuestListEditComponent_button_69_Template","GuestListEditComponent_Template_button_click_70_listener","GuestsMergeModel","n_r8","n_r9","n_r10","n_r11","n_r12","numberOfBookings","GuestListMergeComponent_dx_data_grid_7_Template_dx_data_grid_onSelectionChanged_0_listener","guestToggled","GuestListMergeComponent_dx_data_grid_7_div_1_Template","GuestListMergeComponent_dx_data_grid_7_div_2_Template","GuestListMergeComponent_dx_data_grid_7_div_3_Template","GuestListMergeComponent_dx_data_grid_7_div_4_Template","GuestListMergeComponent_dx_data_grid_7_div_5_Template","guestsMergeArr","GuestListMergeComponent_button_10_Template_button_click_0_listener","mergeGuests","_GuestListMergeComponent","showMergeChange","selectedGuest","restOfGuests","guestsMergeModel","guestsToMergeIds","mainGuestId","guestsMergeArrChange","showMerge","GuestListMergeComponent_Template","GuestListMergeComponent_dx_data_grid_7_Template","GuestListMergeComponent_div_9_Template","GuestListMergeComponent_button_10_Template","GuestListMergeComponent_Template_button_click_11_listener","SettingsGuestListComponent_button_11_Template_button_click_0_listener","SettingsGuestListComponent_button_12_Template_button_click_0_listener","exportAllToCsv","n_r21","n_r22","n_r24","SettingsGuestListComponent_div_20_Template_i_click_1_listener","SettingsGuestListComponent_div_21_Template_i_click_1_listener","showGuestBookings","SettingsGuestListComponent_button_23_Template_button_click_0_listener","SettingsGuestListComponent_app_guest_list_merge_30_Template_app_guest_list_merge_guestsMergeArrChange_0_listener","SettingsGuestListComponent_app_guest_list_merge_30_Template_app_guest_list_merge_showMergeChange_0_listener","SettingsGuestListComponent_app_guest_list_merge_30_Template_app_guest_list_merge_update_0_listener","SettingsGuestListComponent_app_guest_list_edit_31_Template_app_guest_list_edit_guestForEditChange_0_listener","SettingsGuestListComponent_app_guest_list_edit_31_Template_app_guest_list_edit_showEditChange_0_listener","SettingsGuestListComponent_app_guest_list_edit_31_Template_app_guest_list_edit_update_0_listener","SettingsGuestListComponent_app_guest_list_bookings_32_Template_app_guest_list_bookings_showBookingsChange_0_listener","showBookings","_SettingsGuestListComponent","exportExcelService","isExportAll","gridCell","excelCell","GuestRecords","guestListRequest","onDataLoaded","exportCurrent","enableMerge","exportArr","exporting","exportToExcel","gridHidden","exportFileName","customCell","totalCount","request","requireTotalCount","searchOperation","skip","sort","take","exportAll","ExportExcelService","SettingsGuestListComponent_Query","SettingsGuestListComponent_Template_input_keyup_enter_6_listener","SettingsGuestListComponent_Template_input_ngModelChange_6_listener","SettingsGuestListComponent_Template_button_click_8_listener","SettingsGuestListComponent_button_11_Template","SettingsGuestListComponent_button_12_Template","SettingsGuestListComponent_Template_dx_data_grid_onSelectionChanged_13_listener","SettingsGuestListComponent_div_15_Template","SettingsGuestListComponent_div_16_Template","SettingsGuestListComponent_div_17_Template","SettingsGuestListComponent_div_18_Template","SettingsGuestListComponent_div_19_Template","SettingsGuestListComponent_div_20_Template","SettingsGuestListComponent_div_21_Template","SettingsGuestListComponent_dxo_selection_22_Template","SettingsGuestListComponent_button_23_Template","SettingsGuestListComponent_div_24_Template","SettingsGuestListComponent_app_guest_list_merge_30_Template","SettingsGuestListComponent_app_guest_list_edit_31_Template","SettingsGuestListComponent_app_guest_list_bookings_32_Template","exportButtonEnabled","formButtonEnabled","_NewBookingService","newBookingUrl","getRatePlansByRateScheduleNewBooking","rateScheduleId","getRatePlansByRateScheduleNewBookingUrl","bookingSearchUrl","calculateRoomPriceUrl","getRatePlanSaleItemsForBookingUrl","insertNewBooking","insertNewBookingUrl","getBookingDepositUrl","getCalendarBookingDepositUrl","getCaterpayHtmlFormForNewBooking","getCaterpayHtmlFormForNewBookingUrl","getPciCardEntryFormUrl","pciNewBooking","pciNewBookingUrl","pciNewCalendarBookingUrl","matchGuestUrl","PciNewBookingModel","bookingGrid_r17","SettingsNewBookingComponent_div_3_tr_2_Template","bookingFlowModel","bookingGuest_r18","SettingsNewBookingComponent_div_6_strong_3_Template","SettingsNewBookingComponent_div_6_i_6_Template","SettingsNewBookingComponent_div_6_p_7_Template","SettingsNewBookingComponent_div_6_p_8_Template","SettingsNewBookingComponent_div_6_p_9_Template","SettingsNewBookingComponent_button_25_Template_button_click_0_listener","_r29","SettingsNewBookingComponent_div_38_div_61_tbody_4_i_7_Template_i_mouseenter_0_listener","item_r42","SettingsNewBookingComponent_div_38_div_61_tbody_4_i_7_Template_i_mouseleave_0_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_14_i_2_Template_i_mouseenter_0_listener","_r61","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_14_i_2_Template_i_mouseleave_0_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_14_i_2_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_14_Template_dx_popover_visibleChange_3_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_14_div_7_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_21_Template_input_input_1_listener","_r73","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_21_Template_input_ngModelChange_1_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_i_7_Template_i_mouseenter_0_listener","ratePlan_r78","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_i_7_Template_i_mouseleave_0_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_Template_input_change_2_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_Template_input_ngModelChange_2_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_i_7_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_Template_dx_popover_visibleChange_8_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_div_12_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_Template_input_input_19_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_Template_input_ngModelChange_19_listener","isLast","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_tr_1_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_Template_input_change_3_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_Template_input_ngModelChange_3_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_i_7_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_Template_dx_popover_visibleChange_8_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_div_12_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_14_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_16_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_21_Template","SettingsNewBookingComponent_div_38_div_61_tbody_4_ng_container_22_Template","SettingsNewBookingComponent_div_38_div_61_button_10_Template_button_click_0_listener","SettingsNewBookingComponent_div_38_div_61_Template_i_click_2_listener","SettingsNewBookingComponent_div_38_div_61_tbody_4_Template","SettingsNewBookingComponent_div_38_div_61_button_10_Template","SettingsNewBookingComponent_div_38_div_64_Template_input_change_1_listener","_r109","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_input_change_2_listener","_r116","ctx_r115","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_input_ngModelChange_2_listener","item_r110","SettingsNewBookingComponent_div_38_tbody_65_tr_1_ng_container_12_Template","SettingsNewBookingComponent_div_38_tbody_65_tr_1_ng_container_13_Template","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_dx_select_box_onItemClick_16_listener","_r114","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_dx_select_box_onItemClick_23_listener","refreshChosenRooms","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_dx_select_box_valueChange_23_listener","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_i_click_28_listener","changeAdultNum","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_i_click_31_listener","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_i_click_34_listener","changeChildNum","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_i_click_37_listener","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template_input_ngModelChange_41_listener","SettingsNewBookingComponent_div_38_tbody_65_tr_1_Template","SettingsNewBookingComponent_div_38_button_68_Template_button_click_0_listener","_r137","ctx_r136","SettingsNewBookingComponent_div_38_Template_form_ngSubmit_2_listener","_r139","SettingsNewBookingComponent_div_38_Template_dx_select_box_valueChange_7_listener","ctx_r140","SettingsNewBookingComponent_div_38_Template_dx_select_box_onItemClick_7_listener","partnerChanged","SettingsNewBookingComponent_div_38_Template_dx_date_box_valueChange_11_listener","SettingsNewBookingComponent_div_38_Template_dx_date_box_onValueChanged_11_listener","SettingsNewBookingComponent_div_38_span_12_Template","SettingsNewBookingComponent_div_38_Template_dx_date_box_valueChange_16_listener","SettingsNewBookingComponent_div_38_Template_dx_date_box_onValueChanged_16_listener","ctx_r145","SettingsNewBookingComponent_div_38_span_17_Template","SettingsNewBookingComponent_div_38_ng_container_23_Template","SettingsNewBookingComponent_div_38_ng_container_24_Template","SettingsNewBookingComponent_div_38_Template_i_click_32_listener","SettingsNewBookingComponent_div_38_Template_i_click_35_listener","SettingsNewBookingComponent_div_38_Template_i_click_41_listener","SettingsNewBookingComponent_div_38_Template_i_click_44_listener","SettingsNewBookingComponent_div_38_Template_dx_tag_box_valueChange_48_listener","ctx_r150","SettingsNewBookingComponent_div_38_Template_dx_select_box_valueChange_52_listener","SettingsNewBookingComponent_div_38_Template_input_ngModelChange_56_listener","SettingsNewBookingComponent_div_38_div_59_Template","SettingsNewBookingComponent_div_38_button_60_Template","SettingsNewBookingComponent_div_38_div_61_Template","SettingsNewBookingComponent_div_38_div_64_Template","SettingsNewBookingComponent_div_38_tbody_65_Template","SettingsNewBookingComponent_div_38_button_68_Template","SettingsNewBookingComponent_div_38_Template_button_click_73_listener","ctx_r158","n_r162","SettingsNewBookingComponent_div_39_ng_container_1_div_3_ng_container_1_Template","n_r163","SettingsNewBookingComponent_div_39_ng_container_1_div_4_ng_container_1_Template_i_click_1_listener","item_r165","SettingsNewBookingComponent_div_39_ng_container_1_div_4_ng_container_1_Template","errorLeadGuestFull","SettingsNewBookingComponent_div_39_ng_container_1_Template_dx_data_grid_onCellClick_1_listener","_r171","SettingsNewBookingComponent_div_39_ng_container_1_div_2_Template","SettingsNewBookingComponent_div_39_ng_container_1_div_3_Template","SettingsNewBookingComponent_div_39_ng_container_1_div_4_Template","SettingsNewBookingComponent_div_39_ng_container_1_span_9_Template","SettingsNewBookingComponent_div_39_ng_container_1_Template_div_click_10_listener","ctx_r154","checkIfThereIsLeadGuest","SettingsNewBookingComponent_div_39_ng_container_2_app_booking_details_guests_1_Template_app_booking_details_guests_addBookingGuestChange_0_listener","ctx_r174","SettingsNewBookingComponent_div_39_ng_container_2_app_booking_details_guests_1_Template_app_booking_details_guests_turnOffModalOnGrid_0_listener","ctx_r176","turnOffFirstTimeModal","SettingsNewBookingComponent_div_39_ng_container_2_app_booking_details_guests_1_Template_app_booking_details_guests_changeTabFromGuests_0_listener","SettingsNewBookingComponent_div_39_ng_container_2_app_booking_details_guests_1_Template_app_booking_details_guests_update_0_listener","ctx_r178","addGuestToArray","prepareRoomsForGuestModal","SettingsNewBookingComponent_div_39_ng_container_2_app_booking_details_guests_1_Template","SettingsNewBookingComponent_div_39_button_7_Template_button_click_0_listener","_r180","ctx_r179","SettingsNewBookingComponent_div_39_ng_container_1_Template","SettingsNewBookingComponent_div_39_ng_container_2_Template","SettingsNewBookingComponent_div_39_Template_button_click_4_listener","_r182","ctx_r181","SettingsNewBookingComponent_div_39_div_6_Template","SettingsNewBookingComponent_div_39_button_7_Template","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_select_box_onItemClick_4_listener","_r187","item_r185","ctx_r186","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_select_box_valueChange_4_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_select_box_onItemClick_7_listener","ctx_r189","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_select_box_valueChange_7_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_text_box_valueChange_12_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_date_box_valueChange_15_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_date_box_onValueChanged_15_listener","ctx_r193","changeExtraDateFrom","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_date_box_valueChange_18_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_dx_date_box_onValueChanged_18_listener","ctx_r195","changeExtraDateTo","SettingsNewBookingComponent_div_40_tbody_2_Template_input_change_21_listener","ctx_r196","validateItemQuantity","SettingsNewBookingComponent_div_40_tbody_2_Template_input_ngModelChange_21_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_input_change_25_listener","ctx_r198","SettingsNewBookingComponent_div_40_tbody_2_Template_input_ngModelChange_25_listener","SettingsNewBookingComponent_div_40_tbody_2_Template_i_click_30_listener","ctx_r183","chosenRoomsPageData","disabledSaleItem","disabledDateFrom","disabledDateTo","getItemClass","disabledQuantity","disabledPrice","ctx_r184","errorExtrasMessage","SettingsNewBookingComponent_div_40_tbody_2_Template","SettingsNewBookingComponent_div_40_span_4_Template","SettingsNewBookingComponent_div_40_Template_div_click_5_listener","ctx_r201","addNewExtra","SettingsNewBookingComponent_div_40_Template_button_click_14_listener","SettingsNewBookingComponent_div_40_Template_button_click_16_listener","ctx_r204","bookingExtras","validateDatesInExtras","SettingsNewBookingComponent_div_41_button_27_Template_button_click_0_listener","_r210","ctx_r209","SettingsNewBookingComponent_div_41_Template_input_ngModelChange_13_listener","_r212","SettingsNewBookingComponent_div_41_Template_input_input_13_listener","ctx_r213","SettingsNewBookingComponent_div_41_span_14_Template","SettingsNewBookingComponent_div_41_Template_dx_select_box_onItemClick_18_listener","SettingsNewBookingComponent_div_41_Template_dx_select_box_valueChange_18_listener","ctx_r215","SettingsNewBookingComponent_div_41_span_19_Template","SettingsNewBookingComponent_div_41_Template_dx_date_box_valueChange_23_listener","ctx_r216","SettingsNewBookingComponent_div_41_span_24_Template","SettingsNewBookingComponent_div_41_Template_button_click_25_listener","ctx_r217","SettingsNewBookingComponent_div_41_button_27_Template","SettingsNewBookingComponent_app_booking_details_guests_42_Template_app_booking_details_guests_addBookingGuestChange_0_listener","_r219","ctx_r218","SettingsNewBookingComponent_app_booking_details_guests_42_Template_app_booking_details_guests_update_0_listener","ctx_r220","SettingsNewBookingComponent_app_booking_details_guests_43_Template_app_booking_details_guests_editBookingGuestChange_0_listener","_r222","ctx_r221","SettingsNewBookingComponent_app_booking_details_guests_43_Template_app_booking_details_guests_update_0_listener","ctx_r223","updateGuestInArray","SettingsNewBookingComponent_app_delete_modal_44_Template_app_delete_modal_deleteModalChange_0_listener","_r225","ctx_r224","SettingsNewBookingComponent_app_delete_modal_44_Template_app_delete_modal_delete_0_listener","ctx_r226","SettingsNewBookingComponent_app_confirm_modal_45_Template_app_confirm_modal_confirmModalChange_0_listener","_r228","ctx_r227","changeEditLeadGuest","SettingsNewBookingComponent_app_confirm_modal_45_Template_app_confirm_modal_declined_0_listener","ctx_r229","SettingsNewBookingComponent_app_confirm_modal_45_Template_app_confirm_modal_confirm_0_listener","confirmChangeEditLeadGuest","changeEditLeadGuestMessage","SettingsNewBookingComponent_app_confirm_modal_46_Template_app_confirm_modal_confirmModalChange_0_listener","ctx_r231","changeAddLeadGuest","SettingsNewBookingComponent_app_confirm_modal_46_Template_app_confirm_modal_declined_0_listener","SettingsNewBookingComponent_app_confirm_modal_46_Template_app_confirm_modal_confirm_0_listener","ctx_r234","confirmChangeAddLeadGuest","changeAddLeadGuestMessage","SettingsNewBookingComponent_app_confirm_modal_47_Template_app_confirm_modal_confirmModalChange_0_listener","_r236","ctx_r235","SettingsNewBookingComponent_app_confirm_modal_47_Template_app_confirm_modal_declined_0_listener","ctx_r237","SettingsNewBookingComponent_app_confirm_modal_47_Template_app_confirm_modal_confirm_0_listener","SettingsNewBookingComponent_app_payment_form_modal_48_Template_app_payment_form_modal_paymentFormChange_0_listener","ctx_r239","_SettingsNewBookingComponent","fbFinanceForm","NewBooking","postMatchDestinationTab","matchEnteredLeadGuest","validateSaleItemPrice","classTab4","statusChanged","wasSearched","subtract","idx","unavailableCounter","availabilityMessage","hasAvailability","insertExtraFirstTime","saleItemBookingModel","roomsAssignedGuest","roomsAssignedExtra","allRooms","uniqBy","checkRoomDuplicate","sameRoomUnits","action","maxGuestInAllRooms","currentLeadGuest","currentLeadGuestFirstName","currentLeadGuestLastName","newGuestFirstName","newGuestLastName","setLeadGuestsFalse","calculateQuantityForSaleItem","salItem","getBookingRoom","roomGridModel","saleItemModel","dFrom","dTo","totalPrices","bookingNotes","validateGuestRooms","matchedRoom","numGuestsInRoom","SettingsNewBookingComponent_Template","SettingsNewBookingComponent_div_3_Template","SettingsNewBookingComponent_div_6_Template","SettingsNewBookingComponent_Template_textarea_ngModelChange_13_listener","SettingsNewBookingComponent_div_14_Template","SettingsNewBookingComponent_Template_dx_select_box_valueChange_18_listener","bookingSourceId","SettingsNewBookingComponent_Template_dx_select_box_valueChange_22_listener","SettingsNewBookingComponent_Template_dx_select_box_onItemClick_22_listener","SettingsNewBookingComponent_div_24_Template","SettingsNewBookingComponent_button_25_Template","SettingsNewBookingComponent_Template_div_click_30_listener","SettingsNewBookingComponent_Template_div_click_32_listener","SettingsNewBookingComponent_Template_div_click_34_listener","SettingsNewBookingComponent_Template_div_click_36_listener","SettingsNewBookingComponent_div_38_Template","SettingsNewBookingComponent_div_39_Template","SettingsNewBookingComponent_div_40_Template","SettingsNewBookingComponent_div_41_Template","SettingsNewBookingComponent_app_booking_details_guests_42_Template","SettingsNewBookingComponent_app_booking_details_guests_43_Template","SettingsNewBookingComponent_app_delete_modal_44_Template","SettingsNewBookingComponent_app_confirm_modal_45_Template","SettingsNewBookingComponent_app_confirm_modal_46_Template","SettingsNewBookingComponent_app_confirm_modal_47_Template","SettingsNewBookingComponent_app_payment_form_modal_48_Template","bookingSources"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}