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A,KAAA++D,IAAA,EAAqB,OAAA/+D,8DAAA,KAAAg/D,IAAA;QACpBh/D,wDAAA,EAAU;QAAVA,yDAAA,WAAU;QAGTA,wDAAA,EAAY;QAAZA,yDAAA,2BAAY;;;;;;SDljE9B8xB,4BAA4B;AAAA","sources":["./src/app/enums/function.enum.ts","./src/app/models/shared/file-insert-model.ts","./src/app/models/shared/property-file-model.ts","./src/app/routes/function/function-booking-link/function-booking-link.component.ts","./src/app/routes/function/function-booking-link/function-booking-link.component.html","./src/app/routes/function/function-confirmation-email/function-confirmation-email.component.ts","./src/app/routes/function/function-confirmation-email/function-confirmation-email.component.html","./src/app/routes/function/function-details-add-invoice/function-details-add-invoice.component.ts","./src/app/routes/function/function-details-add-invoice/function-details-add-invoice.component.html","./src/app/routes/function/function-details-create-invoice-preview/function-details-create-invoice-preview.component.ts","./src/app/routes/function/function-details-create-invoice-preview/function-details-create-invoice-preview.component.html","./src/app/routes/function/function-details-extras/function-details-extras.component.ts","./src/app/routes/function/function-details-extras/function-details-extras.component.html","./src/app/routes/function/function-details-files/function-details-files.component.ts","./src/app/routes/function/function-details-files/function-details-files.component.html","./src/app/routes/function/function-details-itinerary/function-details-itinerary.component.ts","./src/app/routes/function/function-details-itinerary/function-details-itinerary.component.html","./src/app/routes/function/function-details-room/function-details-room.component.ts","./src/app/routes/function/function-details-room/function-details-room.component.html","./src/app/routes/function/function-print-receipt/function-print-receipt.component.ts","./src/app/routes/function/function-print-receipt/function-print-receipt.component.html","./src/app/routes/function/function.module.ts","./src/app/routes/function/settings-new-function/settings-new-function.component.ts","./src/app/routes/function/settings-new-function/settings-new-function.component.html"],"sourcesContent":["export enum FunctionEmailType {\r\n SummaryEmail = 1,\r\n GuestInvoiceEmail = 2,\r\n PartnerInvoiceEmail = 3,\r\n}\r\n","export class FileInsertModel {\r\n public fileDescription: string;\r\n public fileCategory: number;\r\n}","export class PropertyFileModel {\r\n public id: number;\r\n public propertyId: number;\r\n public fileName: string;\r\n public fileDescription: string;\r\n public uniqueAzureFilename: string;\r\n public fileType: string;\r\n public fileCategory: number;\r\n public filesizeKb: number;\r\n public dateUploaded: Date;\r\n}","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl, AbstractControl } from '@angular/forms';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { BookingDetailsService } from '../../booking/settings-booking-detail/booking-details.service';\r\nimport { NewFunctionService } from '../settings-new-function/new-function.service';\r\nimport { FunctionBookingBookingDetailModel, FunctionBookingBookingRoomDetailModel } from 'src/app/models/function-room/function-flow.model';\r\nimport * as _ from 'lodash';\r\nimport { BookingFunction } from 'src/app/models/function-room/function.model';\r\nimport * as moment from 'moment';\r\nimport DateHelper from '../../../shared/helpers/date-helper';\r\n\r\n@Component({\r\n selector: 'app-function-booking-link',\r\n templateUrl: './function-booking-link.component.html',\r\n styleUrls: ['./function-booking-link.component.less']\r\n})\r\nexport class FunctionBookingLinkComponent implements OnInit {\r\n\r\n @Input() editMode: boolean;\r\n @Output() linksClosed = new EventEmitter();\r\n\r\n @Input() bookingLinks: BookingFunction[];\r\n @Output() bookingLinksChange = new EventEmitter();\r\n @Output() bookingOpened = new EventEmitter();\r\n\r\n @Input() readOnly: boolean;\r\n @Input() functionId: number;\r\n\r\n token: TokenContext;\r\n theme: number;\r\n\r\n linkForm: UntypedFormGroup;\r\n unLink: boolean=false;\r\n\r\n deleteBookingId: number;\r\n\r\n searchValue: string;\r\n bookingsList: FunctionBookingBookingDetailModel[];\r\n showBookings: boolean=false;\r\n noSearchResults: boolean=false;\r\n\r\n roomData: any[];\r\n\r\n constructor(\r\n private bookingDetailsService: BookingDetailsService,\r\n private communicationService: CommunicationService,\r\n private toasterService: ToastService,\r\n private newFunctionService: NewFunctionService,\r\n private fb: UntypedFormBuilder,\r\n ) \r\n { \r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.theme = this.token.User.CmsTheme;\r\n\r\n this.linkForm = fb.group({\r\n fileDescription: [null, Validators.required],\r\n file: [null, Validators.required],\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.buildRoomData();\r\n }\r\n\r\n onClickOutside(event: Object) {\r\n console.log('onClickOutside', event);\r\n if (event && event['value'] === true) {\r\n this.showBookings = false;\r\n }\r\n}\r\n\r\n buildRoomData() {\r\n this.roomData = [];\r\n let addedBookings = [];\r\n\r\n for (let i=0; i -1);\r\n\r\n this.roomData.push(room);\r\n addedBookings.push(booking.id);\r\n }\r\n }\r\n }\r\n\r\n getRoomFromBookingObjects(booking: FunctionBookingBookingDetailModel, bookingRoom: FunctionBookingBookingRoomDetailModel)\r\n {\r\n let room: any = {\r\n id: booking.id,\r\n bookingNo: booking.bookingNo,\r\n status: booking.status,\r\n room: bookingRoom.room.fullName,\r\n roomType: bookingRoom.room.roomType?.name,\r\n from: DateHelper.formatDate(bookingRoom.bookingFrom, 'DD-MMM-YYYY'),\r\n to: DateHelper.formatDate(bookingRoom.bookingTo, 'DD-MMM-YYYY'),\r\n adults: bookingRoom.adults,\r\n children: bookingRoom.children,\r\n firstRoom: false\r\n }\r\n return room;\r\n }\r\n\r\n\r\n searchBookings() {\r\n this.noSearchResults = false;\r\n if (this.searchValue.length > 2) {\r\n this.bookingDetailsService.searchBookings(this.searchValue).subscribe(\r\n (response) => {\r\n this.bookingsList = response;\r\n if (this.bookingsList.length > 0) {\r\n this.showBookings = true;\r\n this.noSearchResults = false;\r\n }\r\n else {\r\n this.noSearchResults = 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 getBookingDescription(booking: FunctionBookingBookingDetailModel): string {\r\n let desc = booking.bookingNo + ': ' + (booking.leadGuestName==null ? '' : booking.leadGuestName) + (booking.leadGuestEmail==null ? '' : ' (' + booking.leadGuestEmail + ')') ;\r\n\r\n if (booking.bookingRooms != null) {\r\n desc = desc + ' [' + DateHelper.formatDate(this.getMinMaxBookingDate(booking.bookingRooms, true), 'DD-MMM-YYYY') + '-' + DateHelper.formatDate(this.getMinMaxBookingDate(booking.bookingRooms, false), 'DD-MMM-YYYY') + ']';\r\n }\r\n\r\n return desc;\r\n }\r\n\r\n getMinMaxBookingDate(bookingRooms: FunctionBookingBookingRoomDetailModel[], min: boolean): Date {\r\n let currentDate = new Date();\r\n\r\n for (const room of bookingRooms) {\r\n if (new Date(room.bookingFrom) < currentDate && min) {\r\n currentDate = new Date(room.bookingFrom);\r\n }\r\n if (new Date(room.bookingTo) > currentDate && !min) {\r\n currentDate = new Date(room.bookingTo);\r\n }\r\n }\r\n\r\n return currentDate;\r\n}\r\n\r\n setBooking(booking: FunctionBookingBookingDetailModel) {\r\n\r\n //check it isn't already included\r\n for (let i=0; i -1);\r\n this.roomData.push(room);\r\n addedBookings.push(booking.id);\r\n }\r\n\r\n let bookingLink = new BookingFunction();\r\n bookingLink.bookingDetails = booking;\r\n bookingLink.bookingId = booking.id;\r\n bookingLink.functionId = this.functionId;\r\n\r\n this.bookingLinks.push(bookingLink);\r\n\r\n if (this.editMode) {\r\n this.newFunctionService.addBookingLink(bookingLink).subscribe(\r\n (response) => {\r\n \r\n },\r\n (error) => {\r\n this.showToastError('Unable to add this booking link');\r\n }\r\n );\r\n }\r\n\r\n this.showBookings = false;\r\n this.searchValue = '';\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 cellClickBooking(e) {\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n this.bookingOpened.emit(e.data);\r\n }\r\n }\r\n\r\n confirmUnLink(bookingId: number) {\r\n this.deleteBookingId = bookingId;\r\n this.unLink = true;\r\n }\r\n\r\n unLinkConfirmed() {\r\n if (this.editMode) {\r\n let model = new BookingFunction();\r\n model.bookingId = this.deleteBookingId;\r\n model.functionId = this.functionId;\r\n this.newFunctionService.deleteBookingLink(model).subscribe(\r\n (response) => {\r\n \r\n },\r\n (error) => {\r\n this.showToastError('Unable to delete this booking link');\r\n }\r\n );\r\n }\r\n\r\n for (let i=0; i\r\n
\r\n
\r\n

Link room bookings to this function

\r\n\r\n\r\n
\r\n
\r\n\r\n
\r\n
Enter a booking no or name to search:
\r\n \r\n
\r\n
    \r\n \r\n {{ getBookingDescription(booking) }}\r\n \r\n
\r\n
\r\n
\r\n
No search results found
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n\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 { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\r\nimport { FunctionFlowModel, FunctionEmailModel } from 'src/app/models/function-room/function-flow.model';\r\nimport { PropertyFunctionRoomModel } from 'src/app/models/function-room/function-room.model';\r\nimport StringHelper from '../../../shared/helpers/string-helper';\r\nimport DateHelper from '../../../shared/helpers/date-helper';\r\nimport FormHelper from 'src/app/shared/helpers/form-helper';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl, AbstractControl } from '@angular/forms';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { NewFunctionService } from '../settings-new-function/new-function.service';\r\nimport { PropertyDetailsModel } from 'src/app/models/property/property-details.model';\r\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\r\nimport { AuthLoginService } from '../../../shared/services/auth-login.service';\r\nimport { FunctionEmailType } from 'src/app/enums/function.enum';\r\nimport { AttachmentType } from 'src/app/enums/email.enum';\r\n\r\n@Component({\r\n selector: 'app-function-confirmation-email',\r\n templateUrl: './function-confirmation-email.component.html',\r\n styleUrls: ['./function-confirmation-email.component.less']\r\n})\r\nexport class FunctionConfirmationEmailComponent implements OnInit {\r\n\r\n @Input() function: FunctionFlowModel;\r\n @Input() propertyFunctionRooms: PropertyFunctionRoomModel[];\r\n @Input() totalPrice: Number;\r\n @Input() totalPriceIncVat: Number;\r\n @Input() emailType: FunctionEmailType;\r\n @Input() invoiceId: number;\r\n @Output() emailClosed = new EventEmitter();\r\n @Output() openAttachmentEvent = new EventEmitter();\r\n\r\n token: TokenContext;\r\n theme: number;\r\n\r\n emailContent: string;\r\n subject: string;\r\n recipient: string;\r\n attachmentType: AttachmentType;\r\n includeAttachment: boolean;\r\n\r\n propertyInfo: PropertyDetailsModel;\r\n imageSafeUrl: SafeUrl;\r\n propertyThumbnail: string;\r\n\r\n emailForm: UntypedFormGroup;\r\n loader: boolean=false;\r\n emailSent: boolean=false;\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private toasterService: ToastService,\r\n private functionService: NewFunctionService,\r\n private authLoginService: AuthLoginService,\r\n private sanitizer: DomSanitizer,\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.emailForm = fb.group({\r\n subject: [null, Validators.required],\r\n recipient: [null, Validators.required],\r\n includeAttachment: [null, null]\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loader = true;\r\n this.functionService.processEmailTemplate(this.function.id, this.emailType).subscribe(\r\n (response: FunctionEmailModel) => {\r\n this.subject = response.subject;\r\n this.emailContent = response.emailContent;\r\n this.recipient = response.recipient;\r\n this.attachmentType = response.attachmentType;\r\n this.includeAttachment = response.includeAttachment;\r\n\r\n this.communicationService.setTinyMCEContent.next(this.emailContent);\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 closePopup() {\r\n this.emailClosed.emit(false);\r\n }\r\n\r\n setValueFromEditor(value) {\r\n this.emailContent = value;\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 openAttachment() {\r\n this.openAttachmentEvent.emit();\r\n\r\n }\r\n\r\n sendEmail() {\r\n FormHelper.validateAllFormFields(this.emailForm);\r\n\r\n if (this.emailContent == null || this.emailContent.length == 0) {\r\n this.showToastError('Please enter email content', 'Email content');\r\n }\r\n else {\r\n if (this.emailForm.valid) {\r\n this.emailSent = true;\r\n let model = new FunctionEmailModel();\r\n model.functionId = this.function.id;\r\n model.recipient = this.recipient;\r\n model.subject = this.subject;\r\n model.attachmentType = this.attachmentType;\r\n model.emailContent = this.emailContent;\r\n model.emailType = this.emailType;\r\n model.includeAttachment = this.includeAttachment;\r\n if (this.emailType == FunctionEmailType.SummaryEmail) {\r\n model.attachmentId = this.function.id;\r\n }\r\n else {\r\n model.attachmentId = this.invoiceId;\r\n }\r\n \r\n this.functionService.sendFunctionEmail(model).subscribe(\r\n (response) => {\r\n this.toasterService.showToast('', 'Email sent', null, ToastEventType.Success, true, 5000);\r\n this.loader = false;\r\n this.emailClosed.emit(true);\r\n },\r\n (error) => {\r\n //this.showToastError('Error sending email', 'Error sending email');\r\n this.loader = false;\r\n this.emailSent = false;\r\n }\r\n );\r\n\r\n }\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Message Preview

\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
Title:
\r\n
Default function confirmation
\r\n
\r\n\r\n
\r\n
Subject:
\r\n \r\n
\r\n\r\n
\r\n
Recipient:
\r\n \r\n
\r\n\r\n
\r\n
Include attachment:
\r\n \r\n Attachment\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\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 { NewFunctionService } from '../settings-new-function/new-function.service';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { AuthTokenService } from 'src/app/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 'src/app/models/auth-jwt/token-context';\r\nimport { FunctionPaymentModel } from 'src/app/models/function-room/function-flow.model';\r\nimport { DxSelectBoxComponent, DxDataGridComponent } from 'devextreme-angular';\r\n\r\n@Component({\r\n selector: 'app-function-details-add-invoice',\r\n templateUrl: './function-details-add-invoice.component.html',\r\n styleUrls: ['./function-details-add-invoice.component.less']\r\n})\r\nexport class FunctionDetailsAddInvoiceComponent 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() functionId: 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: FunctionPaymentModel[] = [];\r\n selectedItems: InvoiceItemModel[] = [];\r\n\r\n constructor(private functionService: NewFunctionService, 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(): void {\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.functionService.newInvoice(this.functionId).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.functionPaymentItems = this.invoiceDetailsPDModel.functionPaymentItems.filter(\r\n (x) => x.paymentType !== 'Tokenise' && x.paymentType !== 'Verify' && x.paymentType !== 'VerifyToken'\r\n );\r\n this.selectedPaymentItems = this.invoiceDetailsPDModel.functionPaymentItems;\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.functionId = this.functionId;\r\n console.log('setHeaderDetails', this.invoiceDetailsPDModel.invoice.functionId);\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.functionPayments = 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
\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 'src/app/shared/services/auth-token.service';\r\nimport { CountryContext, CurrencyContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { InvoiceDetailsModel } from 'src/app/models/booking/invoice-details-pd.model';\r\nimport { NewFunctionService } from '../settings-new-function/new-function.service';\r\n\r\n@Component({\r\n selector: 'app-function-details-create-invoice-preview',\r\n templateUrl: './function-details-create-invoice-preview.component.html',\r\n styleUrls: ['./function-details-create-invoice-preview.component.less']\r\n})\r\nexport class FunctionDetailsCreateInvoicePreviewComponent 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 functionService: NewFunctionService) { \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.functionPayments.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.functionService.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 }\r\n\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
\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 { ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { NewFunctionService } from '../settings-new-function/new-function.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 { EnumModel } from '../../../models/shared/enum-model';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { FunctionRoomModel, FunctionExtraModel} from '../../../models/function-room/function-flow.model';\r\n\r\n@Component({\r\n selector: 'app-function-details-extras',\r\n templateUrl: './function-details-extras.component.html',\r\n styleUrls: ['./function-details-extras.component.less']\r\n})\r\nexport class FunctionDetailsExtrasComponent implements OnInit {\r\n @Input() addFunctionExtra: boolean;\r\n @Output() addFunctionExtraChange = new EventEmitter();\r\n @Input() editFunctionExtra: boolean;\r\n @Output() editFunctionExtraChange = new EventEmitter();\r\n @Input() extraType: number;\r\n @Input() functionId: number;\r\n @Input() extraModel: FunctionExtraModel;\r\n @Input() functionRooms: FunctionRoomModel[];\r\n @Output() update = new EventEmitter();\r\n @Input() readOnly: boolean;\r\n\r\n loader = false;\r\n\r\n valForm: UntypedFormGroup;\r\n theme: number;\r\n message: string;\r\n\r\n saleItemsSource: SaleItemWithCategoryNameModel[];\r\n selectedRoom: FunctionRoomModel = new FunctionRoomModel();\r\n functionExtraModel = new FunctionExtraModel();\r\n functionRoomsSource: FunctionRoomModel[] = [];\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private newFunctionService: NewFunctionService,\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 quantity: [null, Validators.compose([Validators.min(0), Validators.required])],\r\n price: [null, Validators.compose([Validators.required])],\r\n uom: [null],\r\n itemType: [null],\r\n total: [null],\r\n notes: [null],\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n \r\n for (const room of this.functionRooms) {\r\n this.functionRoomsSource.push(JSON.parse(JSON.stringify(room)));\r\n }\r\n\r\n this.getRatePlanSaleItemsForFunction(null);\r\n if (this.editFunctionExtra) {\r\n\r\n this.functionExtraModel = JSON.parse(JSON.stringify(this.extraModel));\r\n if (this.functionExtraModel.functionRoomId === null) {\r\n this.functionExtraModel.functionRoomId = 0;\r\n }\r\n\r\n const room: FunctionRoomModel = this.getRoomFromExtrasSource(this.functionExtraModel.functionRoomId);\r\n \r\n this.valForm.controls['room'].setValue(this.functionExtraModel.functionRoomId);\r\n this.valForm.controls['item'].setValue(this.functionExtraModel.saleItemId);\r\n\r\n } else if (this.addFunctionExtra) {\r\n this.functionExtraModel.functionId = this.functionId;\r\n this.functionExtraModel.disabledItem = true;\r\n this.functionExtraModel.disabledSaleItem = true;\r\n\r\n }\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['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['quantity'].enable();\r\n this.valForm.controls['price'].enable();\r\n this.valForm.controls['total'].enable();\r\n this.valForm.controls['notes'].enable();\r\n }\r\n\r\n getRoomFromExtrasSource(functionRoomId): FunctionRoomModel {\r\n for (const room of this.functionRoomsSource) {\r\n if (room.id === functionRoomId) {\r\n return room;\r\n }\r\n }\r\n }\r\n\r\n getSaleItemsOnEdit(room: FunctionRoomModel) {\r\n }\r\n\r\n getSaleItems(room: FunctionRoomModel) {\r\n \r\n }\r\n\r\n getRatePlanSaleItemsForFunction(ratePlanId: number) {\r\n //bookingExtra.saleItemId = null;\r\n this.newFunctionService.getRatePlanSaleItemsForFunction(ratePlanId).subscribe(\r\n (response) => {\r\n \r\n if (this.extraType == 1) {\r\n this.saleItemsSource = response.filter(x => x.categoryName == 'Functions - Items');\r\n }\r\n else {\r\n this.saleItemsSource = response.filter(x => x.categoryName == 'Functions - Catering');\r\n }\r\n \r\n this.functionExtraModel.disabledSaleItem = false;\r\n if (this.functionExtraModel.saleItemId) {\r\n let saleItem = response.find(x => x.id == this.functionExtraModel.saleItemId, 0);\r\n if (saleItem && saleItem.itemType == 'EPOSItem') {\r\n this.functionExtraModel.saleItemCateringSource = response.filter(x => x.categoryName == 'Functions - Catering' || x.itemType=='EPOSItem'); //catering or epos\r\n this.functionExtraModel.disabledSaleItem = true;\r\n this.functionExtraModel.disabledItem = true;\r\n }\r\n } \r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n\r\n setSaleItem(event) {\r\n if (event.itemData !== null) {\r\n\r\n const saleItem: SaleItemWithCategoryNameModel = event.itemData;\r\n\r\n this.functionExtraModel.saleItemId = saleItem.id;\r\n this.functionExtraModel.vatId = saleItem.vatId;\r\n this.functionExtraModel.extraType = this.extraType;\r\n\r\n this.functionExtraModel.chargeType = saleItem.chargeType;\r\n this.functionExtraModel.itemType = saleItem.itemType;\r\n this.functionExtraModel.quantity = 1;\r\n\r\n if (saleItem.categoryName == 'Functions - Catering') {\r\n if (this.functionExtraModel.functionRoomId==0) {\r\n this.functionExtraModel.quantity = this.functionRooms.filter(x => x.id > 0).reduce((qty, r) => {\r\n return qty + r.attendees;\r\n }, 0);\r\n }\r\n else {\r\n this.functionExtraModel.quantity = this.functionRooms.find(x => x.id == this.functionExtraModel.functionRoomId).attendees;\r\n }\r\n }\r\n\r\n this.functionExtraModel.price = saleItem.price;\r\n this.functionExtraModel.notes = saleItem.notes;\r\n this.functionExtraModel.total = this.functionExtraModel.price * this.functionExtraModel.quantity;\r\n this.functionExtraModel.disabledItem = false;\r\n\r\n }\r\n }\r\n\r\n calculateTotalExtraPrice() {\r\n this.functionExtraModel.total = this.functionExtraModel.quantity * this.functionExtraModel.price;\r\n this.functionExtraModel.total = Math.round(this.functionExtraModel.total * 100) / 100;\r\n }\r\n\r\n submitFunctionExtra(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.saveFunctionExtra();\r\n }\r\n }\r\n\r\n saveFunctionExtra() {\r\n this.loader = true;\r\n this.newFunctionService.saveFunctionExtra(this.functionExtraModel).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 roomChanged(event) {\r\n this.functionExtraModel.saleItemId == null;\r\n this.valForm.controls['item'].setValue(null);\r\n }\r\n\r\n close() {\r\n this.addFunctionExtraChange.emit(false);\r\n this.editFunctionExtraChange.emit(false);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Add Function Extra

\r\n

Edit Function 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 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 \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 { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl, AbstractControl } from '@angular/forms';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { FunctionDetailsCreateInvoicePreviewComponent } from '../function-details-create-invoice-preview/function-details-create-invoice-preview.component';\r\nimport { FileService } from '../../../shared/services/file.service';\r\nimport { FileInsertModel } from 'src/app/models/shared/file-insert-model';\r\nimport { PropertyLogsFilterModel } from 'src/app/models/property/property-log.model';\r\nimport { PropertyFileModel } from 'src/app/models/shared/property-file-model';\r\nimport { FunctionFileModel } from 'src/app/models/function-room/function-flow.model';\r\nimport FormHelper from 'src/app/shared/helpers/form-helper';\r\nimport * as _ from 'lodash';\r\n\r\n@Component({\r\n selector: 'app-function-details-files',\r\n templateUrl: './function-details-files.component.html',\r\n styleUrls: ['./function-details-files.component.less']\r\n})\r\nexport class FunctionDetailsFilesComponent implements OnInit {\r\n\r\n @Input() editMode: boolean;\r\n @Output() filesClosed = new EventEmitter();\r\n\r\n @Input() roomFiles: FunctionFileModel[];\r\n @Output() roomFilesChange = new EventEmitter();\r\n\r\n @Input() functionRoomId: number;\r\n\r\n fileDescription: string = '';\r\n \r\n token: TokenContext;\r\n theme: number;\r\n\r\n loader: boolean=false;\r\n deleteFile: boolean=false;\r\n deleteFileId: number;\r\n files: File[] = [];\r\n\r\n fileForm: UntypedFormGroup;\r\n\r\n uploadedFiles: FunctionFileModel[] = [];\r\n filesChanged = false;\r\n\r\n constructor(\r\n private communicationService: CommunicationService,\r\n private fileService: FileService,\r\n private toasterService: ToastService,\r\n private fb: UntypedFormBuilder,\r\n ) { \r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.theme = this.token.User.CmsTheme;\r\n\r\n this.fileForm = fb.group({\r\n fileDescription: [null, Validators.required],\r\n file: [null, Validators.required],\r\n });\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n if (this.editMode) {\r\n this.loadFiles();\r\n }\r\n }\r\n\r\n loadFiles() {\r\n this.loader = true;\r\n this.fileService.getFunctionRoomFiles(this.functionRoomId).subscribe(\r\n (response) => {\r\n this.uploadedFiles = response;\r\n this.uploadedFiles.forEach(element => {\r\n element.propertyFile.dateUploaded = new Date(element.propertyFile.dateUploaded);\r\n });\r\n\r\n this.loader = false;\r\n\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n downloadFile(id: number) {\r\n\r\n let propFile = this.uploadedFiles.find(x => x.id == id, 0);\r\n this.fileService.download(propFile.propertyFile).subscribe((res) => {\r\n if (res) {\r\n const blob = new Blob([res]);\r\n const blobUrl = URL.createObjectURL(blob);\r\n const a = document.createElement('a');\r\n document.body.appendChild(a);\r\n a.href = blobUrl;\r\n a.download = propFile.propertyFile.fileName;\r\n a.target = '_blank';\r\n a.click();\r\n\r\n a.removeAttribute('download');\r\n a.removeAttribute('href');\r\n a.removeAttribute('target');\r\n }\r\n });\r\n }\r\n\r\n confirmDeleteFile(fileId: number) {\r\n this.deleteFileId = fileId;\r\n this.deleteFile = true;\r\n }\r\n\r\n deleteFileConfirmed() {\r\n this.deleteFile = false;\r\n let propFile = this.uploadedFiles.find(x => x.fileId == this.deleteFileId, 0);\r\n\r\n if (this.editMode) {\r\n //we have function roomId so we can delete the file\r\n this.fileService.deleteFunctionRoomFile(propFile).subscribe((response) => {\r\n this.loadFiles();\r\n this.roomFiles = _.reject(this.roomFiles, function(el) { return el.fileId === propFile.fileId; });\r\n this.uploadedFiles = _.reject(this.uploadedFiles, function(el) { return el.fileId === propFile.fileId; });\r\n this.filesChanged = true;\r\n },\r\n (error) => {}\r\n );\r\n }\r\n else { \r\n this.fileService.delete(propFile.propertyFile).subscribe((response) => {\r\n console.log('deleteFile', propFile.fileId, this.uploadedFiles);\r\n this.roomFiles = _.reject(this.roomFiles, function(el) { return el.fileId === propFile.fileId; });\r\n this.uploadedFiles = _.reject(this.uploadedFiles, function(el) { return el.fileId === propFile.fileId; });\r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n }\r\n\r\n fileDescriptionBlur(event) {\r\n this.fileDescription = event.target.value;\r\n }\r\n\r\n\r\n addFile() {\r\n FormHelper.validateAllFormFields(this.fileForm);\r\n if (this.fileForm.valid) {\r\n if (this.editMode) {\r\n let roomFile = new FunctionFileModel();\r\n roomFile.propertyFile = new PropertyFileModel();\r\n roomFile.functionRoomId = this.functionRoomId;\r\n roomFile.propertyFile.fileDescription = this.fileDescription;\r\n this.fileService.uploadFunctionRoomFile(roomFile, this.files).subscribe(\r\n (response) => {\r\n response.propertyFile.dateUploaded = new Date(response.propertyFile.dateUploaded);\r\n roomFile = response;\r\n this.loader = false;\r\n this.fileForm.reset();\r\n \r\n this.roomFiles.push(roomFile);\r\n this.uploadedFiles.push(roomFile);\r\n this.filesChanged = true;\r\n },\r\n (error) => {\r\n this.loader = false;\r\n console.log(error);\r\n }\r\n ); \r\n }\r\n else {\r\n let model = new FileInsertModel();\r\n model.fileDescription = this.fileDescription;\r\n model.fileCategory = 1;\r\n this.fileService.upload(model, this.files).subscribe(\r\n (response) => {\r\n response.dateUploaded = new Date(response.dateUploaded);\r\n \r\n this.loader = false;\r\n this.fileForm.reset();\r\n let roomFile = new FunctionFileModel();\r\n roomFile.fileId = response.id;\r\n roomFile.propertyFile = response;\r\n roomFile.functionRoomId = this.functionRoomId;\r\n this.roomFiles.push(roomFile);\r\n this.uploadedFiles.push(roomFile);\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 }\r\n\r\n fileChanged(event) {\r\n const component = this;\r\n const files: any = event.target.files;\r\n const urlStringReader = new FileReader();\r\n if (files.length && files.length > 0 && this.isValidUploadData(files)) {\r\n const file = files[0];\r\n component.loader = true;\r\n urlStringReader.addEventListener('load', function (event: any) {\r\n const src = event.target.result;\r\n component.files = [];\r\n component.files.push(file);\r\n });\r\n urlStringReader.readAsDataURL(file);\r\n } else {\r\n this.toasterService.showToast('Error', 'File size exceeds the set limit of 2MB. Please try with a smaller file.', null, ToastEventType.Error, true, 5000);\r\n }\r\n }\r\n\r\n isValidUploadData(files: FileList) {\r\n let valid = true;\r\n Object.keys(files).forEach((i) => {\r\n if (files[i].size >= 2000000) {\r\n valid = false;\r\n }\r\n });\r\n return valid;\r\n }\r\n\r\n closePopup() {\r\n if (this.filesChanged) {\r\n this.roomFilesChange.emit(this.roomFiles);\r\n }\r\n \r\n this.filesClosed.emit(false);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Add new file

\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
File description
\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
File
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n {{ s.data.propertyFile.dateUploaded.toLocaleDateString() }}\r\n
\r\n\r\n
\r\n {{ s.data.propertyFile.filesizeKb }} kb\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n\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 { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\r\n\r\n@Component({\r\n selector: 'app-function-details-itinerary',\r\n templateUrl: './function-details-itinerary.component.html',\r\n styleUrls: ['./function-details-itinerary.component.less']\r\n})\r\nexport class FunctionDetailsItineraryComponent implements OnInit {\r\n\r\n @Input() itinerary: string;\r\n @Output() itineraryUpdated = new EventEmitter();\r\n @Output() itineraryClosed = new EventEmitter();\r\n\r\n token: TokenContext;\r\n theme: number;\r\n\r\n constructor(\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 }\r\n\r\n ngOnInit(): void {\r\n this.communicationService.setTinyMCEContent.next(this.itinerary);\r\n }\r\n\r\n setValueFromEditor(value) {\r\n this.itinerary = value;\r\n }\r\n\r\n saveItinerary() {\r\n this.itineraryUpdated.emit(this.itinerary);\r\n }\r\n\r\n closePopup() {\r\n this.itineraryClosed.emit(false);\r\n }\r\n\r\n print() {\r\n this.communicationService.tinyMCEPrint.next();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Function Itinerary

\r\n\r\n \r\n\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 { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { FunctionRoomModel, FunctionFlowModel, FunctionSearchModel, FunctionExtraModel, FunctionInvoiceModel, FunctionFileModel } from '../../../models/function-room/function-flow.model';\r\nimport {PropertyFunctionRoomModel} from '../../../models/function-room/function-room.model';\r\nimport { EnumModel } from 'src/app/models/shared/enum-model';\r\nimport {NewFunctionService} from '../settings-new-function/new-function.service';\r\nimport { CalendarFunctionSplitModel } from 'src/app/models/booking/calendar-response.model';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport FormHelper from '../../../shared/helpers/form-helper';\r\nimport { NewFunctionPermissionsModel } from '../../../models/permissions/permissions.model';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\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-function-details-room',\r\n templateUrl: './function-details-room.component.html',\r\n styleUrls: ['./function-details-room.component.less']\r\n})\r\nexport class FunctionDetailsRoomComponent implements OnInit {\r\n @Input() addFunctionRoom: boolean;\r\n @Output() addFunctionRoomChange = new EventEmitter();\r\n\r\n @Input() editFunctionRoom: boolean;\r\n @Output() editFunctionRoomChange = new EventEmitter();\r\n\r\n @Output() roomChanged = new EventEmitter();\r\n\r\n @Input() functionId: number;\r\n @Input() functionRooms: FunctionRoomModel[];\r\n\r\n @Input() functionSearchModel: FunctionSearchModel;\r\n @Input() defaultEposAccountLimit: number;\r\n\r\n theme: number;\r\n token: TokenContext;\r\n permissionsModel: NewFunctionPermissionsModel;\r\n\r\n loader = false;\r\n functionRoomSelected = false;\r\n showConfigurationTooltip = false;\r\n\r\n startTime: Date;\r\n endTime: Date;\r\n\r\n roomForm: FormGroup;\r\n availability: CalendarFunctionSplitModel;\r\n\r\n warningAttendance=false;\r\n warningAttendanceAdvisoryMessage: string;\r\n warningMorningSession=false;\r\n warningAfternoonSession=false;\r\n warningEveningSession=false;\r\n warningDate=false;\r\n\r\n constructor(\r\n private fbSearchRooms: FormBuilder,\r\n private functionService: NewFunctionService,\r\n private toasterService: ToastService,\r\n private permissionsService: PermissionsService,\r\n private communicationService: CommunicationService,\r\n ) \r\n {\r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.permissionsModel = permissionsService.createPermissionsModel(PermissionsEnum.NewFunction);\r\n this.theme = this.token.User.CmsTheme;\r\n\r\n this.startTime = new Date();\r\n this.startTime.setHours(9,0,0,0);\r\n this.endTime = new Date();\r\n this.endTime.setHours(17,0,0,0);\r\n\r\n this.roomForm = fbSearchRooms.group({\r\n functionRoom: [null, Validators.required],\r\n configuration: [null, Validators.required],\r\n attendees: [null, Validators.compose([Validators.required, Validators.min(1), Validators.max(5000)])],\r\n price: [null, Validators.compose([Validators.required, Validators.min(0), Validators.max(1000000)])],\r\n date: [new Date()],\r\n startTime: [this.startTime],\r\n endTime: [this.endTime],\r\n basePrice: [{value: null, disabled:true}],\r\n eposAccountLimit: [null],\r\n morningSession: [null],\r\n afternoonSession: [null],\r\n eveningSession: [null],\r\n });\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n if (this.editFunctionRoom) {\r\n this.setFormValuesFromCurrentFunctionRoom();\r\n this.getAvailability();\r\n }\r\n }\r\n \r\n\r\n closePopup() {\r\n this.addFunctionRoomChange.emit(false);\r\n this.editFunctionRoomChange.emit(false);\r\n }\r\n\r\n functionRoomChanged(e) {\r\n this.functionRoomChangedHandler(e.value);\r\n }\r\n\r\n functionRoomChangedHandler(propertyFunctionRoomId: any) {\r\n if (propertyFunctionRoomId != null) {\r\n let basePrice = this.getBasePriceForPropertyFunctionRoom(propertyFunctionRoomId);\r\n this.roomForm.get('basePrice').setValue(basePrice);\r\n this.showConfigurationsForFunctionRoom(propertyFunctionRoomId);\r\n this.functionRoomSelected = true;\r\n this.validationWarnings(0);\r\n if (this.roomForm.get('price').value == null || this.roomForm.get('price').value == '') {\r\n this.roomForm.get('price').setValue(basePrice);\r\n }\r\n if (this.roomForm.get('eposAccountLimit').value == null || this.roomForm.get('eposAccountLimit').value == '') {\r\n this.roomForm.get('eposAccountLimit').setValue(this.defaultEposAccountLimit);\r\n }\r\n }\r\n else {\r\n this.functionRoomSelected = false;\r\n } \r\n }\r\n\r\n getBasePriceForPropertyFunctionRoom(id: number) {\r\n for (let i=0; i x.id == propertyFunctionRoomId,0);\r\n\r\n let configurations = [];\r\n pfr.configurations.forEach(element => {\r\n let config = new EnumModel(String(element.id), String(element.id), String(element.id))\r\n configurations.push(config);\r\n });\r\n if (configurations.length == 1) {\r\n this.roomForm.get('configuration').setValue(configurations[0].id);\r\n }\r\n\r\n this.functionSearchModel.configurations = configurations;\r\n }\r\n\r\n validationWarnings(type:number) {\r\n //type 0 = perform validation on all components, 1 =attendees etc.\r\n\r\n let pfr = this.getPropertyFunctionRoom(this.roomForm.get('functionRoom').value);\r\n if (pfr) {\r\n let attendance = this.roomForm.get('attendees').value;\r\n if ((type==0 || type==1) && pfr.maxAttendance < parseInt(attendance)) {\r\n this.warningAttendance = true;\r\n this.warningAttendanceAdvisoryMessage = 'Advisory: the maximum attendance for this function room is ' + pfr.maxAttendance;\r\n setTimeout(() => {this.warningAttendance = false;}, 5000);\r\n }\r\n\r\n let selectedDate = this.roomForm.get('date').value;\r\n\r\n if (selectedDate != null)\r\n {\r\n let selectedDayOfWeek = new Date(selectedDate).getDay();\r\n if ((type==0 || type==2) && !pfr.bookableDays.some(x => x.dayOfWeekId === selectedDayOfWeek)) {\r\n this.warningDate = true;\r\n setTimeout(() => {this.warningDate = false;}, 5000);\r\n }\r\n }\r\n\r\n if ((type==0 || type==3) && this.roomForm.value.morningSession===true && !pfr.sessions.some(x => x.sessionId===0)) {\r\n this.warningMorningSession = true;\r\n setTimeout(() => {this.warningMorningSession = false;}, 5000);\r\n }\r\n\r\n if ((type==0 || type==4) && this.roomForm.value.afternoonSession===true && !pfr.sessions.some(x => x.sessionId===1)) {\r\n this.warningAfternoonSession = true;\r\n setTimeout(() => {this.warningAfternoonSession = false;}, 5000);\r\n }\r\n\r\n if ((type==0 || type==5) && this.roomForm.value.eveningSession===true && !pfr.sessions.some(x => x.sessionId===2)) {\r\n this.warningEveningSession = true;\r\n setTimeout(() => {this.warningEveningSession = false;}, 5000);\r\n }\r\n\r\n }\r\n }\r\n\r\n getPropertyFunctionRoom(propertyFunctionRoomId: number): PropertyFunctionRoomModel {\r\n if (this.functionSearchModel.propertyFunctionRooms != null) {\r\n return this.functionSearchModel.propertyFunctionRooms.find(x => x.id==propertyFunctionRoomId, 0);\r\n }\r\n return null;\r\n }\r\n\r\n getAvailability() {\r\n this.availability = null;\r\n let propertyFunctionRoomId = this.roomForm.get('functionRoom').value;\r\n let selectedDate = this.roomForm.get('date').value;\r\n\r\n if (propertyFunctionRoomId != null && selectedDate != null) {\r\n this.functionService.getAvailability(propertyFunctionRoomId, selectedDate).subscribe(\r\n (response) => {\r\n this.availability = response;\r\n this.availability.amClassName = this.availability.amFunctionStatus == \"Unavailable\" ? \"function-session-unavailable\" : this.availability.amFunctionId != null ? \"function-session-booked\" : \"function-session-available\";\r\n this.availability.pmClassName = this.availability.pmFunctionStatus == \"Unavailable\" ? \"function-session-unavailable\" : this.availability.pmFunctionId != null ? \"function-session-booked\" : \"function-session-available\";\r\n this.availability.eveClassName = this.availability.eveFunctionStatus == \"Unavailable\" ? \"function-session-unavailable\" : this.availability.eveFunctionId != null ? \"function-session-booked\" : \"function-session-available\";\r\n },\r\n (error) => {}\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 submitFunctionRoom(e) {\r\n FormHelper.validateAllFormFields(this.roomForm);\r\n let extraValidation = true;\r\n this.loader = true;\r\n\r\n if (this.roomForm.valid) {\r\n this.setCurrentFunctionValuesFromForm()\r\n\r\n if (extraValidation && this.functionSearchModel.currentFunctionRoom.morningSession !==true && this.functionSearchModel.currentFunctionRoom.afternoonSession !==true && this.functionSearchModel.currentFunctionRoom.eveningSession !==true)\r\n {\r\n this.showToastError('Please select at least one of the sessions.','')\r\n extraValidation = false;\r\n }\r\n\r\n if (extraValidation && (this.functionSearchModel.currentFunctionRoom.date ===null || this.functionSearchModel.currentFunctionRoom.startTime===null || this.functionSearchModel.currentFunctionRoom.endTime===null))\r\n {\r\n this.showToastError('Please select a date, start time and end time.','')\r\n extraValidation = false; \r\n }\r\n\r\n /*\r\n if (extraValidation && this.functionSearchModel.currentFunctionRoom.startTime > this.functionSearchModel.currentFunctionRoom.endTime) {\r\n this.showToastError('Start time must be before the end time.','')\r\n extraValidation = false; \r\n }\r\n */\r\n\r\n if (extraValidation && this.token.Property.CloudHookEPOS && isNaN(this.functionSearchModel.currentFunctionRoom.eposAccountLimit))\r\n {\r\n this.showToastError('Please enter a valid number for the EPOS Limit.','')\r\n extraValidation = false; \r\n }\r\n\r\n if (!this.checkInternalAvailability())\r\n {\r\n this.showToastError('This room is already booked on this date and times within this function.','')\r\n extraValidation = false; \r\n }\r\n\r\n if (extraValidation) {\r\n \r\n //we need to check the date/times to ensure no clashes\r\n this.functionService.checkAvailability(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId, this.functionId, this.functionSearchModel.currentFunctionRoom.date, \r\n this.functionSearchModel.currentFunctionRoom.morningSession === null ? false : this.functionSearchModel.currentFunctionRoom.morningSession, \r\n this.functionSearchModel.currentFunctionRoom.afternoonSession === null ? false : this.functionSearchModel.currentFunctionRoom.afternoonSession, \r\n this.functionSearchModel.currentFunctionRoom.eveningSession === null ? false : this.functionSearchModel.currentFunctionRoom.eveningSession).subscribe(\r\n (response) => {\r\n if (response === \"Available\") {\r\n\r\n this.functionSearchModel.currentFunctionRoom.functionId = this.functionId;\r\n this.functionService.saveFunctionRoom(this.functionSearchModel.currentFunctionRoom).subscribe(\r\n (response) => {\r\n this.roomChanged.emit();\r\n this.closePopup();\r\n },\r\n (error) => {\r\n console.log('Error saving function room', error);\r\n this.loader = false;\r\n }\r\n );\r\n \r\n }\r\n else if (response === \"AlreadyBooked\") {\r\n this.showToastError('This function room is already booked for the selected date / session.','');\r\n this.loader = false;\r\n }\r\n else {\r\n this.showToastError('This function room is unavailable for the selected date / session, please remove the unavailable setting for this date first.','');\r\n this.loader = false;\r\n }\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n else {\r\n this.loader = false;\r\n }\r\n }\r\n else {\r\n this.loader=false;\r\n }\r\n }\r\n\r\n onSessionChange(event, item) {\r\n if (item==1) {\r\n this.functionSearchModel.currentFunctionRoom.morningSession = event.target.checked;\r\n this.validationWarnings(3);\r\n\r\n }\r\n if (item==2) {\r\n this.functionSearchModel.currentFunctionRoom.afternoonSession = event.target.checked;\r\n this.validationWarnings(4);\r\n }\r\n if (item==3) {\r\n this.functionSearchModel.currentFunctionRoom.eveningSession = event.target.checked;\r\n this.validationWarnings(5);\r\n }\r\n }\r\n\r\n setFormValuesFromCurrentFunctionRoom() {\r\n\r\n this.roomForm.get('functionRoom').setValue(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n this.roomForm.get('configuration').setValue(this.functionSearchModel.currentFunctionRoom.configurationId);\r\n\r\n this.roomForm.get('date').setValue(this.functionSearchModel.currentFunctionRoom.date);\r\n this.roomForm.get('startTime').setValue(this.functionSearchModel.currentFunctionRoom.startTime);\r\n this.roomForm.get('endTime').setValue(this.functionSearchModel.currentFunctionRoom.endTime);\r\n\r\n this.roomForm.patchValue({'morningSession': this.functionSearchModel.currentFunctionRoom.morningSession});\r\n this.roomForm.patchValue({'afternoonSession': this.functionSearchModel.currentFunctionRoom.afternoonSession});\r\n this.roomForm.patchValue({'eveningSession': this.functionSearchModel.currentFunctionRoom.eveningSession});\r\n\r\n this.roomForm.get('attendees').setValue(this.functionSearchModel.currentFunctionRoom.attendees);\r\n this.roomForm.get('price').setValue(this.functionSearchModel.currentFunctionRoom.price);\r\n this.roomForm.get('eposAccountLimit').setValue(this.functionSearchModel.currentFunctionRoom.eposAccountLimit);\r\n this.roomForm.get('basePrice').setValue(this.getBasePriceForPropertyFunctionRoom(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId));\r\n this.communicationService.setTinyMCEContent.next(this.functionSearchModel.currentFunctionRoom.itinerary);\r\n }\r\n\r\n setCurrentFunctionValuesFromForm() {\r\n this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId = this.roomForm.get('functionRoom').value;\r\n this.functionSearchModel.currentFunctionRoom.configurationId = this.roomForm.get('configuration').value;\r\n this.functionSearchModel.currentFunctionRoom.date = new Date(this.roomForm.get('date').value);\r\n this.functionSearchModel.currentFunctionRoom.date.setHours(12,0,0);\r\n\r\n let startDateTime = new Date(this.roomForm.get('date').value);\r\n let startTime = new Date(this.roomForm.get('startTime').value);\r\n startDateTime.setHours(startTime.getHours(), startTime.getMinutes(), 0);\r\n\r\n let endDateTime = new Date(this.roomForm.get('date').value);\r\n let endTime = new Date(this.roomForm.get('endTime').value);\r\n endDateTime.setHours(endTime.getHours(), endTime.getMinutes(), 0);\r\n\r\n this.functionSearchModel.currentFunctionRoom.startTime = startDateTime;\r\n this.functionSearchModel.currentFunctionRoom.endTime = endDateTime;\r\n this.functionSearchModel.currentFunctionRoom.morningSession = this.roomForm.value.morningSession;\r\n this.functionSearchModel.currentFunctionRoom.afternoonSession = this.roomForm.value.afternoonSession;\r\n this.functionSearchModel.currentFunctionRoom.eveningSession = this.roomForm.value.eveningSession;\r\n this.functionSearchModel.currentFunctionRoom.attendees = this.roomForm.get('attendees').value;\r\n this.functionSearchModel.currentFunctionRoom.price = this.roomForm.get('price').value;\r\n this.functionSearchModel.currentFunctionRoom.eposAccountLimit = this.roomForm.get('eposAccountLimit').value;\r\n }\r\n\r\n checkInternalAvailability(): boolean {\r\n let available = true;\r\n let bookingDate = new Date(this.functionSearchModel.currentFunctionRoom.date);\r\n \r\n for (let i=0; i<=this.functionRooms.length-1; i++) {\r\n let fr = this.functionRooms[i];\r\n\r\n let frDate = new Date(fr.date);\r\n console.log('checkInternalAvailability', bookingDate, frDate, this.functionSearchModel.currentFunctionRoom, this.functionRooms)\r\n if (frDate.getDate() == bookingDate.getDate()\r\n && frDate.getMonth() == bookingDate.getMonth()\r\n && frDate.getFullYear() == bookingDate.getFullYear()\r\n && fr.propertyFunctionRoomId == this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId\r\n && fr.id != this.functionSearchModel.currentFunctionRoom.id\r\n && (\r\n fr.morningSession==true && this.functionSearchModel.currentFunctionRoom.morningSession==true \r\n || fr.afternoonSession==true && this.functionSearchModel.currentFunctionRoom.afternoonSession==true \r\n || fr.eveningSession==true && this.functionSearchModel.currentFunctionRoom.eveningSession==true \r\n )\r\n ) {\r\n available = false;\r\n }\r\n }\r\n return available;\r\n }\r\n\r\n viewConfiguration() {\r\n this.showConfigurationTooltip = true;\r\n }\r\n\r\n closeConfiguration() {\r\n this.showConfigurationTooltip = false;\r\n }\r\n\r\n configurationChanged(e) {\r\n \r\n }\r\n\r\n getAvailabilityDescription(type: number) {\r\n if (this.availability == null) {\r\n return '';\r\n }\r\n if (type === 1) {\r\n if (this.availability.amFunctionStatus == \"Unavailable\") {\r\n return 'Unavailable';\r\n }\r\n else if (this.availability.amFunctionId == null) {\r\n return 'Available morning';\r\n }\r\n else {\r\n return (this.availability.amFunctionStatus=='Enquiry' ? '**Enquiry** ' : '') + this.availability.amEventName\r\n }\r\n }\r\n\r\n if (type === 2) {\r\n if (this.availability.pmFunctionStatus == \"Unavailable\") {\r\n return 'Unavailable';\r\n }\r\n else if (this.availability.pmFunctionId == null) {\r\n return 'Available afternoon';\r\n }\r\n else {\r\n return (this.availability.pmFunctionStatus=='Enquiry' ? '**Enquiry** ' : '') + this.availability.pmEventName\r\n }\r\n }\r\n\r\n if (type === 3) {\r\n if (this.availability.eveFunctionStatus == \"Unavailable\") {\r\n return 'Unavailable';\r\n }\r\n else if (this.availability.eveFunctionId == null) {\r\n return 'Available evening';\r\n }\r\n else {\r\n return (this.availability.eveFunctionStatus=='Enquiry' ? '**Enquiry** ' : '') + this.availability.eveEventName\r\n }\r\n }\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n

Add Function Room

\r\n

Edit Function Room

\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\r\n
\r\n
\r\n
\r\n
\r\n Advisory: The selected function room does not support a booking on this day of the week\r\n
\r\n
\r\n
\r\n
\r\n
Date
\r\n \r\n \r\n\r\n
\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 configuration
\r\n \r\n \r\n
View
\r\n\r\n
\r\n
X
\r\n \"No\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{warningAttendanceAdvisoryMessage}}\r\n
\r\n
\r\n
\r\n
\r\n
Attendees
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Suggested price
\r\n \r\n
\r\n\r\n
\r\n
Price
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Start time
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
End time
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
Session
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Advisory: this function room does not support a morning session.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Morning
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Advisory: this function room does not support an afternoon session.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Afternoon
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Advisory: this function room does not support an evening session.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Evening
\r\n
\r\n
\r\n
\r\n
EPOS Limit
\r\n \r\n
\r\n
\r\n\r\n
\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 \r\n\r\n
\r\n
\r\n
","import { Component, ElementRef, EventEmitter, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { AuthTokenService } from 'src/app/shared/services/auth-token.service';\r\nimport { NewFunctionService } from '../settings-new-function/new-function.service';\r\nimport { CommunicationService } from 'src/app/shared/services/communication.service';\r\nimport { AuthLoginService } from 'src/app/shared/services/auth-login.service';\r\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\r\nimport { FunctionPrintModel } from 'src/app/models/function-room/function-flow.model';\r\nimport { CurrencyContext, TokenContext } from 'src/app/models/auth-jwt/token-context';\r\nimport { PropertyDetailsModel } from 'src/app/models/property/property-details.model';\r\n\r\n@Component({\r\n selector: 'app-function-print-receipt',\r\n templateUrl: './function-print-receipt.component.html',\r\n styleUrls: ['./function-print-receipt.component.less']\r\n})\r\nexport class FunctionPrintReceiptComponent implements OnInit {\r\n @Output() generated = new EventEmitter();\r\n @ViewChild('content', { static: true }) content: ElementRef;\r\n propertyName: string;\r\n imageSafeUrl: SafeUrl;\r\n propertyThumbnail: string;\r\n showImage = false;\r\n receiptInfo: FunctionPrintModel;\r\n propertyInfo: PropertyDetailsModel;\r\n token: TokenContext = new TokenContext();\r\n currentDate: string;\r\n isSuperUser = false;\r\n currencyContext: CurrencyContext = new CurrencyContext();\r\n\r\n constructor(\r\n private functionService: NewFunctionService,\r\n private communicationService: CommunicationService,\r\n private sanitizer: DomSanitizer,\r\n private authLoginService: AuthLoginService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.currencyContext = AuthTokenService.decodeJwtToken().Currency;\r\n this.receiptInfo = this.functionService.getReceiptData();\r\n this.currentDate = new Date().toDateString();\r\n this.functionService.getPropertyContact().subscribe(\r\n (response: PropertyDetailsModel) => {\r\n this.propertyInfo = response;\r\n this.setPicture();\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 // else {\r\n\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 {{ currentDate | date: 'dd/MM/yyyy' }}\r\n \r\n
\r\n {{ receiptInfo.isRefund ? 'Refund' : 'Payment' }} Receipt\r\n


\r\n {{ receiptInfo.isRefund ? 'Refunded' : 'Received with thanks' }}, the sum of {{ currencyContext.Symbol\r\n }}{{ receiptInfo.isRefund ? receiptInfo?.amount * -1 : (receiptInfo?.amount | number: '1.2-5') }} in respect of\r\n function number {{ receiptInfo?.functionNo }}.

\r\n
\r\n
\r\n
\r\n {{ propertyInfo?.name }}
\r\n {{ propertyInfo?.address\r\n }}, {{ propertyInfo?.address2 }}, {{ propertyInfo?.address3 }}, {{ propertyInfo?.postalCode }}.\r\n
Tel: {{ propertyInfo.phone }}
\r\n
VAT Registration Number: {{ propertyInfo.vatNo }}\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 { AuthGuardCompleteUser, AuthGuardUserByRole } from 'src/app/shared/auth-guards/auth-guard.service';\r\nimport { RouterModule, mapToCanActivate } from '@angular/router';\r\nimport { SettingsNewFunctionComponent } from 'src/app/routes/function/settings-new-function/settings-new-function.component';\r\nimport { NewFunctionService } from 'src/app/routes/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} from 'devextreme-angular';\r\nimport { SettingsLinkFunctionComponent } from 'src/app/routes/function/settings-link-function/settings-link-function.component';\r\nimport { SettingsFunctionDetailsPaymentComponent } from 'src/app/routes/function/settings-function-details-payment/settings-function-details-payment.component';\r\nimport { FunctionPrintReceiptComponent } from 'src/app/routes/function/function-print-receipt/function-print-receipt.component';\r\nimport { FunctionDetailsAddInvoiceComponent } from 'src/app/routes/function/function-details-add-invoice/function-details-add-invoice.component';\r\nimport { FunctionDetailsCreateInvoicePreviewComponent } from 'src/app/routes/function/function-details-create-invoice-preview/function-details-create-invoice-preview.component';\r\nimport { FunctionDetailsItineraryComponent } from 'src/app/routes/function/function-details-itinerary/function-details-itinerary.component';\r\nimport { FunctionDetailsFilesComponent } from 'src/app/routes/function/function-details-files/function-details-files.component';\r\nimport { FunctionBookingLinkComponent } from 'src/app/routes/function/function-booking-link/function-booking-link.component';\r\nimport { FunctionConfirmationEmailComponent } from 'src/app/routes/function/function-confirmation-email/function-confirmation-email.component';\r\nimport { FunctionDetailsExtrasComponent } from 'src/app/routes/function/function-details-extras/function-details-extras.component';\r\nimport { FunctionDetailsRoomComponent } from './function-details-room/function-details-room.component';\r\n\r\n\r\nconst functionRoutes = [\r\n {\r\n path: 'new',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor', 'Receptionist', 'BookingOnly'] },\r\n component: SettingsNewFunctionComponent,\r\n },\r\n {\r\n path: 'details/:functionId',\r\n canActivate: mapToCanActivate([AuthGuardUserByRole]),\r\n data: { roles: ['Owner', 'Manager', 'Supervisor', 'Receptionist', 'BookingOnly'] },\r\n component: SettingsNewFunctionComponent,\r\n },\r\n \r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n RouterModule.forChild(functionRoutes),\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 SharedModule\r\n ],\r\n providers: [NewFunctionService],\r\n declarations: [\r\n SettingsNewFunctionComponent,\r\n FunctionPrintReceiptComponent,\r\n FunctionDetailsAddInvoiceComponent,\r\n FunctionDetailsCreateInvoicePreviewComponent,\r\n FunctionDetailsItineraryComponent,\r\n FunctionDetailsFilesComponent,\r\n FunctionBookingLinkComponent,\r\n FunctionConfirmationEmailComponent,\r\n FunctionDetailsExtrasComponent,\r\n FunctionDetailsRoomComponent,\r\n ],\r\n})\r\nexport class FunctionModule {}\r\n","import { Component, OnDestroy, OnInit, Renderer2,ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Params, Router } from '@angular/router';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl, AbstractControl } from '@angular/forms';\r\nimport { AuthTokenService } from '../../../shared/services/auth-token.service';\r\nimport { TokenContext } from '../../../models/auth-jwt/token-context';\r\nimport { PermissionsService } from '../../../shared/services/permissions.service';\r\nimport { PermissionsEnum } from '../../../enums/permissions.enum';\r\nimport * as moment from 'moment';\r\nimport { DxDataGridComponent, DxSelectBoxComponent } from 'devextreme-angular';\r\nimport { ToastService } from 'src/app/shared/services/toast.service';\r\nimport { NewFunctionPermissionsModel } from '../../../models/permissions/permissions.model';\r\nimport { FunctionRoomModel, FunctionFlowModel, FunctionSearchModel, FunctionExtraModel, FunctionInvoiceModel, FunctionFileModel } from '../../../models/function-room/function-flow.model';\r\nimport {PropertyFunctionRoomModel} from '../../../models/function-room/function-room.model';\r\nimport {NewFunctionService} from './new-function.service';\r\nimport { SettingsPropertiesService } from '../../settings/settings-properties/settings-properties.service';\r\nimport { CommunicationService } from '../../../shared/services/communication.service';\r\nimport { SaleItemWithCategoryNameModel } from '../../../models/cost-center/sale-item.model';\r\nimport { ChangeDetectorRef } from '@angular/core';\r\nimport { FunctionPaymentModel } from 'src/app/models/function-room/function-flow.model';\r\nimport { FunctionPrintModel } from 'src/app/models/function-room/function-flow.model';\r\nimport { SettingsBillingService } from '../../settings/settings-billing/settings-billing-service';\r\nimport { InvoiceProcessModel } from '../../../models/booking/invoice-process.model';\r\nimport { PciNewFunctionModel } from 'src/app/models/booking/pci-new-booking.model';\r\nimport {InvoiceType} from '../../../enums/invoice-type.enum';\r\nimport { first, tap, catchError } from 'rxjs/operators';\r\nimport { of } from 'rxjs';\r\n\r\nimport * as _ from 'lodash';\r\nimport { EnumModel } from 'src/app/models/shared/enum-model';\r\nimport { SettingsPartnersService } from '../../settings/settings-partners/settings-partners.service';\r\nimport { CalendarFunctionSplitModel } from 'src/app/models/booking/calendar-response.model';\r\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\r\nimport { AuthLoginService } from '../../../shared/services/auth-login.service';\r\nimport StringHelper from '../../../shared/helpers/string-helper';\r\nimport DateHelper from '../../../shared/helpers/date-helper';\r\nimport FormHelper from '../../../shared/helpers/form-helper';\r\nimport CookieHelper from 'src/app/shared/helpers/cookie-helper';\r\nimport { ToastEventType } from 'src/app/enums/toast-event-type';\r\nimport { PaymentActionType } from 'src/app/enums/payment-action-type.enum';\r\nimport { ActionResultModel } from 'src/app/models/shared/action-result.model';\r\nimport { FunctionEmailType } from 'src/app/enums/function.enum';\r\n\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-settings-new-function',\r\n templateUrl: './settings-new-function.component.html',\r\n styleUrls: ['./settings-new-function.component.less']\r\n})\r\nexport class SettingsNewFunctionComponent implements OnInit, OnDestroy {\r\n @ViewChild('gridRooms') gridRooms: DxDataGridComponent;\r\n @ViewChild('gridExtraItems') gridExtraItems: DxDataGridComponent;\r\n @ViewChild('gridExtraCatering') gridExtraCatering: DxDataGridComponent;\r\n theme: number;\r\n token: TokenContext;\r\n permissionsModel: NewFunctionPermissionsModel;\r\n\r\n functionId: number = 0;\r\n imageSafeUrl: SafeUrl;\r\n propertyThumbnail: string;\r\n \r\n editMode = false;\r\n activeTab = 1;\r\n insertExtraFirstTimeItems = true;\r\n insertExtraFirstTimeCatering = true;\r\n loader = false;\r\n \r\n roomFormSubmitted = false;\r\n contactFormSubmitted=false;\r\n extrasFormSubmitted=false;\r\n financeFormSubmitted=false;\r\n summaryFormSubmitted=false;\r\n\r\n // payment tooltip variables\r\n activePaymentId: number;\r\n showPaymentTooltip = false;\r\n paymentTooltipMessage: string;\r\n \r\n deleteRoom = false;\r\n deleteIndex = -1;\r\n editRoom = false;\r\n editIndex = -1;\r\n\r\n addInvoice = false;\r\n editInvoice = false;\r\n deleteInvoice = false;\r\n addExtra = false;\r\n addRoom = false;\r\n extraType: number;\r\n editExtra = false;\r\n currentExtraModel: FunctionExtraModel;\r\n deleteExtra = false;\r\n deleteExtraIsCatering= false;\r\n creditNoteInvoice = false;\r\n showConfigurationTooltip = false;\r\n showPaymentFormModal = false;\r\n showItinerary = false;\r\n showFiles = false;\r\n showEmailConfirmation = false;\r\n showBookingLinks = false;\r\n addPartnerPopup = false;\r\n paid = false;\r\n //confirmLoader = false;\r\n addPayment = false;\r\n editPayment = false;\r\n disableEditMode = false;\r\n closeInvoice = false;\r\n confirmCheckIn = false;\r\n\r\n functionLoaded = false;\r\n cancelBookingPopup = false;\r\n confirmBookingPopup = false;\r\n pciBookingForm: string;\r\n caterpayForm: string;\r\n paymentNo: string;\r\n currentItinerary: string;\r\n currentSelectedFunctionRoomId: number;\r\n\r\n //warnings\r\n warningAttendance=false;\r\n warningAttendanceAdvisoryMessage: string;\r\n warningMorningSession=false;\r\n warningAfternoonSession=false;\r\n warningEveningSession=false;\r\n warningDate=false;\r\n\r\n roomForm: UntypedFormGroup;\r\n contactForm: UntypedFormGroup;\r\n financeForm: UntypedFormGroup;\r\n summaryForm: UntypedFormGroup;\r\n\r\n isFilled = false;\r\n\r\n currentPaymentId: number;\r\n currentInvoiceId: number;\r\n currentFunctionRoomId: number;\r\n\r\n functionFlowModel = new FunctionFlowModel();\r\n functionSearchModel = new FunctionSearchModel();\r\n chosenRoomsPageData: FunctionRoomModel[] = [];\r\n roomFiles: FunctionFileModel[]=[];\r\n \r\n totalRoomsPrice: number;\r\n totalRoomsPriceIncVat: number;\r\n totalExtrasPrice: number;\r\n totalExtrasPriceIncVat: number;\r\n totalPrice: number;\r\n totalPriceIncVat: number;\r\n totalPayments: number;\r\n totalInvoices: number;\r\n\r\n attendeesList: string='';\r\n firstDate: Date=null;\r\n lastDate: Date=null;\r\n\r\n sendEmailType: FunctionEmailType = FunctionEmailType.SummaryEmail;\r\n\r\n defaultEposAccountLimit: number;\r\n\r\n //room form for new functions\r\n disableAddToCartButton = false;\r\n targetEditIndex = -1;\r\n functionRoomSelected = false;\r\n\r\n addToFunctionText: string = 'Add to function';\r\n addRoomText: string = \"Add a room\";\r\n clearRoomText: string = \"Clear\";\r\n availability: CalendarFunctionSplitModel;\r\n\r\n startTime: Date;\r\n endTime: Date;\r\n\r\n paymentActionTypes = PaymentActionType;\r\n newPaymentActionType: PaymentActionType = PaymentActionType.None;\r\n newPaymentSourceData: FunctionPaymentModel;\r\n\r\n selectedVoidPaymentId: number;\r\n confirmVoidPayment: boolean = false;\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private newFunctionService: NewFunctionService,\r\n private settingsBillingService: SettingsBillingService,\r\n private settingsPartnersService: SettingsPartnersService,\r\n private router: Router,\r\n private fbSearchRooms: UntypedFormBuilder,\r\n private toasterService: ToastService,\r\n private permissionsService: PermissionsService,\r\n private communicationService: CommunicationService,\r\n private changeDetector: ChangeDetectorRef,\r\n private sanitizer: DomSanitizer,\r\n private authLoginService: AuthLoginService,\r\n private propertySettingsService: SettingsPropertiesService\r\n ) { \r\n this.token = AuthTokenService.decodeJwtToken();\r\n this.permissionsModel = permissionsService.createPermissionsModel(PermissionsEnum.NewFunction);\r\n this.theme = this.token.User.CmsTheme;\r\n \r\n this.startTime = new Date();\r\n this.startTime.setHours(9,0,0,0);\r\n this.endTime = new Date();\r\n this.endTime.setHours(17,0,0,0);\r\n\r\n this.contactForm = fbSearchRooms.group({\r\n partner: [null],\r\n coordinator: [null],\r\n title: [null],\r\n firstName: [null, Validators.required],\r\n lastName: [null],\r\n email: [null],\r\n telephone: [null],\r\n mobile: [null],\r\n address1: [null],\r\n address2: [null],\r\n address3: [null],\r\n address4: [null],\r\n postcode: [null],\r\n country: [null, Validators.required],\r\n functionName: [null, Validators.required],\r\n status: [null, Validators.required],\r\n notes: [null]\r\n });\r\n\r\n this.financeForm = fbSearchRooms.group({\r\n includeDeposit: [null],\r\n bookingTotal: [{value: null, disabled:true}],\r\n deposit: [{value: null, disabled:true}, Validators.required],\r\n type: [{value: null, disabled:true}, Validators.required],\r\n paidBy: [{value: null, disabled:true}, Validators.required],\r\n paymentDate: [{value: null, disabled:true}],\r\n \r\n });\r\n\r\n this.roomForm = fbSearchRooms.group({\r\n functionRoom: [null, Validators.required],\r\n configuration: [null, Validators.required],\r\n attendees: [null, Validators.compose([Validators.required, Validators.min(1), Validators.max(5000)])],\r\n price: [null, Validators.compose([Validators.required, Validators.min(0), Validators.max(1000000)])],\r\n date: [new Date()],\r\n startTime: [this.startTime],\r\n endTime: [this.endTime],\r\n basePrice: [{value: null, disabled:true}],\r\n eposAccountLimit: [null],\r\n morningSession: [null],\r\n afternoonSession: [null],\r\n eveningSession: [null],\r\n });\r\n\r\n this.summaryForm = fbSearchRooms.group({\r\n \r\n })\r\n\r\n this.functionFlowModel.propertyId = this.token.Property.Id;\r\n\r\n if (router.url.indexOf('details') > -1) {\r\n this.editMode = true;\r\n route.params.subscribe((params: Params) => {\r\n this.functionId = +params['functionId'];\r\n const bookingPaymentNo = params['paymentNo'];\r\n if (typeof bookingPaymentNo !== 'undefined') {\r\n this.paymentNo = bookingPaymentNo;\r\n this.paid = true;\r\n console.log('bookingPaymentNo');\r\n }\r\n });\r\n }\r\n else {\r\n this.contactForm.get('country').setValue(this.token.Property.CountryId);\r\n }\r\n\r\n this.init();\r\n\r\n window.addEventListener('message', this.postMessageHandlerNewFunction, false);\r\n }\r\n\r\n loadFunction() {\r\n this.firstDate=null;\r\n this.lastDate=null;\r\n this.attendeesList = '';\r\n this.newFunctionService.getFunction(this.functionId).subscribe(\r\n (response) => {\r\n this.functionFlowModel = response;\r\n\r\n this.functionFlowModel.functionRooms.forEach((x) => (x.date = new Date(x.date), x.startTime = new Date(x.startTime), x.endTime = new Date(x.endTime), this.attendeesList += x.attendees + ','));\r\n if (this.functionFlowModel.functionRooms.length > 5) {\r\n //show min -> max\r\n let min = Math.min.apply(Math, this.functionFlowModel.functionRooms.map(function(o) { return o.attendees; }));\r\n let max = Math.max.apply(Math, this.functionFlowModel.functionRooms.map(function(o) { return o.attendees; }));\r\n if (min == max) {\r\n this.attendeesList = min;\r\n }\r\n else {\r\n this.attendeesList = `${min} to ${max}`;\r\n }\r\n }\r\n else {\r\n this.attendeesList = this.attendeesList.slice(0, -1)\r\n }\r\n\r\n this.functionFlowModel.functionRooms.sort((a, b) => {\r\n return a.date.getTime() - b.date.getTime();\r\n });\r\n\r\n console.log('function', this.functionFlowModel);\r\n this.functionSearchModel.currentFunctionRoom = new FunctionRoomModel();\r\n \r\n for (let i=0; i this.functionFlowModel.functionRooms[i].date.getTime()) {\r\n this.firstDate = this.functionFlowModel.functionRooms[i].date;\r\n }\r\n if (this.lastDate.getTime() < this.functionFlowModel.functionRooms[i].date.getTime()) {\r\n this.lastDate = this.functionFlowModel.functionRooms[i].date;\r\n }\r\n }\r\n\r\n this.setContactFormValuesFromFunction();\r\n this.refreshChosenRooms();\r\n this.clearRoomForm();\r\n this.calculatePrices();\r\n //this.editIndex = -1;\r\n //this.editRoom = false;\r\n this.functionFlowModel.functionExtras_Items.forEach((x) => this.getRatePlanSaleItemsForFunction(x, null));\r\n this.functionFlowModel.functionExtras_Catering.forEach((x) => this.getRatePlanSaleItemsForFunction(x, null));\r\n this.functionLoaded= true;\r\n console.log('Function loaded');\r\n\r\n setTimeout(() => {\r\n this.loader = false;\r\n this.changeDetector.detectChanges();\r\n console.log('Loader closed');\r\n }, 400);\r\n\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n viewConfiguration() {\r\n this.showConfigurationTooltip = true;\r\n }\r\n\r\n closeConfiguration() {\r\n this.showConfigurationTooltip = false;\r\n }\r\n\r\n itineraryClosed() {\r\n this.showItinerary = false;\r\n }\r\n\r\n emailClosed() {\r\n this.showEmailConfirmation = false;\r\n }\r\n\r\n filesClosed() {\r\n this.functionFlowModel.functionRooms.find(x => x.id == this.currentSelectedFunctionRoomId,0).functionFiles = this.roomFiles;\r\n this.showFiles = false;\r\n }\r\n\r\n roomFilesChange() {\r\n this.loadFunction();\r\n }\r\n\r\n closeBookingLinks() {\r\n console.log('closeBookingLinks', this.functionFlowModel.linkedBookings);\r\n this.showBookingLinks = false;\r\n }\r\n\r\n openBookingLinks() {\r\n this.showBookingLinks = true;\r\n }\r\n\r\n itineraryUpdated(itinerary:string) {\r\n let fr = this.functionFlowModel.functionRooms.find(x => x.id == this.currentSelectedFunctionRoomId,0)\r\n fr.itinerary = itinerary;\r\n\r\n if (this.editMode) {\r\n this.loader = true;\r\n this.newFunctionService.saveFunctionRoomItinerary(fr).subscribe(\r\n (response) => {\r\n this.showItinerary = false;\r\n this.loader = false;\r\n this.loadFunction();\r\n },\r\n (error) => {\r\n this.showToastError('Error saving itinerary', 'Save itinerary');\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n else {\r\n this.showItinerary = false;\r\n }\r\n \r\n this.currentSelectedFunctionRoomId = -1;\r\n }\r\n\r\n ngOnInit(): void {\r\n setTimeout(function () {\r\n $('.extras td').css('width', 'fit-content');\r\n }, 200);\r\n\r\n }\r\n\r\n getAvailability() {\r\n this.availability = null;\r\n let propertyFunctionRoomId = this.roomForm.get('functionRoom').value;\r\n let selectedDate = this.roomForm.get('date').value;\r\n\r\n if (propertyFunctionRoomId != null && selectedDate != null) {\r\n this.newFunctionService.getAvailability(propertyFunctionRoomId, selectedDate).subscribe(\r\n (response) => {\r\n this.availability = response;\r\n this.availability.amClassName = this.availability.amFunctionStatus == \"Unavailable\" ? \"function-session-unavailable\" : this.availability.amFunctionId != null ? \"function-session-booked\" : \"function-session-available\";\r\n this.availability.pmClassName = this.availability.pmFunctionStatus == \"Unavailable\" ? \"function-session-unavailable\" : this.availability.pmFunctionId != null ? \"function-session-booked\" : \"function-session-available\";\r\n this.availability.eveClassName = this.availability.eveFunctionStatus == \"Unavailable\" ? \"function-session-unavailable\" : this.availability.eveFunctionId != null ? \"function-session-booked\" : \"function-session-available\";\r\n },\r\n (error) => {}\r\n )\r\n }\r\n }\r\n\r\n getAvailabilityDescription(type: number) {\r\n if (this.availability == null) {\r\n return '';\r\n }\r\n if (type === 1) {\r\n if (this.availability.amFunctionStatus == \"Unavailable\") {\r\n return 'Unavailable';\r\n }\r\n else if (this.availability.amFunctionId == null) {\r\n return 'Available morning';\r\n }\r\n else {\r\n return (this.availability.amFunctionStatus=='Enquiry' ? '**Enquiry** ' : '') + this.availability.amEventName\r\n }\r\n }\r\n\r\n if (type === 2) {\r\n if (this.availability.pmFunctionStatus == \"Unavailable\") {\r\n return 'Unavailable';\r\n }\r\n else if (this.availability.pmFunctionId == null) {\r\n return 'Available afternoon';\r\n }\r\n else {\r\n return (this.availability.pmFunctionStatus=='Enquiry' ? '**Enquiry** ' : '') + this.availability.pmEventName\r\n }\r\n }\r\n\r\n if (type === 3) {\r\n if (this.availability.eveFunctionStatus == \"Unavailable\") {\r\n return 'Unavailable';\r\n }\r\n else if (this.availability.eveFunctionId == null) {\r\n return 'Available evening';\r\n }\r\n else {\r\n return (this.availability.eveFunctionStatus=='Enquiry' ? '**Enquiry** ' : '') + this.availability.eveEventName\r\n }\r\n }\r\n\r\n }\r\n\r\n init() {\r\n this.loader = true;\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 }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n\r\n this.newFunctionService.newFunction(this.editMode).subscribe(\r\n (response) => {\r\n this.functionSearchModel = response;\r\n console.log('functionSearchModel', this.functionSearchModel);\r\n this.functionSearchModel.currentFunctionRoom = new FunctionRoomModel();\r\n\r\n if (this.functionSearchModel.propertyFunctionRooms.length ==1 && !this.editMode) {\r\n this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId = this.functionSearchModel.propertyFunctionRooms[0].id;\r\n this.roomForm.get('functionRoom').setValue(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n this.functionRoomChangedHandler(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n this.getAvailability();\r\n\r\n //this.roomForm.get('functionRoom').setValue(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n //this.functionRoomChangedHandler(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n //this.getAvailability();\r\n }\r\n\r\n if (this.editMode) {\r\n this.loadFunction();\r\n }\r\n else {\r\n this.loader = false;\r\n }\r\n },\r\n (error) => {}\r\n );\r\n\r\n if (this.insertExtraFirstTimeItems && this.functionFlowModel.functionExtras_Items.length === 0) {\r\n const functionExtraModel: FunctionExtraModel = new FunctionExtraModel();\r\n functionExtraModel.saleItemId = null;\r\n functionExtraModel.functionRoomId = 0;\r\n functionExtraModel.functionId = this.functionId;\r\n functionExtraModel.total = 0;\r\n functionExtraModel.disabledSaleItem = true;\r\n functionExtraModel.disabledItem = true;\r\n this.functionFlowModel.functionExtras_Items.push(functionExtraModel);\r\n this.getRatePlanSaleItemsForFunction(functionExtraModel, null);\r\n this.insertExtraFirstTimeItems = false;\r\n } else {\r\n this.insertExtraFirstTimeItems = false;\r\n }\r\n\r\n if (this.insertExtraFirstTimeCatering && this.functionFlowModel.functionExtras_Catering.length === 0) {\r\n const functionExtraModel: FunctionExtraModel = new FunctionExtraModel();\r\n functionExtraModel.saleItemId = null;\r\n functionExtraModel.functionRoomId = 0;\r\n functionExtraModel.functionId = this.functionId;\r\n functionExtraModel.total = 0;\r\n functionExtraModel.disabledSaleItem = true;\r\n functionExtraModel.disabledItem = true;\r\n this.functionFlowModel.functionExtras_Catering.push(functionExtraModel);\r\n this.getRatePlanSaleItemsForFunction(functionExtraModel, null);\r\n this.insertExtraFirstTimeCatering = false;\r\n } else {\r\n this.insertExtraFirstTimeCatering = false;\r\n }\r\n\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 } \r\n },\r\n (error) => {\r\n console.log(error);\r\n }\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 selectFunctionRoom(e) {\r\n e.stopPropagation();\r\n }\r\n\r\n functionRoomChanged(e) {\r\n this.functionRoomChangedHandler(e.value);\r\n }\r\n\r\n functionRoomChangedHandler(propertyFunctionRoomId: any) {\r\n if (propertyFunctionRoomId != null) {\r\n let basePrice = this.getBasePriceForPropertyFunctionRoom(propertyFunctionRoomId);\r\n this.roomForm.get('basePrice').setValue(basePrice);\r\n this.showConfigurationsForFunctionRoom(propertyFunctionRoomId);\r\n this.functionRoomSelected = true;\r\n this.validationWarnings(0);\r\n if (this.roomForm.get('price').value == null || this.roomForm.get('price').value == '') {\r\n this.roomForm.get('price').setValue(basePrice);\r\n }\r\n if (this.roomForm.get('eposAccountLimit').value == null || this.roomForm.get('eposAccountLimit').value == '') {\r\n this.roomForm.get('eposAccountLimit').setValue(this.defaultEposAccountLimit);\r\n }\r\n }\r\n else {\r\n this.functionRoomSelected = false;\r\n } \r\n }\r\n\r\n showConfigurationsForFunctionRoom(propertyFunctionRoomId: number) {\r\n let pfr = this.functionSearchModel.propertyFunctionRooms.find(x => x.id == propertyFunctionRoomId,0);\r\n\r\n let configurations = [];\r\n pfr.configurations.forEach(element => {\r\n let config = new EnumModel(String(element.id), String(element.id), String(element.id))\r\n configurations.push(config);\r\n });\r\n if (configurations.length == 1) {\r\n this.roomForm.get('configuration').setValue(configurations[0].id);\r\n }\r\n\r\n this.functionSearchModel.configurations = configurations;\r\n }\r\n \r\n partnerChanged(e) {\r\n let currentPartnerId = this.functionFlowModel.partnerId;\r\n if (e.previousValue != null) {\r\n currentPartnerId = e.previousValue;\r\n }\r\n \r\n if (e.value == null) {\r\n if (e.previousValue != null)\r\n {\r\n \r\n let partner = this.functionSearchModel.partners.find(x => x.id == e.previousValue, 0);\r\n //we clear the contact info if it is the same as the partner\r\n if (this.contactForm.get('firstName').value == partner.name &&\r\n this.contactForm.get('email').value == partner.email &&\r\n this.contactForm.get('mobile').value == partner.phone &&\r\n this.contactForm.get('address1').value == partner.address1 &&\r\n this.contactForm.get('address2').value == partner.address2 &&\r\n this.contactForm.get('address3').value == partner.address3 &&\r\n this.contactForm.get('postcode').value == partner.postalCode &&\r\n this.contactForm.get('country').value == partner.countryId)\r\n {\r\n this.contactForm.get('firstName').setValue('');\r\n this.contactForm.get('email').setValue('');\r\n this.contactForm.get('mobile').setValue('');\r\n this.contactForm.get('address1').setValue('');\r\n this.contactForm.get('address2').setValue('');\r\n this.contactForm.get('address3').setValue('');\r\n this.contactForm.get('postcode').setValue('');\r\n this.contactForm.get('country').setValue(this.token.Property.CountryId);\r\n }\r\n } \r\n }\r\n else {\r\n if (currentPartnerId != e.value) {\r\n let partner = this.functionSearchModel.partners.find(x => x.id == e.value, 0);\r\n this.contactForm.get('firstName').setValue(partner.name);\r\n this.contactForm.get('email').setValue(partner.email);\r\n this.contactForm.get('telephone').setValue('');\r\n this.contactForm.get('mobile').setValue(partner.phone);\r\n this.contactForm.get('address1').setValue(partner.address1);\r\n this.contactForm.get('address2').setValue(partner.address2);\r\n this.contactForm.get('address3').setValue(partner.address3);\r\n this.contactForm.get('address4').setValue('');\r\n this.contactForm.get('postcode').setValue(partner.postalCode);\r\n this.contactForm.get('country').setValue(partner.countryId);\r\n }\r\n }\r\n }\r\n\r\n addNewPartner() {\r\n this.addPartnerPopup = true;\r\n }\r\n\r\n reloadPartners() {\r\n this.loader = true;\r\n\r\n this.settingsPartnersService.getAllPartners().subscribe(\r\n (response) => {\r\n this.functionSearchModel.partners = response;\r\n this.loader = false;\r\n },\r\n (error) => {\r\n console.log('Error reloading partners', error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n statusChanged(e) {\r\n if (!this.editMode)\r\n {\r\n if (e.itemData.name != 'Confirmed') {\r\n //don't take deposit if not a confirmed booking\r\n this.functionFlowModel.functionPayment.includeDeposit = false;\r\n this.functionFlowModel.functionPayment.amount = 0;\r\n this.financeForm.get('includeDeposit').disable();\r\n this.financeForm.get('deposit').disable();\r\n }\r\n else {\r\n this.financeForm.get('includeDeposit').enable();\r\n }\r\n }\r\n\r\n }\r\n\r\n configurationChanged(e) {\r\n \r\n }\r\n\r\n getBasePriceForPropertyFunctionRoom(id: number) {\r\n for (let i=0; i x.id==functionRoomId, 0);\r\n }\r\n\r\n getEventName(functionRoomId: number): string {\r\n return this.chosenRoomsPageData.find(x => x.id == functionRoomId, 0).eventName;\r\n }\r\n\r\n getPropertyFunctionRoom(propertyFunctionRoomId: number): PropertyFunctionRoomModel {\r\n if (this.functionSearchModel.propertyFunctionRooms != null) {\r\n return this.functionSearchModel.propertyFunctionRooms.find(x => x.id==propertyFunctionRoomId, 0);\r\n }\r\n return null;\r\n }\r\n\r\n getPropertyFunctionRoomName(propertyFunctionRoomId: number): string {\r\n const pfr = this.getPropertyFunctionRoom(propertyFunctionRoomId);\r\n if (pfr != null) {\r\n return pfr.name;\r\n }\r\n return null;\r\n }\r\n\r\n getSaleItemName(saleItem: FunctionExtraModel, isCatering: boolean): string {\r\n if (saleItem.saleItemId == null) {\r\n return '-';\r\n }\r\n\r\n if (isCatering) {\r\n if (saleItem.saleItemCateringSource == null) {\r\n return '-';\r\n }\r\n return saleItem.saleItemCateringSource.find(x => x.id === saleItem.saleItemId).name;\r\n }\r\n else {\r\n if (saleItem.saleItemItemsSource == null) {\r\n return '-';\r\n }\r\n return saleItem.saleItemItemsSource.find(x => x.id === saleItem.saleItemId).name;\r\n }\r\n \r\n }\r\n\r\n changeTab(index) {\r\n if (index==2) {\r\n if (!this.validateThereIsContact()) {\r\n if (this.activeTab ==2) {\r\n FormHelper.validateAllFormFields(this.contactForm);\r\n }\r\n return;\r\n }\r\n }\r\n if (index==3) {\r\n if (this.functionFlowModel.functionRooms.length == 0) { \r\n if (this.activeTab==1) {\r\n FormHelper.validateAllFormFields(this.roomForm);\r\n } \r\n return;\r\n } \r\n } \r\n if (index==4) {\r\n if (this.functionFlowModel.functionRooms.length == 0 || !this.validateThereIsContact()) {\r\n return;\r\n }\r\n else {\r\n this.calculatePrices();\r\n }\r\n }\r\n if (index==5) {\r\n if (this.functionFlowModel.functionRooms.length == 0 || !this.validateThereIsContact() || !this.validateFunctionName()) {\r\n return;\r\n }\r\n else if (!this.editMode) {\r\n this.initialisePaidByList();\r\n }\r\n }\r\n\r\n this.activeTab = index;\r\n }\r\n\r\n initialisePaidByList() {\r\n this.functionSearchModel.paidByList = [];\r\n let partnerName = null;\r\n let addContact = true;\r\n\r\n if (this.functionFlowModel.partnerId > 0) {\r\n \r\n partnerName = this.functionSearchModel.partners.find(x => x.id == this.functionFlowModel.partnerId, 0);\r\n let partnerId = this.functionFlowModel.partnerId.toString();\r\n this.functionSearchModel.paidByList.push(new EnumModel(partnerId, partnerId, partnerName.name));\r\n \r\n if (partnerName.name == this.functionFlowModel.firstName) {\r\n addContact = false; //they've selected a partner and it is the same as the name in the contact details, dedup\r\n }\r\n }\r\n \r\n if (addContact) {\r\n let contactName = (this.functionFlowModel.title==null? '' : this.functionFlowModel.title + ' ') + \r\n (this.functionFlowModel.firstName==null? '' : this.functionFlowModel.firstName + ' ') + \r\n (this.functionFlowModel.lastName==null? '' : this.functionFlowModel.lastName);\r\n this.functionSearchModel.paidByList.push(new EnumModel('0', '0', contactName));\r\n }\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 (!this.validateThereIsContact() && this.contactFormSubmitted) {\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 (\r\n (this.roomFormSubmitted) ||\r\n (this.functionFlowModel.functionRooms.length === 0 && this.roomFormSubmitted)\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 classTab3() {\r\n let className = '';\r\n if (this.activeTab === 3) {\r\n className = 'active ';\r\n } else if ((!this.validateSaleItemPrice() || !this.validateDatesInExtras()) && this.extrasFormSubmitted) {\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 {\r\n className = '';\r\n }\r\n\r\n return className;\r\n }\r\n\r\n classTab5() {\r\n let className = '';\r\n if (this.activeTab === 5) {\r\n className = 'active ';\r\n } else if ((!this.validateFinance()) && this.roomFormSubmitted) {\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 classTab6() {\r\n let className = '';\r\n if (this.activeTab === 6) {\r\n className = 'active ';\r\n } else {\r\n className = '';\r\n }\r\n\r\n return className; \r\n }\r\n\r\n openItinerary(index:number) {\r\n let functionRoom = this.functionFlowModel.functionRooms[index];\r\n\r\n if (functionRoom.itinerary==null) {\r\n this.currentItinerary = this.initialiseItineraryHtml(functionRoom);\r\n }\r\n else {\r\n this.currentItinerary = this.functionFlowModel.functionRooms[index].itinerary;\r\n }\r\n \r\n this.currentSelectedFunctionRoomId = this.functionFlowModel.functionRooms[index].id;\r\n this.showItinerary = true;\r\n }\r\n\r\n initialiseItineraryHtml(functionRoom: FunctionRoomModel): string {\r\n let propFunctionRoom = this.getPropertyFunctionRoom(functionRoom.propertyFunctionRoomId);\r\n let itinerary = '';\r\n\r\n if (this.imageSafeUrl != null) {\r\n itinerary = itinerary + '\"hotel-image\"';\r\n }\r\n \r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '
Event Title:' + StringHelper.replaceNull(this.functionFlowModel.functionName) + 'Coordinator:' + StringHelper.replaceNull(this.functionFlowModel.coordinator) + '
Venue:' + StringHelper.replaceNull(propFunctionRoom.name) + 'Date:' + DateHelper.formatDate(functionRoom.date) + '
Attendees:' + StringHelper.replaceNull(functionRoom.attendees) + 'Total:' + StringHelper.formatCurrency(this.token.Currency.Symbol, functionRoom.price) + '
Start:' + DateHelper.formatTime(functionRoom.startTime) + 'End:' + DateHelper.formatTime(functionRoom.endTime) + '
';\r\n itinerary = itinerary + '

Itinerary

';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '';\r\n itinerary = itinerary + '
Time';\r\n itinerary = itinerary + 'Activity';\r\n itinerary = itinerary + 'Notes';\r\n itinerary = itinerary + '
' + DateHelper.formatTime(functionRoom.startTime) + 'Start
';\r\n\r\n return itinerary;\r\n }\r\n \r\n openFiles(index:number) {\r\n this.currentSelectedFunctionRoomId = this.functionFlowModel.functionRooms[index].id;\r\n this.roomFiles = this.functionFlowModel.functionRooms[index].functionFiles;\r\n this.showFiles = true;\r\n }\r\n\r\n cellClickRooms(e) {\r\n let pageIndex = this.gridRooms.instance.pageIndex();\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n if (this.editMode)\r\n {\r\n this.editRoom = true;\r\n this.editIndex = (pageIndex*10) + e.rowIndex;\r\n this.functionSearchModel.currentFunctionRoom = JSON.parse(JSON.stringify(this.functionFlowModel.functionRooms[this.editIndex]));\r\n }\r\n else {\r\n let rowIndex = (pageIndex*10) + e.rowIndex;\r\n this.openEditRoomNewFunction(rowIndex);\r\n }\r\n \r\n }\r\n }\r\n\r\n checkInternalAvailability(): boolean {\r\n let available = true;\r\n let bookingDate = new Date(this.functionSearchModel.currentFunctionRoom.date);\r\n \r\n for (let i=0; i<=this.functionFlowModel.functionRooms.length-1; i++) {\r\n let fr = this.functionFlowModel.functionRooms[i];\r\n\r\n let frDate = new Date(fr.date);\r\n console.log('checkInternalAvailability', bookingDate, frDate, this.functionSearchModel.currentFunctionRoom, this.functionFlowModel.functionRooms)\r\n if (frDate.getDate() == bookingDate.getDate()\r\n && frDate.getMonth() == bookingDate.getMonth()\r\n && frDate.getFullYear() == bookingDate.getFullYear()\r\n && fr.propertyFunctionRoomId == this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId\r\n && fr.id != this.functionSearchModel.currentFunctionRoom.id\r\n && (\r\n fr.morningSession==true && this.functionSearchModel.currentFunctionRoom.morningSession==true \r\n || fr.afternoonSession==true && this.functionSearchModel.currentFunctionRoom.afternoonSession==true \r\n || fr.eveningSession==true && this.functionSearchModel.currentFunctionRoom.eveningSession==true \r\n )\r\n ) {\r\n available = false;\r\n }\r\n }\r\n return available;\r\n }\r\n\r\n addRoomToCart() {\r\n FormHelper.validateAllFormFields(this.roomForm);\r\n this.roomFormSubmitted = true;\r\n let extraValidation = true;\r\n this.loader = true;\r\n if (this.roomForm.valid) {\r\n this.setCurrentFunctionValuesFromForm()\r\n if (extraValidation && this.functionSearchModel.currentFunctionRoom.morningSession !==true && this.functionSearchModel.currentFunctionRoom.afternoonSession !==true && this.functionSearchModel.currentFunctionRoom.eveningSession !==true)\r\n {\r\n this.showToastError('Please select at least one of the sessions.','')\r\n extraValidation = false;\r\n }\r\n\r\n if (extraValidation && (this.functionSearchModel.currentFunctionRoom.date ===null || this.functionSearchModel.currentFunctionRoom.startTime===null || this.functionSearchModel.currentFunctionRoom.endTime===null))\r\n {\r\n this.showToastError('Please select a date, start time and end time.','')\r\n extraValidation = false; \r\n }\r\n\r\n /*\r\n if (extraValidation && this.functionSearchModel.currentFunctionRoom.startTime > this.functionSearchModel.currentFunctionRoom.endTime) {\r\n this.showToastError('Start time must be before the end time.','')\r\n extraValidation = false; \r\n }\r\n */\r\n\r\n if (extraValidation && this.token.Property.CloudHookEPOS && isNaN(this.functionSearchModel.currentFunctionRoom.eposAccountLimit))\r\n {\r\n this.showToastError('Please enter a valid number for the EPOS Limit.','')\r\n extraValidation = false; \r\n }\r\n\r\n if (!this.checkInternalAvailability())\r\n {\r\n this.showToastError('This room is already booked on this date and times within this function.','')\r\n extraValidation = false; \r\n }\r\n\r\n if (extraValidation) {\r\n \r\n //we need to check the date/times to ensure no clashes\r\n this.newFunctionService.checkAvailability(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId, this.functionId, this.functionSearchModel.currentFunctionRoom.date, \r\n this.functionSearchModel.currentFunctionRoom.morningSession === null ? false : this.functionSearchModel.currentFunctionRoom.morningSession, \r\n this.functionSearchModel.currentFunctionRoom.afternoonSession === null ? false : this.functionSearchModel.currentFunctionRoom.afternoonSession, \r\n this.functionSearchModel.currentFunctionRoom.eveningSession === null ? false : this.functionSearchModel.currentFunctionRoom.eveningSession).subscribe(\r\n (response) => {\r\n if (response === \"Available\") {\r\n if (this.editIndex > -1) {\r\n this.functionSearchModel.currentFunctionRoom.startTime = new Date(this.functionSearchModel.currentFunctionRoom.startTime);\r\n this.functionSearchModel.currentFunctionRoom.endTime = new Date(this.functionSearchModel.currentFunctionRoom.endTime);\r\n this.functionFlowModel.functionRooms[this.editIndex] = this.functionSearchModel.currentFunctionRoom;\r\n }\r\n else {\r\n this.functionSearchModel.currentFunctionRoom.basePrice = this.getBasePriceForPropertyFunctionRoom(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n this.functionSearchModel.currentFunctionRoom.functionId = this.functionId;\r\n this.functionSearchModel.currentFunctionRoom.id = -(this.functionFlowModel.functionRooms.length+1); //assign -ve id if an inserted room to be able to assign to extras\r\n this.functionFlowModel.functionRooms.push(this.functionSearchModel.currentFunctionRoom);\r\n }\r\n \r\n if (this.editMode) {\r\n console.log('Saving function room', this.functionSearchModel.currentFunctionRoom);\r\n this.newFunctionService.saveFunctionRoom(this.functionSearchModel.currentFunctionRoom).subscribe(\r\n (response) => {\r\n this.loadFunction();\r\n },\r\n (error) => {\r\n console.log('Error saving function room', error);\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n else {\r\n this.functionSearchModel.currentFunctionRoom = new FunctionRoomModel(-(this.functionFlowModel.functionRooms.length+1), '');\r\n this.clearRoomForm();\r\n this.refreshChosenRooms();\r\n this.calculatePrices();\r\n this.loader = false;\r\n }\r\n }\r\n else if (response === \"AlreadyBooked\") {\r\n this.showToastError('This function room is already booked for the selected date / session.','');\r\n this.loader = false;\r\n }\r\n else {\r\n this.showToastError('This function room is unavailable for the selected date / session, please remove the unavailable setting for this date first.','');\r\n this.loader = false;\r\n }\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n else {\r\n this.loader = false;\r\n }\r\n }\r\n else {\r\n this.loader=false;\r\n }\r\n }\r\n\r\n\r\n validationWarnings(type:number) {\r\n //type 0 = perform validation on all components, 1 =attendees etc.\r\n\r\n let pfr = this.getPropertyFunctionRoom(this.roomForm.get('functionRoom').value);\r\n if (pfr) {\r\n let attendance = this.roomForm.get('attendees').value;\r\n if ((type==0 || type==1) && pfr.maxAttendance < parseInt(attendance)) {\r\n this.warningAttendance = true;\r\n this.warningAttendanceAdvisoryMessage = 'Advisory: the maximum attendance for this function room is ' + pfr.maxAttendance;\r\n setTimeout(() => {this.warningAttendance = false;}, 5000);\r\n }\r\n\r\n let selectedDate = this.roomForm.get('date').value;\r\n\r\n if (selectedDate != null)\r\n {\r\n let selectedDayOfWeek = new Date(selectedDate).getDay();\r\n if ((type==0 || type==2) && !pfr.bookableDays.some(x => x.dayOfWeekId === selectedDayOfWeek)) {\r\n this.warningDate = true;\r\n setTimeout(() => {this.warningDate = false;}, 5000);\r\n }\r\n }\r\n\r\n if ((type==0 || type==3) && this.roomForm.value.morningSession===true && !pfr.sessions.some(x => x.sessionId===0)) {\r\n this.warningMorningSession = true;\r\n setTimeout(() => {this.warningMorningSession = false;}, 5000);\r\n }\r\n\r\n if ((type==0 || type==4) && this.roomForm.value.afternoonSession===true && !pfr.sessions.some(x => x.sessionId===1)) {\r\n this.warningAfternoonSession = true;\r\n setTimeout(() => {this.warningAfternoonSession = false;}, 5000);\r\n }\r\n\r\n if ((type==0 || type==5) && this.roomForm.value.eveningSession===true && !pfr.sessions.some(x => x.sessionId===2)) {\r\n this.warningEveningSession = true;\r\n setTimeout(() => {this.warningEveningSession = false;}, 5000);\r\n }\r\n\r\n }\r\n }\r\n \r\n validateFunctionRoom(pfr: PropertyFunctionRoomModel, currentFunctionRoom: FunctionRoomModel): boolean {\r\n\r\n if (pfr.maxAttendance < currentFunctionRoom.attendees) {\r\n this.showToastError('The number of attendees exceeds the maximum attendance (' + pfr.maxAttendance + ') for this function room.','')\r\n return false; \r\n }\r\n if (!pfr.configurations.some(x => x.id === currentFunctionRoom.configurationId)) {\r\n this.showToastError('The selected function room does not support this configuration','')\r\n return false; \r\n }\r\n if (currentFunctionRoom.morningSession && !pfr.sessions.some(x => x.sessionId===0)) {\r\n this.showToastError('The selected function room does not support morning bookings','')\r\n return false; \r\n }\r\n if (currentFunctionRoom.afternoonSession && !pfr.sessions.some(x => x.sessionId===1)) {\r\n this.showToastError('The selected function room does not support afternoon bookings','')\r\n return false; \r\n }\r\n if (currentFunctionRoom.eveningSession && !pfr.sessions.some(x => x.sessionId===2)) {\r\n this.showToastError('The selected function room does not support evening bookings','')\r\n return false; \r\n }\r\n\r\n let selectedDayOfWeek = new Date(currentFunctionRoom.date).getDay();\r\n if (!pfr.bookableDays.some(x => x.dayOfWeekId === selectedDayOfWeek)) {\r\n this.showToastError('The selected function room does not support a booking on this day of the week.','')\r\n return false; \r\n }\r\n\r\n return true;\r\n }\r\n\r\n validateNotesNoCreditCard(): boolean {\r\n if (this.functionFlowModel.notes == null) {\r\n return true;\r\n }\r\n \r\n let creditCard = this.functionFlowModel.notes.replace(/[0-9]/g, 'X');\r\n\r\n if (creditCard.includes('XXXXXXXXXXXXXXXX')) {\r\n return false;\r\n }\r\n if (creditCard.includes('XXXX-XXXX-XXXX-XXXX')) {\r\n return false;\r\n }\r\n if (creditCard.includes('XXXX.XXXX.XXXX.XXXX')) {\r\n return false;\r\n }\r\n if (creditCard.includes('XXXX/XXXX/XXXX/XXXX')) {\r\n return false;\r\n }\r\n if (creditCard.includes('XXXX XXXX XXXX XXXX')) {\r\n return false;\r\n }\r\n if (creditCard.includes('XXXX,XXXX,XXXX,XXXX')) {\r\n return false;\r\n } \r\n return true;\r\n}\r\n\r\nclearRoomForm() {\r\n this.addToFunctionText = 'Add to function';\r\n this.addRoomText = 'Add a room';\r\n this.clearRoomText = \"Clear\";\r\n this.editIndex = -1;\r\n this.editRoom = false;\r\n\r\n FormHelper.resetForm(this.roomForm);\r\n this.roomForm.get('functionRoom').setValue(undefined);\r\n this.roomForm.get('date').setValue(undefined);\r\n this.roomForm.get('startTime').setValue(this.startTime);\r\n this.roomForm.get('endTime').setValue(this.endTime);\r\n\r\n this.roomFormSubmitted = false;\r\n this.communicationService.setTinyMCEContent.next('');\r\n}\r\n\r\n roomChanged() {\r\n if (this.editMode) {\r\n this.loadFunction();\r\n }\r\n else {\r\n this.refreshChosenRooms();\r\n this.calculatePrices();\r\n }\r\n this.roomFormSubmitted = true;\r\n }\r\n\r\n refreshChosenRooms() {\r\n this.chosenRoomsPageData = [];\r\n for (const room of this.functionFlowModel.functionRooms) {\r\n let roomName = this.getPropertyFunctionRoomName(room.propertyFunctionRoomId);\r\n this.chosenRoomsPageData.push(new FunctionRoomModel(room.id, roomName + ' ' + DateHelper.formatDate(room.date) + ' ' + DateHelper.formatTime(room.startTime), room.attendees));\r\n }\r\n\r\n this.chosenRoomsPageData.unshift(new FunctionRoomModel(0, 'Whole function'));\r\n\r\n }\r\n\r\n confirmDeleteRoom(index:number) {\r\n let pageIndex = this.gridRooms.instance.pageIndex();\r\n this.deleteIndex = (pageIndex*10) + index;\r\n this.deleteRoom = true;\r\n }\r\n\r\n deleteRoomConfirmed() {\r\n //check to ensure there are no extras assigned to the room first\r\n let fr = this.functionFlowModel.functionRooms[this.deleteIndex];\r\n \r\n if (this.functionFlowModel.functionExtras_Catering.some(x => x.functionRoomId === fr.id)\r\n || this.functionFlowModel.functionExtras_Items.some(x => x.functionRoomId === fr.id))\r\n {\r\n this.showToastError('Cannot delete this function room because extras have been assigned to it.');\r\n }\r\n else { \r\n if (this.editMode) {\r\n this.loader = true;\r\n this.newFunctionService.deleteFunctionRoom(fr).subscribe(\r\n (response: string) => {\r\n this.loadFunction();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );;\r\n }\r\n else {\r\n this.functionFlowModel.functionRooms.splice(this.deleteIndex, 1);\r\n }\r\n }\r\n\r\n this.deleteRoom = false;\r\n }\r\n\r\n formatDate(dt) {\r\n return DateHelper.formatDate(dt);\r\n }\r\n\r\n formatTime(dt) {\r\n return DateHelper.formatTime(dt);\r\n }\r\n\r\n\r\n ngOnDestroy() {\r\n window.removeEventListener('message', this.postMessageHandlerNewFunction, false);\r\n }\r\n\r\n openEditRoomNewFunction(index:number) {\r\n this.targetEditIndex = index;\r\n if (FormHelper.isFormTouched(this.roomForm)) {\r\n this.editRoom = true;\r\n }\r\n else {\r\n this.editRoomNewFunctionConfirmed();\r\n }\r\n \r\n }\r\n\r\n editRoomNewFunctionConfirmed() {\r\n this.editIndex = this.targetEditIndex;\r\n this.functionSearchModel.currentFunctionRoom = JSON.parse(JSON.stringify(this.functionFlowModel.functionRooms[this.editIndex]));\r\n console.log('editRoomConfirmed', this.functionSearchModel.currentFunctionRoom);\r\n this.setFormValuesFromCurrentFunctionRoom();\r\n this.editRoom = false;\r\n this.addToFunctionText = 'Save';\r\n this.addRoomText = \"Edit room\";\r\n this.clearRoomText = \"Cancel\";\r\n }\r\n\r\n editRoomDeclined() {\r\n this.editRoom = false;\r\n this.targetEditIndex = -1;\r\n this.addRoomText = \"Add a room\";\r\n }\r\n \r\n onSessionChange(event, item) {\r\n if (item==1) {\r\n this.functionSearchModel.currentFunctionRoom.morningSession = event.target.checked;\r\n this.validationWarnings(3);\r\n\r\n }\r\n if (item==2) {\r\n this.functionSearchModel.currentFunctionRoom.afternoonSession = event.target.checked;\r\n this.validationWarnings(4);\r\n }\r\n if (item==3) {\r\n this.functionSearchModel.currentFunctionRoom.eveningSession = event.target.checked;\r\n this.validationWarnings(5);\r\n }\r\n }\r\n\r\n setFormValuesFromCurrentFunctionRoom() {\r\n\r\n this.roomForm.get('functionRoom').setValue(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId);\r\n this.roomForm.get('configuration').setValue(this.functionSearchModel.currentFunctionRoom.configurationId);\r\n\r\n this.roomForm.get('date').setValue(this.functionSearchModel.currentFunctionRoom.date);\r\n this.roomForm.get('startTime').setValue(this.functionSearchModel.currentFunctionRoom.startTime);\r\n this.roomForm.get('endTime').setValue(this.functionSearchModel.currentFunctionRoom.endTime);\r\n\r\n this.roomForm.patchValue({'morningSession': this.functionSearchModel.currentFunctionRoom.morningSession});\r\n this.roomForm.patchValue({'afternoonSession': this.functionSearchModel.currentFunctionRoom.afternoonSession});\r\n this.roomForm.patchValue({'eveningSession': this.functionSearchModel.currentFunctionRoom.eveningSession});\r\n\r\n this.roomForm.get('attendees').setValue(this.functionSearchModel.currentFunctionRoom.attendees);\r\n this.roomForm.get('price').setValue(this.functionSearchModel.currentFunctionRoom.price);\r\n this.roomForm.get('eposAccountLimit').setValue(this.functionSearchModel.currentFunctionRoom.eposAccountLimit);\r\n this.roomForm.get('basePrice').setValue(this.getBasePriceForPropertyFunctionRoom(this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId));\r\n this.communicationService.setTinyMCEContent.next(this.functionSearchModel.currentFunctionRoom.itinerary);\r\n }\r\n\r\n setCurrentFunctionValuesFromForm() {\r\n this.functionSearchModel.currentFunctionRoom.propertyFunctionRoomId = this.roomForm.get('functionRoom').value;\r\n this.functionSearchModel.currentFunctionRoom.configurationId = this.roomForm.get('configuration').value;\r\n this.functionSearchModel.currentFunctionRoom.date = new Date(this.roomForm.get('date').value);\r\n this.functionSearchModel.currentFunctionRoom.date.setHours(12,0,0);\r\n\r\n let startDateTime = new Date(this.roomForm.get('date').value);\r\n let startTime = new Date(this.roomForm.get('startTime').value);\r\n startDateTime.setHours(startTime.getHours(), startTime.getMinutes(), 0);\r\n\r\n let endDateTime = new Date(this.roomForm.get('date').value);\r\n let endTime = new Date(this.roomForm.get('endTime').value);\r\n endDateTime.setHours(endTime.getHours(), endTime.getMinutes(), 0);\r\n\r\n this.functionSearchModel.currentFunctionRoom.startTime = startDateTime;\r\n this.functionSearchModel.currentFunctionRoom.endTime = endDateTime;\r\n this.functionSearchModel.currentFunctionRoom.morningSession = this.roomForm.value.morningSession;\r\n this.functionSearchModel.currentFunctionRoom.afternoonSession = this.roomForm.value.afternoonSession;\r\n this.functionSearchModel.currentFunctionRoom.eveningSession = this.roomForm.value.eveningSession;\r\n this.functionSearchModel.currentFunctionRoom.attendees = this.roomForm.get('attendees').value;\r\n this.functionSearchModel.currentFunctionRoom.price = this.roomForm.get('price').value;\r\n this.functionSearchModel.currentFunctionRoom.eposAccountLimit = this.roomForm.get('eposAccountLimit').value;\r\n }\r\n \r\n setContactFormValuesFromFunction() {\r\n this.contactForm.get('title').setValue(this.functionFlowModel.title);\r\n this.contactForm.get('firstName').setValue(this.functionFlowModel.firstName);\r\n this.contactForm.get('lastName').setValue(this.functionFlowModel.lastName);\r\n this.contactForm.get('email').setValue(this.functionFlowModel.email);\r\n this.contactForm.get('telephone').setValue(this.functionFlowModel.telephone);\r\n this.contactForm.get('mobile').setValue(this.functionFlowModel.mobilePhone);\r\n this.contactForm.get('address1').setValue(this.functionFlowModel.address1);\r\n this.contactForm.get('address2').setValue(this.functionFlowModel.address2);\r\n this.contactForm.get('address3').setValue(this.functionFlowModel.address3);\r\n this.contactForm.get('address4').setValue(this.functionFlowModel.address4);\r\n this.contactForm.get('postcode').setValue(this.functionFlowModel.postcode);\r\n this.contactForm.get('country').setValue(this.functionFlowModel.countryId);\r\n this.contactForm.get('partner').setValue(this.functionFlowModel.partnerId);\r\n this.contactForm.get('notes').setValue(this.functionFlowModel.notes);\r\n this.contactForm.get('functionName').setValue(this.functionFlowModel.functionName);\r\n this.contactForm.get('status').setValue(this.functionFlowModel.status);\r\n this.contactForm.get('coordinator').setValue(this.functionFlowModel.coordinator);\r\n }\r\n\r\n setContactValuesFromForm() {\r\n this.functionFlowModel.title = this.contactForm.get('title').value;\r\n this.functionFlowModel.firstName = this.contactForm.get('firstName').value;\r\n this.functionFlowModel.lastName = this.contactForm.get('lastName').value;\r\n this.functionFlowModel.email = this.contactForm.get('email').value;\r\n this.functionFlowModel.telephone = this.contactForm.get('telephone').value;\r\n this.functionFlowModel.mobilePhone = this.contactForm.get('mobile').value;\r\n this.functionFlowModel.address1 = this.contactForm.get('address1').value;\r\n this.functionFlowModel.address2 = this.contactForm.get('address2').value;\r\n this.functionFlowModel.address3 = this.contactForm.get('address3').value;\r\n this.functionFlowModel.address4 = this.contactForm.get('address4').value;\r\n this.functionFlowModel.postcode = this.contactForm.get('postcode').value;\r\n this.functionFlowModel.partnerId = this.contactForm.get('partner').value;\r\n this.functionFlowModel.countryId = this.contactForm.get('country').value;\r\n this.functionFlowModel.notes = this.contactForm.get('notes').value;\r\n this.functionFlowModel.status = this.contactForm.get('status').value;\r\n this.functionFlowModel.functionName = this.contactForm.get('functionName').value;\r\n this.functionFlowModel.coordinator = this.contactForm.get('coordinator').value;\r\n }\r\n\r\n\r\n saveContact() {\r\n FormHelper.validateAllFormFields(this.contactForm);\r\n this.contactFormSubmitted = true;\r\n this.setContactValuesFromForm();\r\n\r\n if (this.contactForm.valid) {\r\n this.changeTab(2);\r\n }\r\n \r\n }\r\n\r\n saveSummary() {\r\n FormHelper.validateAllFormFields(this.summaryForm);\r\n this.summaryFormSubmitted = true;\r\n\r\n if (this.summaryForm.valid) {\r\n this.changeTab(5);\r\n }\r\n }\r\n\r\n calculatePrices() {\r\n this.totalRoomsPrice = 0;\r\n this.totalRoomsPriceIncVat = 0;\r\n this.totalExtrasPrice = 0;\r\n this.totalExtrasPriceIncVat = 0;\r\n this.totalPayments = 0;\r\n this.totalInvoices = 0;\r\n\r\n if (this.functionFlowModel.status == 'Confirmed')\r\n {\r\n for (let x=0; x 0) {\r\n this.totalExtrasPriceIncVat += this.functionFlowModel.functionExtras_Items[y].total;\r\n let vat = this.getVat(this.functionFlowModel.functionExtras_Items[y].vatId);\r\n this.totalExtrasPrice += this.functionFlowModel.functionExtras_Items[y].total / (1 + vat.value/100) ;\r\n }\r\n }\r\n }\r\n \r\n if (this.functionFlowModel.functionExtras_Catering != null) {\r\n for (let y=0; y 0) {\r\n this.totalExtrasPriceIncVat += this.functionFlowModel.functionExtras_Catering[y].total;\r\n let vat = this.getVat(this.functionFlowModel.functionExtras_Catering[y].vatId);\r\n this.totalExtrasPrice += this.functionFlowModel.functionExtras_Catering[y].total / (1 + vat.value/100) ;\r\n }\r\n }\r\n }\r\n }\r\n else if (this.functionFlowModel.status == 'Cancelled') {\r\n console.log('Cancelled', this.functionFlowModel);\r\n if (this.functionFlowModel.functionExtras_Items != null) {\r\n for (let y=0; y 0 && this.functionFlowModel.functionExtras_Items[y].saleItem.itemType == \"CancellationItem\") {\r\n this.totalExtrasPriceIncVat += this.functionFlowModel.functionExtras_Items[y].total;\r\n let vat = this.getVat(this.functionFlowModel.functionExtras_Items[y].vatId);\r\n this.totalExtrasPrice += this.functionFlowModel.functionExtras_Items[y].total / (1 + vat.value/100) ;\r\n }\r\n }\r\n }\r\n \r\n if (this.functionFlowModel.functionExtras_Catering != null) {\r\n for (let y=0; y 0 && this.functionFlowModel.functionExtras_Catering[y].saleItem.itemType == \"CancellationItem\") {\r\n this.totalExtrasPriceIncVat += this.functionFlowModel.functionExtras_Catering[y].total;\r\n let vat = this.getVat(this.functionFlowModel.functionExtras_Catering[y].vatId);\r\n this.totalExtrasPrice += this.functionFlowModel.functionExtras_Catering[y].total / (1 + vat.value/100) ;\r\n }\r\n }\r\n }\r\n }\r\n \r\n this.totalPrice = this.totalRoomsPrice + this.totalExtrasPrice;\r\n this.totalPriceIncVat = this.totalRoomsPriceIncVat + this.totalExtrasPriceIncVat;\r\n\r\n if (this.functionFlowModel.functionPayments != null) {\r\n this.functionFlowModel.functionPayments.forEach((x) => {\r\n if (x.status === 'Success') {\r\n this.totalPayments += x.amount;\r\n }\r\n });\r\n }\r\n\r\n if (this.functionFlowModel.functionInvoices != null) {\r\n this.functionFlowModel.functionInvoices.forEach((x) => (this.totalInvoices += x.amount));\r\n }\r\n\r\n if (!this.editMode) {\r\n this.financeForm.get('bookingTotal').setValue(this.totalPriceIncVat);\r\n }\r\n \r\n }\r\n\r\n getSaleItem(functionExtra: FunctionExtraModel, isCatering: boolean) {\r\n if (functionExtra.saleItem) {\r\n return functionExtra.saleItem;\r\n }\r\n if (isCatering)\r\n return functionExtra.saleItemCateringSource.find(x => x.id == functionExtra.saleItemId, 0);\r\n else \r\n return functionExtra.saleItemItemsSource.find(x => x.id == functionExtra.saleItemId, 0);\r\n }\r\n\r\n getVat(vatId: number) {\r\n return this.functionSearchModel.propertyVATs.find(x => x.id === vatId, 0);\r\n }\r\n\r\n \r\n addNewExtra(isCateringItem: boolean) {\r\n if (this.editMode) {\r\n this.addExtra = true;\r\n this.extraType = isCateringItem ? 2 : 1;\r\n }\r\n else {\r\n this.extrasFormSubmitted = false;\r\n const functionExtraModel: FunctionExtraModel = new FunctionExtraModel();\r\n functionExtraModel.saleItemId = null;\r\n functionExtraModel.total = 0;\r\n functionExtraModel.disabledItem = true;\r\n functionExtraModel.disabledSaleItem = true;\r\n functionExtraModel.functionId = this.functionId;\r\n \r\n if (isCateringItem) {\r\n functionExtraModel.extraType = 2;\r\n this.functionFlowModel.functionExtras_Catering.push(functionExtraModel);\r\n } else {\r\n functionExtraModel.extraType = 1;\r\n this.functionFlowModel.functionExtras_Items.push(functionExtraModel);\r\n }\r\n }\r\n }\r\n\r\n getItemClass(data: FunctionExtraModel): string {\r\n const res = this.validateItemQuantity(data);\r\n return res ? '' : 'invalid-sale-item';\r\n }\r\n\r\n extraEventSelected(event, saleItem: FunctionExtraModel) {\r\n \r\n if (saleItem !== null) {\r\n this.getRatePlanSaleItemsForFunction(saleItem, null);\r\n }\r\n }\r\n\r\n getRatePlanSaleItemsForFunction(bookingExtra: FunctionExtraModel, ratePlanId: number) {\r\n //bookingExtra.saleItemId = null;\r\n this.newFunctionService.getRatePlanSaleItemsForFunction(ratePlanId).subscribe(\r\n (response) => {\r\n bookingExtra.saleItemItemsSource = response.filter(x => x.categoryName == 'Functions - Items');\r\n bookingExtra.saleItemCateringSource = response.filter(x => x.categoryName == 'Functions - Catering');\r\n bookingExtra.disabledSaleItem = false;\r\n if (bookingExtra.saleItemId) {\r\n let saleItem = response.find(x => x.id == bookingExtra.saleItemId, 0);\r\n if (saleItem && saleItem.itemType == 'EPOSItem') {\r\n bookingExtra.saleItemCateringSource = response.filter(x => x.categoryName == 'Functions - Catering' || x.itemType=='EPOSItem'); //catering or epos\r\n bookingExtra.disabledSaleItem = true;\r\n bookingExtra.disabledItem = true;\r\n }\r\n } \r\n },\r\n (error) => {}\r\n );\r\n }\r\n\r\n getMinBookingDate(): Date {\r\n let minDate = null;\r\n\r\n for (const room of this.functionFlowModel.functionRooms) {\r\n if (minDate == null || minDate > new Date(room.date)) {\r\n minDate = new Date(room.date);\r\n }\r\n }\r\n\r\n return minDate;\r\n }\r\n\r\n getMinMaxBookingDate(min: boolean): Date {\r\n let currentDate = new Date();\r\n\r\n for (const room of this.functionFlowModel.functionRooms) {\r\n if (new Date(room.date) < currentDate && min) {\r\n currentDate = new Date(room.date);\r\n }\r\n if (new Date(room.date) > currentDate && !min) {\r\n currentDate = new Date(room.date);\r\n }\r\n }\r\n\r\n return currentDate;\r\n}\r\n\r\n setSaleItem(e, data: FunctionExtraModel, extraType: number) {\r\n\r\n if (e.itemData !== null) {\r\n const saleItem: SaleItemWithCategoryNameModel = e.itemData;\r\n\r\n data.saleItemId = saleItem.id;\r\n data.vatId = saleItem.vatId;\r\n data.extraType = extraType;\r\n\r\n data.chargeType = saleItem.chargeType;\r\n data.itemType = saleItem.itemType;\r\n data.quantity = 1;\r\n\r\n if (saleItem.categoryName == 'Functions - Catering') {\r\n if (data.functionRoomId==0) {\r\n data.quantity = this.chosenRoomsPageData.filter(x => x.id != 0).reduce((qty, r) => {\r\n return qty + r.attendees;\r\n }, 0);\r\n }\r\n else {\r\n data.quantity = this.chosenRoomsPageData.find(x => x.id == data.functionRoomId).attendees;\r\n }\r\n }\r\n\r\n data.price = saleItem.price;\r\n data.notes = saleItem.notes;\r\n data.total = data.price * data.quantity;\r\n data.disabledItem = false;\r\n\r\n this.calculatePrices();\r\n }\r\n }\r\n\r\n calculateTotalExtraPrice(functionExtra: FunctionExtraModel ) {\r\n functionExtra.total = functionExtra.quantity * functionExtra.price;\r\n this.calculatePrices();\r\n }\r\n\r\n validateSaleItemPrice(): boolean {\r\n if (this.functionFlowModel.functionExtras_Items != null) {\r\n for (const salItem of this.functionFlowModel.functionExtras_Items) {\r\n if (salItem.quantity < 1) {\r\n return false;\r\n }\r\n }\r\n }\r\n if (this.functionFlowModel.functionExtras_Catering != null) {\r\n for (const salItem of this.functionFlowModel.functionExtras_Catering) {\r\n if (salItem.quantity < 1) {\r\n return false;\r\n }\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n \r\n deleteExtrasModal(index:number, isCateringItem: boolean) {\r\n this.deleteExtraIsCatering = isCateringItem;\r\n if (isCateringItem)\r\n { \r\n let pageIndex = 0; //this.gridExtraCatering.instance.pageIndex();\r\n this.deleteIndex = (pageIndex*10) + index;\r\n }\r\n else {\r\n let pageIndex = 0; //this.gridExtraItems.instance.pageIndex();\r\n this.deleteIndex = (pageIndex*10) + index;\r\n }\r\n \r\n this.deleteExtra = true;\r\n }\r\n\r\n deleteExtraConfirmed() {\r\n if (this.editMode) {\r\n let fExtra = null;\r\n if (this.deleteExtraIsCatering) {\r\n fExtra = this.functionFlowModel.functionExtras_Catering[this.deleteIndex];\r\n }\r\n else {\r\n fExtra = this.functionFlowModel.functionExtras_Items[this.deleteIndex];\r\n }\r\n\r\n this.loader = true;\r\n this.newFunctionService.deleteFunctionExtra(fExtra).subscribe(\r\n (response: string) => {\r\n this.loadFunction();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );;\r\n this.deleteExtra = false; \r\n }\r\n else \r\n {\r\n if (this.deleteExtraIsCatering) {\r\n this.functionFlowModel.functionExtras_Catering.splice(this.deleteIndex, 1);\r\n this.deleteExtra = false;\r\n }\r\n else {\r\n this.functionFlowModel.functionExtras_Items.splice(this.deleteIndex, 1);\r\n this.deleteExtra = false; \r\n }\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 includeDepositChanged(e) {\r\n if (e.target.checked) {\r\n this.financeForm.get('deposit').enable();\r\n this.financeForm.get('type').enable();\r\n this.financeForm.get('paymentDate').enable();\r\n this.financeForm.get('paidBy').enable();\r\n }\r\n else {\r\n this.financeForm.get('deposit').disable();\r\n this.financeForm.get('type').disable();\r\n this.financeForm.get('paymentDate').disable();\r\n this.financeForm.get('paidBy').disable();\r\n }\r\n \r\n }\r\n\r\n confirmBooking() {\r\n FormHelper.validateAllFormFields(this.financeForm);\r\n\r\n this.financeFormSubmitted = true;\r\n\r\n this.functionFlowModel.functionPayment.propertyId = this.token.Property.Id;\r\n this.functionFlowModel.userId = this.token.IsSuperUser ? null : this.token.User.Id;\r\n this.functionFlowModel.superUserId = this.token.IsSuperUser ? this.token.User.Id : null;\r\n this.functionFlowModel.functionPayment.userId = this.token.IsSuperUser ? null : this.token.User.Id;\r\n this.functionFlowModel.functionPayment.superUserId = this.token.IsSuperUser ? this.token.User.Id : null;\r\n\r\n if (this.financeForm.valid || this.functionFlowModel.status === 'Enquiry')\r\n {\r\n //last bits of validation go here\r\n if (!this.validateNotesNoCreditCard()) {\r\n this.showToastError('Storing credit card data in Caterbook data violates your master service agreement and will lead to your account being suspended. You should use Caterpay to verify Card data. Please modify the function notes.');\r\n return;\r\n }\r\n\r\n this.loader = true;\r\n console.log('Function-confirmBooking', this.functionFlowModel);\r\n\r\n if (this.functionFlowModel.status === 'Enquiry') {\r\n this.functionFlowModel.functionPayment.amount = 0;\r\n this.insertNewFunction();\r\n }\r\n else {\r\n this.functionFlowModel.functionPayment.paymentPurpose = 'Deposit';\r\n switch (this.functionFlowModel.functionPayment.paymentType) {\r\n case 'CaterPay':\r\n case 'Verify':\r\n this.newFunctionService.getCaterpayHtmlFormForNewFunction(this.functionFlowModel).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 },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n break;\r\n case 'Tokenise':\r\n this.newFunctionService.getPciCardEntryForm().subscribe(\r\n (response) => {\r\n this.loader = false;\r\n this.pciBookingForm = response;\r\n this.showPaymentFormModal = true;\r\n this.changeDetector.detectChanges();\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n break;\r\n default:\r\n this.insertNewFunction();\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n insertNewFunction() {\r\n this.loader = true;\r\n\r\n this.newFunctionService.insertFunction(this.functionFlowModel).subscribe(\r\n (response: number) => {\r\n this.loader = false;\r\n this.router.navigate(['function/details', response]);\r\n },\r\n (error) => {\r\n this.loader = false;\r\n }\r\n );\r\n }\r\n\r\n saveFunction() {\r\n this.setContactValuesFromForm();\r\n\r\n this.loader = true;\r\n this.newFunctionService.updateFunction(this.functionFlowModel).subscribe(\r\n (response: number) => {\r\n this.loader = false;\r\n this.toasterService.showToast('', 'Function saved', null, ToastEventType.Success, true, 5000);\r\n\r\n this.loadFunction();\r\n },\r\n (error) => {\r\n this.loader = false;\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 addNewRoom() {\r\n this.functionSearchModel.currentFunctionRoom = new FunctionRoomModel(-(this.functionFlowModel.functionRooms.length+1), '');\r\n this.addRoom = true;\r\n }\r\n\r\n printRecepies(payment: FunctionPaymentModel) {\r\n const printData: FunctionPrintModel = {\r\n amount: payment.amount,\r\n functionNo: String(this.functionFlowModel.id),\r\n isRefund: payment.purposeName === 'Refund' ? true : false,\r\n };\r\n this.newFunctionService.clearReceiptData();\r\n this.newFunctionService.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\r\n console.log(element);\r\n\r\n receipt.document.write(element.innerHTML);\r\n }\r\n\r\n togglePaymentTooltip(data: FunctionPaymentModel) {\r\n this.activePaymentId = data.id;\r\n this.paymentTooltipMessage = data.note;\r\n this.showPaymentTooltip = !this.showPaymentTooltip;\r\n }\r\n\r\n cellClickPayments(e) {\r\n if (e.columnIndex === 0 && e.rowType === 'data' && this.token.Property.Functions) {\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 getPaidBy(paidBy: number) {\r\n\r\n if (paidBy > 0) //partner\r\n {\r\n let partner = this.functionSearchModel.partners.find(x => x.id == this.functionFlowModel.partnerId);\r\n if (partner)\r\n return partner.name;\r\n }\r\n if (paidBy == 0) //contact\r\n return (this.functionFlowModel.title==null ? '' : this.functionFlowModel.title + ' ') + \r\n (this.functionFlowModel.firstName==null ? '' : this.functionFlowModel.firstName + ' ') + \r\n (this.functionFlowModel.lastName==null ? '' : this.functionFlowModel.lastName + ' ');\r\n }\r\n\r\n editPayments(id) {\r\n this.currentPaymentId = id;\r\n this.editPayment = true;\r\n }\r\n\r\n addNewInvoice() {\r\n this.addInvoice = true;\r\n }\r\n\r\n editExistInvoice(data: FunctionInvoiceModel) {\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' && this.token.Property.Functions) {\r\n this.editExistInvoice(e.data);\r\n }\r\n }\r\n\r\n openAttachment() {\r\n if (this.sendEmailType == FunctionEmailType.SummaryEmail) {\r\n this.printSummary();\r\n }\r\n else {\r\n this.printInvoice(this.currentInvoiceId);\r\n }\r\n }\r\n\r\n printSummary() {\r\n this.loader = true;\r\n this.newFunctionService.summaryPdf(this.functionId).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, 'FunctionSummary-' + 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 = 'FunctionSummary-' + 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\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.functionId = this.functionId;\r\n invoiceProcessModel.invoiceId = invoiceId;\r\n\r\n invoices.push(invoiceProcessModel);\r\n\r\n this.settingsBillingService.exportInvoicesToPdf(invoices, InvoiceType.Function).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\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 (nav.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 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.newFunctionService.closeInvoice(this.currentInvoiceId).subscribe(\r\n (response) => {\r\n this.loadFunction();\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.newFunctionService.deleteInvoice(this.currentInvoiceId).subscribe(\r\n (response) => {\r\n this.loadFunction();\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.newFunctionService.createCreditNote(this.currentInvoiceId).subscribe(\r\n (response) => {\r\n this.loadFunction();\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 checkInFunctionRoom(functionRoomId: number)\r\n {\r\n this.currentFunctionRoomId = functionRoomId;\r\n this.confirmCheckIn = true;\r\n }\r\n\r\n checkOutFunctionRoom(functionRoomId: number)\r\n {\r\n this.currentFunctionRoomId = functionRoomId;\r\n this.checkOutConfirmFunction();\r\n }\r\n\r\n checkInConfirmFunction() {\r\n this.loader = true;\r\n this.newFunctionService.functionRoomCheckIn(this.currentFunctionRoomId, false).subscribe(\r\n (response) => {\r\n this.loadFunction();\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 {\r\n this.loader = true;\r\n this.newFunctionService.functionRoomCheckOut(this.currentFunctionRoomId).subscribe(\r\n (response) => {\r\n this.loadFunction();\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 SplitCamelCaseString(input: string) {\r\n if (input == null) {\r\n return '';\r\n }\r\n let split = input.replace(/([a-z])([A-Z])/g, '$1 $2').split(' ');\r\n for (let i=1; i {\r\n if (!event.data.token && !event.data.cardMask && !event.data.functionId) {\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 functionId: string = event.data.functionId;\r\n\r\n // new function insert, if successful, redirect to booking details\r\n if (token && cardMask) {\r\n const pciNewFunctionModel: PciNewFunctionModel = new PciNewFunctionModel();\r\n pciNewFunctionModel.functionFlow = this.functionFlowModel;\r\n pciNewFunctionModel.pciBookingToken = token;\r\n pciNewFunctionModel.cardMask = cardMask;\r\n\r\n this.newFunctionService.pciNewFunction(pciNewFunctionModel).subscribe(\r\n (functionIdFromResponse) => {\r\n this.showPaymentFormModal = false;\r\n this.router.navigate(['/function', 'details', functionIdFromResponse]);\r\n },\r\n (error) => {\r\n this.showPaymentFormModal = false;\r\n }\r\n );\r\n }\r\n\r\n if (functionId) {\r\n this.showPaymentFormModal = false;\r\n this.router.navigate(['/function', 'details', functionId]);\r\n }\r\n };\r\n\r\n openBooking(data) {\r\n this.showBookingLinks = false;\r\n this.router.navigate(['/booking', 'details', data.id]);\r\n }\r\n\r\n emailSummary() {\r\n this.sendEmailType = FunctionEmailType.SummaryEmail;\r\n this.showEmailConfirmation=true;\r\n }\r\n\r\n print() {\r\n window.print();\r\n } \r\n\r\n cellClickExtras(e, isCateringItem) {\r\n if (e.columnIndex === 0 && e.rowType === 'data') {\r\n console.log('cellClickExtras',e);\r\n this.editFunctionExtra(e.data, isCateringItem);\r\n }\r\n }\r\n\r\n editFunctionExtra(extraModel: FunctionExtraModel, isCateringItem) {\r\n this.editExtra = true;\r\n this.extraType = isCateringItem ? 2 : 1;\r\n this.currentExtraModel = extraModel;\r\n }\r\n\r\n navigateToCalendar()\r\n {\r\n let minBookingFrom = this.getMinBookingDate();\r\n let fromDate = new Date();\r\n if (minBookingFrom != null) {\r\n fromDate = new Date(minBookingFrom.setDate(minBookingFrom.getDate() - 2));\r\n }\r\n\r\n CookieHelper.setCookie('dateFrom', fromDate, 600, false);\r\n\r\n this.router.navigate(['/booking/calendar']); \r\n }\r\n\r\n cancelFunction() {\r\n this.cancelBookingPopup = true;\r\n }\r\n\r\n cancelFunctionConfirm() {\r\n this.loader = true;\r\n this.newFunctionService.setFunctionStatus(this.functionId, 2).subscribe(\r\n (response) => {\r\n this.loadFunction();\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 confirmFunction() {\r\n this.confirmBookingPopup = true;\r\n }\r\n\r\n confirmFunctionComplete() {\r\n this.loader = true;\r\n this.newFunctionService.setFunctionStatus(this.functionId, 0).subscribe(\r\n (response) => {\r\n this.loadFunction();\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 openConfirmSendingInvoice(invoice) {\r\n this.showEmailConfirmation = true;\r\n this.currentInvoiceId = invoice.id;\r\n this.sendEmailType = FunctionEmailType.GuestInvoiceEmail;\r\n //this.confirmInvoiceSendingPopupMessage = `Are you sure you want to send an invoice to ${invoice.customerName}?`;\r\n //this.sendInvoiceConfirmPopup = true;\r\n }\r\n\r\n confirmInvoiceSend() {\r\n this.loader = true;\r\n\r\n const currentInvoice = this.functionFlowModel.functionInvoices.find((i) => i.id == this.currentInvoiceId);\r\n return this.settingsBillingService\r\n .emailInvoicesWithDefaultTemplates([\r\n {\r\n functionId: currentInvoice.functionId,\r\n invoiceId: currentInvoice.id,\r\n },\r\n ])\r\n .pipe(\r\n first(),\r\n catchError((e) => {\r\n console.error(e);\r\n this.showEmailConfirmation = false;\r\n this.loader = false;\r\n return of(null);\r\n }),\r\n tap((res) => {\r\n this.showEmailConfirmation = false;\r\n this.loader = false;\r\n })\r\n )\r\n .subscribe();\r\n }\r\n\r\n paymentAction(actionType: PaymentActionType, data: FunctionPaymentModel) {\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: FunctionPaymentModel) {\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 voidPayment(data: FunctionPaymentModel) {\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.newFunctionService.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.loadFunction();\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 paymentClass(payment: FunctionPaymentModel) {\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}\r\n","
\r\n
\r\n\r\n
\r\n

\r\n Function #{{ functionFlowModel?.functionNo }} {{functionFlowModel?.functionName}}\r\n \r\n

\r\n
\r\n
    \r\n
  • \r\n Booker: {{ (functionFlowModel?.firstName==null ? '' : functionFlowModel?.firstName) + ' ' + (functionFlowModel?.lastName==null ? '' : functionFlowModel?.lastName)}}\r\n
  • \r\n
  • \r\n Status:\r\n {{ functionFlowModel?.status }}\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n Attendees: {{ attendeesList }}\r\n
  • \r\n
  • \r\n Coordinator: {{ functionFlowModel?.coordinator }}\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n First date: {{ formatDate(firstDate) }}\r\n
  • \r\n
  • \r\n Last date: {{ formatDate(lastDate) }}\r\n
  • \r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n Total: {{ token.Currency.Symbol }}{{ totalPriceIncVat | number: '1.2-2' }}\r\n
  • \r\n
  • \r\n Balance: {{ token.Currency.Symbol }}{{ totalPriceIncVat - totalPayments | 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

New function

\r\n\r\n
1. Details
\r\n
2. Rooms
\r\n
3. Extras
\r\n
4. Summary
\r\n
5. Finance
\r\n
6. Logs
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
Event name
\r\n \r\n\r\n
\r\n\r\n
\r\n
Status
\r\n \r\n \r\n
\r\n\r\n
\r\n
Coordinator
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
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
Corporate booker
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
 
\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
\r\n
First name
\r\n \r\n\r\n
\r\n\r\n
\r\n
Telephone
\r\n \r\n\r\n
\r\n\r\n
\r\n
Mobile phone
\r\n \r\n\r\n
\r\n\r\n
\r\n
Address 3
\r\n \r\n\r\n
\r\n\r\n
\r\n
Address 4
\r\n \r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Last name
\r\n \r\n\r\n
\r\n\r\n
\r\n
Email
\r\n \r\n\r\n
\r\n\r\n
\r\n
Address 1
\r\n \r\n\r\n
\r\n\r\n
\r\n
Address 2
\r\n \r\n
\r\n \r\n
\r\n
Postcode
\r\n \r\n\r\n
\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
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n

Included rooms

\r\n
\r\n \r\n \r\n\r\n
\r\n \r\n {{ getPropertyFunctionRoomName(r.data.propertyFunctionRoomId) }}\r\n
\r\n\r\n
\r\n {{ c.data.configurationId }}\r\n
\r\n\r\n
\r\n {{ formatDate(d.data.date) }} \r\n
\r\n
 
\r\n
 
\r\n
 
\r\n
\r\n
\r\n\r\n
\r\n {{ formatTime(s.data.startTime) }}\r\n
\r\n\r\n
\r\n {{ formatTime(e.data.endTime) }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ p.data.price }}\r\n
\r\n\r\n
\r\n {{ SplitCamelCaseString(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
0 ? 'black' : ''\" *dxTemplate=\"let item of 'itinerary'\">\r\n \r\n
\r\n\r\n
0 ? 'black' : ''\" *dxTemplate=\"let item of 'files'\">\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\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 (inc {{token.Country.VatName}}): {{ token.Currency.Symbol }}\r\n {{ totalRoomsPriceIncVat | number: '1.2-2' }}\r\n

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

{{addRoomText}}

\r\n
\r\n\r\n
\r\n
\r\n
Room
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Advisory: The selected function room does not support a booking on this day of the week\r\n
\r\n
\r\n
\r\n
\r\n
Date
\r\n \r\n \r\n\r\n
\r\n
 
\r\n
 
\r\n
 
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
Session
\r\n
\r\n
\r\n
\r\n
\r\n Advisory: this function room does not support a morning session.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Morning
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Advisory: this function room does not support an afternoon session.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Afternoon
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n Advisory: this function room does not support an evening session.\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Evening
\r\n
\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 configuration
\r\n \r\n \r\n
View
\r\n\r\n
\r\n
X
\r\n \"No\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{warningAttendanceAdvisoryMessage}}\r\n
\r\n
\r\n
\r\n
\r\n
Attendees
\r\n \r\n
\r\n\r\n
\r\n
Suggested price
\r\n \r\n
\r\n\r\n
\r\n
Price
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Start time
\r\n \r\n \r\n
 
\r\n
\r\n\r\n
\r\n
End time
\r\n \r\n \r\n
\r\n\r\n
\r\n
EPOS Limit
\r\n \r\n
\r\n\r\n
\r\n
 
\r\n \r\n {{clearRoomText}}\r\n \r\n \r\n {{addToFunctionText}}\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\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 \r\n \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 {{ 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\r\n

Catering

\r\n \r\n\r\n \r\n \r\n \r\n \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 {{ 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 {{\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

\r\n Extras total: {{ token.Currency.Symbol }}{{ totalExtrasPriceIncVat | number: '1.2-2' }}\r\n

\r\n\r\n

\r\n Total (ex {{token.Country.VatName}}): {{ 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
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n

Items

\r\n\r\n \r\n
\r\n \r\n {{ n.data.saleItem.name }}\r\n
\r\n\r\n
\r\n Whole function \r\n \r\n {{ getEventName(item.data.functionRoomId) }}\r\n \r\n
\r\n\r\n
\r\n {{ q.data.quantity }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ item.data.price | number: '1.2-2' }}\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
\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\r\n

Catering

\r\n \r\n \r\n
\r\n \r\n {{ n.data.saleItem.name }}\r\n
\r\n\r\n
\r\n Whole function \r\n \r\n {{ getEventName(item.data.functionRoomId) }}\r\n \r\n
\r\n\r\n
\r\n {{ q.data.quantity }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ item.data.price | number: '1.2-2' }}\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
\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

\r\n Extras total: {{ token.Currency.Symbol }}{{ totalExtrasPriceIncVat | number: '1.2-2' }}\r\n

\r\n\r\n

\r\n Total (ex {{token.Country.VatName}}): {{ 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
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n

Summary

\r\n\r\n

Rooms

\r\n\r\n \r\n\r\n
\r\n {{ getPropertyFunctionRoomName(r.data.propertyFunctionRoomId) }}\r\n
\r\n\r\n
\r\n {{ c.data.configurationId }}\r\n
\r\n\r\n
\r\n {{ formatDate(d.data.date) }}\r\n
\r\n\r\n
\r\n {{ formatTime(s.data.startTime) }}\r\n
\r\n\r\n
\r\n {{ formatTime(e.data.endTime) }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ p.data.price }}\r\n
\r\n \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
\r\n {{ getSaleItemName(i.data, false) }}\r\n
\r\n\r\n
\r\n {{ s.data.notes == null ? '-' : s.data.notes }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ p.data.price }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ t.data.total }}\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n

Catering

\r\n\r\n \r\n\r\n
\r\n {{ getSaleItemName(i.data, true) }}\r\n
\r\n\r\n
\r\n {{ s.data.notes == null ? '-' : s.data.notes }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ p.data.price }}\r\n
\r\n\r\n
\r\n {{ token.Currency.Symbol }}{{ t.data.total }}\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 }}{{ totalPriceIncVat | number: '1.2-2' }}\r\n

\r\n\r\n

\r\n Total (ex {{token.Country.VatName}}): {{ token.Currency.Symbol }}{{ totalPrice | 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
Include Deposit?
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n
\r\n
Booking total ({{ token.Currency.Symbol }})
\r\n \r\n\r\n
\r\n\r\n
\r\n
Deposit ({{ token.Currency.Symbol }})
\r\n \r\n Minimum is 0\r\n
\r\n\r\n
\r\n
Paid by
\r\n \r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Payment type
\r\n \r\n \r\n
\r\n\r\n
\r\n
Payment date
\r\n \r\n \r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \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 {{ getPaidBy(item.data.paidBy) }}\r\n
\r\n \r\n\r\n \r\n {{ item.data.type.name }}\r\n \r\n\r\n \r\n {{ item.data.paymentDate | datex: 'DD/MM/YYYY H:mm' }}\r\n \r\n\r\n \r\n {{ token.Currency.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 \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \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 \r\n \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 {{ token.Currency.Symbol }}{{ totalPayments | number: '1.2-2' }}\r\n

\r\n
\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 {{ token.Currency.Symbol }}{{ item.data.amount | number: '1.2-2' }}\r\n
\r\n
\r\n {{ token.Currency.Symbol }}{{ item.data.paid | number: '1.2-2' }}\r\n
\r\n
\r\n {{ token.Currency.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
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 {{ token.Currency.Symbol }}{{ totalInvoices | 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

Logs

\r\n \r\n \r\n
\r\n {{ item.data.dateCreated | 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\r\n
\r\n\r\n \r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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"],"names":["FunctionEmailType","FileInsertModel","constructor","_defineProperty","PropertyFileModel","EventEmitter","AuthTokenService","Validators","ToastEventType","BookingFunction","DateHelper","i0","ɵɵelementStart","ɵɵlistener","FunctionBookingLinkComponent_div_11_ul_1_Template_li_click_1_listener","restoredCtx","ɵɵrestoreView","_r8","booking_r6","$implicit","ctx_r7","ɵɵnextContext","ɵɵresetView","setBooking","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ctx_r5","getBookingDescription","ɵɵtextInterpolate1","ɵɵtemplate","FunctionBookingLinkComponent_div_11_ul_1_Template","ctx_r0","bookingsList","ɵɵelement","ɵɵpureFunction1","_c0","ctx_r10","theme","FunctionBookingLinkComponent_div_15_i_1_Template","item_r9","data","firstRoom","FunctionBookingLinkComponent_div_16_Template_i_click_1_listener","_r13","item_r11","ctx_r12","confirmUnLink","id","ɵɵtwoWayListener","FunctionBookingLinkComponent_app_delete_modal_23_Template_app_delete_modal_deleteModalChange_0_listener","$event","_r15","ctx_r14","ɵɵtwoWayBindingSet","unLink","FunctionBookingLinkComponent_app_delete_modal_23_Template_app_delete_modal_delete_0_listener","ctx_r16","unLinkConfirmed","ɵɵtwoWayProperty","ctx_r4","FunctionBookingLinkComponent","_FunctionBookingLinkComponent","bookingDetailsService","communicationService","toasterService","newFunctionService","fb","token","decodeJwtToken","User","CmsTheme","linkForm","group","fileDescription","required","file","ngOnInit","buildRoomData","onClickOutside","event","console","log","showBookings","roomData","addedBookings","i","bookingLinks","length","booking","bookingDetails","j","bookingRooms","bookingRoom","room","getRoomFromBookingObjects","indexOf","push","_bookingRoom$room$roo","bookingNo","status","fullName","roomType","name","from","formatDate","bookingFrom","to","bookingTo","adults","children","searchBookings","noSearchResults","searchValue","subscribe","response","error","desc","leadGuestName","leadGuestEmail","getMinMaxBookingDate","min","currentDate","Date","showToastError","bookingLink","bookingId","functionId","editMode","addBookingLink","message","title","showToast","Error","cellClickBooking","e","columnIndex","rowType","bookingOpened","emit","deleteBookingId","model","deleteBookingLink","splice","closePopup","bookingLinksChange","linksClosed","ɵɵdirectiveInject","i1","BookingDetailsService","i2","CommunicationService","i3","ToastService","i4","NewFunctionService","i5","UntypedFormBuilder","selectors","inputs","readOnly","outputs","decls","vars","consts","template","FunctionBookingLinkComponent_Template","rf","ctx","FunctionBookingLinkComponent_Template_div_clickOutside_7_listener","FunctionBookingLinkComponent_Template_input_ngModelChange_10_listener","FunctionBookingLinkComponent_Template_input_keyup_10_listener","FunctionBookingLinkComponent_div_11_Template","FunctionBookingLinkComponent_div_12_Template","FunctionBookingLinkComponent_Template_dx_data_grid_onCellClick_14_listener","FunctionBookingLinkComponent_div_15_Template","FunctionBookingLinkComponent_div_16_Template","FunctionBookingLinkComponent_Template_button_click_21_listener","FunctionBookingLinkComponent_app_delete_modal_23_Template","ɵɵpureFunctionV","_c10","ɵɵpureFunction0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","_c9","FunctionEmailModel","FormHelper","FunctionConfirmationEmailComponent_button_30_Template_button_click_0_listener","_r3","ctx_r2","sendEmail","emailSent","FunctionConfirmationEmailComponent","_FunctionConfirmationEmailComponent","functionService","authLoginService","sanitizer","emailForm","subject","recipient","includeAttachment","loader","processEmailTemplate","function","emailType","emailContent","attachmentType","setTinyMCEContent","next","emailClosed","setValueFromEditor","value","openAttachment","openAttachmentEvent","validateAllFormFields","valid","SummaryEmail","attachmentId","invoiceId","sendFunctionEmail","Success","AuthLoginService","DomSanitizer","i6","propertyFunctionRooms","totalPrice","totalPriceIncVat","FunctionConfirmationEmailComponent_Template","FunctionConfirmationEmailComponent_Template_input_ngModelChange_16_listener","FunctionConfirmationEmailComponent_Template_input_ngModelChange_20_listener","FunctionConfirmationEmailComponent_Template_input_ngModelChange_24_listener","FunctionConfirmationEmailComponent_Template_span_click_25_listener","FunctionConfirmationEmailComponent_Template_app_tiny_editor_onEditorContentChange_28_listener","FunctionConfirmationEmailComponent_button_30_Template","FunctionConfirmationEmailComponent_Template_button_click_31_listener","FunctionConfirmationEmailComponent_div_33_Template","NewInvoiceDetailsPDModel","CurrencyContext","ɵɵtextInterpolate2","currencyContext","Symbol","ɵɵpipeBind2","item_r21","total","d_r22","item_r23","quantity","item_r24","paymentDate","ctx_r17","item_r25","amount","FunctionDetailsAddInvoiceComponent_app_function_details_create_invoice_preview_114_Template_app_function_details_create_invoice_preview_createInvoicePreviewChange_0_listener","_r27","ctx_r26","confirmInvoice","FunctionDetailsAddInvoiceComponent_app_function_details_create_invoice_preview_114_Template_app_function_details_create_invoice_preview_update_0_listener","ctx_r28","updateInvoice","ctx_r20","invoiceDetailsPDModel","invoice","FunctionDetailsAddInvoiceComponent","_FunctionDetailsAddInvoiceComponent","valForm","customerName","compose","maxLength","customerAddress","customerAddress2","customerAddress3","customerAddress4","customerCountry","customerData1","customerData2","poRef","Currency","init","newInvoice","invoiceToList","setHeaderDetails","invoiceAccount","invoiceTo","accountId","selectedItems","invoiceItems","functionPaymentItems","filter","x","paymentType","selectedPaymentItems","controls","markAsTouched","headerDetails","header","invoiceNo","accountType","guestId","partnerId","dateCreated","templateId","customerPostalCode","customerAdditionalData1","customerAdditionalData2","setHeaderDetailsDevex","itemData","submitInvoice","stopPropagation","c","rooms","items","functionPayments","close","addInvoiceChange","totalItemsPrice","forEach","totalAmountOfPayments","balanceInvoice","print","printInvoice","update","viewQuery","FunctionDetailsAddInvoiceComponent_Query","FunctionDetailsAddInvoiceComponent_Template_dx_select_box_onItemClick_8_listener","FunctionDetailsAddInvoiceComponent_Template_form_ngSubmit_10_listener","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_17_listener","FunctionDetailsAddInvoiceComponent_span_18_Template","FunctionDetailsAddInvoiceComponent_span_19_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_23_listener","FunctionDetailsAddInvoiceComponent_span_24_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_28_listener","FunctionDetailsAddInvoiceComponent_span_29_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_33_listener","FunctionDetailsAddInvoiceComponent_span_34_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_40_listener","FunctionDetailsAddInvoiceComponent_span_41_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_43_listener","FunctionDetailsAddInvoiceComponent_span_44_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_46_listener","FunctionDetailsAddInvoiceComponent_span_47_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_49_listener","FunctionDetailsAddInvoiceComponent_span_50_Template","FunctionDetailsAddInvoiceComponent_Template_input_ngModelChange_54_listener","FunctionDetailsAddInvoiceComponent_span_55_Template","FunctionDetailsAddInvoiceComponent_Template_dx_data_grid_selectedRowKeysChange_59_listener","FunctionDetailsAddInvoiceComponent_div_61_Template","FunctionDetailsAddInvoiceComponent_div_62_Template","FunctionDetailsAddInvoiceComponent_div_63_Template","FunctionDetailsAddInvoiceComponent_Template_dx_data_grid_selectedRowKeysChange_79_listener","FunctionDetailsAddInvoiceComponent_div_81_Template","FunctionDetailsAddInvoiceComponent_div_82_Template","FunctionDetailsAddInvoiceComponent_button_110_Template","FunctionDetailsAddInvoiceComponent_div_111_Template","FunctionDetailsAddInvoiceComponent_Template_button_click_112_listener","FunctionDetailsAddInvoiceComponent_app_function_details_create_invoice_preview_114_Template","hasError","dirty","touched","ɵɵpureFunction4","ɵɵpureFunction6","_c15","_c11","_c12","_c13","_c14","InvoiceDetailsModel","item_r10","priceIncVat","ctx_r1","item_r12","item_r13","vatAmount","item_r14","item_r15","FunctionDetailsCreateInvoicePreviewComponent_button_100_Template_button_click_0_listener","_r17","FunctionDetailsCreateInvoicePreviewComponent_button_102_Template_button_click_0_listener","_r19","ctx_r18","confirmAndPrint","FunctionDetailsCreateInvoicePreviewComponent","_FunctionDetailsCreateInvoicePreviewComponent","countryContext","Country","invoiceDetailsModel","JSON","parse","stringify","invoiceDetails","createInvoice","loaderPrint","createInvoicePreviewChange","onCellPrepared","column","dataField","commandCell","cellElement","innerHTML","replace","VatName","createInvoicePreview","FunctionDetailsCreateInvoicePreviewComponent_Template","FunctionDetailsCreateInvoicePreviewComponent_Template_dx_data_grid_onCellPrepared_52_listener","FunctionDetailsCreateInvoicePreviewComponent_div_53_Template","FunctionDetailsCreateInvoicePreviewComponent_div_54_Template","FunctionDetailsCreateInvoicePreviewComponent_div_55_Template","FunctionDetailsCreateInvoicePreviewComponent_div_56_Template","FunctionDetailsCreateInvoicePreviewComponent_div_72_Template","FunctionDetailsCreateInvoicePreviewComponent_div_73_Template","FunctionDetailsCreateInvoicePreviewComponent_button_100_Template","FunctionDetailsCreateInvoicePreviewComponent_div_101_Template","FunctionDetailsCreateInvoicePreviewComponent_button_102_Template","FunctionDetailsCreateInvoicePreviewComponent_div_103_Template","FunctionDetailsCreateInvoicePreviewComponent_Template_button_click_104_listener","ɵɵtextInterpolate","ɵɵpureFunction5","FunctionRoomModel","FunctionExtraModel","FunctionDetailsExtrasComponent","_FunctionDetailsExtrasComponent","changeDetRef","item","price","uom","itemType","notes","functionRooms","functionRoomsSource","getRatePlanSaleItemsForFunction","editFunctionExtra","functionExtraModel","extraModel","functionRoomId","getRoomFromExtrasSource","setValue","saleItemId","addFunctionExtra","disabledItem","disabledSaleItem","disableFormControls","disable","enableFormControls","enable","getSaleItemsOnEdit","getSaleItems","ratePlanId","extraType","saleItemsSource","categoryName","saleItem","find","saleItemCateringSource","setSaleItem","vatId","chargeType","reduce","qty","r","attendees","calculateTotalExtraPrice","Math","round","submitFunctionExtra","saveFunctionExtra","roomChanged","addFunctionExtraChange","editFunctionExtraChange","ChangeDetectorRef","FunctionDetailsExtrasComponent_Template","FunctionDetailsExtrasComponent_h2_3_Template","FunctionDetailsExtrasComponent_h2_4_Template","FunctionDetailsExtrasComponent_Template_form_ngSubmit_8_listener","FunctionDetailsExtrasComponent_Template_dx_select_box_valueChange_12_listener","FunctionDetailsExtrasComponent_Template_dx_select_box_onItemClick_12_listener","FunctionDetailsExtrasComponent_span_13_Template","ɵɵelementContainerStart","FunctionDetailsExtrasComponent_Template_dx_select_box_valueChange_18_listener","FunctionDetailsExtrasComponent_Template_dx_select_box_onItemClick_18_listener","ɵɵelementContainerEnd","FunctionDetailsExtrasComponent_span_19_Template","FunctionDetailsExtrasComponent_Template_input_ngModelChange_23_listener","FunctionDetailsExtrasComponent_Template_input_ngModelChange_27_listener","FunctionDetailsExtrasComponent_Template_input_ngModelChange_31_listener","FunctionDetailsExtrasComponent_Template_input_change_31_listener","FunctionDetailsExtrasComponent_span_32_Template","FunctionDetailsExtrasComponent_span_33_Template","FunctionDetailsExtrasComponent_Template_input_ngModelChange_37_listener","FunctionDetailsExtrasComponent_Template_input_change_37_listener","FunctionDetailsExtrasComponent_span_38_Template","FunctionDetailsExtrasComponent_Template_input_ngModelChange_42_listener","FunctionDetailsExtrasComponent_Template_input_ngModelChange_46_listener","FunctionDetailsExtrasComponent_button_47_Template","FunctionDetailsExtrasComponent_div_48_Template","FunctionDetailsExtrasComponent_Template_button_click_49_listener","ɵɵattribute","FunctionFileModel","_","s_r5","propertyFile","dateUploaded","toLocaleDateString","s_r6","filesizeKb","FunctionDetailsFilesComponent_div_24_Template_i_click_2_listener","_r9","item_r7","ctx_r8","downloadFile","FunctionDetailsFilesComponent_div_25_Template_i_click_2_listener","_r12","ctx_r11","confirmDeleteFile","fileId","FunctionDetailsFilesComponent_app_delete_modal_32_Template_app_delete_modal_deleteModalChange_0_listener","_r14","ctx_r13","deleteFile","FunctionDetailsFilesComponent_app_delete_modal_32_Template_app_delete_modal_delete_0_listener","ctx_r15","deleteFileConfirmed","FunctionDetailsFilesComponent","_FunctionDetailsFilesComponent","fileService","fileForm","loadFiles","getFunctionRoomFiles","uploadedFiles","element","propFile","download","res","blob","Blob","blobUrl","URL","createObjectURL","a","document","createElement","body","appendChild","href","fileName","target","click","removeAttribute","deleteFileId","deleteFunctionRoomFile","roomFiles","reject","el","filesChanged","delete","fileDescriptionBlur","addFile","roomFile","uploadFunctionRoomFile","files","reset","fileCategory","upload","fileChanged","component","urlStringReader","FileReader","isValidUploadData","addEventListener","src","result","readAsDataURL","Object","keys","size","roomFilesChange","filesClosed","FileService","FunctionDetailsFilesComponent_Template","FunctionDetailsFilesComponent_Template_input_blur_11_listener","FunctionDetailsFilesComponent_Template_input_change_16_listener","FunctionDetailsFilesComponent_Template_button_click_18_listener","FunctionDetailsFilesComponent_div_22_Template","FunctionDetailsFilesComponent_div_23_Template","FunctionDetailsFilesComponent_div_24_Template","FunctionDetailsFilesComponent_div_25_Template","FunctionDetailsFilesComponent_Template_button_click_30_listener","FunctionDetailsFilesComponent_app_delete_modal_32_Template","FunctionDetailsItineraryComponent","_FunctionDetailsItineraryComponent","itinerary","saveItinerary","itineraryUpdated","itineraryClosed","tinyMCEPrint","FunctionDetailsItineraryComponent_Template","FunctionDetailsItineraryComponent_Template_app_tiny_editor_onEditorContentChange_5_listener","FunctionDetailsItineraryComponent_Template_button_click_7_listener","FunctionDetailsItineraryComponent_Template_button_click_9_listener","FunctionDetailsItineraryComponent_Template_button_click_11_listener","EnumModel","PermissionsEnum","ɵɵpropertyInterpolate","ctx_r3","getAvailabilityDescription","availability","amClassName","pmClassName","eveClassName","FunctionDetailsRoomComponent_div_18_div_8_Template_div_click_1_listener","closeConfiguration","ɵɵstyleProp","warningAttendanceAdvisoryMessage","FunctionDetailsRoomComponent_div_18_div_52_Template_input_valueChange_3_listener","_r16","functionSearchModel","currentFunctionRoom","eposAccountLimit","FunctionDetailsRoomComponent_div_18_Template_dx_select_box_valueChange_5_listener","_r18","configurationId","FunctionDetailsRoomComponent_div_18_Template_dx_select_box_onItemClick_5_listener","ctx_r19","configurationChanged","FunctionDetailsRoomComponent_div_18_Template_div_click_6_listener","viewConfiguration","FunctionDetailsRoomComponent_div_18_div_8_Template","FunctionDetailsRoomComponent_div_18_div_10_Template","FunctionDetailsRoomComponent_div_18_Template_input_valueChange_13_listener","ctx_r21","FunctionDetailsRoomComponent_div_18_Template_input_blur_13_listener","ctx_r22","validationWarnings","FunctionDetailsRoomComponent_div_18_Template_input_valueChange_22_listener","ctx_r23","FunctionDetailsRoomComponent_div_18_Template_dx_date_box_valueChange_27_listener","ctx_r24","startTime","FunctionDetailsRoomComponent_div_18_Template_dx_date_box_valueChange_31_listener","ctx_r25","endTime","FunctionDetailsRoomComponent_div_18_div_38_Template","FunctionDetailsRoomComponent_div_18_Template_input_valueChange_39_listener","morningSession","FunctionDetailsRoomComponent_div_18_Template_input_change_39_listener","ctx_r27","onSessionChange","FunctionDetailsRoomComponent_div_18_div_43_Template","FunctionDetailsRoomComponent_div_18_Template_input_valueChange_44_listener","afternoonSession","FunctionDetailsRoomComponent_div_18_Template_input_change_44_listener","ctx_r29","FunctionDetailsRoomComponent_div_18_div_48_Template","FunctionDetailsRoomComponent_div_18_Template_input_valueChange_49_listener","ctx_r30","eveningSession","FunctionDetailsRoomComponent_div_18_Template_input_change_49_listener","ctx_r31","FunctionDetailsRoomComponent_div_18_div_52_Template","configurations","showConfigurationTooltip","warningAttendance","warningMorningSession","warningAfternoonSession","warningEveningSession","Property","CloudHookEPOS","disabledPaymentControl","showMiscRefundWithWarning","FunctionDetailsRoomComponent","_FunctionDetailsRoomComponent","fbSearchRooms","permissionsService","permissionsModel","createPermissionsModel","NewFunction","setHours","roomForm","functionRoom","configuration","max","date","basePrice","disabled","editFunctionRoom","setFormValuesFromCurrentFunctionRoom","getAvailability","addFunctionRoomChange","editFunctionRoomChange","functionRoomChanged","functionRoomChangedHandler","propertyFunctionRoomId","getBasePriceForPropertyFunctionRoom","get","showConfigurationsForFunctionRoom","functionRoomSelected","defaultEposAccountLimit","pfr","config","String","type","getPropertyFunctionRoom","attendance","maxAttendance","parseInt","setTimeout","selectedDate","selectedDayOfWeek","getDay","bookableDays","some","dayOfWeekId","warningDate","sessions","sessionId","amFunctionStatus","amFunctionId","pmFunctionStatus","pmFunctionId","eveFunctionStatus","eveFunctionId","submitFunctionRoom","extraValidation","setCurrentFunctionValuesFromForm","isNaN","checkInternalAvailability","checkAvailability","saveFunctionRoom","checked","patchValue","startDateTime","getHours","getMinutes","endDateTime","available","bookingDate","fr","frDate","getDate","getMonth","getFullYear","amEventName","pmEventName","eveEventName","FormBuilder","PermissionsService","addFunctionRoom","FunctionDetailsRoomComponent_Template","FunctionDetailsRoomComponent_h2_3_Template","FunctionDetailsRoomComponent_h2_4_Template","FunctionDetailsRoomComponent_Template_form_ngSubmit_5_listener","FunctionDetailsRoomComponent_Template_dx_select_box_valueChange_11_listener","FunctionDetailsRoomComponent_Template_dx_select_box_onValueChanged_11_listener","FunctionDetailsRoomComponent_div_13_Template","FunctionDetailsRoomComponent_Template_dx_date_box_valueChange_16_listener","FunctionDetailsRoomComponent_Template_dx_date_box_onValueChanged_16_listener","FunctionDetailsRoomComponent_div_17_Template","FunctionDetailsRoomComponent_div_18_Template","FunctionDetailsRoomComponent_button_21_Template","FunctionDetailsRoomComponent_div_22_Template","FunctionDetailsRoomComponent_Template_button_click_24_listener","TokenContext","propertyInfo","imageSafeUrl","ɵɵsanitizeUrl","address2","address3","postalCode","ctx_r6","phone","vatNo","FunctionPrintReceiptComponent","_FunctionPrintReceiptComponent","receiptInfo","getReceiptData","toDateString","getPropertyContact","setPicture","getPropertyInvoiceLogoBase64","propertyThumbnail","bypassSecurityTrustUrl","showImage","generated","content","nativeElement","FunctionPrintReceiptComponent_Query","FunctionPrintReceiptComponent_div_3_Template","FunctionPrintReceiptComponent_ng_container_4_Template","FunctionPrintReceiptComponent_ng_container_23_Template","FunctionPrintReceiptComponent_ng_container_24_Template","FunctionPrintReceiptComponent_ng_container_25_Template","FunctionPrintReceiptComponent_ng_container_27_Template","FunctionPrintReceiptComponent_ng_container_28_Template","isRefund","ɵɵtextInterpolate4","functionNo","address","CommonModule","FormsModule","ReactiveFormsModule","SharedModule","AuthGuardUserByRole","RouterModule","mapToCanActivate","SettingsNewFunctionComponent","DxTagBoxModule","DxContextMenuModule","DxDateBoxModule","DxPopoverModule","DxSelectBoxModule","DxDataGridModule","DxTextBoxModule","DxTooltipModule","DxRadioGroupModule","functionRoutes","path","canActivate","roles","FunctionModule","_FunctionModule","imports","forChild","declarations","FunctionFlowModel","FunctionSearchModel","InvoiceProcessModel","PciNewFunctionModel","InvoiceType","first","tap","catchError","of","StringHelper","CookieHelper","PaymentActionType","SettingsNewFunctionComponent_div_0_div_2_span_6_Template_span_click_0_listener","_r42","ctx_r41","navigateToCalendar","SettingsNewFunctionComponent_div_0_div_2_button_52_Template_button_click_0_listener","_r44","ctx_r43","cancelFunction","SettingsNewFunctionComponent_div_0_div_2_button_53_Template_button_click_0_listener","_r46","ctx_r45","confirmFunction","SettingsNewFunctionComponent_div_0_div_2_button_54_Template_button_click_0_listener","_r48","ctx_r47","SettingsNewFunctionComponent_div_0_div_2_span_6_Template","SettingsNewFunctionComponent_div_0_div_2_button_52_Template","SettingsNewFunctionComponent_div_0_div_2_button_53_Template","SettingsNewFunctionComponent_div_0_div_2_button_54_Template","SettingsNewFunctionComponent_div_0_div_2_Template_button_click_55_listener","_r50","ctx_r49","openBookingLinks","functionFlowModel","functionName","firstName","lastName","attendeesList","coordinator","firstDate","lastDate","totalPayments","linkedBookings","SettingsNewFunctionComponent_div_0_div_14_Template_div_click_0_listener","_r52","ctx_r51","changeTab","classTab6","SettingsNewFunctionComponent_div_0_div_15_div_89_button_1_Template_button_click_0_listener","_r57","ctx_r56","saveFunction","SettingsNewFunctionComponent_div_0_div_15_div_89_button_2_Template_button_click_0_listener","_r59","ctx_r58","saveContact","SettingsNewFunctionComponent_div_0_div_15_div_89_button_1_Template","SettingsNewFunctionComponent_div_0_div_15_div_89_button_2_Template","ctx_r53","SettingsNewFunctionComponent_div_0_div_15_Template_form_ngSubmit_2_listener","_r61","ctx_r60","selectContact","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_8_listener","ctx_r62","SettingsNewFunctionComponent_div_0_div_15_Template_dx_select_box_valueChange_12_listener","ctx_r63","SettingsNewFunctionComponent_div_0_div_15_Template_dx_select_box_onItemClick_12_listener","ctx_r64","statusChanged","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_16_listener","ctx_r65","SettingsNewFunctionComponent_div_0_div_15_Template_textarea_ngModelChange_21_listener","ctx_r66","SettingsNewFunctionComponent_div_0_div_15_Template_dx_select_box_valueChange_29_listener","ctx_r67","SettingsNewFunctionComponent_div_0_div_15_Template_dx_select_box_onValueChanged_29_listener","ctx_r68","partnerChanged","SettingsNewFunctionComponent_div_0_div_15_Template_button_click_34_listener","ctx_r69","addNewPartner","SettingsNewFunctionComponent_div_0_div_15_Template_dx_select_box_valueChange_41_listener","ctx_r70","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_45_listener","ctx_r71","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_49_listener","ctx_r72","telephone","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_53_listener","ctx_r73","mobilePhone","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_57_listener","ctx_r74","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_61_listener","ctx_r75","address4","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_66_listener","ctx_r76","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_70_listener","ctx_r77","email","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_74_listener","ctx_r78","address1","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_78_listener","ctx_r79","SettingsNewFunctionComponent_div_0_div_15_Template_input_valueChange_82_listener","ctx_r80","postcode","SettingsNewFunctionComponent_div_0_div_15_Template_dx_select_box_valueChange_86_listener","ctx_r81","countryId","SettingsNewFunctionComponent_div_0_div_15_div_89_Template","contactForm","statuses","partners","titles","countries","Functions","ctx_r83","getPropertyFunctionRoomName","r_r97","c_r98","d_r99","SettingsNewFunctionComponent_div_0_div_16_div_9_div_2_Template","ctx_r85","ctx_r86","formatTime","s_r102","ctx_r87","e_r103","ctx_r88","p_r104","ctx_r89","SplitCamelCaseString","s_r105","SettingsNewFunctionComponent_div_0_div_16_div_14_ng_container_1_Template_i_click_1_listener","_r111","item_r106","ctx_r109","checkInFunctionRoom","SettingsNewFunctionComponent_div_0_div_16_div_14_ng_container_2_Template_i_click_1_listener","_r115","ctx_r113","checkOutFunctionRoom","SettingsNewFunctionComponent_div_0_div_16_div_14_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_16_div_14_ng_container_2_Template","ctx_r90","SettingsNewFunctionComponent_div_0_div_16_div_15_i_1_Template_i_click_0_listener","_r120","item_r116","ctx_r118","openItinerary","rowIndex","SettingsNewFunctionComponent_div_0_div_16_div_15_i_1_Template","ctx_r91","SettingsNewFunctionComponent_div_0_div_16_div_16_i_1_Template_i_click_0_listener","_r125","item_r121","ctx_r123","openFiles","SettingsNewFunctionComponent_div_0_div_16_div_16_i_1_Template","functionFiles","ctx_r92","SettingsNewFunctionComponent_div_0_div_16_div_17_i_1_Template_i_click_0_listener","_r130","item_r126","ctx_r128","confirmDeleteRoom","SettingsNewFunctionComponent_div_0_div_16_div_17_i_1_Template","ctx_r93","SettingsNewFunctionComponent_div_0_div_16_div_22_Template_div_click_0_listener","_r132","ctx_r131","addNewRoom","ctx_r134","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_8_Template_div_click_1_listener","_r144","ctx_r143","ctx_r140","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_33_Template_input_valueChange_3_listener","_r146","ctx_r145","ctx_r141","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_34_button_3_Template_button_click_0_listener","_r150","ctx_r149","clearRoomForm","ctx_r147","clearRoomText","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_34_button_4_Template_button_click_0_listener","_r152","ctx_r151","addRoomToCart","ctx_r148","disableAddToCartButton","addToFunctionText","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_34_button_3_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_34_button_4_Template","ctx_r142","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_dx_select_box_valueChange_5_listener","_r154","ctx_r153","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_dx_select_box_onItemClick_5_listener","ctx_r155","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_div_click_6_listener","ctx_r156","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_8_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_10_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_input_valueChange_13_listener","ctx_r157","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_input_blur_13_listener","ctx_r158","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_input_valueChange_21_listener","ctx_r159","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_dx_date_box_valueChange_26_listener","ctx_r160","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template_dx_date_box_valueChange_32_listener","ctx_r161","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_33_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_div_34_Template","ctx_r138","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_form_ngSubmit_2_listener","_r163","ctx_r162","selectFunctionRoom","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_dx_select_box_valueChange_10_listener","ctx_r164","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_dx_select_box_onValueChanged_10_listener","ctx_r165","SettingsNewFunctionComponent_div_0_div_16_div_26_div_12_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_dx_date_box_valueChange_15_listener","ctx_r166","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_dx_date_box_onValueChanged_15_listener","ctx_r167","SettingsNewFunctionComponent_div_0_div_16_div_26_div_16_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_div_21_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_input_valueChange_22_listener","ctx_r168","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_input_change_22_listener","ctx_r169","SettingsNewFunctionComponent_div_0_div_16_div_26_div_26_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_input_valueChange_27_listener","ctx_r170","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_input_change_27_listener","ctx_r171","SettingsNewFunctionComponent_div_0_div_16_div_26_div_31_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_input_valueChange_32_listener","ctx_r172","SettingsNewFunctionComponent_div_0_div_16_div_26_Template_input_change_32_listener","ctx_r173","SettingsNewFunctionComponent_div_0_div_16_div_26_div_36_Template","ctx_r95","addRoomText","SettingsNewFunctionComponent_div_0_div_16_div_28_button_1_Template_button_click_0_listener","_r177","ctx_r176","SettingsNewFunctionComponent_div_0_div_16_div_28_button_2_Template_button_click_0_listener","_r179","ctx_r178","SettingsNewFunctionComponent_div_0_div_16_div_28_button_1_Template","SettingsNewFunctionComponent_div_0_div_16_div_28_button_2_Template","ctx_r96","SettingsNewFunctionComponent_div_0_div_16_Template_dx_data_grid_onCellClick_5_listener","_r181","ctx_r180","cellClickRooms","SettingsNewFunctionComponent_div_0_div_16_div_7_Template","SettingsNewFunctionComponent_div_0_div_16_div_8_Template","SettingsNewFunctionComponent_div_0_div_16_div_9_Template","SettingsNewFunctionComponent_div_0_div_16_div_10_Template","SettingsNewFunctionComponent_div_0_div_16_div_11_Template","SettingsNewFunctionComponent_div_0_div_16_div_12_Template","SettingsNewFunctionComponent_div_0_div_16_div_13_Template","SettingsNewFunctionComponent_div_0_div_16_div_14_Template","SettingsNewFunctionComponent_div_0_div_16_div_15_Template","SettingsNewFunctionComponent_div_0_div_16_div_16_Template","SettingsNewFunctionComponent_div_0_div_16_div_17_Template","SettingsNewFunctionComponent_div_0_div_16_div_22_Template","SettingsNewFunctionComponent_div_0_div_16_div_26_Template","SettingsNewFunctionComponent_div_0_div_16_div_28_Template","_c16","ɵɵtextInterpolate3","totalRoomsPriceIncVat","SettingsNewFunctionComponent_div_0_div_17_tbody_6_i_24_Template_i_click_0_listener","_r195","item_r191","ctx_r193","deleteExtrasModal","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_dx_select_box_onItemClick_4_listener","_r197","ctx_r196","extraEventSelected","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_dx_select_box_valueChange_4_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_dx_select_box_onItemClick_7_listener","ctx_r199","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_dx_select_box_valueChange_7_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_dx_text_box_valueChange_12_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_input_change_15_listener","ctx_r202","validateItemQuantity","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_input_ngModelChange_15_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_input_change_19_listener","ctx_r204","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template_input_ngModelChange_19_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_6_i_24_Template","ctx_r183","chosenRoomsPageData","saleItemItemsSource","getItemClass","ctx_r184","errorExtrasMessage","SettingsNewFunctionComponent_div_0_div_17_div_9_Template_div_click_0_listener","_r207","ctx_r206","addNewExtra","item_r208","description","SettingsNewFunctionComponent_div_0_div_17_tbody_15_i_26_Template_i_click_0_listener","_r214","ctx_r212","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_dx_select_box_onItemClick_4_listener","_r216","ctx_r215","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_dx_select_box_valueChange_4_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_dx_select_box_onItemClick_7_listener","ctx_r218","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_dx_select_box_valueChange_7_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_dx_text_box_valueChange_12_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_15_i_14_Template","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_input_change_17_listener","ctx_r221","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_input_ngModelChange_17_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_input_change_21_listener","ctx_r223","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template_input_ngModelChange_21_listener","SettingsNewFunctionComponent_div_0_div_17_tbody_15_i_26_Template","ctx_r187","ctx_r188","SettingsNewFunctionComponent_div_0_div_17_div_18_Template_div_click_0_listener","_r226","ctx_r225","SettingsNewFunctionComponent_div_0_div_17_div_26_button_1_Template_button_click_0_listener","_r230","ctx_r229","SettingsNewFunctionComponent_div_0_div_17_div_26_button_2_Template_button_click_0_listener","_r232","ctx_r231","SettingsNewFunctionComponent_div_0_div_17_div_26_button_1_Template","SettingsNewFunctionComponent_div_0_div_17_div_26_button_2_Template","ctx_r190","SettingsNewFunctionComponent_div_0_div_17_tbody_6_Template","SettingsNewFunctionComponent_div_0_div_17_span_8_Template","SettingsNewFunctionComponent_div_0_div_17_div_9_Template","SettingsNewFunctionComponent_div_0_div_17_tbody_15_Template","SettingsNewFunctionComponent_div_0_div_17_span_17_Template","SettingsNewFunctionComponent_div_0_div_17_div_18_Template","SettingsNewFunctionComponent_div_0_div_17_div_26_Template","ctx_r32","functionExtras_Items","ɵɵpureFunction8","_c25","_c17","_c18","_c19","_c20","_c21","_c22","_c23","_c24","validateDatesInExtras","validateItemQuantities","functionExtras_Catering","_c28","_c26","_c27","totalExtrasPriceIncVat","totalExtrasPrice","ctx_r233","n_r250","ctx_r253","getEventName","item_r251","SettingsNewFunctionComponent_div_0_div_18_div_6_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_18_div_6_ng_container_2_Template","q_r255","ctx_r236","item_r256","ctx_r237","item_r257","SettingsNewFunctionComponent_div_0_div_18_div_10_i_1_Template_i_click_0_listener","_r262","item_r258","ctx_r260","SettingsNewFunctionComponent_div_0_div_18_div_10_i_1_Template","ctx_r238","ctx_r239","SettingsNewFunctionComponent_div_0_div_18_div_13_Template_div_click_0_listener","_r264","ctx_r263","ctx_r241","n_r265","ctx_r268","item_r266","SettingsNewFunctionComponent_div_0_div_18_div_19_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_18_div_19_ng_container_2_Template","q_r270","ctx_r244","item_r271","ctx_r245","item_r272","SettingsNewFunctionComponent_div_0_div_18_div_23_i_1_Template_i_click_0_listener","_r277","item_r273","ctx_r275","SettingsNewFunctionComponent_div_0_div_18_div_23_i_1_Template","ctx_r246","ctx_r247","SettingsNewFunctionComponent_div_0_div_18_div_26_Template_div_click_0_listener","_r279","ctx_r278","SettingsNewFunctionComponent_div_0_div_18_div_34_button_1_Template_button_click_0_listener","_r283","ctx_r282","SettingsNewFunctionComponent_div_0_div_18_div_34_button_2_Template_button_click_0_listener","_r285","ctx_r284","SettingsNewFunctionComponent_div_0_div_18_div_34_button_1_Template","SettingsNewFunctionComponent_div_0_div_18_div_34_button_2_Template","ctx_r249","SettingsNewFunctionComponent_div_0_div_18_Template_dx_data_grid_onCellClick_4_listener","_r287","ctx_r286","cellClickExtras","SettingsNewFunctionComponent_div_0_div_18_div_5_Template","SettingsNewFunctionComponent_div_0_div_18_div_6_Template","SettingsNewFunctionComponent_div_0_div_18_div_7_Template","SettingsNewFunctionComponent_div_0_div_18_div_8_Template","SettingsNewFunctionComponent_div_0_div_18_div_9_Template","SettingsNewFunctionComponent_div_0_div_18_div_10_Template","SettingsNewFunctionComponent_div_0_div_18_span_12_Template","SettingsNewFunctionComponent_div_0_div_18_div_13_Template","SettingsNewFunctionComponent_div_0_div_18_Template_dx_data_grid_onCellClick_17_listener","ctx_r288","SettingsNewFunctionComponent_div_0_div_18_div_18_Template","SettingsNewFunctionComponent_div_0_div_18_div_19_Template","SettingsNewFunctionComponent_div_0_div_18_div_20_Template","SettingsNewFunctionComponent_div_0_div_18_div_21_Template","SettingsNewFunctionComponent_div_0_div_18_div_22_Template","SettingsNewFunctionComponent_div_0_div_18_div_23_Template","SettingsNewFunctionComponent_div_0_div_18_span_25_Template","SettingsNewFunctionComponent_div_0_div_18_div_26_Template","SettingsNewFunctionComponent_div_0_div_18_div_34_Template","ctx_r33","_c29","_c30","_c31","_c32","_c33","_c34","ctx_r289","r_r304","c_r305","ctx_r291","d_r306","ctx_r292","s_r307","ctx_r293","e_r308","ctx_r294","p_r309","ctx_r295","getSaleItemName","i_r310","s_r311","ctx_r297","p_r312","ctx_r298","t_r313","ctx_r299","i_r314","s_r315","ctx_r301","p_r316","ctx_r302","t_r317","SettingsNewFunctionComponent_div_0_div_19_div_45_button_1_Template_button_click_0_listener","_r323","ctx_r322","SettingsNewFunctionComponent_div_0_div_19_div_45_button_2_Template_button_click_0_listener","_r325","ctx_r324","saveSummary","SettingsNewFunctionComponent_div_0_div_19_div_45_button_3_Template_button_click_0_listener","_r327","ctx_r326","emailSummary","SettingsNewFunctionComponent_div_0_div_19_div_45_button_4_Template_button_click_0_listener","_r329","ctx_r328","printSummary","SettingsNewFunctionComponent_div_0_div_19_div_45_button_1_Template","SettingsNewFunctionComponent_div_0_div_19_div_45_button_2_Template","SettingsNewFunctionComponent_div_0_div_19_div_45_button_3_Template","SettingsNewFunctionComponent_div_0_div_19_div_45_button_4_Template","ctx_r303","SettingsNewFunctionComponent_div_0_div_19_div_7_Template","SettingsNewFunctionComponent_div_0_div_19_div_8_Template","SettingsNewFunctionComponent_div_0_div_19_div_9_Template","SettingsNewFunctionComponent_div_0_div_19_div_10_Template","SettingsNewFunctionComponent_div_0_div_19_div_11_Template","SettingsNewFunctionComponent_div_0_div_19_div_12_Template","SettingsNewFunctionComponent_div_0_div_19_div_20_Template","SettingsNewFunctionComponent_div_0_div_19_div_21_Template","SettingsNewFunctionComponent_div_0_div_19_div_22_Template","SettingsNewFunctionComponent_div_0_div_19_div_23_Template","SettingsNewFunctionComponent_div_0_div_19_div_31_Template","SettingsNewFunctionComponent_div_0_div_19_div_32_Template","SettingsNewFunctionComponent_div_0_div_19_div_33_Template","SettingsNewFunctionComponent_div_0_div_19_div_34_Template","SettingsNewFunctionComponent_div_0_div_19_div_45_Template","ctx_r34","ɵɵpureFunction7","_c42","_c35","_c36","_c37","_c38","_c39","_c40","_c41","_c48","_c43","_c44","_c45","_c46","_c47","SettingsNewFunctionComponent_div_0_div_20_div_2_div_33_button_3_Template_button_click_0_listener","_r336","ctx_r335","confirmBooking","SettingsNewFunctionComponent_div_0_div_20_div_2_div_33_Template_button_click_1_listener","_r338","ctx_r337","SettingsNewFunctionComponent_div_0_div_20_div_2_div_33_button_3_Template","ctx_r333","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_input_valueChange_7_listener","_r340","ctx_r339","functionPayment","includeDeposit","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_input_change_7_listener","ctx_r341","includeDepositChanged","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_input_ngModelChange_17_listener","ctx_r342","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_input_input_17_listener","ctx_r343","changeTypeValidationOnInput","SettingsNewFunctionComponent_div_0_div_20_div_2_span_18_Template","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_dx_select_box_valueChange_22_listener","ctx_r344","paidBy","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_dx_select_box_valueChange_27_listener","ctx_r345","SettingsNewFunctionComponent_div_0_div_20_div_2_Template_dx_date_box_valueChange_31_listener","ctx_r346","SettingsNewFunctionComponent_div_0_div_20_div_2_div_33_Template","ctx_r330","financeForm","paidByList","bookingPaymentTypes","_c49","ctx_r375","paymentClass","n_r374","paymentNo","ctx_r376","SettingsNewFunctionComponent_div_0_div_20_div_3_div_5_div_1_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_5_div_2_Template","ctx_r349","item_r379","cardSummary","ctx_r350","item_r380","ctx_r351","item_r381","purpose","ctx_r352","item_r382","getPaidBy","ctx_r353","item_r383","ctx_r354","item_r384","ctx_r355","item_r385","SettingsNewFunctionComponent_div_0_div_20_div_3_div_14_ng_container_1_i_1_Template_i_click_0_listener","_r391","item_r387","ctx_r390","paymentAction","paymentActionTypes","VerifyToken","SettingsNewFunctionComponent_div_0_div_20_div_3_div_14_ng_container_1_i_1_Template","canVerifyToken","SettingsNewFunctionComponent_div_0_div_20_div_3_div_14_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_ng_container_1_i_1_Template_i_click_0_listener","_r399","item_r394","ctx_r398","ChargeToken","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_ng_container_1_i_1_Template","canChargeToken","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_ng_container_2_i_1_Template_i_click_0_listener","_r404","ctx_r403","Rebill","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_ng_container_2_i_1_Template","canRebill","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_ng_container_2_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_16_ng_container_1_i_1_Template_i_click_0_listener","_r411","item_r407","ctx_r410","Refund","SettingsNewFunctionComponent_div_0_div_20_div_3_div_16_ng_container_1_i_1_Template","canRefund","SettingsNewFunctionComponent_div_0_div_20_div_3_div_16_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_17_div_1_Template_div_mouseenter_0_listener","_r418","item_r414","ctx_r416","togglePaymentTooltip","SettingsNewFunctionComponent_div_0_div_20_div_3_div_17_div_1_Template_div_mouseleave_0_listener","ctx_r419","ɵɵpropertyInterpolate1","SettingsNewFunctionComponent_div_0_div_20_div_3_div_17_div_1_Template","note","SettingsNewFunctionComponent_div_0_div_20_div_3_div_18_ng_container_1_ng_container_1_Template_i_click_1_listener","_r427","item_r422","ctx_r425","voidPayment","SettingsNewFunctionComponent_div_0_div_20_div_3_div_18_ng_container_1_ng_container_1_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_18_ng_container_1_Template","canVoid","SettingsNewFunctionComponent_div_0_div_20_div_3_div_19_ng_container_1_Template_a_click_1_listener","_r433","item_r429","ctx_r431","printRecepies","SettingsNewFunctionComponent_div_0_div_20_div_3_div_19_ng_container_1_Template","ctx_r362","SettingsNewFunctionComponent_div_0_div_20_div_3_div_24_Template_div_click_0_listener","_r435","ctx_r434","addNewPayment","item_r436","ctx_r365","n_r437","ctx_r366","item_r438","ctx_r367","item_r439","paid","ctx_r368","item_r440","balance","SettingsNewFunctionComponent_div_0_div_20_div_3_div_39_div_1_Template_i_click_1_listener","_r446","item_r441","ctx_r444","closeInvoiceFunction","SettingsNewFunctionComponent_div_0_div_20_div_3_div_39_div_2_Template_i_click_1_listener","_r449","ctx_r447","createCreditNoteFunction","SettingsNewFunctionComponent_div_0_div_20_div_3_div_39_div_1_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_39_div_2_Template","ctx_r369","SettingsNewFunctionComponent_div_0_div_20_div_3_div_40_Template_i_click_2_listener","_r452","item_r450","ctx_r451","openConfirmSendingInvoice","SettingsNewFunctionComponent_div_0_div_20_div_3_div_41_div_3_Template_i_click_1_listener","_r457","item_r453","ctx_r455","deleteInvoiceFunction","SettingsNewFunctionComponent_div_0_div_20_div_3_div_41_Template_i_click_2_listener","_r459","ctx_r458","SettingsNewFunctionComponent_div_0_div_20_div_3_div_41_div_3_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_47_Template_div_click_0_listener","_r461","ctx_r460","addNewInvoice","SettingsNewFunctionComponent_div_0_div_20_div_3_button_49_Template_button_click_0_listener","_r463","ctx_r462","CreateInvoice","SettingsNewFunctionComponent_div_0_div_20_div_3_Template_dx_data_grid_onCellClick_3_listener","_r465","ctx_r464","cellClickPayments","SettingsNewFunctionComponent_div_0_div_20_div_3_div_5_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_6_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_7_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_8_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_9_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_10_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_11_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_12_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_13_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_14_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_15_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_16_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_17_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_18_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_19_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_24_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_Template_dx_data_grid_onCellClick_33_listener","ctx_r466","cellClickInvoice","SettingsNewFunctionComponent_div_0_div_20_div_3_div_34_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_35_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_36_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_37_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_38_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_39_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_40_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_41_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_div_47_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_button_49_Template","ctx_r331","_c65","_c50","_c51","_c52","_c53","_c54","_c55","_c56","_c57","_c58","_c59","_c60","_c61","_c62","_c63","_c64","functionInvoices","_c75","_c66","_c67","_c68","_c69","_c70","_c71","_c72","_c73","_c74","canBeInvoiced","totalInvoices","SettingsNewFunctionComponent_div_0_div_20_div_2_Template","SettingsNewFunctionComponent_div_0_div_20_div_3_Template","ctx_r35","item_r469","SettingsNewFunctionComponent_div_0_div_21_div_2_div_4_Template","ctx_r467","logs","_c76","_c77","_c78","_c79","_c80","SettingsNewFunctionComponent_div_0_div_21_div_2_Template","ctx_r36","SettingsNewFunctionComponent_div_0_div_2_Template","SettingsNewFunctionComponent_div_0_h2_3_Template","SettingsNewFunctionComponent_div_0_Template_div_click_4_listener","_r471","ctx_r470","SettingsNewFunctionComponent_div_0_Template_div_click_6_listener","ctx_r472","SettingsNewFunctionComponent_div_0_Template_div_click_8_listener","ctx_r473","SettingsNewFunctionComponent_div_0_Template_div_click_10_listener","ctx_r474","SettingsNewFunctionComponent_div_0_Template_div_click_12_listener","ctx_r475","SettingsNewFunctionComponent_div_0_div_14_Template","SettingsNewFunctionComponent_div_0_div_15_Template","SettingsNewFunctionComponent_div_0_div_16_Template","SettingsNewFunctionComponent_div_0_div_17_Template","SettingsNewFunctionComponent_div_0_div_18_Template","SettingsNewFunctionComponent_div_0_div_19_Template","SettingsNewFunctionComponent_div_0_div_20_Template","SettingsNewFunctionComponent_div_0_div_21_Template","functionLoaded","classTab1","classTab2","classTab3","classTab4","classTab5","activeTab","SettingsNewFunctionComponent_app_delete_modal_2_Template_app_delete_modal_deleteModalChange_0_listener","_r477","ctx_r476","deleteRoom","SettingsNewFunctionComponent_app_delete_modal_2_Template_app_delete_modal_delete_0_listener","ctx_r478","deleteRoomConfirmed","SettingsNewFunctionComponent_app_delete_modal_3_Template_app_delete_modal_deleteModalChange_0_listener","_r480","ctx_r479","deleteExtra","SettingsNewFunctionComponent_app_delete_modal_3_Template_app_delete_modal_delete_0_listener","ctx_r481","deleteExtraConfirmed","SettingsNewFunctionComponent_app_confirm_modal_4_Template_app_confirm_modal_confirmModalChange_0_listener","_r483","ctx_r482","closeInvoice","SettingsNewFunctionComponent_app_confirm_modal_4_Template_app_confirm_modal_confirm_0_listener","ctx_r484","closeInvoiceConfirmed","SettingsNewFunctionComponent_app_confirm_modal_5_Template_app_confirm_modal_confirmModalChange_0_listener","_r486","ctx_r485","creditNoteInvoice","SettingsNewFunctionComponent_app_confirm_modal_5_Template_app_confirm_modal_confirm_0_listener","ctx_r487","createCreditNoteConfirmed","SettingsNewFunctionComponent_app_confirm_modal_6_Template_app_confirm_modal_confirmModalChange_0_listener","_r489","ctx_r488","confirmCheckIn","SettingsNewFunctionComponent_app_confirm_modal_6_Template_app_confirm_modal_confirm_0_listener","ctx_r490","checkInConfirmFunction","SettingsNewFunctionComponent_app_confirm_modal_6_Template_app_confirm_modal_declined_0_listener","ctx_r491","SettingsNewFunctionComponent_app_payment_form_modal_7_Template_app_payment_form_modal_paymentFormChange_0_listener","_r493","ctx_r492","showPaymentFormModal","caterpayForm","pciBookingForm","SettingsNewFunctionComponent_app_function_details_itinerary_8_Template_app_function_details_itinerary_itineraryUpdated_0_listener","_r495","ctx_r494","SettingsNewFunctionComponent_app_function_details_itinerary_8_Template_app_function_details_itinerary_itineraryClosed_0_listener","ctx_r496","currentItinerary","SettingsNewFunctionComponent_app_function_confirmation_email_9_Template_app_function_confirmation_email_emailClosed_0_listener","_r498","ctx_r497","SettingsNewFunctionComponent_app_function_confirmation_email_9_Template_app_function_confirmation_email_openAttachmentEvent_0_listener","ctx_r499","ctx_r9","sendEmailType","currentInvoiceId","SettingsNewFunctionComponent_app_function_details_files_10_Template_app_function_details_files_roomFilesChange_0_listener","_r501","ctx_r500","ctx_r502","SettingsNewFunctionComponent_app_function_details_files_10_Template_app_function_details_files_filesClosed_0_listener","ctx_r503","currentSelectedFunctionRoomId","SettingsNewFunctionComponent_app_function_booking_link_11_Template_app_function_booking_link_bookingLinksChange_0_listener","_r505","ctx_r504","SettingsNewFunctionComponent_app_function_booking_link_11_Template_app_function_booking_link_linksClosed_0_listener","ctx_r506","closeBookingLinks","SettingsNewFunctionComponent_app_function_booking_link_11_Template_app_function_booking_link_bookingOpened_0_listener","ctx_r507","openBooking","SettingsNewFunctionComponent_app_function_details_room_12_Template_app_function_details_room_addFunctionRoomChange_0_listener","_r509","ctx_r508","addRoom","SettingsNewFunctionComponent_app_function_details_room_12_Template_app_function_details_room_roomChanged_0_listener","ctx_r510","SettingsNewFunctionComponent_app_function_details_room_13_Template_app_function_details_room_editFunctionRoomChange_0_listener","_r512","ctx_r511","editRoom","SettingsNewFunctionComponent_app_function_details_room_13_Template_app_function_details_room_roomChanged_0_listener","ctx_r513","SettingsNewFunctionComponent_app_settings_function_details_payment_14_Template_app_settings_function_details_payment_saved_0_listener","_r515","ctx_r514","loadFunction","SettingsNewFunctionComponent_app_settings_function_details_payment_14_Template_app_settings_function_details_payment_reloadFunctionDetails_0_listener","ctx_r516","SettingsNewFunctionComponent_app_settings_function_details_payment_14_Template_app_settings_function_details_payment_update_0_listener","ctx_r517","SettingsNewFunctionComponent_app_settings_function_details_payment_14_Template_app_settings_function_details_payment_functionPaymentChange_0_listener","ctx_r518","addPayment","newPaymentActionType","newPaymentSourceData","SettingsNewFunctionComponent_app_settings_function_details_payment_15_Template_app_settings_function_details_payment_update_0_listener","_r520","ctx_r519","SettingsNewFunctionComponent_app_settings_function_details_payment_15_Template_app_settings_function_details_payment_editFunctionPaymentChange_0_listener","ctx_r521","editPayment","currentPaymentId","SettingsNewFunctionComponent_app_function_details_add_invoice_16_Template_app_function_details_add_invoice_addInvoiceChange_0_listener","_r523","ctx_r522","addInvoice","SettingsNewFunctionComponent_app_function_details_add_invoice_16_Template_app_function_details_add_invoice_printInvoice_0_listener","ctx_r524","SettingsNewFunctionComponent_app_function_details_add_invoice_16_Template_app_function_details_add_invoice_update_0_listener","ctx_r525","SettingsNewFunctionComponent_app_function_details_invoice_17_Template_app_function_details_invoice_updateGrid_0_listener","_r527","ctx_r526","SettingsNewFunctionComponent_app_function_details_invoice_17_Template_app_function_details_invoice_editInvoiceChange_0_listener","ctx_r528","editInvoice","SettingsNewFunctionComponent_app_function_details_invoice_17_Template_app_function_details_invoice_update_0_listener","ctx_r529","disableEditMode","SettingsNewFunctionComponent_app_function_details_extras_18_Template_app_function_details_extras_addFunctionExtraChange_0_listener","_r531","ctx_r530","addExtra","SettingsNewFunctionComponent_app_function_details_extras_18_Template_app_function_details_extras_update_0_listener","ctx_r532","SettingsNewFunctionComponent_app_function_details_extras_19_Template_app_function_details_extras_editFunctionExtraChange_0_listener","_r534","ctx_r533","editExtra","SettingsNewFunctionComponent_app_function_details_extras_19_Template_app_function_details_extras_update_0_listener","ctx_r535","currentExtraModel","SettingsNewFunctionComponent_app_partner_details_20_Template_app_partner_details_addPartnerPopupChange_0_listener","_r537","ctx_r536","addPartnerPopup","SettingsNewFunctionComponent_app_partner_details_20_Template_app_partner_details_update_0_listener","ctx_r538","reloadPartners","SettingsNewFunctionComponent_app_delete_modal_21_Template_app_delete_modal_deleteModalChange_0_listener","_r540","ctx_r539","deleteInvoice","SettingsNewFunctionComponent_app_delete_modal_21_Template_app_delete_modal_delete_0_listener","ctx_r541","deleteInvoiceConfirmed","SettingsNewFunctionComponent_app_confirm_modal_22_Template_app_confirm_modal_confirmModalChange_0_listener","_r543","ctx_r542","cancelBookingPopup","SettingsNewFunctionComponent_app_confirm_modal_22_Template_app_confirm_modal_confirm_0_listener","ctx_r544","cancelFunctionConfirm","SettingsNewFunctionComponent_app_confirm_modal_23_Template_app_confirm_modal_confirmModalChange_0_listener","_r546","ctx_r545","confirmBookingPopup","SettingsNewFunctionComponent_app_confirm_modal_23_Template_app_confirm_modal_confirm_0_listener","ctx_r547","confirmFunctionComplete","SettingsNewFunctionComponent_app_confirm_modal_24_Template_app_confirm_modal_confirmModalChange_0_listener","_r549","ctx_r548","confirmVoidPayment","SettingsNewFunctionComponent_app_confirm_modal_24_Template_app_confirm_modal_confirm_0_listener","ctx_r550","voidPaymentConfirmed","SettingsNewFunctionComponent_app_function_print_receipt_25_Template_app_function_print_receipt_generated_0_listener","_r552","ctx_r551","viewPrintReceipts","paymentTooltipMessage","_SettingsNewFunctionComponent","route","settingsBillingService","settingsPartnersService","router","changeDetector","propertySettingsService","None","cardMask","pciNewFunctionModel","functionFlow","pciBookingToken","pciNewFunction","functionIdFromResponse","navigate","partner","mobile","country","bookingTotal","deposit","summaryForm","propertyId","Id","url","params","bookingPaymentNo","CountryId","window","postMessageHandlerNewFunction","getFunction","apply","map","o","slice","sort","b","getTime","setContactFormValuesFromFunction","refreshChosenRooms","calculatePrices","detectChanges","showItinerary","showEmailConfirmation","showFiles","showBookingLinks","saveFunctionRoomItinerary","$","css","getEPOSAccountLimitPropertySettings","eposPropSetting","key","Number","newFunction","insertExtraFirstTimeItems","insertExtraFirstTimeCatering","currentPartnerId","previousValue","getAllPartners","validateThereIsContact","undefined","validateFunctionName","validateFinance","getFunctionRoom","eventName","isCatering","index","initialisePaidByList","partnerName","addContact","toString","contactName","className","contactFormSubmitted","roomFormSubmitted","validateSaleItemPrice","extrasFormSubmitted","initialiseItineraryHtml","propFunctionRoom","replaceNull","formatCurrency","pageIndex","gridRooms","instance","editIndex","openEditRoomNewFunction","validateFunctionRoom","validateNotesNoCreditCard","creditCard","includes","resetForm","roomName","unshift","deleteIndex","deleteFunctionRoom","dt","ngOnDestroy","removeEventListener","targetEditIndex","isFormTouched","editRoomNewFunctionConfirmed","editRoomDeclined","setContactValuesFromForm","summaryFormSubmitted","totalRoomsPrice","vat","getVat","y","getSaleItem","functionExtra","propertyVATs","isCateringItem","bookingExtra","getMinBookingDate","minDate","salItem","deleteExtraIsCatering","fExtra","deleteFunctionExtra","changeTypeValidation","setValidators","updateValueAndValidity","financeFormSubmitted","userId","IsSuperUser","superUserId","insertNewFunction","paymentPurpose","getCaterpayHtmlFormForNewFunction","getPciCardEntryForm","insertFunction","updateFunction","payment","printData","purposeName","clearReceiptData","setReceiptData","isFilled","receipt","open","write","activePaymentId","showPaymentTooltip","editPayments","editExistInvoice","summaryPdf","iframe","nav","navigator","style","display","onload","dateString","getSeconds","msSaveOrOpenBlob","userAgent","toLowerCase","contentWindow","invoices","invoiceProcessModel","exportInvoicesToPdf","Function","createCreditNote","currentFunctionRoomId","checkOutConfirmFunction","functionRoomCheckIn","functionRoomCheckOut","input","split","join","minBookingFrom","fromDate","setDate","setCookie","setFunctionStatus","GuestInvoiceEmail","confirmInvoiceSend","currentInvoice","emailInvoicesWithDefaultTemplates","pipe","actionType","card","substring","cardExpiry","selectedVoidPaymentId","actionResult","errors","ErrorAlert","ActivatedRoute","SettingsBillingService","SettingsPartnersService","Router","i7","i8","i9","i10","i11","SettingsPropertiesService","SettingsNewFunctionComponent_Query","SettingsNewFunctionComponent_div_0_Template","SettingsNewFunctionComponent_div_1_Template","SettingsNewFunctionComponent_app_delete_modal_2_Template","SettingsNewFunctionComponent_app_delete_modal_3_Template","SettingsNewFunctionComponent_app_confirm_modal_4_Template","SettingsNewFunctionComponent_app_confirm_modal_5_Template","SettingsNewFunctionComponent_app_confirm_modal_6_Template","SettingsNewFunctionComponent_app_payment_form_modal_7_Template","SettingsNewFunctionComponent_app_function_details_itinerary_8_Template","SettingsNewFunctionComponent_app_function_confirmation_email_9_Template","SettingsNewFunctionComponent_app_function_details_files_10_Template","SettingsNewFunctionComponent_app_function_booking_link_11_Template","SettingsNewFunctionComponent_app_function_details_room_12_Template","SettingsNewFunctionComponent_app_function_details_room_13_Template","SettingsNewFunctionComponent_app_settings_function_details_payment_14_Template","SettingsNewFunctionComponent_app_settings_function_details_payment_15_Template","SettingsNewFunctionComponent_app_function_details_add_invoice_16_Template","SettingsNewFunctionComponent_app_function_details_invoice_17_Template","SettingsNewFunctionComponent_app_function_details_extras_18_Template","SettingsNewFunctionComponent_app_function_details_extras_19_Template","SettingsNewFunctionComponent_app_partner_details_20_Template","SettingsNewFunctionComponent_app_delete_modal_21_Template","SettingsNewFunctionComponent_app_confirm_modal_22_Template","SettingsNewFunctionComponent_app_confirm_modal_23_Template","SettingsNewFunctionComponent_app_confirm_modal_24_Template","SettingsNewFunctionComponent_app_function_print_receipt_25_Template","SettingsNewFunctionComponent_Template_dx_tooltip_visibleChange_26_listener","SettingsNewFunctionComponent_div_30_Template","HistoricFunctions","_c81","_c82"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}